Multiple ports error on upgrade

Philip Hudson phil.hudson at iname.com
Wed Mar 2 07:53:50 PST 2011


Here's an example:

> --->  Computing dependencies for openssl
> --->  Building opensslError: Target org.macports.build returned:  
> shell command failed (see log for details)
> Log for openssl is at: /opt/local/var/macports/logs/ 
> _opt_local_var_macports_sources_rsync 
> .macports.org_release_ports_devel_openssl/main.log
> Error: Unable to upgrade port: 1

Here's the tail of the cited log:

> :info:build make[2]: Nothing to be done for `all'.
> :info:build making all in crypto/dso...
> :info:build /usr/bin/gcc-4.0 -I.. -I../.. -I../asn1 -I../evp -I../../ 
> include  -fPIC -fno-common -DOPENSSL_PI
> C -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H - 
> arch ppc -O3 -DB_ENDIAN -Wa,-force_cpusu
> btype_ALL   -c -o dso_dlfcn.o dso_dlfcn.c
> :info:build dso_dlfcn.c: In function 'dlfcn_pathbyaddr':
> :info:build dso_dlfcn.c:445: error: 'Dl_info' undeclared (first use  
> in this function)
> :info:build dso_dlfcn.c:445: error: (Each undeclared identifier is  
> reported only once
> :info:build dso_dlfcn.c:445: error: for each function it appears in.)
> :info:build dso_dlfcn.c:445: error: syntax error before 'dli'
> :info:build dso_dlfcn.c:455: error: 'dli' undeclared (first use in  
> this function)
> :info:build make[2]: *** [dso_dlfcn.o] Error 1
> :info:build make[1]: *** [subdirs] Error 1
> :info:build make: *** [build_crypto] Error 1
> :info:build shell command " cd "/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_openssl/work/openssl-1.0.0d" && /usr/bin/ 
> make all " returned error 2
> :error:build Target org.macports.build returned: shell command  
> failed (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
>     while executing
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for  
> openssl): org.macports.destroot org.macports.b
> uild
> :notice:build Log for openssl is at: /opt/local/var/macports/logs/ 
> _opt_local_var_macports_sources_rsync.macp
> orts.org_release_ports_devel_openssl/main.log

Unclear to me how to remediate.

--
Phil Hudson                  http://hudson-it.no-ip.biz
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63



More information about the macports-users mailing list