Opened 18 years ago

Closed 17 years ago

#10227 closed defect (fixed)

BUG: gnupg 1.4.4_0 -> 1.4.5_0 hangs in configure

Reported by: yaseppochi (Stephen J. Turnbull) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: waqar@…, yeled@…, markd@…
Port:

Description

Mac OS X 10.3.9 "panther", PowerBook G4, port built 1 Aug 2006 00:07 JST from freshly updated CVS.

port -d upgrade gnupg hangs, with output tail included below. Adding --with-tar=/opt/local/bin/gnutar to configure.args and upgrading port (rebuilt 3 Aug 2006 11:40 JST from freshly updated CVS) allows the upgrade to succeed.

checking whether make sets $(MAKE)... (cached) yes checking whether build environment is sane... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for ar... ar checking for perl... /opt/local/bin/perl checking for library containing strerror... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for a BSD-compatible install... /opt/local/bin/ginstall -c checking for gawk... (cached) gawk checking for docbook-to-man... no checking for faqprog.pl... no checking for docbook2texi... no checking for sgml to texi tools... no checking for tar... /usr/bin/tar C papa% /usr/bin/tar --version tar (GNU tar) 1.13.25 Copyright (C) 2001 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by John Gilmore and Jay Fenlason. papa% /opt/local/bin/gnutar --version tar (GNU tar) 1.15.1 papa%

Change History (7)

comment:1 Changed 18 years ago by ehainry@…

On my Tiger powerbook, /usr/bin/tar is version 1.14. port -v configure gnupg does not block. It however says

checking for tar... /usr/bin/tar checking whether /usr/bin/tar speaks USTAR... /usr/bin/tar: -: Cannot write: Broken pipe /usr/bin/tar: Error is not recoverable: exiting now yes and continues. The build goes allright then. Strangely enough, when going in the workdir and doing configure, it does not complain.

comment:2 Changed 18 years ago by ehainry@…

Cc: waqar@… added

comment:3 Changed 18 years ago by yeled@…

Cc: yeled@… added

what does file /usr/bin/tar show?

comment:4 Changed 18 years ago by j_chan+dp@…

Mac OS X 10.3.9, port v1.320 port -d selfupdate done today Aug 13, 2006

/usr/bin/tar is 'tar (GNU tar) 1.13.25'

gnupg also hangs for me in configure in the same way. Initially it was during an update. Since then, I've uninstalled and cleaned the older gnupg, which didn't help the situation.

Doing sudo port -d install gnupg still hangs after locating tar.

Manually executing the port-issued commands (cd and configure), however, works!

DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_mail_gnupg/work/gnupg-1.4.5" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/share/info --disable-asm --disable-dynload --with-libiconv-prefix=/opt/local --with-libintl-prefix=/opt/local --with-zlib=/opt/local --with-bzip2=/opt/local'

After the manual configure, make all also works flawlessly.

Note: Issuing sudo port -d install gnupg will hang in configure. Issuing sudo port -d configure gnupg will hang in configure.

I have also tried the above two port commands as root, without the use of sudo, with the same results.

comment:5 Changed 18 years ago by markd@…

Summary: upgrade gnupg 1.4.4_0 to 1.4.5_0 hangs in configureBUG: gnupg 1.4.4_0 -> 1.4.5_0 hangs in configure

comment:6 Changed 17 years ago by roland@…

I just had the same problem with GnuPG 1.4.5 under Panther. I solved it using the following patch on the Portfile:

--- /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/mail/gnupg/Portfile.orig	Fri Nov 10 10:42:29 2006
+++ /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/mail/gnupg/Portfile	Fri Nov 10 12:57:50 2006
@@ -55,6 +55,11 @@
 	configure.args-delete --disable-asm --disable-dynload
 }
 
+platform darwin 7 {
+	depends_lib-append	port:gnutar
+	configure.args-append --with-tar=${prefix}/bin/gnutar
+}
+
 post-destroot	{
 	file delete -force ${destroot}${prefix}/share/info/dir \
 		${destroot}${prefix}/share/locale/locale.alias \

Roland Levillain

comment:7 Changed 17 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

Thanks Roland. Committed fix.

Note: See TracTickets for help on using tickets.