[MacPorts] #61838: geda-gaf linker error

MacPorts noreply at macports.org
Tue Dec 15 13:26:27 UTC 2020


#61838: geda-gaf linker error
-----------------------+----------------------
  Reporter:  khorton   |      Owner:  markemer
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.4
Resolution:            |   Keywords:  bigsur
      Port:  geda-gaf  |
-----------------------+----------------------
Changes (by jmroot):

 * owner:  (none) => markemer
 * status:  new => assigned
 * port:   => geda-gaf


Old description:

> 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"

New description:

 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"
 }}}

--

Comment:

 Looks like the usual libtool OS version detection bug.

-- 
Ticket URL: <https://trac.macports.org/ticket/61838#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list