[MacPorts] #65467: atk fails to build

MacPorts noreply at macports.org
Sat Jul 9 05:54:50 UTC 2022


#65467: atk fails to build
------------------------+----------------------
 Reporter:  dyne2meter  |      Owner:  mascguy
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.2
 Keywords:              |       Port:  atk
------------------------+----------------------
 Fails to build in Mojave; I have linking errors reported that require
 rebuilding gimp and ImageMagick, which both depend on atk

 {{{
 :info:build WARNING: ['otool'] does not work. Relinking will always happen
 on source changes.
 :info:build /opt/local/libexec/llvm-13/bin/llvm-objdump: error: unknown
 argument '-cho'
 :info:build [146/152] /usr/bin/clang  -o tests/testrole
 tests/testrole.p/testrole.c.o -L/opt/local/lib -I/opt/local/include
 -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names
 -Wl,-undefined,error -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64 -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -Wl,-rpath, at loader_path/../atk -Wl,-rpath,/opt/local/lib
 atk/libatk-1.0.0.dylib /opt/local/lib/libglib-2.0.dylib
 /opt/local/lib/libintl.dylib /opt/local/lib/libgobject-2.0.dylib
 :info:build [147/152] /usr/bin/clang  -o tests/testdocument
 tests/testdocument.p/testdocument.c.o -L/opt/local/lib
 -I/opt/local/include -Wl,-dead_strip_dylibs
 -Wl,-headerpad_max_install_names -Wl,-undefined,error
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64 -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -Wl,-rpath, at loader_path/../atk -Wl,-rpath,/opt/local/lib
 atk/libatk-1.0.0.dylib /opt/local/lib/libglib-2.0.dylib
 /opt/local/lib/libintl.dylib /opt/local/lib/libgobject-2.0.dylib
 :info:build [148/152] /usr/bin/clang  -o tests/testrelation
 tests/testrelation.p/testrelation.c.o -L/opt/local/lib
 -I/opt/local/include -Wl,-dead_strip_dylibs
 -Wl,-headerpad_max_install_names -Wl,-undefined,error
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64 -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -Wl,-rpath, at loader_path/../atk -Wl,-rpath,/opt/local/lib
 atk/libatk-1.0.0.dylib /opt/local/lib/libglib-2.0.dylib
 /opt/local/lib/libintl.dylib /opt/local/lib/libgobject-2.0.dylib
 :info:build [149/152] /usr/bin/clang  -o tests/teststateset
 tests/teststateset.p/teststateset.c.o -L/opt/local/lib
 -I/opt/local/include -Wl,-dead_strip_dylibs
 -Wl,-headerpad_max_install_names -Wl,-undefined,error
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64 -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -Wl,-rpath, at loader_path/../atk -Wl,-rpath,/opt/local/lib
 atk/libatk-1.0.0.dylib /opt/local/lib/libglib-2.0.dylib
 /opt/local/lib/libintl.dylib /opt/local/lib/libgobject-2.0.dylib
 :info:build [150/152] /usr/bin/clang  -o tests/testvalue
 tests/testvalue.p/testvalue.c.o -L/opt/local/lib -I/opt/local/include
 -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names
 -Wl,-undefined,error -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64 -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -Wl,-rpath, at loader_path/../atk -Wl,-rpath,/opt/local/lib
 atk/libatk-1.0.0.dylib /opt/local/lib/libglib-2.0.dylib
 /opt/local/lib/libintl.dylib /opt/local/lib/libgobject-2.0.dylib
 :info:build [151/152] /opt/local/bin/g-ir-scanner --no-libtool
 --namespace=Atk --nsversion=1.0 --warn-all --output atk/Atk-1.0.gir
 --quiet --c-include=atk/atk.h -DATK_COMPILATION
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/atk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/atk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/atk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/atk
 --filelist=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/atk/libatk-1.0.0.dylib.p/Atk_1.0_gir_filelist
 --include=GObject-2.0 --symbol-prefix=atk --identifier-prefix=Atk --pkg-
 export=atk --cflags-begin -DG_DISABLE_SINGLE_INCLUDES
 -DATK_DISABLE_SINGLE_INCLUDES
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/atk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/atk
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include
 --cflags-end --add-include-path=/opt/local/share/gir-1.0
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/atk
 --library atk-1.0 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib
 --extra-library=glib-2.0 --extra-library=intl --extra-library=gobject-2.0
 --extra-library=girepository-1.0 --sources-top-dirs
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/subprojects/
 --sources-top-dirs
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/subprojects/
 :info:build FAILED: atk/Atk-1.0.gir
 :info:build /opt/local/bin/g-ir-scanner --no-libtool --namespace=Atk
 --nsversion=1.0 --warn-all --output atk/Atk-1.0.gir --quiet
 --c-include=atk/atk.h -DATK_COMPILATION
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/atk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/atk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/atk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/atk
 --filelist=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/atk/libatk-1.0.0.dylib.p/Atk_1.0_gir_filelist
 --include=GObject-2.0 --symbol-prefix=atk --identifier-prefix=Atk --pkg-
 export=atk --cflags-begin -DG_DISABLE_SINGLE_INCLUDES
 -DATK_DISABLE_SINGLE_INCLUDES
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/atk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/atk
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include
 --cflags-end --add-include-path=/opt/local/share/gir-1.0
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/atk
 --library atk-1.0 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib
 --extra-library=glib-2.0 --extra-library=intl --extra-library=gobject-2.0
 --extra-library=girepository-1.0 --sources-top-dirs
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/atk-2.38.0/subprojects/
 --sources-top-dirs
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build/subprojects/
 :info:build /opt/local/libexec/llvm-13/bin/llvm-objdump: error: unknown
 argument '-cho'
 :info:build Traceback (most recent call last):
 :info:build   File "/opt/local/bin/g-ir-scanner", line 99, in <module>
 :info:build     sys.exit(scanner_main(sys.argv))
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/scannermain.py", line 609, in scanner_main
 :info:build     shlibs = create_binary(transformer, options, args)
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/scannermain.py", line 434, in create_binary
 :info:build     shlibs = resolve_shlibs(options, binary,
 options.libraries)
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/shlibs.py", line 185, in resolve_shlibs
 :info:build     _resolve_non_libtool(options, binary, non_libtool))
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/shlibs.py", line 105, in _resolve_non_libtool
 :info:build     output = subprocess.check_output(args)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py",
 line 420, in check_output
 :info:build     return run(*popenargs, stdout=PIPE, timeout=timeout,
 check=True,
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py",
 line 524, in run
 :info:build     raise CalledProcessError(retcode, process.args,
 :info:build subprocess.CalledProcessError: Command '['otool', '-L',
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build
 /tmp-introspect4qab_ooi/Atk-1.0']' returned non-zero exit status 1.
 :info:build ninja: build stopped: subcommand failed.
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/work/build"
 && /opt/local/bin/ninja -j4 -v
 :info:build Exit code: 1
 :error:build Failed to build atk: command execution failed
 :debug:build Error code: CHILDSTATUS 96221 1
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_atk/atk/main.log
 for details.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65467>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list