Summary: | mail-filter/procmail-3.22-r10 fails with glibc-2.10.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Erickson <psykojime> |
Component: | Current packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brathering82, eXt |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 270353 | ||
Attachments: | Rename getline to procmail_getline |
Description
James Erickson
2009-05-20 12:08:02 UTC
*** Bug 270574 has been marked as a duplicate of this bug. *** sed -i -e 's/getline/get_line/g' ${S}/src/*.c ${S}/src/*.h Created attachment 192043 [details, diff]
Rename getline to procmail_getline
(In reply to comment #3) > Created an attachment (id=192043) [edit] > Rename getline to procmail_getline > tried the patch got this: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions acommon.c x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions mcommon.c make[2]: Leaving directory `/var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22/src' /bin/sh ./mansed /bin/sh procmail.man procmail.1 "/bin/rm -f" /dev/null x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions lastdirsep.c x86_64-pc-linux-gnu-gcc -c -DPROCMAIL -march=native -O2 -pipe -fno-inline-functions authenticate.c x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions lmtp.c x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions memblk.c x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions variables.c /bin/sh ./mansed /bin/sh formail.man formail.1 "/bin/rm -f" /dev/null x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions from.c x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions comsat.c x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions lockfile.c /bin/sh ./mansed /bin/sh lockfile.man lockfile.1 "/bin/rm -f" /dev/null lockfile.c: In function 'elog': lockfile.c:54: warning: ignoring return value of 'write', declared with attribute warn_unused_result x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions formail.c lockfile.c: In function 'main': lockfile.c:130: warning: ignoring return value of 'strtol', declared with attribute warn_unused_result x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions fields.c /bin/sh ./mansed /bin/sh procmailrc.man procmailrc.5 "/bin/rm -f" /dev/null /bin/sh ./mansed /bin/sh procmailsc.man procmailsc.5 "/bin/rm -f" /dev/null /bin/sh ./mansed /bin/sh procmailex.man procmailex.5 "/bin/rm -f" /dev/null x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions formisc.c x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-inline-functions ecommon.c ln ../man/procmail.1 ../new/procmail.1 In file included from fields.c:18: formisc.h:20: error: conflicting types for 'getline' /usr/include/stdio.h:651: error: previous declaration of 'getline' was here make[1]: *** [fields.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from formail.c:25: formisc.h:20: error: conflicting types for 'getline' /usr/include/stdio.h:651: error: previous declaration of 'getline' was here formail.c: In function 'elimdups': formail.c:350: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result make[1]: *** [formail.o] Error 1 ln ../man/lockfile.1 ../new/lockfile.1 In file included from formisc.c:18: formisc.h:20: error: conflicting types for 'getline' /usr/include/stdio.h:651: error: previous declaration of 'getline' was here formisc.c:118: error: conflicting types for 'getline' /usr/include/stdio.h:651: error: previous declaration of 'getline' was here ln ../man/formail.1 ../new/formail.1 formisc.c: In function 'startprog': formisc.c:162: warning: ignoring return value of 'dup', declared with attribute warn_unused_result formisc.c:175: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result formisc.c:194: warning: ignoring return value of 'dup', declared with attribute warn_unused_result make[1]: *** [formisc.o] Error 1 ln ../man/procmailrc.5 ../new/procmailrc.5 ln ../man/procmailex.5 ../new/procmailex.5 ln ../man/procmailsc.5 ../new/procmailsc.5 make[1]: Leaving directory `/var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22/man' make[1]: Leaving directory `/var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22/src' make: *** [bins] Error 2 * * ERROR: mail-filter/procmail-3.22-r10 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2546: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" || die * The die message: * (no error message) This patch worked fine for me. Thank you Peter. This worked for me too! Thanks. + 13 Jun 2009; Peter Alfredsen <loki_val@gentoo.org> + procmail-3.22-r10.ebuild, +files/procmail-3.22-glibc-2.10.patch: + Fix compilation with glibc-2.10, bug 270551. + (In reply to comment #7) > + 13 Jun 2009; Peter Alfredsen <loki_val@gentoo.org> > + procmail-3.22-r10.ebuild, +files/procmail-3.22-glibc-2.10.patch: > + Fix compilation with glibc-2.10, bug 270551. > + > thank you. |