Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#61838 closed defect (fixed)

geda-gaf linker error

Reported by: khorton (Kevin Horton) Owned by: markemer (Mark Anderson)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: geda-gaf

Description (last modified by jmroot (Joshua Root))

geda-gaf 1.10.0 fails to build on MacOS 11.0.1 on Intel, with Xcode 12.2. Note: geda-gaf builds OK for me on Catalina.

The build log ends with:

:info:build   "_g_memory_input_stream_new_from_data", referenced from:
:info:build       _o_picture_set_from_buffer in libgeda_la-o_picture.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[4]: *** [libgeda.la] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_geda-gaf/geda-gaf/work/geda-gaf-1.10.0/libgeda/src'
:info:build make[3]: *** [all] Error 2
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_geda-gaf/geda-gaf/work/geda-gaf-1.10.0/libgeda/src'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_geda-gaf/geda-gaf/work/geda-gaf-1.10.0/libgeda'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_geda-gaf/geda-gaf/work/geda-gaf-1.10.0'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_geda-gaf/geda-gaf/work/geda-gaf-1.10.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_geda-gaf/geda-gaf/work/geda-gaf-1.10.0" && /usr/bin/make -w all 
:info:build Exit code: 2
:error:build Failed to build geda-gaf: command execution failed
:debug:build Error code: CHILDSTATUS 15017 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

Attachments (1)

geda-gaf-main.log (410.1 KB) - added by khorton (Kevin Horton) 4 years ago.
Build log

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by khorton (Kevin Horton)

Attachment: geda-gaf-main.log added

Build log

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to markemer
Port: geda-gaf added
Status: newassigned

Looks like the usual libtool OS version detection bug.

comment:2 Changed 3 years ago by khorton (Kevin Horton)

I'm getting the same linker errors on macOS 11.4 on Intel with Xcode 12.5.

Is there anything I can do to help move this forward? I hope to be able to use gschem on Big Sur on Intel

Last edited 3 years ago by khorton (Kevin Horton) (previous) (diff)

comment:3 Changed 3 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In 03cc9ff16e8e992189a43551384be518eda75163/macports-ports (master):

geda-gaf: add patch for libtool bug on macOS 11+

Closes: #61838

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

That only fixed half the problem. See #63132.

Note: See TracTickets for help on using tickets.