Opened 7 weeks ago

Closed 7 weeks ago

Last modified 7 weeks ago

#71015 closed defect (fixed)

gd2 destroot failure: /opt/local/libexec/macports/clonebin/install: No such file or directory

Reported by: ookey (Matthieu Gendrin) Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gd2

Description

Hello, I'm new to macports, and just tried to install gd2. I've got an error I can't find in the hotlist nor in the existing tickets:

% sudo port clean gd2 && sudo port selfupdate && sudo port info gd2 && sudo port install gd2
--->  Cleaning gd2
--->  Checking for newer releases of MacPorts
MacPorts base version 2.10.2 installed,
MacPorts base version 2.10.2 available.
--->  MacPorts base is already the latest version
--->  Updating the ports tree

The ports tree has been updated.
All installed ports are up to date.
gd2 @2.3.3_7 (graphics)
Variants:             universal, [+]x11

Description:          gd is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and write out
                      the result as a .PNG file. This is particularly useful in World Wide Web applications, where .PNG is the format used for inline images. gd is not a paint program. If you are looking
                      for a paint program, you are looking in the wrong place. If you are not a programmer, you are looking in the wrong place.
Homepage:             https://libgd.github.io

Extract Dependencies: xz
Build Dependencies:   gettext, pkgconfig
Library Dependencies: freetype, fontconfig, libjpeg-turbo, libheif, libiconv, libpng, tiff, webp, zlib, xpm
Platforms:            darwin
License:              gd
Maintainers:          Email: ryandesign@macports.org, GitHub: ryandesign
                      Policy: openmaintainer
--->  Computing dependencies for gd2
--->  Fetching archive for gd2
--->  Attempting to fetch gd2-2.3.3_7+x11.darwin_23.arm64.tbz2 from https://fra.de.packages.macports.org/gd2
--->  Attempting to fetch gd2-2.3.3_7+x11.darwin_23.arm64.tbz2 from https://mse.uk.packages.macports.org/gd2
--->  Attempting to fetch gd2-2.3.3_7+x11.darwin_23.arm64.tbz2 from https://packages.macports.org/gd2
--->  Fetching distfiles for gd2
--->  Verifying checksums for gd2
--->  Extracting gd2
--->  Applying patches to gd2
--->  Configuring gd2
--->  Building gd2                                       
--->  Staging gd2 into destroot                          
Error: Failed to destroot gd2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port gd2 failed

The content of the log file includes:

:debug:destroot Executing org.macports.destroot (gd2)
:debug:destroot Environment: 
:debug:destroot CC_PRINT_OPTIONS='YES'
:debug:destroot CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/.CC_PRINT_OPTIONS'
:debug:destroot CPATH='/opt/local/include'
:debug:destroot DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:destroot LIBRARY_PATH='/opt/local/lib'
:debug:destroot MACOSX_DEPLOYMENT_TARGET='14.0'
:debug:destroot SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk'
:debug:destroot SOURCE_DATE_EPOCH='1727388815'
:info:destroot Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.3" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/destroot
:debug:destroot system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.3" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/destroot
:info:destroot make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.3'
:info:destroot Making install in src
:info:destroot make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.3/src'
:info:destroot make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.3/src'
:info:destroot  /opt/local/bin/gmkdir -p '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/destroot/opt/local/lib'
:info:destroot  /bin/sh ../libtool   --mode=install /opt/local/libexec/macports/clonebin/install   libgd.la '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/destroot/opt/local/lib'
:info:destroot libtool: install: /opt/local/libexec/macports/clonebin/install .libs/libgd.3.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/destroot/opt/local/lib/libgd.3.dylib
:info:destroot ../libtool: line 1716: /opt/local/libexec/macports/clonebin/install: No such file or directory
:info:destroot make[2]: *** [install-libLTLIBRARIES] Error 127
:info:destroot make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.3/src'
:info:destroot make[1]: *** [install-am] Error 2
:info:destroot make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.3/src'
:info:destroot make: *** [install-recursive] Error 1
:info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.3'
:info:destroot Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.3" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/destroot
:info:destroot Exit code: 2
:error:destroot Failed to destroot gd2: command execution failed
:debug:destroot Error code: CHILDSTATUS 22504 2
:debug:destroot Backtrace: command execution failed
:debug:destroot     while executing
:debug:destroot "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:destroot     invoked from within
:debug:destroot "command_exec -callback portprogress::target_progress_callback destroot"
:debug:destroot     (procedure "portdestroot::destroot_main" line 2)
:debug:destroot     invoked from within
:debug:destroot "$procedure $targetname"
:debug:destroot dropping privileges: euid changed to 503, egid changed to 501.
:error:destroot See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/main.log for details.

Is it a bug or a mistake of mine?

Attachments (1)

main.log (318.2 KB) - added by ookey (Matthieu Gendrin) 7 weeks ago.
Here is the full main.log file

Download all attachments as: .zip

Change History (5)

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

Cc: ryandesign added
Port: gd2 added
Summary: /opt/local/libexec/macports/clonebin/install: No such file or directorygd2 destroot failure: /opt/local/libexec/macports/clonebin/install: No such file or directory

I don't know how a reference to clonebin would have gotten in there if you're running 2.10.2, as that is a feature that only exists on the master branch. Can you add the complete log to the ticket as an attachment? (Compress it with e.g. bzip2 first if it is over 1 MB.)

Changed 7 weeks ago by ookey (Matthieu Gendrin)

Attachment: main.log added

Here is the full main.log file

comment:2 in reply to:  1 Changed 7 weeks ago by ookey (Matthieu Gendrin)

Replying to jmroot:

I don't know how a reference to clonebin would have gotten in there if you're running 2.10.2, as that is a feature that only exists on the master branch. Can you add the complete log to the ticket as an attachment? (Compress it with e.g. bzip2 first if it is over 1 MB.)

Thanks for your reactivity! I just uploaded it.

comment:3 Changed 7 weeks ago by jmroot (Joshua Root)

Component: portsbase
Resolution: fixed
Status: newclosed

https://lists.macports.org/pipermail/macports-announce/2024-October/000071.html

Please either run sudo port -f selfupdate or download and run the updated installer.

comment:4 Changed 7 weeks ago by ookey (Matthieu Gendrin)

problem solved with sudo port -f selfupdate. Thanks!

Note: See TracTickets for help on using tickets.