[MacPorts] #16726: openssl fails to compile universal on Tiger PPC

MacPorts noreply at macports.org
Thu Oct 2 05:47:03 PDT 2008


#16726: openssl fails to compile universal on Tiger PPC
-----------------------------------------+----------------------------------
 Reporter:  gianluca.toso at gmail.com      |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:  Port Bugs                            
Component:  ports                        |     Version:  1.6.0                                
 Keywords:  openssl universal tiger ppc  |        Port:  openssl                              
-----------------------------------------+----------------------------------
 openssl 0.9.8i (and older) fails to compile as universal binary on Tiger
 PPC:

 {{{
 Error: Target org.macports.build returned: shell command "cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work/i386
 && make all" returned error 2
 Command output: _fwrite$UNIX2003
 _strerror
 _strtoul
 ___tolower
 _strcat
 ___stderrp
 ___stdinp
 _sigaction
 _tcgetattr
 _tcsetattr
 _getegid
 _geteuid
 _getgid
 _getuid
 _gmtime
 _fstat
 _open
 _dlclose
 _dlerror
 _dlopen
 _dlsym
 _sprintf
 _memcpy referenced from libz expected to be defined in
 /usr/lib/libSystem.B.dylib
 _memset referenced from libz expected to be defined in
 /usr/lib/libSystem.B.dylib
 _free referenced from libz expected to be defined in
 /usr/lib/libSystem.B.dylib
 _malloc referenced from libz expected to be defined in
 /usr/lib/libSystem.B.dylib
 collect2: ld returned 1 exit status
 make[2]: *** [link_app.darwin] Error 1
 make[1]: *** [openssl] Error 2
 make: *** [build_apps] Error 1
 }}}

 This because system libraries aren't universal,
 so it must use the developer SDK (-isysroot ...),
 at least for the intel compile.

 In attachment my simple patch.

-- 
Ticket URL: <http://trac.macports.org/ticket/16726>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list