Opened 4 weeks ago

Closed 9 days ago

#70698 closed defect (fixed)

orbit2 @2.14.19: error: Linking is badly borked on your system

Reported by: cgilles (HumanDynamo) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sonoma sequoia Cc: cgilles (HumanDynamo), RivetBenoit (Benoit Rivet)
Port: orbit2

Description

While installing dependencies from Qt6-QtWebEngine, Orbit2 port fail to configure about architecture:

:debug:main Starting logging for orbit2 @2.14.19_3
:debug:sysinfo macOS 14.6.1 (darwin/23.6.0) arch arm
:debug:sysinfo MacPorts 2.10.1
:debug:sysinfo Xcode 15.4, CLT 15.3.0.0.1.1708646388
:debug:sysinfo SDK 14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.3
:debug:main dropping privileges: euid changed to 504, egid changed to 504.
:debug:main Executing org.macports.main (orbit2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Mon Sep  9 12:39:54 CEST 2024
:debug:archivefetch Executing org.macports.archivefetch (orbit2)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (orbit2)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (orbit2)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.extract (orbit2)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.patch (orbit2)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Mon Sep  9 12:39:54 CEST 2024
:notice:configure --->  Configuring orbit2
:debug:configure Preferred compilers: clang macports-clang-16 macports-clang-15 macports-clang-14 macports-clang-11
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (orbit2)
:debug:configure Environment: 
:debug:configure CC='/usr/bin/clang'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_orbit2/orbit2/work/.CC_PRINT_OPTIONS'
:debug:configure CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64'
:debug:configure CPATH='/opt/digikam.org.arm64/include'
:debug:configure CPPFLAGS='-I/opt/digikam.org.arm64/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk'
:debug:configure CXX='/usr/bin/clang++'
:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64'
:debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:configure F90FLAGS='-pipe -Os -m64'
:debug:configure FCFLAGS='-pipe -Os -m64'
:debug:configure FFLAGS='-pipe -Os -m64'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LDFLAGS='-L/opt/digikam.org.arm64/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64'
:debug:configure LIBRARY_PATH='/opt/digikam.org.arm64/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='11.3'
:debug:configure OBJC='/usr/bin/clang'
:debug:configure OBJCFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64'
:debug:configure OBJCXX='/usr/bin/clang++'
:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64'
:debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk'
:debug:configure SOURCE_DATE_EPOCH='1702927196'
:info:configure Executing:  cd "/opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_orbit2/orbit2/work/ORBit2-2.14.19" && ./configure --prefix=/opt/digikam.org.arm64 
:debug:configure system:  cd "/opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_orbit2/orbit2/work/ORBit2-2.14.19" && ./configure --prefix=/opt/digikam.org.arm64 
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a thread-safe mkdir -p... /opt/digikam.org.arm64/bin/gmkdir -p
:info:configure checking for gawk... gawk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking build system type... arm-apple-darwin23.6.0
:info:configure checking host system type... arm-apple-darwin23.6.0
:info:configure checking for Win32... no
:info:configure checking for gcc... /usr/bin/clang
:info:configure checking whether the C compiler works... yes
:info:configure checking for C compiler default output file name... a.out
:info:configure checking for suffix of executables... 
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/clang accepts -g... yes
:info:configure checking for /usr/bin/clang option to accept ISO C89... none needed
:info:configure checking for style of include used by make... GNU
:info:configure checking dependency style of /usr/bin/clang... gcc3
:info:configure checking for a sed that does not truncate output... /opt/digikam.org.arm64/bin/gsed
:info:configure checking for grep that handles long lines and -e... /opt/digikam.org.arm64/bin/ggrep
:info:configure checking for egrep... /opt/digikam.org.arm64/bin/ggrep -E
:info:configure checking for fgrep... /opt/digikam.org.arm64/bin/ggrep -F
:info:configure checking for ld used by /usr/bin/clang... /Library/Developer/CommandLineTools/usr/bin/ld
:info:configure checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
:info:configure checking for BSD- or MS-compatible name lister (nm)... /opt/digikam.org.arm64/bin/nm -B
:info:configure checking the name lister (/opt/digikam.org.arm64/bin/nm -B) interface... BSD nm
:info:configure checking whether ln -s works... yes
:info:configure checking the maximum length of command line arguments... 786432
:info:configure checking whether the shell understands some XSI constructs... yes
:info:configure checking whether the shell understands "+="... yes
:info:configure checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
:info:configure checking for objdump... objdump
:info:configure checking how to recognize dependent libraries... pass_all
:info:configure checking for ar... ar
:info:configure checking for strip... strip
:info:configure checking for ranlib... ranlib
:info:configure checking command to parse /opt/digikam.org.arm64/bin/nm -B output from /usr/bin/clang object... ok
:info:configure checking for dsymutil... dsymutil
:info:configure checking for nmedit... nmedit
:info:configure checking for lipo... lipo
:info:configure checking for otool... otool
:info:configure checking for otool64... no
:info:configure checking for -single_module linker flag... no
:info:configure checking for -exported_symbols_list linker flag... yes
:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking for dlfcn.h... yes
:info:configure checking for objdir... .libs
:info:configure checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
:info:configure checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
:info:configure checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
:info:configure checking if /usr/bin/clang static flag -static works... no
:info:configure checking if /usr/bin/clang supports -c -o file.o... yes
:info:configure checking if /usr/bin/clang supports -c -o file.o... (cached) yes
:info:configure checking whether the /usr/bin/clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin23.6.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking for dlopen in -ldl... yes
:info:configure checking whether a program can dlopen itself... yes
:info:configure checking whether a statically linked program can dlopen itself... yes
:info:configure checking whether stripping libraries is possible... yes
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... yes
:info:configure checking whether to enable maintainer-specific portions of Makefiles... no
:info:configure checking for aclocal flags... 
:info:configure checking which idl compiler to use... internal
:info:configure checking for gawk... (cached) gawk
:info:configure checking for pkg-config... /opt/digikam.org.arm64/bin/pkg-config
:info:configure checking pkg-config is at least version 0.18... yes
:info:configure checking for ORBIT... yes
:info:configure checking for ORBIT_IDL... yes
:info:configure checking for ORBIT_NAME... yes
:info:configure checking for ANSI C header files... (cached) yes
:info:configure checking fcntl.h usability... yes
:info:configure checking fcntl.h presence... yes
:info:configure checking for fcntl.h... yes
:info:configure checking for unistd.h... (cached) yes
:info:configure checking sys/endian.h usability... no
:info:configure checking sys/endian.h presence... no
:info:configure checking for sys/endian.h... no
:info:configure checking endian.h usability... no
:info:configure checking endian.h presence... no
:info:configure checking for endian.h... no
:info:configure checking machine/endian.h usability... yes
:info:configure checking machine/endian.h presence... yes
:info:configure checking for machine/endian.h... yes
:info:configure checking sys/machine.h usability... no
:info:configure checking sys/machine.h presence... no
:info:configure checking for sys/machine.h... no
:info:configure checking sys/isa_defs.h usability... no
:info:configure checking sys/isa_defs.h presence... no
:info:configure checking for sys/isa_defs.h... no
:info:configure checking sys/poll.h usability... yes
:info:configure checking sys/poll.h presence... yes
:info:configure checking for sys/poll.h... yes
:info:configure checking sys/select.h usability... yes
:info:configure checking sys/select.h presence... yes
:info:configure checking for sys/select.h... yes
:info:configure checking sys/time.h usability... yes
:info:configure checking sys/time.h presence... yes
:info:configure checking for sys/time.h... yes
:info:configure checking netinet/in.h usability... yes
:info:configure checking netinet/in.h presence... yes
:info:configure checking for netinet/in.h... yes
:info:configure checking sys/socket.h usability... yes
:info:configure checking sys/socket.h presence... yes
:info:configure checking for sys/socket.h... yes
:info:configure checking arpa/inet.h usability... yes
:info:configure checking arpa/inet.h presence... yes
:info:configure checking for arpa/inet.h... yes
:info:configure checking stddef.h usability... yes
:info:configure checking stddef.h presence... yes
:info:configure checking for stddef.h... yes
:info:configure checking wchar.h usability... yes
:info:configure checking wchar.h presence... yes
:info:configure checking for wchar.h... yes
:info:configure checking wcstr.h usability... no
:info:configure checking wcstr.h presence... no
:info:configure checking for wcstr.h... no
:info:configure checking wctype.h usability... yes
:info:configure checking wctype.h presence... yes
:info:configure checking for wctype.h... yes
:info:configure checking machine/types.h usability... yes
:info:configure checking machine/types.h presence... yes
:info:configure checking for machine/types.h... yes
:info:configure checking sys/un.h usability... yes
:info:configure checking sys/un.h presence... yes
:info:configure checking for sys/un.h... yes
:info:configure checking sys/uio.h usability... yes
:info:configure checking sys/uio.h presence... yes
:info:configure checking for sys/uio.h... yes
:info:configure checking syslog.h usability... yes
:info:configure checking syslog.h presence... yes
:info:configure checking for syslog.h... yes
:info:configure checking sys/wait.h usability... yes
:info:configure checking sys/wait.h presence... yes
:info:configure checking for sys/wait.h... yes
:info:configure checking netdb.h usability... yes
:info:configure checking netdb.h presence... yes
:info:configure checking for netdb.h... yes
:info:configure checking utime.h usability... yes
:info:configure checking utime.h presence... yes
:info:configure checking for utime.h... yes
:info:configure checking sys/utime.h usability... no
:info:configure checking sys/utime.h presence... no
:info:configure checking for sys/utime.h... no
:info:configure checking linux/socket.h usability... no
:info:configure checking linux/socket.h presence... no
:info:configure checking for linux/socket.h... no
:info:configure checking sys/sockio.h usability... yes
:info:configure checking sys/sockio.h presence... yes
:info:configure checking for sys/sockio.h... yes
:info:configure checking for an ANSI C-conforming const... yes
:info:configure checking for inline... inline
:info:configure checking for size_t... yes
:info:configure checking for vprintf... yes
:info:configure checking for _doprnt... no
:info:configure checking for socket... yes
:info:configure checking for gethostbyname... yes
:info:configure checking for sigaction... yes
:info:configure checking for syslog... yes
:info:configure checking whether byte ordering is bigendian... no
:info:configure configure: error: 
:info:configure Linking is badly borked on your system. Please ensure your library path is correct
:info:configure Check config.log for details - check near the end of the log above 'failed program was'
:info:configure Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the
:info:configure prefix you're compiling on: '/opt/digikam.org.arm64' 
:info:configure Command failed:  cd "/opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_orbit2/orbit2/work/ORBit2-2.14.19" && ./configure --prefix=/opt/digikam.org.arm64 
:info:configure Exit code: 1
:error:configure Failed to configure orbit2: consult /opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_orbit2/orbit2/work/ORBit2-2.14.19/config.log
:error:configure Failed to configure orbit2: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/digikam.org.arm64/var/macports/logs/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_orbit2/orbit2/main.log for details.

Attachments (1)

config.log (84.9 KB) - added by cgilles (HumanDynamo) 4 weeks ago.
Orbit2 config.log

Download all attachments as: .zip

Change History (8)

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

Please attach the config.log.

Changed 4 weeks ago by cgilles (HumanDynamo)

Attachment: config.log added

Orbit2 config.log

comment:2 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)

Summary: MBP M1 - Somona 14.6.1 - XCode 15.4 (15F31d) - Error configuring Orbit2.orbit2 @2.14.19: error: Linking is badly borked on your system

The log shows the error is:

conftest.c:44:14: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
             main ()
             ^
             int
1 error generated.

comment:3 Changed 4 weeks ago by cgilles (HumanDynamo)

Cc: cgilles added

comment:4 Changed 9 days ago by RivetBenoit (Benoit Rivet)

Same problem on Mac OS Sequoia. Is anybody investigating the bug or shall we consider that orbit2 won't be supported on Mac OS Sequoia ?

comment:5 Changed 9 days ago by kencu (Ken)

ideally, the people who wrote the software would fix the issue.

macports role is to provide an environment to build things.

but it looks like orbit2 is long dead upstream

https://gitlab.gnome.org/Archive/orbit2

comment:6 Changed 9 days ago by ryandesign (Ryan Carsten Schmidt)

Cc: RivetBenoit added
Keywords: sonoma sequoia added
Owner: set to ryandesign
Status: newaccepted

Anyone using Xcode 15.3 or later will experience this problem. The new compiler considers implicit int to be an error. The code will have to be patched to specify int explicitly. Fortunately, this is easy to fix, and the build succeeded after doing so, so I'll push the fix in a moment.

comment:7 Changed 9 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In bd8cb2211013ae69a8017828ff07f6db79f7c16b/macports-ports (master):

orbit2: Fix implicit int errors

Closes: #70698

Note: See TracTickets for help on using tickets.