Opened 13 years ago

Closed 13 years ago

#31782 closed defect (fixed)

osx2x: destroot fails on Xcode 4

Reported by: ultr4sp4m@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: osx2x

Description

Osx2x does not install due to incorrect path.

$ sudo port install osx2x
--->  Computing dependencies for osx2x
--->  Staging osx2x into destroot
Error: Target org.macports.destroot returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/mdales-osx2x-3cc708236898ab789bb99a5fba7420ff76ede9f7/build/UninstalledProducts/osx2x.app": no such file or directory
:debug:destroot Run destroot without sudo to avoid root privileges.
:debug:destroot Going to escalate privileges back to root.
:debug:destroot euid changed to: 0. egid changed to: 0.
:info:destroot . missing (directory not created: File exists)
:info:destroot ./Applications missing (directory not created: File exists)
:info:destroot ./Developer missing (directory not created: File exists)
:info:destroot ./Library missing (directory not created: File exists)
:debug:destroot Executing org.macports.destroot (osx2x)
:debug:destroot Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/mdales-osx2x-3cc708236898ab789bb99a5fba7420ff76ede9f7" && /usr/bin/xcodebuild  -alltargets -configuration Deployment install INSTALL_PATH=/Applications/MacPorts OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.7 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvmgcc42 LIBRARY_SEARCH_PATHS='/opt/local/lib' DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/destroot"'
:info:destroot Build settings from command line:
:info:destroot     ARCHS = x86_64
:info:destroot     DSTROOT = /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/destroot
:info:destroot     GCC_VERSION = com.apple.compilers.llvmgcc42
:info:destroot     INSTALL_PATH = /Applications/MacPorts
:info:destroot     LIBRARY_SEARCH_PATHS = /opt/local/lib
:info:destroot     MACOSX_DEPLOYMENT_TARGET = 10.7
:info:destroot     OBJROOT = build/
:info:destroot     SDKROOT = 
:info:destroot     SYMROOT = build/
:info:destroot 
:info:destroot --- xcodebuild: WARNING: Configuration Deployment is not in the project. Building default configuration.
:info:destroot 
:info:destroot === BUILD NATIVE TARGET osx2x OF PROJECT osx2x WITH THE DEFAULT CONFIGURATION (Release) ===
:info:destroot Check dependencies
:info:destroot [WARN]Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.
:info:destroot 
:info:destroot SetOwnerAndGroup "root:wheel" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/destroot/Applications/MacPorts/osx2x.app
:info:destroot     cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/mdales-osx2x-3cc708236898ab789bb99a5fba7420ff76ede9f7
:info:destroot     /usr/sbin/chown -RH "root:wheel" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/destroot/Applications/MacPorts/osx2x.app
:info:destroot 
:info:destroot SetMode u+w,go-w,a+rX /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/destroot/Applications/MacPorts/osx2x.app
:info:destroot     cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/mdales-osx2x-3cc708236898ab789bb99a5fba7420ff76ede9f7
:info:destroot     /bin/chmod -RH u+w,go-w,a+rX /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/destroot/Applications/MacPorts/osx2x.app
:info:destroot 
:info:destroot 
:info:destroot ** BUILD SUCCEEDED **
:info:destroot 
:debug:destroot Executing proc-post-org.macports.destroot-destroot-0
:error:destroot Target org.macports.destroot returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/mdales-osx2x-3cc708236898ab789bb99a5fba7420ff76ede9f7/build/UninstalledProducts/osx2x.app": no such file or directory
:debug:destroot Backtrace: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/mdales-osx2x-3cc708236898ab789bb99a5fba7420ff76ede9f7/build/UninstalledProducts/osx2x.app": no such file or directory
    while executing
"$post $targetname"
:info:destroot Warning: the following items did not execute (for osx2x): org.macports.activate org.macports.destroot org.macports.install
:notice:destroot Log for osx2x is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/main.log
# ls -lh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/mdales-osx2x-3cc708236898ab789bb99a5fba7420ff76ede9f7/build/UninstalledProducts
ls: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/mdales-osx2x-3cc708236898ab789bb99a5fba7420ff76ede9f7/build/UninstalledProducts: No such file or directory


# ls -lh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/mdales-osx2x-3cc708236898ab789bb99a5fba7420ff76ede9f7/build/Release/osx2x.app
total 8
drwxr-xr-x  6 macports  admin   204B Sep 25 16:16 Contents
lrwxr-xr-x  1 root      admin   166B Sep 25 16:16 osx2x.app -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/destroot/Applications/MacPorts/osx2x.app
tori:osx2x.app root# ls -lh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_osx2x/osx2x/work/destroot/Applications/MacPorts/osx2x.app

Change History (2)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Port: osx2x added
Summary: Cannot install osx2xosx2x: destroot fails on Xcode 4

Works fine with Xcode 3.2.6 on Snow Leopard, by the way. I think Xcode 4 changes how this stuff works, which breaks some ports. I'll see what I can do.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

I think r86458 may have fixed it. Wait 30 minutes, "sudo port selfupdate", "sudo port clean osx2x", and try again, and reopen this ticket if it still fails.

Note: See TracTickets for help on using tickets.