Opened 12 years ago

Closed 9 years ago

#38883 closed defect (fixed)

nettle @2.6_0 +universal build failure

Reported by: marc.waeckerlin@… Owned by: exodusd@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: nicke@…, devernay (Frédéric Devernay), ryandesign (Ryan Carsten Schmidt)
Port: nettle

Description

Tried everything that comes to my mind, without success. The problem arises when I try to upgrade the outdated:

devmac0001:~ marc$ sudo port uninstall nettle
Password:
devmac0001:~ marc$ sudo port install nettle
Error: Requested variants "" do not match original selection "+universal".
Please use the same variants again, perform 'port clean nettle' or specify the force option (-f).
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port nettle failed
devmac0001:~ marc$ ;5C;5Csudo port install nettle
devmac0001:~ marc$ sudo port clean nettle
--->  Cleaning nettle
devmac0001:~ marc$ sudo port install nettle
--->  Computing dependencies for nettle
--->  Fetching archive for nettle
--->  Attempting to fetch nettle-2.6_0.darwin_9.i386.tbz2 from http://lil.fr.packages.macports.org/nettle
--->  Attempting to fetch nettle-2.6_0.darwin_9.i386.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/nettle
--->  Attempting to fetch nettle-2.6_0.darwin_9.i386.tbz2 from http://packages.macports.org/nettle
--->  Fetching distfiles for nettle
--->  Verifying checksum(s) for nettle
--->  Extracting nettle
--->  Applying patches to nettle
--->  Configuring nettle
--->  Building nettle
--->  Staging nettle into destroot
--->  Installing nettle @2.6_0
--->  Activating nettle @2.6_0
--->  Cleaning nettle
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
devmac0001:~ marc$ sudo port upgrade outdated
--->  Computing dependencies for gnutls
--->  Dependencies to be installed: nettle
--->  Fetching archive for nettle
--->  Attempting to fetch nettle-2.6_0+universal.darwin_9.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/nettle
--->  Attempting to fetch nettle-2.6_0+universal.darwin_9.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/nettle
--->  Attempting to fetch nettle-2.6_0+universal.darwin_9.i386-x86_64.tbz2 from http://packages.macports.org/nettle
--->  Fetching distfiles for nettle
--->  Verifying checksum(s) for nettle
--->  Extracting nettle
--->  Applying patches to nettle
--->  Configuring nettle
--->  Building nettle
Error: org.macports.build for port nettle returned: command execution failed
Error: Failed to install nettle
Please see the log file for port nettle for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/main.log
Error: The following dependencies were not installed: nettle
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
devmac0001:~ marc$ 

Contents of file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/main.log:

version:1                                                                                                   
:debug:main Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/nettle/work                                                                          
:debug:main changing euid/egid - current euid: 0 - current egid: 0                                          
:debug:main egid changed to: 501                                                                            
:debug:main euid changed to: 503                                                                            
:debug:main Executing org.macports.main (nettle)                                                            
:debug:main Privilege de-escalation not attempted as not running as root.                                   
:debug:archivefetch archivefetch phase started at Mon Apr 22 10:24:52 CEST 2013                             
:msg:archivefetch --->  Fetching archive for nettle                                                         
:debug:archivefetch Executing org.macports.archivefetch (nettle)                                            
:debug:archivefetch euid/egid changed to: 0/0                                                               
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports                                    
:debug:archivefetch euid/egid changed to: 503/501                                                           
:info:archivefetch --->  nettle-2.6_0+universal.darwin_9.i386-x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified                                                                            
:msg:archivefetch --->  Attempting to fetch nettle-2.6_0+universal.darwin_9.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/nettle                                                                            
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404                         
:msg:archivefetch --->  Attempting to fetch nettle-2.6_0+universal.darwin_9.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/nettle                                                
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404                         
:msg:archivefetch --->  Attempting to fetch nettle-2.6_0+universal.darwin_9.i386-x86_64.tbz2 from http://packages.macports.org/nettle                                                                                   
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404                         
:debug:archivefetch Privilege de-escalation not attempted as not running as root.                           
:debug:fetch fetch phase started at Mon Apr 22 10:24:53 CEST 2013                                           
:notice:fetch --->  Fetching distfiles for nettle                                                           
:debug:fetch Executing org.macports.fetch (nettle)                                                          
:debug:fetch Privilege de-escalation not attempted as not running as root.                                  
:debug:checksum checksum phase started at Mon Apr 22 10:24:53 CEST 2013                                     
:notice:checksum --->  Verifying checksum(s) for nettle                                                     
:debug:checksum Executing org.macports.checksum (nettle)                                                    
:info:checksum --->  Checksumming nettle-2.6.tar.gz                                                         
:debug:checksum Correct (rmd160) checksum for nettle-2.6.tar.gz                                             
:debug:checksum Correct (sha256) checksum for nettle-2.6.tar.gz                                             
:debug:checksum Privilege de-escalation not attempted as not running as root.                               
:debug:extract extract phase started at Mon Apr 22 10:24:53 CEST 2013                                       
:notice:extract --->  Extracting nettle                                                                     
:debug:extract Executing org.macports.extract (nettle)                                                      
:info:extract --->  Extracting nettle-2.6.tar.gz                                                            
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/nettle/nettle-2.6.tar.gz'  
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'              
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/nettle/nettle-2.6.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'                                 
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/nettle/nettle-2.6.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -                             
:debug:extract euid/egid changed to: 0/0                                                                    
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work to macports                                                     
:debug:extract euid/egid changed to: 503/501                                                                
:debug:extract Privilege de-escalation not attempted as not running as root.                                
:debug:patch patch phase started at Mon Apr 22 10:24:53 CEST 2013                                           
:debug:patch Executing org.macports.patch (nettle)                                                          
:notice:patch --->  Applying patches to nettle                                                              
:info:patch --->  Applying no-fink.patch                                                                    
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'                
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6" && /usr/bin/patch -p0'                
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/nettle/files/no-fink.patch'
:info:patch patching file configure.ac
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Mon Apr 22 10:24:53 CEST 2013
:notice:configure --->  Configuring nettle
:debug:configure Using compiler 'Mac OS X gcc 4.0'
:debug:configure Executing org.macports.configure (nettle)
:debug:configure Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6" && autoreconf --install -fvi'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6" && autoreconf --install -fvi 
:info:configure autoreconf: Entering directory `.'
:info:configure autoreconf: configure.ac: not using Gettext
:info:configure autoreconf: configure.ac: not using aclocal
:info:configure autoreconf: configure.ac: tracing
:info:configure autoreconf: configure.ac: not using Libtool
:info:configure autoreconf: running: /opt/local/bin/autoconf --force
:info:configure autoreconf: running: /opt/local/bin/autoheader --force
:info:configure autoreconf: configure.ac: not using Automake
:info:configure autoreconf: Leaving directory `.'
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch i386 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch i386 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.5' CXX='/usr/bin/g++-4.0' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib -arch i386 -arch x86_64' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-pipe -O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch i386 -arch x86_64' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.0'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-shared'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-shared 
:info:configure checking build system type... i386-apple-darwin9.8.0
:info:configure checking host system type... i386-apple-darwin9.8.0
:info:configure checking for -R flag... none
:info:configure Searching for libraries
:info:configure checking /opt/local/lib... added
:info:configure checking for gcc... /usr/bin/gcc-4.0
:info:configure checking whether the C compiler works... yes
:info:configure checking for C compiler default output file name... a.out
:info:configure checking for suffix of executables... 
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/gcc-4.0 accepts -g... yes
:info:configure checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
:info:configure checking whether we are using the GNU C++ compiler... yes
:info:configure checking whether /usr/bin/g++-4.0 accepts -g... yes
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking for ranlib... ranlib
:info:configure checking for nm... nm
:info:configure checking for objdump... no
:info:configure checking for ar... ar
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking for a thread-safe mkdir -p... ./install-sh -c -d
:info:configure checking whether ln -s works... yes
:info:configure configure: Looking for assembler files in x86/.
:info:configure checking CCPIC... -fPIC
:info:configure checking if globals are prefixed by underscore... yes
:info:configure checking if we should use a .note.GNU-stack section... no
:info:configure checking for ELF-style .type,%function pseudo-ops... no
:info:configure checking for ELF-style .type,#function pseudo-ops... no
:info:configure checking if .align assembly directive is logarithmic... yes
:info:configure checking for m4... /usr/bin/m4
:info:configure checking for an ANSI C-conforming const... yes
:info:configure checking for inline... inline
:info:configure checking how to run the C preprocessor... /usr/bin/gcc-4.0 -E
:info:configure checking for grep that handles long lines and -e... /usr/bin/grep
:info:configure checking for egrep... /usr/bin/grep -E
:info:configure checking for uid_t in sys/types.h... yes
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking for size_t... yes
:info:configure checking whether time.h and sys/time.h may both be included... yes
:info:configure checking size of long... 8
:info:configure checking alignment of uint64_t... 8
:info:configure checking openssl/blowfish.h usability... yes
:info:configure checking openssl/blowfish.h presence... yes
:info:configure checking for openssl/blowfish.h... yes
:info:configure checking openssl/des.h usability... yes
:info:configure checking openssl/des.h presence... yes
:info:configure checking for openssl/des.h... yes
:info:configure checking openssl/cast.h usability... yes
:info:configure checking openssl/cast.h presence... yes
:info:configure checking for openssl/cast.h... yes
:info:configure checking openssl/aes.h usability... yes
:info:configure checking openssl/aes.h presence... yes
:info:configure checking for openssl/aes.h... yes
:info:configure checking for working alloca.h... yes
:info:configure checking for alloca... yes
:info:configure checking malloc.h usability... no
:info:configure checking malloc.h presence... no
:info:configure checking for malloc.h... no
:info:configure checking for strerror... yes
:info:configure checking whether byte ordering is bigendian... universal
:info:configure checking for memxor... no
:info:configure checking for __attribute__... yes
:info:configure checking for stdint types... stdint.h (shortcircuit)
:info:configure make use of stdint.h in nettle-stdint.h (assuming C99 compatible system)
:info:configure checking for fcntl file locking... yes
:info:configure checking for __gmpz_getlimbn in -lgmp... yes
:info:configure checking for __gmpz_powm_sec... yes
:info:configure checking for makeinfo... /opt/local/bin/makeinfo
:info:configure checking for BF_ecb_encrypt in -lcrypto... yes
:info:configure checking for library containing clock_gettime... no
:info:configure configure: creating ./config.status
:info:configure config.status: creating config.make
:info:configure config.status: creating config.m4
:info:configure config.status: creating Makefile
:info:configure config.status: creating tools/Makefile
:info:configure config.status: creating testsuite/Makefile
:info:configure config.status: creating examples/Makefile
:info:configure config.status: creating nettle.pc
:info:configure config.status: creating hogweed.pc
:info:configure config.status: creating config.h
:info:configure config.status: linking x86/aes-encrypt-internal.asm to aes-encrypt-internal.asm
:info:configure config.status: linking x86/aes-decrypt-internal.asm to aes-decrypt-internal.asm
:info:configure config.status: linking x86/arcfour-crypt.asm to arcfour-crypt.asm
:info:configure config.status: linking x86/camellia-crypt-internal.asm to camellia-crypt-internal.asm
:info:configure config.status: linking x86/md5-compress.asm to md5-compress.asm
:info:configure config.status: linking x86/sha1-compress.asm to sha1-compress.asm
:info:configure config.status: linking x86/machine.m4 to machine.m4
:info:configure config.status: executing nettle-stdint.h commands
:info:configure config.status: creating nettle-stdint.h : __NETTLE_STDINT_H
:info:configure configure: summary of build options:
:info:configure 
:info:configure   Version:           nettle 2.6
:info:configure   Host type:         i386-apple-darwin9.8.0
:info:configure   ABI:               standard
:info:configure   Assembly files:    x86
:info:configure   Install prefix:    /opt/local
:info:configure   Library directory: ${exec_prefix}/lib
:info:configure   Compiler:          /usr/bin/gcc-4.0
:info:configure   Static libraries:  yes
:info:configure   Shared libraries:  yes
:info:configure   Public key crypto: yes
:info:configure   Documentation:     yes
:info:configure 
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Apr 22 10:25:01 CEST 2013
:notice:build --->  Building nettle
:debug:build Executing org.macports.build (nettle)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6" && /usr/bin/make -j2 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6" && /usr/bin/make -j2 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6'
:info:build /usr/bin/make all-here
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6'
:info:build /usr/bin/gcc-4.0 -I. -I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch i386 -arch x86_64 -ggdb3 -Wno-pointer-sign -Wall -W   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC  -fPIC -c aesdata.c \
:info:build     && true
:info:build /usr/bin/gcc-4.0 -I. -I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch i386 -arch x86_64 -ggdb3 -Wno-pointer-sign -Wall -W   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC  -fPIC -c desdata.c \
:info:build     && true
:info:build /usr/bin/gcc-4.0 -I. -I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch i386 -arch x86_64 -ggdb3 -Wno-pointer-sign -Wall -W   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC  -fPIC -c twofishdata.c \
:info:build     && true
:info:build /usr/bin/gcc-4.0 -I. -I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch i386 -arch x86_64 -ggdb3 -Wno-pointer-sign -Wall -W   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC  -fPIC -c shadata.c \
:info:build     && true
:info:build /usr/bin/gcc-4.0 -I. -I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch i386 -arch x86_64 -ggdb3 -Wno-pointer-sign -Wall -W   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC  -fPIC -c gcmdata.c \
:info:build     && true
:info:build /usr/bin/gcc-4.0 -I. -I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch i386 -arch x86_64 -ggdb3 -Wno-pointer-sign -Wall -W   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC  -fPIC -c getopt.c \
:info:build     && true
:info:build In file included from getopt.c:104:
:info:build getopt.h:146: warning: function declaration isn’t a prototype
:info:build getopt.c:211: warning: function declaration isn’t a prototype
:info:build getopt.c:216: warning: function declaration isn’t a prototype
:info:build getopt.c: In function ‘_getopt_initialize’:
:info:build getopt.c:397: warning: unused parameter ‘argc’
:info:build getopt.c:398: warning: unused parameter ‘argv’
:info:build /usr/bin/gcc-4.0 -I. -I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch i386 -arch x86_64 -ggdb3 -Wno-pointer-sign -Wall -W   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC  -fPIC -c getopt1.c \
:info:build     && true
:info:build In file included from getopt.c:104:
:info:build getopt.h:146: warning: function declaration isn’t a prototype
:info:build getopt.c:211: warning: function declaration isn’t a prototype
:info:build getopt.c:216: warning: function declaration isn’t a prototype
:info:build getopt.c: In function ‘_getopt_initialize’:
:info:build getopt.c:397: warning: unused parameter ‘argc’
:info:build getopt.c:398: warning: unused parameter ‘argv’
:info:build getopt.c: At top level:
:info:build getopt.c:985: warning: function declaration isn’t a prototype
:info:build In file included from getopt1.c:24:
:info:build getopt.h:146: warning: function declaration isn’t a prototype
:info:build getopt.c: At top level:
:info:build getopt.c:985: warning: function declaration isn’t a prototype
:info:build In file included from getopt1.c:24:
:info:build getopt.h:146: warning: function declaration isn’t a prototype
:info:build /usr/bin/gcc-4.0 -I. -I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch i386 -arch x86_64 -ggdb3 -Wno-pointer-sign -Wall -W   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC  -fPIC -c nettle-internal.c \
:info:build     && true
:info:build /usr/bin/m4 ./asm.m4 machine.m4 config.m4 \
:info:build             aes-decrypt-internal.asm >aes-decrypt-internal.s
:info:build /usr/bin/gcc-4.0 -I. -I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch i386 -arch x86_64 -ggdb3 -Wno-pointer-sign -Wall -W   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC  -fPIC -c aes-decrypt-internal.s
:info:build aes-decrypt-internal.asm:110:suffix or operands invalid for `push'
:info:build aes-decrypt-internal.asm:111:suffix or operands invalid for `push'
:info:build aes-decrypt-internal.asm:112:suffix or operands invalid for `push'
:info:build aes-decrypt-internal.asm:113:suffix or operands invalid for `push'
:info:build aes-decrypt-internal.asm:329:suffix or operands invalid for `pop'
:info:build aes-decrypt-internal.asm:330:suffix or operands invalid for `pop'
:info:build aes-decrypt-internal.asm:331:suffix or operands invalid for `pop'
:info:build aes-decrypt-internal.asm:332:suffix or operands invalid for `pop'
:info:build lipo: can't open input file: /var/tmp//ccFMkUAj.out (No such file or directory)
:info:build make[1]: *** [aes-decrypt-internal.o] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/work/nettle-2.6" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port nettle returned: command execution failed
:debug:build Error code: CHILDSTATUS 29205 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for nettle: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install nettle
:debug:build Failed to locate 'xcrun' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
:notice:build Please see the log file for port nettle for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nettle/nettle/main.log

Other Tickets: #24693 is already closed and two years old and related to Mac OS 10.6, so it's probably not the same (or at least if it is, tat ticket there should be reopened since it is obviousely not solved). #21447 and #14797 are even older.

Change History (6)

comment:1 Changed 12 years ago by jmroot (Joshua Root)

Cc: nicke@… added
Owner: changed from macports-tickets@… to exodusd@…
Port: @2.6_0 removed
Summary: nettle @2.6_0 Mac OSX 10.5 results in "command execution failed"nettle @2.6_0 +universal build failure

Please remember to Cc the maintainers.

comment:2 Changed 11 years ago by devernay (Frédéric Devernay)

Cc: frederic.devernay@… added

Cc Me!

comment:3 Changed 11 years ago by devernay (Frédéric Devernay)

Adding

PortGroup muniversal 1.0

to the Portfile fixes it. I don't know if this is considered to be a dirty solution or not, but at least it works. Most ports that have some assembler code inside use muniversal AFAIK.

comment:4 Changed 11 years ago by devernay (Frédéric Devernay)

This is also fixed by upgrading to 2.7.1 (#39750) without the need for muniversal

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

I have updated the port to 2.7.1 in r118536. Did that help?

comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Also, the muniversal portgroup was added to the port in r111066, so I assume this issue is fixed.

Note: See TracTickets for help on using tickets.