Hello

I have come across a little installation problem when preparing a  
package:

> #! /bin/sh -ev
> cd /sw/src/fink.build/qsynth-0.3.5-350/qsynth-0.3.5/src/qsynth.app/ 
> Contents/Resources
>   png2icns qsynth.icns /sw/src/fink.build/qsynth-0.3.5-350/ 
> qsynth-0.3.5/src/images/qsynth.png
> Using icns type 'il32', mask 'l8mk' for '/sw/src/fink.build/ 
> qsynth-0.3.5-350/qsynth-0.3.5/src/images/qsynth.png'
> Saved icns file to qsynth.icns
>   /usr/bin/defaults write /sw/src/fink.build/qsynth-0.3.5-350/ 
> qsynth-0.3.5/src/qsynth.app/Contents/Info CFBundleIconFile qsynth.icns
>   #/usr/libexec/PlistBuddy -c 'Set :CFBundleIconFile "qsynth.icns"'  
> %b/%n.app/Contents/Info.plist
>   /bin/chmod a+r /sw/src/fink.build/qsynth-0.3.5-350/qsynth-0.3.5/ 
> src/qsynth.app/Contents/Info.plist
>   rm /sw/src/fink.build/qsynth-0.3.5-350/qsynth-0.3.5/src/qsynth.app/ 
> Contents/Resources/empty.lproj
> #mkdir -p %i/Applications/%n.app
> mkdir -p /sw/src/fink.build/root-qsynth-0.3.5-350/sw/share/qsynth
> install -d -m 0755 /sw/src/fink.build/qsynth-0.3.5-350/qsynth-0.3.5/ 
> src/qsynth.app /sw/src/fink.build/root-qsynth-0.3.5-350/sw/ 
> Applications/qsynth.app
> cp -pR /sw/src/fink.build/qsynth-0.3.5-350/qsynth-0.3.5/src/ 
> qsynth.app /sw/src/fink.build/root-qsynth-0.3.5-350/sw/Applications/
> sudo -u fink-bld [ENV] sh -c/var/tmp/tmp.6.bdfKvB
> /usr/bin/install -d -m 700 /sw/src/fink.build/root-qsynth-0.3.5-350/ 
> sw/share/doc/qsynth
> /bin/cp -r COPYING /sw/src/fink.build/root-qsynth-0.3.5-350/sw/share/ 
> doc/qsynth/
> /bin/cp -r README /sw/src/fink.build/root-qsynth-0.3.5-350/sw/share/ 
> doc/qsynth/
> /bin/cp -r README-OSX /sw/src/fink.build/root-qsynth-0.3.5-350/sw/ 
> share/doc/qsynth/
> /bin/chmod -R go=u-w /sw/src/fink.build/root-qsynth-0.3.5-350/sw/ 
> share/doc/qsynth
> /usr/bin/install -d -m 755 /sw/src/fink.build/root-qsynth-0.3.5-350/ 
> sw/Applications
> cp -pR 'qsynth.app' '/sw/src/fink.build/root-qsynth-0.3.5-350/sw/ 
> Applications/'
> cp: qsynth.app: No such file or directory
> ### execution of cp failed, exit code 1
> ### execution of /var/tmp/tmp.6.bdfKvB failed, exit code 1
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-qsynth-0.3.5-350
> (Reading database ... 165942 files and directories currently  
> installed.)
> Removing fink-buildlock-qsynth-0.3.5-350 ...
> Failed: phase installing: qsynth-0.3.5-350 failed

Below is the excerpt from the corresponding info file"

> ###
> CompileScript: <<
> #!/bin/sh -ev
>  ./configure %c
>   make
> <<
> ###
> InstallScript: <<
> #! /bin/sh -ev
> cd %b/src/%n.app/Contents/Resources
>   png2icns qsynth.icns %b/src/images/qsynth.png
>   /usr/bin/defaults write %b/src/%n.app/Contents/Info  
> CFBundleIconFile qsynth.icns
>   #/usr/libexec/PlistBuddy -c 'Set :CFBundleIconFile "qsynth.icns"'  
> %b/%n.app/Contents/Info.plist
>   /bin/chmod a+r %b/src/%n.app/Contents/Info.plist
>   rm %b/src/%n.app/Contents/Resources/empty.lproj
> #mkdir -p %i/Applications/%n.app
> mkdir -p %i/share/%n
> install -d -m 0755 %b/src/%n.app %i/Applications/%n.app
> cp -pR %b/src/%n.app %i/Applications/
> <<

Any idea how I could remedy the above error ?

Thanks in advance.
Ebrahim

"Floyd sometimes wondered if the Newspad, and the the fantastic  
technology behind it, was the last word in man's quest for perfect  
communications. Here he was, far out in space, speeding away from  
earth at thousands of miles an hour, yet in a few milliseconds he  
could see the headlines of any newspaper he pleased. (That very word  
'newspaper', of course, was an anachronistic hang-over into the age of  
electronics.) The text was updated automatically on every hour; even  
if one read only the English versions one could spend an entire  
lifetime doing nothing but absorb the everchanging flow of information  
from the news satellites.

It was hard to imagine how the system could be improved or made more  
convenient But sooner or later, Floyd guessed it would pass away, to  
be replaced by something as unimaginable as the Newspad itself would  
have been to Caxton or Gutenberg" - from Arthur C Clarke's  "2001 - A  
Space Odyssey" (1968)



------------------------------------------------------------------------------

_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to