[MacPorts] #25318: selfupdate fails with Mono framework installed
#25318: selfupdate fails with Mono framework installed ----------------------------------+----------------------------------------- Reporter: stejanecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: | Port: ----------------------------------+----------------------------------------- When running selfupdate today, port tried to update my MacPorts version to 1.9.0: {{{ MacPorts base version 1.8.2 installed, MacPorts base version 1.9.0 downloaded. }}} The update failed, I've attached the the full (bzipped) output of "port -d selfupdate". The relevant part seems to be this: {{{ ld: warning: in /Library/Frameworks/Mono.framework/Versions/2.4/lib/libsqlite3.dylib, missing required architecture x86_64 in file Undefined symbols: "_sqlite3_finalize", referenced from: ... }}} Apparently the configure script found the sqlite3 that comes with the Mono framework (not installed via MacPorts) *before* the one installed in /opt/local, and then fails because the library has the wrong architecture. I got the upgrade working by temporarily moving away /Library/Frameworks/Mono.framework, but this is not really a permanent fix of the bug... -- Ticket URL: <http://trac.macports.org/ticket/25318> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25318: selfupdate fails with Mono framework installed ----------------------------------+----------------------------------------- Reporter: stejanecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.0 Keywords: | Port: ----------------------------------+----------------------------------------- Changes (by jmr@…): * cc: stejanecek@… (removed) * component: ports => base -- Ticket URL: <http://trac.macports.org/ticket/25318#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25318: selfupdate fails with Mono framework installed ----------------------------------+----------------------------------------- Reporter: stejanecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.0 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by jmr@…): Attach config.log please. -- Ticket URL: <http://trac.macports.org/ticket/25318#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25318: selfupdate fails with Mono framework installed ----------------------------------+----------------------------------------- Reporter: stejanecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.0 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by stejanecek@…): As I moved away Mono.Framwork and successfully ran the upgrade afterwards, the config.log will be from the successful run. Is there something I can do to revert the situation? I can move back the Mono.Framework, but as the upgrade was successful, I guess running "port selfupdate" again time will simply do nothing this time... -- Ticket URL: <http://trac.macports.org/ticket/25318#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25318: selfupdate fails with Mono framework installed ----------------------------------+----------------------------------------- Reporter: stejanecek@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.0 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by raimue@…): You can force the rebuild using `sudo port -f selfupdate`. -- Ticket URL: <http://trac.macports.org/ticket/25318#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25318: selfupdate fails with flags supplied by pkg-config installed in /usr/bin -----------------------------------+---------------------------------------- Reporter: stejanecek@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.0 Resolution: wontfix | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => wontfix Comment: So it's getting the bad flags from /usr/bin/pkg-config, which doesn't exist in a stock install of OS X. We can't support configurations that modify Apple-owned locations such as /usr/bin. -- Ticket URL: <http://trac.macports.org/ticket/25318#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25318: selfupdate fails with flags supplied by pkg-config installed in /usr/bin -----------------------------------+---------------------------------------- Reporter: stejanecek@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.0 Resolution: wontfix | Keywords: Port: | -----------------------------------+---------------------------------------- Comment(by stejanecek@…): Thanks. I did this on my system to see where /usr/bin/pkg-config comes from: {{{ ls -l /usr/bin/pkg-config lrwxr-xr-x 1 root wheel 54 21 Apr 2008 /usr/bin/pkg-config -> /Library/Frameworks/Mono.framework/Commands/pkg-config }}} ... So it is the Mono installer that is to blame. -- Ticket URL: <http://trac.macports.org/ticket/25318#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25318: selfupdate fails with flags supplied by pkg-config installed in /usr/bin -----------------------------------+---------------------------------------- Reporter: stejanecek@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.9.0 Resolution: wontfix | Keywords: Port: | -----------------------------------+---------------------------------------- Comment(by ryandesign@…): This issue is now being tracked in #30932. -- Ticket URL: <https://trac.macports.org/ticket/25318#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts