#68509 closed defect (worksforme)

glib2 @2.76.4: stderr: ld: unknown options: --version

Reported by: zoonman (Philipp) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: glib2

Description

sudo port install mc         
Password:
--->  Computing dependencies for mc
The following dependencies will be installed: 
 autoconf
 automake
 glib2
 libpng
 libtool
 m4
 oniguruma6
 pcre
 slang2
Continue? [Y/n]: Y
--->  Fetching archive for glib2
--->  Attempting to fetch glib2-2.76.4_0+x11.darwin_23.x86_64.tbz2 from https://packages.macports.org/glib2
--->  Attempting to fetch glib2-2.76.4_0+x11.darwin_23.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/glib2
--->  Attempting to fetch glib2-2.76.4_0+x11.darwin_23.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/glib2
--->  Configuring glib2
Error: Failed to configure glib2: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_devel_glib2/glib2/work/build/meson-logs/meson-log.txt
Error: Failed to configure glib2: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_devel_glib2/glib2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port mc failed

See files attached files for more details

Attachments (2)

meson-log.txt (3.4 KB) - added by zoonman (Philipp) 13 months ago.
main.log (199.2 KB) - added by zoonman (Philipp) 13 months ago.

Download all attachments as: .zip

Change History (5)

Changed 13 months ago by zoonman (Philipp)

Attachment: meson-log.txt added

Changed 13 months ago by zoonman (Philipp)

Attachment: main.log added

comment:1 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Port: glib2 added; mc removed
Summary: MC fails to install due to glib2 failure on Sonomaglib2 @2.76.4: stderr: ld: unknown options: --version
Version: 2.8.1

We built glib2 @2.78.0 successfully on Sonoma on x86_64 four days ago:

https://build.macports.org/builders/ports-14_x86_64-builder/builds/134

Your log shows version 2.76.4 so your ports tree is out of date. sudo port -d selfupdate should update it. If not, show us any error messages the output of that command generated.

comment:2 in reply to:  1 Changed 13 months ago by zoonman (Philipp)

I just pulled in new version! Confirmed, it works now.

Thank you so much!

/close

comment:3 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.