#63592 closed defect (fixed)
Can't build gobject-introspection @1.60.2_7+universal
Reported by: | requeijaum (Rafael Requião) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), mascguy (Christopher Nielsen) | |
Port: | gobject-introspection, glib2 |
Description
Is GLib2 or GTK+3 broken on El Capitan (10.11.6)?
There are some dylibs missing.
OS X 10.11.6 (darwin/15.6.0) arch i386 -- why no x86_64, though?
MacPorts 2.7.1
Xcode 8.0
SDK 10.11
MACOSX_DEPLOYMENT_TARGET: 10.11
Attachments (2)
Change History (19)
Changed 3 years ago by requeijaum (Rafael Requião)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | gobject-introspection el capitan 10.11.6 removed |
---|
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | glib2 added |
---|
I would guess the problem port is the one that provides libgmodule-2.0.0.dylib, i.e. glib2 and glib2-devel. I am listed as the maintainer of those ports but I was not involved in updating the port to the new version that uses meson, which seems like a likely culprit for this change in behavior, so I request that someone else investigate and fix this.
comment:3 Changed 3 years ago by kencu (Ken)
I believe there is nothing wrong with glib2. I updated glib2 and glib2-devel and of course I never would have done anything so silly as updated it to broken dylibs:
$ port contents glib2 | grep dylib | xargs otool -L /opt/local/lib/libgio-2.0.0.dylib: /opt/local/lib/libgio-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1575.17.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1575.17.0) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1671.60.107) /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libgio-2.0.dylib: /opt/local/lib/libgio-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1575.17.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1575.17.0) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1671.60.107) /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libglib-2.0.0.dylib: /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1575.17.0) /opt/local/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.13.0) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0) /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libglib-2.0.dylib: /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1575.17.0) /opt/local/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.13.0) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0) /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libgmodule-2.0.0.dylib: /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1) /opt/local/lib/libgmodule-2.0.dylib: /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1) /opt/local/lib/libgobject-2.0.0.dylib: /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libffi.8.dylib (compatibility version 10.0.0, current version 10.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1) /opt/local/lib/libgobject-2.0.dylib: /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libffi.8.dylib (compatibility version 10.0.0, current version 10.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1) /opt/local/lib/libgthread-2.0.0.dylib: /opt/local/lib/libgthread-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1) /opt/local/lib/libgthread-2.0.dylib: /opt/local/lib/libgthread-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1)
The problem is more likely with gobject-introspection making wonky analyses of the libraries I believe, as it has been doing for months and months now.
comment:4 follow-up: 5 Changed 3 years ago by kencu (Ken)
If someone does have glib2 built with libraries that somehow have @rpath references in them, please post up the info here and perhaps someone can figure out what went wrong. The command, as above, is:
port contents glib2 | grep dylib | xargs otool -L
comment:5 follow-up: 7 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to kencu:
If someone does have glib2 built with libraries that somehow have @rpath references in them
That's exactly what I have with glib2-devel @2.62.6_1:
/opt/local/lib/libgio-2.0.0.dylib: @rpath/libgio-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1455.255.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1455.255.0) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1561.61.100) /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0) @rpath/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) @rpath/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) @rpath/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.7.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libgio-2.0.dylib: @rpath/libgio-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1455.255.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1455.255.0) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1561.61.100) /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0) @rpath/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) @rpath/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) @rpath/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.7.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libglib-2.0.0.dylib: @rpath/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1455.255.0) /opt/local/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.13.0) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.7.0) /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libglib-2.0.dylib: @rpath/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1455.255.0) /opt/local/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.13.0) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.7.0) /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libgmodule-2.0.0.dylib: @rpath/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) @rpath/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libgmodule-2.0.dylib: @rpath/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) @rpath/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libgobject-2.0.0.dylib: @rpath/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) @rpath/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libffi.8.dylib (compatibility version 10.0.0, current version 10.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libgobject-2.0.dylib: @rpath/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) @rpath/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libffi.8.dylib (compatibility version 10.0.0, current version 10.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libgthread-2.0.0.dylib: @rpath/libgthread-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) @rpath/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libgthread-2.0.dylib: @rpath/libgthread-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) @rpath/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)
glib2 @2.62.6_2 doesn't seem to have that problem. (There is no glib2-devel @2.62.6_2?)
comment:6 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
See also #63594 for another report.
comment:7 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign:
That's exactly what I have with glib2-devel @2.62.6_1:
This was glib2-devel @2.62.6_1+universal+x11 built locally on High Sierra. glib2-devel @2.62.6_1+x11 on the packages server doesn't have the problem.
comment:8 Changed 3 years ago by reneeotten (Renee Otten)
Priority: | High → Normal |
---|
Changed 3 years ago by requeijaum (Rafael Requião)
Attachment: | glib2-devel.txt added |
---|
comment:9 Changed 3 years ago by requeijaum (Rafael Requião)
Deactivated glib2 and installed glib2-devel @2.62.6_1+universal+x11 on El Capitan.
Tried updating it - with no luck.
Error: glib2-devel version 2.62.6_2 is not available (current version is 2.62.6_1)
Building gobject-introspection @1.60.2_7+universal still fails.
I've attached a new log.
comment:10 Changed 3 years ago by jmroot (Joshua Root)
Cc: | ryandesign added |
---|---|
Owner: | set to dbevans |
Status: | new → assigned |
comment:11 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|---|
Owner: | changed from dbevans to michaelld |
comment:12 Changed 3 years ago by mascguy (Christopher Nielsen)
Michael, since you're our defacto gobject-introspection
guru... any thoughts on this one?
comment:13 Changed 3 years ago by kencu (Ken)
meson builds the libs with @rpath refs and then rewrites those to full pathnames on install.
If that is no longer working, first place to check might be any changes made to the meson port, for example here:
comment:14 Changed 3 years ago by kencu (Ken)
I just installed a brand-new, clean MacPorts 2.7 on a previously untouched High Sierra system, and installed glib2-devel on it with these as the only two commands issued in the brand-new installation:
516 sudo port selfupdate 517 sudo port -v -N install glib2-devel +universal
I confirm glib2-devel built from source, and I get a perfect set of dylibs:
$ port -v installed glib2-devel The following ports are currently installed: glib2-devel @2.62.6_1+universal+x11 (active) requested_variants='+universal' platform='darwin 17' archs='i386 x86_64' date='2021-10-10T12:27:58-0700' $ port contents glib2-devel | grep dylib | xargs otool -L /opt/local/lib/libgio-2.0.0.dylib: /opt/local/lib/libgio-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1455.255.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1455.255.0) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1561.61.100) /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libgio-2.0.dylib: /opt/local/lib/libgio-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1455.255.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1455.255.0) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1561.61.100) /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libglib-2.0.0.dylib: /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1455.255.0) /opt/local/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.13.0) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0) /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libglib-2.0.dylib: /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1455.255.0) /opt/local/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.13.0) /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0) /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) /opt/local/lib/libgmodule-2.0.0.dylib: /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libgmodule-2.0.dylib: /opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libgobject-2.0.0.dylib: /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libffi.8.dylib (compatibility version 10.0.0, current version 10.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libgobject-2.0.dylib: /opt/local/lib/libgobject-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libffi.8.dylib (compatibility version 10.0.0, current version 10.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libgthread-2.0.0.dylib: /opt/local/lib/libgthread-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libgthread-2.0.dylib: /opt/local/lib/libgthread-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0) /opt/local/lib/libglib-2.0.0.dylib (compatibility version 6201.0.0, current version 6201.6.0)
So I am not sure why some are not seeing that.
Ryan is probably running macports master instead of release-2.7... can't see what difference that would make.
comment:15 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
My broken glib2-devel was installed awhile ago:
$ port -v installed glib2-devel The following ports are currently installed: glib2-devel @2.62.6_1+universal+x11 requested_variants='+universal' platform='darwin 17' archs='i386 x86_64' date='2021-09-07T16:35:36-0500'
It's possible that something that was broken back then either in glib2-devel or in one of its dependencies was fixed after that but that glib2-devel and any other affected ports were not revbumped to induce a rebuild. It's likely that my ports tree was up to several weeks out of date at that point, as it usually is, since I don't update my ports tree that often.
comment:16 Changed 3 years ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Let us know if this is still an issue, after updating to the latest version (1.70.0).
comment:17 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
The problem was reported again in #67023.
There are probably not any dylibs missing, but they are built wrong—with @rpath, when they should be built with absolute paths instead, like everything else in MacPorts.
The log says:
I feel like there are a zillion other reports of such problems. I too have been unable to build many ports on my system for weeks because of such errors. Hopefully someone fixes them.
In this context, "arch i386" means "any Intel processor". "arch powerpc" here would mean "any PowerPC processor" and "arch arm" would mean "any ARM processor". It does not make any statement about whether it is 32-bit or 64-bit.
This is in contrast to flags like
-arch i386
,-arch x86_64
,-arch ppc
,-arch ppc64
, and-arch arm64
, which do indicate a specific processor including its 32-bitness or 64-bitness.The similarity between this "arch" designation and the unrelated "-arch" flags is a frequent and unfortunate source of confusion.