Opened 10 months ago
Last modified 10 months ago
#68876 assigned defect
gmic-lib-3.3.2_0+x11.darwin_19.x86_64 - build error - build failure
Reported by: | MeNdMont (MeNdMont) | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | mascguy (Christopher Nielsen) | |
Port: | gmic |
Description
Log attached.
Current active gmic ports are
port -v installed gmic The following ports are currently installed: gmic @3.2.4_0+x11 (active) requested_variants='+x11' platform='darwin 19' archs='x86_64' date='2023-04-30T11:30:56-0700'
First error in the log appears to be:
:info:build Undefined symbols for architecture x86_64:
final error message is
:error:build Failed to build gmic-lib: command execution failed :debug:build Error code: CHILDSTATUS 84155 2 :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"
Attachments (2)
Change History (15)
Changed 10 months ago by MeNdMont (MeNdMont)
Attachment: | gmic_fail_main.log added |
---|
comment:1 follow-up: 10 Changed 10 months ago by Schamschula (Marius Schamschula)
comment:2 Changed 10 months ago by MeNdMont (MeNdMont)
I believe that my machine is x86_64, based on the result of this query.
getconf LONG_BIT 64
Is this a configuration issue in Macports?
I sync the port tree and got the same result.
sudo port sync ---> Updating the ports tree iMac:~$ sudo port -v selfupdate ---> Updating MacPorts base sources using rsync Willkommen auf dem RSYNC-server auf ftp.fau.de. Nicht all unsere Mirror sind per rsync verfuegbar. Welcome to the RSYNC daemon on ftp.fau.de. Not all of our mirrors are available through rsync. receiving file list ... done ./ sent 66 bytes received 98 bytes 46.86 bytes/sec total size is 114272768 speedup is 696785.17 MacPorts base version 2.8.1 installed, MacPorts base version 2.8.1 downloaded. ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/macports/release/tarballs/ports.tar Willkommen auf dem RSYNC-server auf ftp.fau.de. Nicht all unsere Mirror sind per rsync verfuegbar. Welcome to the RSYNC daemon on ftp.fau.de. Not all of our mirrors are available through rsync. receiving file list ... done ./ sent 68 bytes received 99 bytes 66.80 bytes/sec total size is 123895808 speedup is 741891.07 Creating port index in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 37618 ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated iMac:~$ sudo port upgrade outdated ---> Computing dependencies for gmic-lib ---> Fetching archive for gmic-lib ---> Attempting to fetch gmic-lib-3.3.2_0+x11.darwin_19.x86_64.tbz2 from https://packages.macports.org/gmic-lib ---> Attempting to fetch gmic-lib-3.3.2_0+x11.darwin_19.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/gmic-lib ---> Attempting to fetch gmic-lib-3.3.2_0+x11.darwin_19.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gmic-lib ---> Building gmic-lib Error: Failed to build gmic-lib: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmic/gmic-lib/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
comment:3 follow-up: 5 Changed 10 months ago by Schamschula (Marius Schamschula)
At least your machine is building the correct version.
A quick search has found a missing dependency: ilmbase
.
I've never seen this error, but trace mode no longer works on my build machine, and I have ilmbase
installed.
comment:4 Changed 10 months ago by Marius Schamschula <mschamschula@…>
Changed 10 months ago by MeNdMont (MeNdMont)
Attachment: | clean_gmic_ilmbase_manual_install.txt added |
---|
comment:5 Changed 10 months ago by MeNdMont (MeNdMont)
I manually installed ilmbase, cleaned gmic, and got what appears to be the same error.
Replying to Schamschula:
At least your machine is building the correct version.
A quick search has found a missing dependency:
ilmbase
.I've never seen this error, but trace mode no longer works on my build machine, and I have
ilmbase
installed.
comment:6 Changed 10 months ago by Schamschula (Marius Schamschula)
It's been a while since I looked at ilmbase
and openexr
. It seems the later has subsumed the former. Hence I added the wrong dependency.
You probably should to uninstall ilmbase
.
comment:7 follow-up: 11 Changed 10 months ago by Schamschula (Marius Schamschula)
openexr
was already in the dependency list. Si I'm at a loss what's going on here.
comment:8 Changed 10 months ago by mascguy (Christopher Nielsen)
Cc: | mascguy added; mps@… removed |
---|---|
Owner: | set to Schamschula |
Status: | new → assigned |
comment:9 follow-up: 12 Changed 10 months ago by mascguy (Christopher Nielsen)
Can you run sudo port diagnose
, and paste the output here?
comment:10 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to Schamschula:
The first thing I noticed is that the main.log file lists your machine architecture as
i386
while your are attempting to install thex86_64
binary.
You misinterpret the log. At that point in the log, MacPorts is printing the value of ${os.arch}
. The only values you will ever see for that option are arm
, i386
, and powerpc
. They only indicate the general processor architecture, not the bitness.
comment:11 Changed 10 months ago by MeNdMont (MeNdMont)
It appears that something changed and now it builds.
port -v installed gmic The following ports are currently installed: gmic @3.2.4_0+x11 requested_variants='+x11' platform='darwin 19' archs='x86_64' date='2023-04-30T11:30:56-0700' gmic @3.3.2_1+x11 (active) requested_variants='+x11' platform='darwin 19' archs='x86_64' date='2023-12-13T17:36:39-0800'
Replying to Schamschula:
openexr
was already in the dependency list. Si I'm at a loss what's going on here.
comment:12 follow-up: 13 Changed 10 months ago by MeNdMont (MeNdMont)
gmic just built when I ran port upgrade outdated
sudo port diagnose Warning: found dylibs in your /usr/local/lib directory. These are known to cause problems. We'd recommend you remove them.
Replying to mascguy:
Can you run
sudo port diagnose
, and paste the output here?
comment:13 Changed 10 months ago by mascguy (Christopher Nielsen)
Replying to MeNdMont:
sudo port diagnose Warning: found dylibs in your /usr/local/lib directory. These are known to cause problems. We'd recommend you remove them.
Do you have HomeBrew installed?
The first thing I noticed is that the main.log file lists your machine architecture as
i386
while your are attempting to install thex86_64
binary.The second, possibly more important issue, is that you haven't run
sudo port sync
in a while, as the current version ofgmic
is 3.3.2. Likely other packagesgmic
depends on need to be updated.https://ports.macports.org/port/gmic-lib/details/ shows
gmic-lib
to have a clean build on Big Sur (x86_64).