From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b3) Gecko/20050729 Fedora/1.1-0.2.5.deerpark.alpha2 Firefox/1.0+ Description of problem: rebuilds of portmap-4.0-65 on a rawhide system fails with the following error: + make FACILITY=LOG_AUTH 'ZOMBIES=-DIGNORE_SIGCHLD -Dlint' 'LIBS=-Wl,-Bstatic -lwrap -Wl,-Bdynamic -lnsl' 'RPM_OPT_FLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables' AUX= cc -Dconst= -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -Dlint -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -fpie -c portmap.c In file included from /usr/include/stdlib.h:967, from /usr/include/rpc/types.h:59, from /usr/include/rpc/rpc.h:41, from portmap.c:83: /usr/include/bits/stdlib.h:33: error: conflicting types for 'realpath' /usr/include/stdlib.h:756: error: previous declaration of 'realpath' was here make: *** [portmap.o] Error 1 error: Bad exit status from /var/tmp/portmap-4.0-65.src.rpm/rpm-tmp.65537 (%build) Version-Release number of selected component (if applicable): portmap-4.0-65 How reproducible: Always Steps to Reproduce: 1.try to rebuild the package in fc5 / rawhide 2. 3. Additional info: This should be fixed before the next massrebuild
I guess its not clear to me why this is a portmap problem. Portmap has been using the same compile flags for quite a long time now. So what has change in FC5 and shouldn't those change be reevaluated so things like the portmapper will not break?
Did we use -D_FORTIFY_SOURCE=2 in FC4, too ? I've just gone through the list of build failures and bugzilla'd them when it looked like something the maintainer might want to know about. Please reassign to glibc-headers if you don't think that it can be fixed in the portmap package.
http://sources.redhat.com/ml/libc-hacker/2005-08/msg00002.html
Should be fixed in glibc-2.3.90-8. Just curious, what's the reason for the -Dconst= bogosity?