[MacPorts] #15018: ncid 0.70 build failure on PowerPC Mac OS X 10.4

MacPorts trac at macosforge.org
Mon Apr 14 22:30:38 PDT 2008


#15018: ncid 0.70 build failure on PowerPC Mac OS X 10.4
-------------------------------------+--------------------------------------
 Reporter:  ryandesign at macports.org  |       Owner:  ryandesign at macports.org
     Type:  defect                   |      Status:  new                    
 Priority:  Normal                   |   Milestone:  Port Bugs              
Component:  ports                    |     Version:  1.6.0                  
 Keywords:                           |  
-------------------------------------+--------------------------------------
 On PowerPC Mac OS X 10.4 ncid 0.70 fails to build:

 {{{
 cc ncidd.o nciddconf.o nciddalias.o getopt_long.o poll.o  -mmacosx-
 version-min=10.3.9 -arch i386 -o ncidd
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning unknown
 -macosx_version_min parameter value: 10.3.9 ignored (using 10.4)
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning fat file:
 /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib does not
 contain an architecture that matches the specified -arch flag: i386 (file
 ignored)
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning fat file:
 /usr/lib/libSystem.B.dylib does not contain an architecture that matches
 the specified -arch flag: i386 (file ignored)
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
 ___keymgr_dwarf2_register_sections
 __cthread_init_routine
 _atexit
 _errno
 _exit
 _mach_init_routine
 ___error
 ___sF
 _accept
 _atoi
 _bind
 _close
 _ctime
 _fclose
 _fcntl
 _fflush
 _fgets
 _fopen
 _fork
 _fprintf
 _fputs
 _fscanf
 _getpid
 _gettimeofday
 _isprint
 _kill
 _listen
 _localtime
 _malloc
 _open
 _optarg
 _optind
 _raise
 _read
 _setsid
 _setsockopt
 _signal
 _socket
 _sprintf
 _stat
 _strcat
 _strchr
 _strcmp
 _strcpy
 _strdup
 _strerror
 _strncat
 _strncmp
 _strncpy
 _strrchr
 _strstr
 _tcflush
 _tcgetattr
 _tcsetattr
 _time
 _unlink
 _usleep
 _write
 _isspace
 _free
 _getopt
 _memset
 _perror
 _select
 collect2: ld returned 1 exit status
 make[1]: *** [ncidd] Error 1
 make: *** [mac] Error 2
 }}}

 I've learned that the author changed the compilation process in 0.70 to
 always build universal. I missed this when updating the port to 0.70 on my
 Intel Mac OS X 10.4 machine since its system libraries are universal. But
 a PowerPC Mac OS X 10.4 machine's system libraries are PowerPC only, so an
 SDK needs to be used. Also we need to tie this in with the +universal
 variant so the software only builds universal when requested to do so.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15018>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list