Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13151 closed defect (fixed)

BUG: gnupg2 @2.0.7_0 fails to build on Leopard

Reported by: takanori@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: waqar@… boeyms@… takanori@…
Port:

Description

--->  Fetching gnupg2
--->  Attempting to fetch gnupg-2.0.7.tar.bz2 from http://ftp.gnupg.org/gcrypt/gnupg
--->  Verifying checksum(s) for gnupg2
--->  Extracting gnupg2
--->  Applying patches to gnupg2
--->  Configuring gnupg2
--->  Building gnupg2 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_gnupg2/work/gnupg-2.0.7" && make all " returned error 2
Command output: mv -f .deps/seskey.Tpo .deps/seskey.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\""      -I/opt/local/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT kbnode.o -MD -MP -MF .deps/kbnode.Tpo -c -o kbnode.o kbnode.c
mv -f .deps/kbnode.Tpo .deps/kbnode.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\""      -I/opt/local/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT mainproc.o -MD -MP -MF .deps/mainproc.Tpo -c -o mainproc.o mainproc.c
mv -f .deps/mainproc.Tpo .deps/mainproc.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\""      -I/opt/local/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT armor.o -MD -MP -MF .deps/armor.Tpo -c -o armor.o armor.c
mv -f .deps/armor.Tpo .deps/armor.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\""      -I/opt/local/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT mdfilter.o -MD -MP -MF .deps/mdfilter.Tpo -c -o mdfilter.o mdfilter.c
mv -f .deps/mdfilter.Tpo .deps/mdfilter.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\""      -I/opt/local/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT textfilter.o -MD -MP -MF .deps/textfilter.Tpo -c -o textfilter.o textfilter.c
mv -f .deps/textfilter.Tpo .deps/textfilter.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\""      -I/opt/local/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT progress.o -MD -MP -MF .deps/progress.Tpo -c -o progress.o progress.c
mv -f .deps/progress.Tpo .deps/progress.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\""      -I/opt/local/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c
mv -f .deps/misc.Tpo .deps/misc.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\""      -I/opt/local/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT openfile.o -MD -MP -MF .deps/openfile.Tpo -c -o openfile.o openfile.c
mv -f .deps/openfile.Tpo .deps/openfile.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\""      -I/opt/local/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT keyid.o -MD -MP -MF .deps/keyid.Tpo -c -o keyid.o keyid.c
mv -f .deps/keyid.Tpo .deps/keyid.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\""      -I/opt/local/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT parse-packet.o -MD -MP -MF .deps/parse-packet.Tpo -c -o parse-packet.o parse-packet.c
mv -f .deps/parse-packet.Tpo .deps/parse-packet.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../include -I../intl -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\""      -I/opt/local/include -I/opt/local/include  -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c
status.c:391: error: two or more data types in declaration specifiers
status.c: In function 'do_get_from_fd':
status.c:391: error: parameter name omitted
status.c:399: error: syntax error before '_Bool'
status.c:426: error: syntax error before '_Bool'
make[2]: *** [status.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Attachments (1)

gnupg2.patch (787 bytes) - added by takanori@… 17 years ago.
Here is a patch to avoid this problem.

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by takanori@…

Attachment: gnupg2.patch added

Here is a patch to avoid this problem.

comment:1 Changed 17 years ago by takanori@…

Resolution: fixed
Status: newclosed

fixed in 30847.

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.