[MacPorts] #59658: babl @ 0.1.72: fails to configure on Leopard: ERROR: Problem encountered: Linker doesn't support --version-script or -exported_symbols_list

MacPorts noreply at macports.org
Sun Nov 10 04:23:14 UTC 2019


#59658: babl @ 0.1.72: fails to configure on Leopard: ERROR: Problem encountered:
Linker doesn't support --version-script or -exported_symbols_list
--------------------+----------------------
 Reporter:  kencu   |      Owner:  dbevans
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  babl
--------------------+----------------------
 The default linker on Leopard `ld64_127` is not new enough to satisfy the
 meson configure script:

 {{{
 --->  Computing dependencies for babl.
 --->  Fetching distfiles for babl
 --->  babl-0.1.72.tar.xz does not exist in
 /opt/local/var/macports/distfiles/babl
 --->  Attempting to fetch babl-0.1.72.tar.xz from
 http://distfiles.macports.org/babl
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100  286k  100  286k    0     0   257k      0  0:00:01  0:00:01 --:--:--
 258k
 --->  Verifying checksums for babl
 --->  Checksumming babl-0.1.72.tar.xz
 --->  Extracting babl
 --->  Extracting babl-0.1.72.tar.xz
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work"
 && /opt/local/bin/xz -dc
 '/opt/local/var/macports/distfiles/babl/babl-0.1.72.tar.xz' |
 /usr/bin/gnutar --no-same-owner -xf -
 --->  Applying patches to babl
 --->  Applying meson-add-dylib-for-macos.patch
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/babl-0.1.72"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/babl/files
 /meson-add-dylib-for-macos.patch'
 patching file meson.build
 --->  Applying meson-fix-darwin-clang-map.patch
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/babl-0.1.72"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/babl/files
 /meson-fix-darwin-clang-map.patch'
 patching file babl/meson.build
 patching file babl/test-clang.map
 patching file babl/test-gnu.map
 patching file gen_babl_map.py
 --->  Configuring babl
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/babl-0.1.72"
 && /opt/local/bin/meson --prefix=/opt/local
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/babl-0.1.72
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/build
 The Meson build system
 Version: 0.52.0
 Source dir:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/babl-0.1.72
 Build dir:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/build
 Build type: native build
 Project name: babl
 Project version: 0.1.72
 Appending CFLAGS from environment: '-pipe -Os -arch i386'
 Appending LDFLAGS from environment: ['-L/opt/local/lib',
 '-Wl,-headerpad_max_install_names', '-arch', 'i386']
 Appending CPPFLAGS from environment: '-I/opt/local/include'
 Appending CFLAGS from environment: '-pipe -Os -arch i386'
 Appending LDFLAGS from environment: ['-L/opt/local/lib',
 '-Wl,-headerpad_max_install_names', '-arch', 'i386']
 Appending CPPFLAGS from environment: '-I/opt/local/include'
 C compiler for the host machine: /opt/local/bin/clang-mp-7.0 (clang 7.0.1
 "clang version 7.0.1 (tags/RELEASE_701/final)")
 C linker for the host machine: APPLE ld 127.2
 Host machine cpu family: x86
 Host machine cpu: i386
 Message: Architecture: i386
 Message: Host os: darwin
 Message: Build os: darwin
 Compiler for C supports arguments -Ofast: YES
 Compiler for C supports arguments -Wdeclaration-after-statement: YES
 Compiler for C supports arguments -Winit-self: YES
 Compiler for C supports arguments -Wmissing-declarations: YES
 Compiler for C supports arguments -Wmissing-prototypes: YES
 Compiler for C supports arguments -Wold-style-definition: YES
 Compiler for C supports arguments -Wpointer-arith: YES
 Compiler for C supports arguments -mmmx: YES
 Message: mmx assembly available
 Compiler for C supports arguments -msse: YES
 Message: sse assembly available
 Compiler for C supports arguments -mfpmath=sse: YES
 Compiler for C supports arguments -msse2: YES
 Message: sse2 assembly available
 Compiler for C supports arguments -msse4.1: YES
 Message: sse4.1 assembly available
 Compiler for C supports arguments -mavx2: YES
 Message: avx2 assembly available
 Compiler for C supports arguments -mf16c: YES
 Message: Can compile half-floating point code (f16c)
 Has header "dlfcn.h" : YES
 Has header "dl.h" : NO
 Checking for function "gettimeofday" : YES
 Checking for function "rint" : YES
 Checking for function "srandom" : YES
 Found pkg-config: /opt/local/bin/pkg-config (0.29.2)
 Run-time dependency lcms2 found: YES 2.9
 Library m found: YES
 Run-time dependency threads found: YES
 Library dl found: YES
 Program env found: YES (/usr/bin/env)
 Program git found: YES (/opt/local/bin/git)
 Program rsvg-convert found: YES (/opt/local/bin/rsvg-convert)
 Program test found: YES (/bin/test)
 Program w3m found: YES (/opt/local/bin/w3m)
 Configuring config.h using configuration
 Program python3 found: YES
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7)
 Checking if "-Wl,--version-script" links: NO
 Compiler for C supports link arguments -Wl,-exported_symbols_list
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/babl-0.1.72/babl
 /test-clang.map: NO

 babl/meson.build:39:1: ERROR: Problem encountered: Linker doesn't support
 --version-script or -exported_symbols_list

 A full log can be found at
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/build
 /meson-logs/meson-log.txt
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/babl-0.1.72"
 && /opt/local/bin/meson --prefix=/opt/local
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/babl-0.1.72
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_babl/babl/work/build
 Exit code: 1
 Error: Failed to configure babl: configure failure: command execution
 failed
 }}}

 It is, however, possible to install `ld64_236` on Leopard by using the
 port `libblocksruntime` to satisfy the `blocks` requirement, and then
 `babl` can be successfully installed on Leopard.

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


More information about the macports-tickets mailing list