Opened 5 years ago

Closed 5 years ago

#59724 closed defect (fixed)

dtc 1.5.1_0 has 3 broken files after install

Reported by: tsoliman (Tarek Soliman) Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: dtc

Description

macOS Catalina 10.15.1 macports 2.6.2

Installing dtc @1.5.1_0 seems to build but then it scans for broken files and fails to activate. It then suggests I run port -d -y rev-upgrade and report a bug with its output. So here's the output below.

I've already tried cleaning and uninstalling dtc without success.

DEBUG: Copying /Users/tsoliman/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
--->  Scanning binaries for linking errors
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/bugpoint
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/dsymutil
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llc
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/lli
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-ar
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-as
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-bcanalyzer
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-c-test
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cat
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cfi-verify
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-config
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cov
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cvtres
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cxxdump
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cxxfilt
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cxxmap
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-diff
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-dis
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-dwarfdump
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-dwp
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-elfabi
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-exegesis
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-extract
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-jitlink
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-link
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-lipo
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-lto
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-lto2
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-mc
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-mca
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-modextract
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-mt
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-nm
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-objcopy
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-objdump
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-opt-report
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-pdbutil
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-profdata
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-rc
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-readobj
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-rtdyld
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-size
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-split
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-stress
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-strings
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-symbolizer
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-undname
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-xray
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/obj2yaml
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/opt
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/sancov
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/sanstats
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/verify-uselistorder
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/yaml2obj
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/libLTO.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/libRemarks.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/c-index-test
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/c-index-test
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-apply-replacements
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-change-namespace
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-check
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-check
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-doc
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-extdef-mapping
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-extdef-mapping
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-format
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-format
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-import-test
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-import-test
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-include-fixer
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-offload-bundler
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-offload-bundler
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-query
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-refactor
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-refactor
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-rename
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-rename
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-reorder-fields
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-scan-deps
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-scan-deps
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-tidy
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clangd
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clangd-xpc-test-client
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/diagtool
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/diagtool
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/find-all-symbols
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/modularize
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/CheckerDependencyHandlingAnalyzerPlugin.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/CheckerDependencyHandlingAnalyzerPlugin.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/CheckerOptionHandlingAnalyzerPlugin.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/CheckerOptionHandlingAnalyzerPlugin.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/SampleAnalyzerPlugin.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/SampleAnalyzerPlugin.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/libClangdXPCLib.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/libclang-cpp.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/libclang.dylib
DEBUG: Missing architecture i386 in file /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
DEBUG: Missing architecture i386 in file outside prefix referenced from /opt/local/share/cmake-3.15/Modules/CPack.OSXScriptLauncher.in
DEBUG: skipping ppc in /opt/local/share/cmake-3.15/Modules/CPack.OSXScriptLauncher.in since this system can't run it anyway
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/qt5/bin/qdoc
Could not open libfdt.dylib.1: Error opening or reading file (referenced from /opt/local/bin/fdtget)
libfdt.dylib.1 seems to be referenced using a relative path. This may be a problem with its canonical library name and require the use of install_name_tool(1) to fix.
DEBUG: Marking /opt/local/bin/fdtget as broken
DEBUG: Marking /opt/local/bin/fdtoverlay as broken
DEBUG: Marking /opt/local/bin/fdtput as broken
--->  Found 3 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
DEBUG: Broken: dtc
DEBUG: Processing port dtc @0:1.5.1_0
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: dtc @1.5.1
Continue? [Y/n]:
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: dtc 1.5.1_0 exists in the ports tree
DEBUG: dtc 1.5.1_0  is the latest installed
DEBUG: dtc 1.5.1_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: bash_completion +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/cross/dtc
DEBUG: OS darwin/19.0.0 (macOS 10.15) arch i386
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant +bash_completion is not provided by port dtc.
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: rev-upgrade override ... upgrading!
Skipping deactivate dtc @1.5.1_0 (dry run)
Skipping activate dtc @1.5.1_0 (dry run)
DEBUG: Rebuilding port dtc finished with status 0
Warning: If this was no dry run, rev-upgrade would now run the checks again to find unresolved and newly created problems

Change History (5)

comment:1 Changed 5 years ago by tsoliman (Tarek Soliman)

Found the Portfile for dtc @1.4.7_0 in git and used that to build it without a problem. So this is specific to dtc @1.5.1_0

comment:2 Changed 5 years ago by jmroot (Joshua Root)

Owner: set to adfernandes
Status: newassigned

comment:3 Changed 5 years ago by adfernandes (Andrew Fernandes)

Hmm... thanks for the problem report! The issue also seems to be Catalina specific since it does not affect my High Sierra... I'll look into it.

comment:4 Changed 5 years ago by tsoliman (Tarek Soliman)

my Xcode version = Version 11.2.1 (11B500)

comment:5 Changed 5 years ago by Andrew Fernandes <andrew@…>

Resolution: fixed
Status: assignedclosed

In 8e26ce2c0885ee701d4dc47cc0f252147546f806/macports-ports (master):

cross/dtc: fix library installed names

Closes: #59724

Note: See TracTickets for help on using tickets.