openSUSE Lizards

Authors
Adam Jurkiewicz
Adrian Schröter (5)
Agustin Chavarria (1)
Akhil Laddha
Alex Barrios
Alex Minton
Alexander Naumov
Alexander Orlovskyy (3)
Alexey Eromenko
Alin M Elena (4)
Andrea Florio (14)
Andreas Jaeger (44)
Andreas Stieger (1)
Andreas van dem Helge
Andrej Semen
Andrew Wafaa (25)
Arvin Schnell (6)
Beineri2
Bernhard Wiedemann
Bharath Acharya
Bonnie Kurniawan
Brian G. Merrell
Bruno Friedmann
Carl Fletcher
Casual Programmer
Chang ChiaChin
Christoph Thiel
Christopher Hobbs (15)
Ciaran Farrell (2)
Claes Backstrom
Coly Li
Cristian Rodríguez
Daniel Bornkessel
David Bailey
David C. Rankin
Dean Hilkewich
Dinar Valeev (5)
Dirk Müller (1)
Dmitry Serpokryl (7)
Duncan Mac-Vicar
Enrique Herrera Noya
Eugene Pivnev
FabioMux (1)
Federico Lucifredi
Frank Lee
Gabriele Mohr
Gerrit Beine
Helman Rene Taleno Martinez
Helmut Schaa
Henne (6)
Herbert Graeber
Holgi (2)
Hubert Mantel (1)
Ioan Vancea
J. Daniel Schmidt (1)
Jaime Andrés Vélez Osorio
James Tremblay (7)
Jan Blunck (4)
Jan Loeser (1)
Jan Madsen (1)
Jan Nieuwenhuizen
Jan-Christoph Bornschlegel (3)
Jan-Simon Möller (19)
Javier Llorente (2)
Jigish Gohil (22)
Jiri Srain (1)
Jiří Suchomel (1)
Johan Kotze (5)
John Terpstra
Joop Boonen
José Oramas
Josef Reidinger (8)
Juergen Weigert (1)
Julio Vannini (7)
Justin Haygood
Kálmán Kéménczy
Kayo Hamid
Kevin Yeaux (10)
Klaas Freitag (21)
Klara Cihlarova
Klaus Kämpf
Klaus Singvogel
kl_eisbaer (10)
Lars Marowsky-Bree
Li Bin
Ludwig Nussel (6)
M. Edward (Ed) Borasky
M. Edwin Zakaria
M. Hill
Manuel Trujillo
Marcos David
Marcus Hüwe (8)
Marcus Meissner (1)
Marcus Moeller (1)
Marcus Schaefer (3)
Martin Lasarsch (8)
Martin Mohring (8)
Martin Schmiderer
Martin Schmidkunz
Masim "Vavai" Sugianto (20)
Matt Sealey
Mauro Parra-Miranda
Michael Andres (1)
Michael Löffler (3)
Michael Skiba
Michal Marek (3)
Michal Vyskocil (9)
Michal Zugec
Miguel Angel Barajas Hernandez
Mingxi Wu
mrdocs
Nikanth Karthikesan (2)
Oprea Lucian
Oswin Zulu
Peter Nixon
Peter Pöml (4)
Petr Mladek (32)
Petr Uzel (2)
Philipp Thomas
Pragnesh Radadiya
Raul Libório
Ravi Kumar
Ray Chen
Ray Wang (1)
Renato de Pontes Pereira
Ricardo Chung
Ricardo Varas Santana (6)
Richard Bos (5)
Robert Lihm
Roland Haidl
Roman Drahtmueller
Rossana Motta (1)
Rupert Horstkötter (10)
Sascha Manns (45)
Savin Alex V.
Sebastian Schöbinger (4)
Stanislav Visnovsky (7)
Stefan Haas (1)
Stefan Hundhammer (5)
Stefan Schubert (3)
Steffen Winterfeldt (4)
Stephan Kulow (10)
Suman Manjunath
Suresh Jayaraman (1)
Susanne Oberhauser (2)
Syamsul Qamar Ngabito
Thomas Göttlicher (4)
Thomas Jones
Thomas Schraitle (15)
Thruth Wang
Tuukka (11)
Ulrich Hecht
Vincenzo Barranco
Wilken Gottwalt
Will Stephenson (1)
Xin Wei Hu
Yuri Tsarev





 

openSUSE Factory: Fixing Packages

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 3.75 out of 5)
Loading ... Loading ...
Saturday, June 20th, 2009 by Andreas Jaeger Digg!

I’m back now for some days from my two months of parental leave and decided to get reacquainted with the openSUSE Build Service and the osc command line client.

I’ve checked which packages are failing in Factory on x86-64 (via this link) and checked the log files for some low hanging fruits that I could easily fix.

So, I found knock (build failure log) and noticed that it fails.  The reason looked like a missing prototype, error message is:

src/knockd.c:134: error: 'PATH_MAX' undeclared here (not in a function)

Now came the fun part – fixing it with osc using the collaboration features of the Build Service.  This is nicely explained in the openSUSE Wiki but let me tell how it worked exactly in my case:

  • First I had to update osc to the newest version on my openSUSE 11.1
    zypper ar http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.1/ openSUSE-Tools
    zypper in osc
  • branch the package from factory – where I get told that the devel project is elsewhere (fortunately the Build Service figures this out itself for me!):
    osc branch openSUSE:Factory knock
  • Check out the package to my local machine:
    osc co home:a_jaeger:branches:network:utilities/knock
  • Build the package locally:
    cd home\:a_jaeger\:branches\:network\:utilities/knock
    osc build openSUSE_Factory
  • and fix the build failure with creation of a new patch, and then rebuilding to test that everything works
  • Add the new patch to the package:
    osc add knock-0.5-include.patch
  • Commit everything into my home project:
    osc commit -m "Add knock-0.5-include.patch to fix build failure."
    This also builds the package on the server, osc results shows me the status
  • Once it builds for all architectures, I can submit it to the devel project:
    osc submitreq -m 'Add knock-0.5-include.patch to fix build failure.'
  • Now I have to wait for the maintainer of knock to process my submit request.  I can check the status of this specif request (it has the id 12135) or of all submit requests to the project knock is in:
    osc request show 12135

    osc request list home:hennevogel:Factory
  • Once Henne has reviewed and accepted my request, he pushes it to factory.
  • One caveat: If you want to get emails about submit requests, remember to configure them in Hermes.

That’s all.  This works with an occasional package fix as well as with maintaing packages with others.


2 Comments

Comment by Pavol Rusnak
2009-06-21 14:22:02

I would add one more point – editing .changes file with “osc vc” just before “osc commit”, so the maintainer does not need to do it right after accepting your change (and you’ll appear in the changelog of the package :-) )

 
Comment by Marcel
2009-08-06 21:44:06

Hello. I am on Fedora, but please don’t flame or kill me. This problem isn’t effectly addressed anywhere else on the internet.

I have the exact same problem as you. How can I fix it?

Please help :(

 

Sorry, the comment form is closed at this time.