RJVB / macstrop

RJVB's repository of alternative macports, with ports missing from or overriding those in the standard collection, including a set of KF5 ports.
20 stars 9 forks source link

Error: Failed to destroot tiff: Error: Port tiff-dev not found #119

Closed barracuda156 closed 1 month ago

barracuda156 commented 1 month ago

Port for tiff is unmodified from MacStrop. (I did fix installation of 3 dependencies, but did not change anything with tiff itself.)

a ./opt/local/share/man/man3/TIFFFieldTag.3tiff
xinstall: mkdir /opt/local/var/macports/build/_home_svacchanda_macstrop_graphics_tiff/tiff-dev
xinstall: mkdir /opt/local/var/macports/build/_home_svacchanda_macstrop_graphics_tiff/tiff-dev/work
xinstall: mkdir /opt/local/var/macports/build/_home_svacchanda_macstrop_graphics_tiff/tiff-dev/work/destroot
Error: Failed to destroot tiff: Error: Port tiff-dev not found
Error: See /opt/local/var/macports/logs/_home_svacchanda_macstrop_graphics_tiff/tiff/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port tiff failed
RJVB commented 1 month ago

On Sunday September 15 2024 06:02:50 Sergey Fedorov wrote:

Port for tiff is unmodified from MacStrop. (I did fix installation of 3 dependencies, but did not change anything with tiff itself.)

What does

port -vd info ~/macstrop/graphics/tiff subport=tiff-dev

print?

barracuda156 commented 1 month ago
sh-5.1# port -vd info /home/svacchanda/macstrop/graphics/tiff subport=tiff-dev
DEBUG: Opening port in directory: /home/svacchanda/macstrop/graphics/tiff
DEBUG: OS linux/5.15.131 arch riscv64
DEBUG: PortGroup xcodeversion 1.0 found in /home/svacchanda/powerpc-ports
DEBUG: Sourced PortGroup xcodeversion 1.0 from /home/svacchanda/powerpc-ports/_resources/port1.0/group/xcodeversion-1.0.tcl
DEBUG: PortGroup muniversal 1.0 found in /home/svacchanda/macstrop
DEBUG: Sourced PortGroup muniversal 1.0 from /home/svacchanda/macstrop/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: PortGroup LTO 1.0 found in /home/svacchanda/lnxports
DEBUG: Taking fallback compilers from default_compilers=gcc
DEBUG: Picking compiler from fallbacks gcc
DEBUG: Sourced PortGroup LTO 1.0 from /home/svacchanda/lnxports/_resources/port1.0/group/LTO-1.0.tcl
DEBUG: PortGroup save_configure_cmd 1.0 found in /home/svacchanda/macstrop
DEBUG: Sourced PortGroup save_configure_cmd 1.0 from /home/svacchanda/macstrop/_resources/port1.0/group/save_configure_cmd-1.0.tcl
DEBUG: PortGroup preserve_runtime_libraries 1.0 found in /home/svacchanda/macstrop
DEBUG: Sourced PortGroup preserve_runtime_libraries 1.0 from /home/svacchanda/macstrop/_resources/port1.0/group/preserve_runtime_libraries-1.0.tcl
DEBUG: PortGroup devport 1.0 found in /home/svacchanda/macstrop
DEBUG: Sourced PortGroup devport 1.0 from /home/svacchanda/macstrop/_resources/port1.0/group/devport-1.0.tcl
DEBUG: OS doesn't support universal builds, so not adding the universal variant
DEBUG: LTO: adding conflict with +fromHost
DEBUG: cputuned: conflicts with cpucompat, adding +fromHost
DEBUG: cpucompat: conflicts with cputuned, adding +fromHost
DEBUG: use_lld: adding conflict with +fromHost
DEBUG: builtwith: adding conflict with +fromHost
DEBUG: preserve_runtime_libraries: adding conflict with +fromHost
DEBUG: jbig: adding conflict with +fromHost
DEBUG: PortGroup devport_helper 1.0 found in /home/svacchanda/macstrop
DEBUG: Sourced PortGroup devport_helper 1.0 from /home/svacchanda/macstrop/_resources/port1.0/group/devport_helper-1.0.tcl
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: Running callback LTO::callback
DEBUG: Finished running callback LTO::callback
DEBUG: Running callback devport_helper::callback
DEBUG: Looking for /home/svacchanda/macstrop/_resources/port1.0/group/devport_db.tcl
DEBUG: Parsed /home/svacchanda/macstrop/_resources/port1.0/group/devport_db.tcl
DEBUG: Finished running callback devport_helper::callback
DEBUG: info phase started at Sun Sep 15 13:12:07 UTC 2024
DEBUG: Opening port in directory: /home/svacchanda/macstrop/graphics/tiff
DEBUG: OS linux/5.15.131 arch riscv64
DEBUG: PortGroup xcodeversion 1.0 found in /home/svacchanda/powerpc-ports
DEBUG: Sourced PortGroup xcodeversion 1.0 from /home/svacchanda/powerpc-ports/_resources/port1.0/group/xcodeversion-1.0.tcl
DEBUG: PortGroup muniversal 1.0 found in /home/svacchanda/macstrop
DEBUG: Sourced PortGroup muniversal 1.0 from /home/svacchanda/macstrop/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: PortGroup LTO 1.0 found in /home/svacchanda/lnxports
DEBUG: Taking fallback compilers from default_compilers=gcc
DEBUG: Picking compiler from fallbacks gcc
DEBUG: Sourced PortGroup LTO 1.0 from /home/svacchanda/lnxports/_resources/port1.0/group/LTO-1.0.tcl
DEBUG: PortGroup save_configure_cmd 1.0 found in /home/svacchanda/macstrop
DEBUG: Sourced PortGroup save_configure_cmd 1.0 from /home/svacchanda/macstrop/_resources/port1.0/group/save_configure_cmd-1.0.tcl
DEBUG: PortGroup preserve_runtime_libraries 1.0 found in /home/svacchanda/macstrop
DEBUG: Sourced PortGroup preserve_runtime_libraries 1.0 from /home/svacchanda/macstrop/_resources/port1.0/group/preserve_runtime_libraries-1.0.tcl
DEBUG: PortGroup devport 1.0 found in /home/svacchanda/macstrop
DEBUG: Sourced PortGroup devport 1.0 from /home/svacchanda/macstrop/_resources/port1.0/group/devport-1.0.tcl
DEBUG: OS doesn't support universal builds, so not adding the universal variant
DEBUG: LTO: adding conflict with +fromHost
DEBUG: cputuned: conflicts with cpucompat, adding +fromHost
DEBUG: cpucompat: conflicts with cputuned, adding +fromHost
DEBUG: use_lld: adding conflict with +fromHost
DEBUG: builtwith: adding conflict with +fromHost
DEBUG: preserve_runtime_libraries: adding conflict with +fromHost
DEBUG: jbig: adding conflict with +fromHost
DEBUG: PortGroup devport_helper 1.0 found in /home/svacchanda/macstrop
DEBUG: Sourced PortGroup devport_helper 1.0 from /home/svacchanda/macstrop/_resources/port1.0/group/devport_helper-1.0.tcl
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: Running callback LTO::callback
DEBUG: Finished running callback LTO::callback
DEBUG: Running callback devport_helper::callback
DEBUG: Looking for /home/svacchanda/macstrop/_resources/port1.0/group/devport_db.tcl
DEBUG: Parsed /home/svacchanda/macstrop/_resources/port1.0/group/devport_db.tcl
DEBUG: Finished running callback devport_helper::callback
tiff-dev @4.6.0 (graphics)
Variants:             LTO, builtwith, cpucompat, cputuned, fromHost, jbig, preserve_runtime_libraries, use_lld

Description:          This software provides support for the Tag Image File Format (TIFF), a widely used format for storing image
                      data. Included in this software distribution is a library, libtiff, for reading and writing TIFF, a small
                      collection of tools for doing simple manipulations of TIFF images on UNIX systems, documentation on the
                      library and tools. A small assortment of TIFF-related software for UNIX that has been contributed by others
                      is also included. The library is capable of dealing with images that are written to follow the 5.0 or 6.0
                      TIFF spec. There is also considerable support for some of the more esoteric portions of the 6.0 TIFF spec.
                      This installs the development headers and libraries.
Homepage:             https://libtiff.gitlab.io/libtiff/

Runtime Dependencies: port:tiff
Platforms:            darwin, linux
License:              BSD
Maintainers:          Email: ryandesign@macports.org, GitHub: ryandesign
                      Policy: openmaintainer
RJVB commented 1 month ago

On Sunday September 15 2024 06:13:03 Sergey Fedorov wrote:

DEBUG: Finished running callback devport_helper::callback tiff-dev @4.6.0 (graphics) [...]> This installs the development headers and libraries.

IOW, no errors so the port should be recognised. I pushed some changes, please run portindex next time you pull and look out for any errors or if it does NOT show port:tiff-dev in the list of new/updated ports.

barracuda156 commented 1 month ago

Thank you, this works now:

---->  Programming the delayed (!) installation of the dev port "tiff-dev "
---->  port:tiff-dev@4.6.0_1 will be installed but not activated; you can do this manually if/when required
--->  Cleaning tiff
--->  Removing work directory for tiff
--->  Some of the ports you installed have notes:
  tiff has the following notes:
    port:tiff-dev@4.6.0_1 will be installed but not activated; you can do this manually if/when required
sh-5.1# tiff-dev is not installed
Warning: configured user/group macports does not exist, will build as root
--->  Computing dependencies for tiff-dev
--->  Installing tiff-dev @4.6.0_1
--->  Cleaning tiff-dev

sh-5.1# port installed tiff-dev
The following ports are currently installed:
  tiff-dev @4.6.0_1
RJVB commented 1 month ago

On Sunday September 15 2024 07:07:13 Sergey Fedorov wrote:

Thank you, this works now:

I'm pretty certain it was just a local glitch and I'd appreciate if you'd try known remedies like doing the port -vd info and/or re-running portindex thing before creating yet another issue!

sh-5.1# tiff-dev is not installed Warning: configured user/group macports does not exist, will build as root

^^^^^^^^^^^^^^ You should create that user and/or group, or change the username in macports.conf . Building as root is a security risk; there's a reason port de-escalates to a non-privileged user for everything but the configure, destroot and install/archive steps.