発端
いつものとおりMacPortsにインストール済みのライブラリをupgradeしようとしたら次のエラーが発生した。
# sudo port upgrade installed
-
-
- > Computing dependencies for aquaterm
- > Building aquaterm
Error: Target org.macports.build returned: shell command "cd "/opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm" && xcodebuild -target "AquaTerm" -configuration Deployment build OBJROOT=build/ SYMROOT=build/
MACOSX_DEPLOYMENT_TARGET=10.5 ARCHS=
i386 SDKROOT= USER_APPS_DIR=/Applications/
MacPorts FRAMEWORKS_DIR=/opt/local/Library/Frameworks" returned error 1
Command output: === BUILDING NATIVE TARGET AQTFwk OF PROJECT AquaTerm WITH CONFIGURATION Deployment ===
Checking Dependencies...
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'AquaTerm.framework-Info.plist'.
CopyPlistFile /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/Resources/AquaTerm.framework-Info.plist AquaTerm.framework-Info.plist
cd /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm
/Developer/Library/
Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist AquaTerm.framework-Info.plist --outdir /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/Resources
error: can't exec '/Developer/Library/
Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist' (No such file or directory)
=== BUILDING NATIVE TARGET AquaTerm OF PROJECT AquaTerm WITH CONFIGURATION Deployment ===
Checking Dependencies...
Warning: Multiple build commands for output file /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/Resources/help.html
CopyTiffFile /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/Resources/Cross.
tiff English.lproj/Cross.
tiff
cd /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm
/Developer/Library/
Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copytiff English.lproj/Cross.
tiff --outdir /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/Resources
error: can't exec '/Developer/Library/
Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copytiff' (No such file or directory)
BUILD FAILED **
The following build commands failed:
AQTFwk:
CopyPlistFile /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/Resources/AquaTerm.framework-Info.plist AquaTerm.framework-Info.plist
AquaTerm:
CopyTiffFile /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/Resources/Cross.
tiff English.lproj/Cross.
tiff
(2 failures)
Error: Unable to upgrade port: 1
Before reporting a bug, first run the command again with the -d flag to get complete output.
[kynbit@Razza] # sudo port upgrade installed -d
-
-
- > Computing dependencies for aquaterm
- > Building aquaterm
Error: Target org.macports.build returned: shell command "cd "/opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm" && xcodebuild -target "AquaTerm" -configuration Deployment build OBJROOT=build/ SYMROOT=build/
MACOSX_DEPLOYMENT_TARGET=10.5 ARCHS=
i386 SDKROOT= USER_APPS_DIR=/Applications/
MacPorts FRAMEWORKS_DIR=/opt/local/Library/Frameworks" returned error 1
Command output: === BUILDING NATIVE TARGET AQTFwk OF PROJECT AquaTerm WITH CONFIGURATION Deployment ===
Checking Dependencies...
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'AquaTerm.framework-Info.plist'.
CopyPlistFile /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/Resources/AquaTerm.framework-Info.plist AquaTerm.framework-Info.plist
cd /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm
/Developer/Library/
Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist AquaTerm.framework-Info.plist --outdir /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/Resources
error: can't exec '/Developer/Library/
Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist' (No such file or directory)
=== BUILDING NATIVE TARGET AquaTerm OF PROJECT AquaTerm WITH CONFIGURATION Deployment ===
Checking Dependencies...
Warning: Multiple build commands for output file /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/Resources/help.html
CopyTiffFile /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/Resources/Cross.
tiff English.lproj/Cross.
tiff
cd /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm
/Developer/Library/
Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copytiff English.lproj/Cross.
tiff --outdir /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/Resources
error: can't exec '/Developer/Library/
Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copytiff' (No such file or directory)
BUILD FAILED **
The following build commands failed:
AQTFwk:
CopyPlistFile /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.framework/Versions/A/Resources/AquaTerm.framework-Info.plist AquaTerm.framework-Info.plist
AquaTerm:
CopyTiffFile /opt/local/var/
macports/build/_opt_local_var_
macports_sources_
rsync.macports.org_release_
ports_aqua_aquaterm/work/aquaterm/build/Deployment/AquaTerm.app/Contents/Resources/Cross.
tiff English.lproj/Cross.
tiff
(2 failures)
Error: Unable to upgrade port: 1
Before reporting a bug, first run the command again with the -d flag to get complete output.
どうやら、AQRFwkとAquaTermが悪さをしているらしいので削除しようとすると次のエラーが出る。
sudo port uninstall AquaTerm
-
-
- > Unable to uninstall aquaterm 1.0.1_3, the following ports depend on it:
- > gnuplot
Error: port uninstall failed: Please uninstall the
ports that depend on aquaterm first.
ニコニコ動画研究会の時にいれた
gnuplotに依存しているようなので、
gnuplotから削除。
*1 *2
#sudo port uninstall gnuplot
# sudo port uninstall AquaTerm
-
-
- > Deactivating aquaterm @1.0.1_3
- > Uninstalling aquaterm @1.0.1_3
# sudo port uninstall AQTFwk
そして、いつもどおり、
MacPortsのupdateをかける。
#sudo port -d selfupdate
略
#sudo port -d sync
略
これで、
MacPortsの情報は最新となった。