Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58777 closed defect (invalid)

ImageMagick @6.9.9-40_6 build failure

Reported by: NaN-001 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: ImageMagick

Description

on a new MacBook Pro, MacOS 14.6, fresh installation of MacPorts 2.5.4, ImageMagick fails to build with errors (last lines of the log-file):

:info:build ld: warning: directory not found for option '-L/opt/local
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.9.9-40'
: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_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.9.9-40'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.9.9-40" && /usr/bin/make -j16 -w all 
:info:build Exit code: 2
:error:build Failed to build ImageMagick: command execution failed
:debug:build Error code: CHILDSTATUS 58005 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"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_ImageMagick/ImageMagick/main.log for details.

full logfile is attached.

I did retry several times using 'sudo port clean ImageMagick'. There is no /opt/local/lib/ImageMagick-6.9.9 directory, maybe this causes the error?

Attachments (1)

main.log (827.4 KB) - added by NaN-001 5 years ago.
logfile

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by NaN-001

Attachment: main.log added

logfile

comment:1 Changed 5 years ago by mf2k (Frank Schima)

In the future, please fill in the Port field and add the port maintainer(s) to Cc (port info --maintainers ImageMagick), if any.

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Owner: set to ryandesign
Port: ImageMagick added
Status: newassigned

comment:3 Changed 5 years ago by NaN-001

My fault - installing it after renaming /usr/local solved the problem... I learned just now about 'port -t'...

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

The relevant log in the error was:

error: no such file or directory: '/usr/local/lib/libstdc++.dylib'
Version 0, edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (next)
Note: See TracTickets for help on using tickets.