Opened 4 years ago
Last modified 2 years ago
#62700 closed defect
glib2 @2.62.5 +universal is missing some i386 bits — at Version 6
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | pending | Cc: | barracuda156, evanmiller (Evan Miller) |
Port: | glib2 |
Description (last modified by mascguy (Christopher Nielsen))
glib2 @2.62.5 +universal (meson build system) installs and appears to be universal (all the installed binaries are both x86_64 and i386 according to lipo -info
) but trying to build something universal against it (litebrowser) leads to this error:
Undefined symbols for architecture i386: "Gio::InputStream::read(void*, unsigned int)", referenced from: html_widget::load_text_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in html_widget.cpp.o "Gio::MemoryInputStream::add_data(void const*, int)", referenced from: http_loader::curlWriteFunction(void*, unsigned long, unsigned long, void*) in http_loader.cpp.o ld: symbol(s) not found for architecture i386
But it works fine with glib2 @2.58.3_1 +universal (autoconf build system).
Change History (6)
comment:1 Changed 3 years ago by kencu (Ken)
comment:2 Changed 3 years ago by kencu (Ken)
I have been running (on my 10.6 system) glib2-devel +universal +x11 since I first completed the upgrade in February. I have built a great many things universal since that time against glib2-devel without trouble.
Perhaps this is something specific to litebrowser? Let me see.
comment:3 Changed 3 years ago by kencu (Ken)
Well, at present at least, litebrowser
installs without issue +universal
for me on 10.6 against glib2-devel
:
$ port -v installed litebrowser glib2-devel The following ports are currently installed: glib2-devel @2.62.5_0+universal+x11 (active) requested_variants='+universal+x11' platform='darwin 10' archs='i386 x86_64' date='2021-02-11T11:34:05-0800' litebrowser @0.0.0-20201026_0+universal (active) requested_variants='+universal' platform='darwin 10' archs='i386 x86_64' date='2021-08-06T19:41:16-0700'
So whatever the issue you had, Ryan, it would not seem to be systemic or insurmountable.
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
I would have been running 10.13.6 at the time I filed this report.
I'm now running 10.15.7 so I can't address universal build issues there.
comment:5 Changed 2 years ago by mascguy (Christopher Nielsen)
Owner: | set to mascguy |
---|---|
Status: | new → assigned |
comment:6 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | barracuda156 evanmiller added |
---|---|
Description: | modified (diff) |
Port: | glib2 added; glib2-devel removed |
Summary: | glib2-devel @2.62.5 +universal is missing some i386 bits → glib2 @2.62.5 +universal is missing some i386 bits |
Sergey/Evan/Anyone, are you folks seeing any universal-related issues for PPC, with the GLib2 port you're currently running on your legacy hardware? And please confirm which one you have installed.
That
std::__1:*
business often means that something was not built against the rightstdlib
...