Description of Problem: gdm-2.2.2-4.src.rpm has a bad libtool version which has crept into the sources How Reproducible: Stock RH 7.1, with all updates Build and install scrollkeeper-0.2-2.src.rpm Try to gdm-2.2.2-4.src.rpm Steps to Reproduce: as above Actual Results: <snip> /bin/sh ../libtool --mode=link gcc -O2 -march=i386 -mcpu=i686 -g -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -o gdm gdm.o display.o slave.o server.o misc.o auth.o cookie.o xdmcp.o choose.o filecheck.o md5.o verify-pam.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl -lSM -lICE -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lXdmcp -lXau -lX11 /usr/lib/libwrap.a -lnsl -lpam -lXinerama libtool: ltconfig version `' does not match ltmain.sh version `1.3.5' Fatal configuration error. See the libtool docs for more information. make[2]: *** [gdm] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/gdm-2.2.2/daemon' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/gdm-2.2.2' make: *** [all-recursive-am] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.88737 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.88737 (%build) bash-2.04$ rpm -q libtool libtool-1.3.5-8 bash-2.04$ ls *src.rpm scrollkeeper-0.2-2.src.rpm gdm-2.2.2-4.src.rpm bash-2.04$ Expected Results: Clean build Additional Information: Ask if other elements of build environment are needed
To walk the rawhide build through for gdm, I had to remove aspell, xfig, and move to: bash-2.04$ rpm -q libtool automake pspell pspell-devel scrollkeeper gdm libtool-1.4-6 automake-1.4p4-2 pspell-0.12.2-2 pspell-devel-0.12.2-2 scrollkeeper-0.2-2 gdm-2.2.2-4 bash-2.04$ ---------------------------------- In process rebuilding xfig, and aspell ...
binutils needed a bounce too, because of some objdump inability to recognize a new format ... bash-2.04$ locate objdump | grep dump$ /usr/bin/objdump bash-2.04$ rpm -qf /usr/bin/objdump binutils-2.10.91.0.2-3 ------------------------------------ xfig needed transfig and htmlview bumped ------------------------------------ bash-2.04$ rpm -q xfig binutils transfig htmlview xfig-3.2.3d-1 binutils-2.11.90.0.8-3 transfig-3.2.3d-1 htmlview-1.1.0-2
Perhaps versioned build dependencies are in order ?
sudo /usr/sbin/gdmconfig -------------- WOW!!! Worth the effort.
gdm 2.2.2 just requires libtool 1.4 to build. It probably runs libtoolize in the spec file and requires libtool 1.4 for that.
That was the POINT of the filing -- it is an undecumented dependancy "It probably runs libtoolize in the spec file and requires libtool 1.4 for that" --- "Probably?" -- If it NEEDS that late a libtool, add a versioned 'BuildRequires:' to teh specfile; if it does NOT, fix ltmain.sh to OMIT the versioned libtool requirement. -- Russ
It's just not a high enough priority to make it onto the will-fix-in-finite-timeframe list.
Just to clarify, the issue is that %configure now runs libtoolize, so this is not a gdm-specific issue. All our SRPMs will tend to be broken if you don't have the automake/autoconf/libtool/gcc/etc. from the release the SRPM is intended for. Putting explicit dependencies in every package for those would be a lost cause, you'd never get it right.