[MacPorts] #62700: glib2 @2.62.5 +universal is missing some i386 bits (was: glib2-devel @2.62.5 +universal is missing some i386 bits)
MacPorts
noreply at macports.org
Sat Jul 30 12:51:48 UTC 2022
#62700: glib2 @2.62.5 +universal is missing some i386 bits
-------------------------+----------------------
Reporter: ryandesign | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: glib2 |
-------------------------+----------------------
Changes (by mascguy):
* cc: barracuda156, evanmiller (added)
* port: glib2-devel => glib2
Old description:
> glib2-devel @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).
New description:
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).
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/62700#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list