[MacPorts] #32553: libiconv: lib/utf8mac.h:30:33: fatal error: libkern/OSByteOrder.h: No such file or directory
#32553: libiconv: lib/utf8mac.h:30:33: fatal error: libkern/OSByteOrder.h: No such file or directory ---------------------------------+------------------------------------------ Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: linux | Port: libiconv ---------------------------------+------------------------------------------ libiconv won't build on Ubuntu: {{{ /usr/bin/cc -O lib/genflags.c -o genflags In file included from lib/converters.h:122:0, from lib/genflags.c:34: lib/utf8mac.h:30:33: fatal error: libkern/OSByteOrder.h: No such file or directory compilation terminated. }}} It seems it tries to use some OSX only library. -- Ticket URL: <https://trac.macports.org/ticket/32553> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32553: libiconv: lib/utf8mac.h:30:33: fatal error: libkern/OSByteOrder.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: linux Port: libiconv | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Does r88016 help? -- Ticket URL: <https://trac.macports.org/ticket/32553#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32553: libiconv: lib/utf8mac.h:30:33: fatal error: libkern/OSByteOrder.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: linux Port: libiconv | ----------------------------------+----------------------------------------- Changes (by rudloff@…): * status: closed => reopened * resolution: fixed => Comment: I get another error now: {{{ /bin/bash ../libtool --mode=compile /usr/bin/cc -I. -I. -I.. -I./.. -I../include -pipe -O2 -fvisibility=hidden -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libcharset_set_relocation_prefix -Drelocate=libcharset_relocate -DHAVE_CONFIG_H -c ./relocatable.c ../libtool: line 555: CDPATH: command not found ../libtool: line 555: CDPATH: command not found libtool: Version mismatch error. This is libtool 2.4, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.4 libtool: and run autoconf again. make[2]: *** [localcharset.lo] Error 63 make[2]: *** Waiting for unfinished jobs.... libtool: Version mismatch error. This is libtool 2.4, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.4 libtool: and run autoconf again. make[2]: *** [relocatable.lo] Error 63 }}} -- Ticket URL: <https://trac.macports.org/ticket/32553#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32553: libiconv: lib/utf8mac.h:30:33: fatal error: libkern/OSByteOrder.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: linux Port: libiconv | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: reopened => closed * resolution: => fixed Comment: From the log: {{{ :info:configure checking the name lister (/usr/bin/nm -B) interface... ./configure: line 6472: /usr/bin/grep: No such file or directory }}} {{{ :info:configure ./configure: line 9506: /usr/bin/sed: No such file or directory }}} You appear to be missing grep and sed. Added these dependencies in r88021. -- Ticket URL: <https://trac.macports.org/ticket/32553#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32553: libiconv: lib/utf8mac.h:30:33: fatal error: libkern/OSByteOrder.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: linux Port: libiconv | ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Actually no, that can't work, for two reasons. First, libiconv cannot depend on either the grep port or the gsed port, since both of them depend on gettext which depends on libiconv, so this would introduce a circular dependency which MacPorts cannot handle. Second, the libiconv port is specifically programmed to only use system versions of grep and sed in /usr/bin; see #30308 for why. So, sorry, you must provide a system implementation of sed and grep (and probably awk will be needed too, if not for libiconv, then for another port down the line). Undid r88021 in r88022. -- Ticket URL: <https://trac.macports.org/ticket/32553#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32553: libiconv: lib/utf8mac.h:30:33: fatal error: libkern/OSByteOrder.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: linux Port: libiconv | ----------------------------------+----------------------------------------- Changes (by rudloff@…): * status: closed => reopened * resolution: fixed => Comment: I do have these but in ''/bin'': {{{ pierre@pierre-MacBook:~$ which sed /bin/sed }}} {{{ pierre@pierre-MacBook:~$ which grep /bin/grep }}} Should I add some symlinks in ''/usr/bin'' ? -- Ticket URL: <https://trac.macports.org/ticket/32553#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32553: libiconv: lib/utf8mac.h:30:33: fatal error: libkern/OSByteOrder.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: linux Port: libiconv | ----------------------------------+----------------------------------------- Comment(by ryandesign@…): That ought to work. grep, sed and awk are in /usr/bin on OS X so that's where ports like libiconv that need to hardcode their locations (for reasons like #30308) are going to do it. -- Ticket URL: <https://trac.macports.org/ticket/32553#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32553: libiconv: lib/utf8mac.h:30:33: fatal error: libkern/OSByteOrder.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: linux Port: libiconv | ----------------------------------+----------------------------------------- Comment(by rudloff@…): I have created the symlinks and the port builds fine. Thanks ! -- Ticket URL: <https://trac.macports.org/ticket/32553#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32553: libiconv: lib/utf8mac.h:30:33: fatal error: libkern/OSByteOrder.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: rudloff@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: linux Port: libiconv | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: reopened => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/32553#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts