[MacPorts] #34323: glib2 fails to install
#34323: glib2 fails to install ---------------------------------------+------------------------------------ Reporter: remix@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: glib2 ---------------------------------------+------------------------------------ i ran, sudo port selfupdate, then sudo port upgrade outdated and it fails on glib2 {{{ ... ---> Computing dependencies for glib2 ---> Building glib2 Error: Target org.macports.build returned: shell command failed (see log for details) Log for glib2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/glib2/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> }}} i've attached the glib2 main log for sudo port install glib2 -- Ticket URL: <https://trac.macports.org/ticket/34323> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34323: glib2 fails to install ---------------------------------------+------------------------------------ Reporter: remix@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: glib2 ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: The log says: {{{ :info:build dyld: Library not loaded: /opt/local/lib/libncurses.5.dylib :info:build Referenced from: /opt/local/bin/msgfmt :info:build Reason: no suitable image found. Did find: :info:build /usr/lib/libncurses.5.dylib: no matching architecture in universal wrapper }}} Sounds like there's a mismatch between the architectures of your ncurses port and your gettext port. For what architectures are they installed? To find out: {{{ lipo -info /opt/local/lib/libncurses.dylib /opt/local/bin/msgfmt }}} For what architectures does MacPorts think they're installed? To find out: {{{ port -v installed ncurses gettext }}} What kind of Mac do you have (specifically what processor), and what version of Xcode is installed? -- Ticket URL: <https://trac.macports.org/ticket/34323#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34323: glib2 fails to install ---------------------------------------+------------------------------------ Reporter: remix@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: glib2 ---------------------------------------+------------------------------------ Comment(by remix@…): {{{ $ lipo -info /opt/local/lib/libncursesw.dylib /opt/local/bin/msgfmt Non-fat file: /opt/local/lib/libncursesw.dylib is architecture: x86_64 Non-fat file: /opt/local/bin/msgfmt is architecture: x86_64 }}} {{{ $ port -v installed ncurses gettext The following ports are currently installed: gettext @0.18.1.1_2 (active) platform='darwin 10' archs='x86_64' ncurses @5.9_1 platform='darwin 10' archs='x86_64' }}} {{{ Model Name: iMac Model Identifier: iMac11,1 Processor Name: Intel Core i5 Processor Speed: 2.66 GHz }}} XCode Version 3.2.6 64-bit {{{ Component versions Xcode IDE: 1761.0 Xcode Core: 1809.0 ToolSupport: 1806.0 }}} what would be my next steps? -- Ticket URL: <https://trac.macports.org/ticket/34323#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34323: glib2 fails to install ---------------------------------------+------------------------------------ Reporter: remix@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: glib2 ---------------------------------------+------------------------------------ Comment(by ryandesign@…): That all looks ok... what about `lipo -info /opt/local/lib/libncurses.dylib`? (You showed libncursesw.dylib not libcurses.dylib) -- Ticket URL: <https://trac.macports.org/ticket/34323#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34323: glib2 fails to install ---------------------------------------+------------------------------------ Reporter: remix@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: glib2 ---------------------------------------+------------------------------------ Comment(by remix@…): oh right, i had to reactivate ncurses first sudo port -f activate ncurses {{{ $ lipo -info /opt/local/lib/libncurses.dylib Non-fat file: /opt/local/lib/libncurses.dylib is architecture: x86_64 }}} now glib2 works! thanks for guiding me through -- Ticket URL: <https://trac.macports.org/ticket/34323#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34323: glib2 fails to install ---------------------------------------+------------------------------------ Reporter: remix@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: glib2 ---------------------------------------+------------------------------------ Comment(by ryandesign@…): Oh, I missed in your earlier message that ncurses was not active. How then did you have the file /opt/local/lib/libncursesw.dylib? Have you perhaps not updated your ports in forever and therefore still have the old ncursesw port installed? -- Ticket URL: <https://trac.macports.org/ticket/34323#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34323: glib2 fails to install ---------------------------------------+------------------------------------ Reporter: remix@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: glib2 ---------------------------------------+------------------------------------ Comment(by remix@…): yes, that's what happened. seems to be all working now. -- Ticket URL: <https://trac.macports.org/ticket/34323#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34323: glib2 fails to install ----------------------------------------+----------------------------------- Reporter: remix@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: invalid | Keywords: Port: glib2 | ----------------------------------------+----------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/34323#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts