Description of problem: The build of the aplus-fsf package agains gcc-4.3.0-0.4 was failed, plean see h ttp://sunsite.mff.cuni.cz/rawhide20071220-gcc43/libtool/aplus-fsf-4.20.2-22.fc8.log for the build log My examinations shouw, that the /usr/bin/libtool file contains gcc-version depending paths coded. $ grep '4\.1\.2' /usr/bin/libtool predep_objects="/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtbeginS.o" postdep_objects="/usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crtn.o" compiler_lib_search_path="-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64" So the libtool package should cotains a Req to the gcc version which was used to build the package.
fixed in libtool-1.5.24-4.fc9
That libtool build is broken, my kdebase3 build failed with: Error: Missing Dependency: gcc = %{gcc_version} is needed by package libtool
sorry about that, a new package is already available in koji
...at least it would be if the builders weren't 10 times slower then my laptop ;-( Still building...
Sorry, that I have reopen this bug, but I have to make an improvement suggestion for the requested change. Vou have wrote %define gcc_version = 4.1.2 which hast the disadvantage that you have to chage the SPEC file if the version of the gcc compiler has changed. I will suggest, that you should wrote %define gcc_version = %(gcc -dumpversion) instead, so you have only make a rebuild if the gcc version may be chaned. Best Regards: Jochen Schmitt
That's what I've tried first, but unfortunately this doesn't work in koji as gcc isn't installed when the requirements are checked.
One option: %define gcc_version = %(gcc -dumpversion || echo "999") The bogus number will never reach a package. Or better yet, why can't libtool figure out the gcc version at runtime instead?
nasty hack, but it seems to work in a scratch build, Thanks ! I've written a patch some time ago which did exactly that. I've dropped it again when one of the upstream maintainers didn't like it at all. He did offer some suggestions though, so I'll try again soon.