[packman] list of most frequent problems

Peter Czanik pczanik at fang.fa.gau.hu
Sun Apr 2 13:19:09 CEST 2006


Hello,

Can I ask you guys a big favor? Could you please check your spec files
before 10.1 is released? Here is a collection of most frequent problems,
what makes compiling with y2pmbuild difficult:

- missing gcc-c++ (unable to compile)
- missing pkgconfig (configure is not able to find requirements, this
solved the transcode problems)
- missing xorg-x11-devel (kdelibs requires it, but the rest does not
take care...)
- nasm is only i386, and probably Opteron. Please ifarch it out for PPC
- missing update-desktop-files (it's required for most X11 applications)
- BuildPreReq is not known by y2pmbuild, and even if it's still
supported by rpmbuild, it was written off as obsolete on different forums
- and a generic one: if you have a 'Requires' line for a package, make
sure, that you also have a related 'BuildRequires' line for the related
development package. Like if there is Requires: libvorbis, then there
should also be BuildRequires: libvorbis-devel. Sometimes it's not that
easy, like cdparanoia, libmpeg3, etc. don't have separate devel packages...

Most of these are much more easily fixed by the guy maintaining the
package, than the poor guy who tries to recompile it. So, it would be
fantastic, if you could go through this check list!
Last time I hacked y2pmbuild configuration to include frequently missing
packages, but that is a very dirty hack taking away reproducibility,
which is the main advantage of y2pmbuild...

Thanks, bye,

CzP




More information about the Packman mailing list