From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.2.1) Gecko/20021218 Description of problem: I wonder what tricks are used at RH to build this package, it simply doesn't work for me. Each rpm --rebuild gives me: ... Creating Makefile from ./Makefile.in Creating libtiff/Makefile from ./libtiff/Makefile.in Creating man/Makefile from ./man/Makefile.in Creating tools/Makefile from ./tools/Makefile.in Creating port/install.sh from ./port/install.sh.in Done. + cd libtiff + ln -s libtiff.so.3.5 libtiff.so + cd .. + export LDOPTS=-s + LDOPTS=-s + make 'LIBJPEG=-L/usr/lib -ljpeg' 'LIBGZ=-L/usr/lib -lz' = libtiff make: invalid option -- L Usage: make [options] [target] ... Options: -b, -m Ignored for compatibility. -C DIRECTORY, --directory=DIRECTORY ... It seems the culprit is the original tiff-v3.5.7/Makefile.in, it contains: ... all default: @if [ "no" = yes ]; then \ ${ECHO} "= "port; cd port; ${MAKE} -${MAKEFLAGS}; \ else \ true; \ fi @${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS} @${ECHO} "= "tools; cd tools; ${MAKE} -${MAKEFLAGS} @${ECHO} "= "man; cd man; ${MAKE} -${MAKEFLAGS} ... Note the dashes (-) in front of ${MAKEFLAGS}? Together with the LIBJPEG= command line argument they form the "invalid" -L option for make. Version-Release number of selected component (if applicable): 3.5.7-8 How reproducible: Always Steps to Reproduce: 1. rpmbuild --rebuild libtiff src rpm 2. 3. Additional info:
Current Rawhide (libtiff-3.5.7-9.src.rpm) works for me.
Now I found out why it works for you, you are building on a SMP machine, or? Try on a UP one or remove the %{?_smp_mflags} from the make invocation in the specfile and watch it failing.
OK, verified and fixed in libtiff-3.5.7-11, building right now and available via rawhide soon. Read ya, Phil