Opened 5 years ago

Closed 5 years ago

#59102 closed defect (fixed)

android-ndk @9d_0 cxx_stdlib mismatch

Reported by: SimplySeth Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.6.0
Keywords: Cc:
Port: android-ndk

Description

Ran the below to get debug info:

clear ; sudo port -d -y rev-upgrade

See below for debug:

DEBUG: Copying /Users/nunyabeez/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
--->  Scanning binaries for linking errors
DEBUG: Ignoring loadcommand containing @executable_path in /Applications/MacPorts/MacVim.app/Contents/MacOS/MacVim
DEBUG: skipping ppc in /opt/local/Library/Filesystems/osxfuse.fs/Contents/Extensions/10.5/osxfuse.kext/Contents/MacOS/osxfuse since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/main-fat since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/main-fat3 since this system can't run it anyway
DEBUG: skipping ppc64 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/main-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/main-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/secondary-fat since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/secondary-fat3 since this system can't run it anyway
DEBUG: skipping ppc64 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/secondary-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/secondary-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/bundletemplate/prebuilt/main-fat since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/bundletemplate/prebuilt/main-fat3 since this system can't run it anyway
DEBUG: skipping ppc64 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/bundletemplate/prebuilt/main-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/bundletemplate/prebuilt/main-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/apptemplate/prebuilt/main-fat since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/apptemplate/prebuilt/main-fat3 since this system can't run it anyway
DEBUG: skipping ppc64 in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/apptemplate/prebuilt/main-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/apptemplate/prebuilt/main-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/apptemplate/prebuilt/secondary-fat since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/apptemplate/prebuilt/secondary-fat3 since this system can't run it anyway
DEBUG: skipping ppc64 in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/apptemplate/prebuilt/secondary-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/apptemplate/prebuilt/secondary-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/bundletemplate/prebuilt/main-fat since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/bundletemplate/prebuilt/main-fat3 since this system can't run it anyway
DEBUG: skipping ppc64 in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/bundletemplate/prebuilt/main-universal since this system can't run it anyway
DEBUG: skipping ppc in /opt/local/share/examples/py27-py2app/PIL/.eggs/py2app-0.18-py3.6.egg/py2app/bundletemplate/prebuilt/main-universal since this system can't run it anyway
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 @executable_path in /opt/local/share/java/android-ndk-macosx/toolchains/llvm-3.3/prebuilt/darwin-x86/lib/LLVMgold.dylib
DEBUG: Ignoring loadcommand containing @executable_path in /opt/local/share/java/android-ndk-macosx/toolchains/llvm-3.4/prebuilt/darwin-x86/lib/LLVMgold.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/share/java/android-ndk-macosx/toolchains/renderscript/prebuilt/darwin-x86/bin/bcc_compat
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/share/java/android-ndk-macosx/toolchains/renderscript/prebuilt/darwin-x86/bin/bcc_compat
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/share/java/android-ndk-macosx/toolchains/renderscript/prebuilt/darwin-x86/bin/bcc_compat
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/share/java/android-ndk-macosx/toolchains/renderscript/prebuilt/darwin-x86/bin/llvm-rs-cc
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/share/java/android-ndk-macosx/toolchains/renderscript/prebuilt/darwin-x86/bin/llvm-rs-cc
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/share/java/android-ndk-macosx/toolchains/renderscript/prebuilt/darwin-x86/lib/libbcc.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/share/java/android-ndk-macosx/toolchains/renderscript/prebuilt/darwin-x86/lib/libbcc.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/share/java/android-ndk-macosx/toolchains/renderscript/prebuilt/darwin-x86/lib/libbcinfo.dylib
DEBUG: Ignoring loadcommand containing @rpath in /opt/local/share/java/android-ndk-macosx/toolchains/renderscript/prebuilt/darwin-x86/lib/libclang.dylib
--->  No broken files found.
android-ndk is using libstdc++ (this installation is configured to use libc++)
--->  Found 1 broken port, determining rebuild order
DEBUG: Broken: android-ndk
DEBUG: Processing port android-ndk @0:9d_0
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: android-ndk @9d
Continue? [Y/n]: Y
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: android-ndk 9d_0 exists in the ports tree
DEBUG: android-ndk 9d_0  is the latest installed
DEBUG: android-ndk 9d_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/cross/android-ndk
DEBUG: OS darwin/16.7.0 (macOS 10.12) arch i386
DEBUG: universal_variant is false, so not adding the default universal variant
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: cxx_stdlib mismatch ... upgrading!
DEBUG: dropping privileges: euid changed to 503, egid changed to 501.
DEBUG: Starting logging for android-ndk
DEBUG: macOS 10.12 (darwin/16.7.0) arch i386
DEBUG: MacPorts 2.6.0
DEBUG: Xcode 9.2
DEBUG: SDK 10.12
DEBUG: MACOSX_DEPLOYMENT_TARGET: 10.12
For android-ndk: skipping org.macports.main (dry run)
DEBUG: dropping privileges: euid changed to 503, egid changed to 501.
    .. and skipping org.macports.archivefetch
DEBUG: dropping privileges: euid changed to 503, egid changed to 501.
DEBUG: Starting logging for android-ndk
DEBUG: macOS 10.12 (darwin/16.7.0) arch i386
DEBUG: MacPorts 2.6.0
DEBUG: Xcode 9.2
DEBUG: SDK 10.12
DEBUG: MACOSX_DEPLOYMENT_TARGET: 10.12
    .. and skipping org.macports.main
DEBUG: dropping privileges: euid changed to 503, egid changed to 501.
    .. and skipping org.macports.fetch
DEBUG: Privilege de-escalation not attempted as not running as root.
    .. and skipping org.macports.checksum
DEBUG: Privilege de-escalation not attempted as not running as root.
    .. and skipping org.macports.extract
DEBUG: Privilege de-escalation not attempted as not running as root.
    .. and skipping org.macports.patch
DEBUG: Privilege de-escalation not attempted as not running as root.
    .. and skipping org.macports.configure
DEBUG: Privilege de-escalation not attempted as not running as root.
    .. and skipping org.macports.build
DEBUG: Privilege de-escalation not attempted as not running as root.
    .. and skipping org.macports.destroot
DEBUG: Uninstalling android-ndk 9d_0
Skipping uninstall android-ndk @9d_0 (dry run)
Skipping activate android-ndk @9d_0 (dry run)
DEBUG: Rebuilding port android-ndk 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 (2)

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

Keywords: android-ndk removed
Summary: android-ndk @9d_0 fails to compile install on Sierraandroid-ndk @9d_0 cxx_stdlib mismatch

It doesn't look like it failed to compile or install, it looks like it's using a different C++ stdlib than it said it would, which makes rev-upgrade consider it broken.

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

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 0b6cb3c88d8954160f72b3fe010b349802e2d729/macports-ports (master):

android-ndk: set correct cxx_stdlib

Fixes: #59102

Note: See TracTickets for help on using tickets.