#25318 closed defect (wontfix)
selfupdate fails with flags supplied by pkg-config installed in /usr/bin
Reported by: | stejanecek@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.9.0 |
Keywords: | Cc: | ||
Port: |
Description
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...
Attachments (2)
Change History (10)
Changed 14 years ago by stejanecek@…
Attachment: | macports-selfupdate-sqlite-issue.log.bz2 added |
---|
comment:1 Changed 14 years ago by stejanecek@…
Cc: | stejanecek@… added |
---|
comment:2 Changed 14 years ago by jmroot (Joshua Root)
Cc: | stejanecek@… removed |
---|---|
Component: | ports → base |
comment:4 Changed 14 years ago 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...
comment:5 Changed 14 years ago by raimue (Rainer Müller)
You can force the rebuild using sudo port -f selfupdate
.
Changed 14 years ago by stejanecek@…
Attachment: | config.log.bz2 added |
---|
comment:6 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Summary: | selfupdate fails with Mono framework installed → selfupdate fails with flags supplied by pkg-config installed in /usr/bin |
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.
comment:7 Changed 14 years ago 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.
comment:8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
This issue is now being tracked in #30932.
Cc Me!