[MacPorts] #71015: /opt/local/libexec/macports/clonebin/install: No such file or directory

MacPorts noreply at macports.org
Wed Oct 2 06:50:41 UTC 2024


#71015: /opt/local/libexec/macports/clonebin/install: No such file or directory
--------------------+--------------------
 Reporter:  ookey   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:
--------------------+--------------------
 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 at 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?

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


More information about the macports-tickets mailing list