Peter Thanks for chiming in with your help.
Here's one example - some output from the start and end of the build of SFEsane-backends: I've had problems with most other packages but I'll just give this example for now. I noticed near the start it can't find basic commands "grep", "basename", "uname" etc. Near the end it can't find mkdir. Does this suggest something wrong with my build setup? I only installed pkgbuild not the CBE (its proving difficult on 2008.05 as even though I installed pre-requisite packages via the new package manager, the cbe-install script thinks they're missing). Another possibility is that I'm using Sun Studio Express (package as per IPS), not Studio 11. INFO: Checking if SFEsane-backends is installed INFO: Checking if SFEsane-backends-devel is installed INFO: Checking if SFEsane-backends-root is installed INFO: Checking dependencies of SFEsane-backends INFO: Finding sources INFO: copying sources to /export/home/rodney/packages/SOURCES INFO: sane-backends-1.0.19.tar.gz not found in /jds/packages/SOURCES INFO: sane-backends-1.0.19.tar.gz found in /export/home/rodney/packages/SOURCES INFO: copying sane-backends-1.0.19.tar.gz INFO: default-copyright.txt found in /usr/SFE/ext-sources INFO: copying default-copyright.txt INFO: default-copyright.txt found in /usr/SFE/ext-sources INFO: copying default-copyright.txt INFO: default-copyright.txt found in /usr/SFE/ext-sources INFO: copying default-copyright.txt INFO: looking for patch sane-backends-02-build.diff INFO: found in /usr/SFE/patches/sane-backends-02-build.diff INFO: /usr/SFE/patches/sane-backends-02-build.diff and /export/home/rodney/packages/SOURCES/sane-backends-02-build.diff are identical; not copying INFO: looking for patch sane-backends-01-disable-saned.diff INFO: found in /usr/SFE/patches/sane-backends-01-disable-saned.diff INFO: /usr/SFE/patches/sane-backends-01-disable-saned.diff and /export/home/rodney/packages/SOURCES/sane-backends-01-disable-saned.diff are identical; not copying INFO: Running pkgbuild -ba [...] SFEsane-backends.spec (SFEsane-backends) INFO: Log file: /tmp/SFEsane-backends.log INFO: Build command: "/opt/pkgbuild/bin/pkgbuild -ba /usr/SFE/SFEsane-backends.spec" INFO: Starting pkgbuild build engine at Tuesday, 13 May 2008 11:39:14 AM EST INFO: Build engine output is written to /tmp/pkgbuild.out.28621 INFO: and will be appended to this log when completed. --- command output follows --- started at Tuesday, 13 May 2008 11:39:14 AM EST pkgbuild: sh[1]: basename: not found [No such file or directory] pkgbuild: sh[1]: uname: not found [No such file or directory] pkgbuild: sh[1]: test: argument expected pkgbuild: sh[1]: uname: not found [No such file or directory] pkgbuild: sh[1]: test: argument expected pkgbuild: sh[1]: grep: not found [No such file or directory] pkgbuild: sh[1]: basename: not found [No such file or directory] pkgbuild: Executing(%prep): /bin/bash /var/tmp/pkgbuild-rodney/pkgbuild-tmp-1.28744 pkgbuild: + umask 022 pkgbuild: + uname -a <SNIP> pkgbuild: generating sane-backends.pl.mo from sane-backends.pl.po pkgbuild: generating sane-backends.pt.mo from sane-backends.pt.po pkgbuild: generating sane-backends.ru.mo from sane-backends.ru.po pkgbuild: generating sane-backends.sv.mo from sane-backends.sv.po pkgbuild: make[1]: Leaving directory `/export/home/rodney/packages/BUILD/SFEsane-backends-1.0.19/sane-backends-1.0.19/po' pkgbuild: + cd /export/home/rodney/packages/BUILD pkgbuild: + cd /export/home/rodney/packages/BUILD pkgbuild: + exit 0 pkgbuild: Executing(%install): /bin/bash /var/tmp/pkgbuild-rodney/pkgbuild-tmp-3.28744 pkgbuild: sh[1]: cp: not found [No such file or directory] pkgbuild: + umask 022 pkgbuild: + uname -a pkgbuild: SunOS opensolaris 5.11 snv_86 i86pc i386 i86pc Solaris pkgbuild: + cd /export/home/rodney/packages/BUILD pkgbuild: + cd /export/home/rodney/packages/BUILD pkgbuild: + rm -rf /var/tmp/pkgbuild-rodney/SFEsane-backends-1.0.19-build pkgbuild: + cd SFEsane-backends-1.0.19 pkgbuild: + cd sane-backends-1.0.19 pkgbuild: + rm -rf /var/tmp/pkgbuild-rodney/SFEsane-backends-1.0.19-build pkgbuild: + make install DESTDIR=/var/tmp/pkgbuild-rodney/SFEsane-backends-1.0.19-build pkgbuild: making install in include pkgbuild: make[1]: Entering directory `/export/home/rodney/packages/BUILD/SFEsane-backends-1.0.19/sane-backends-1.0.19/include' pkgbuild: ../mkinstalldirs /var/tmp/pkgbuild-rodney/SFEsane-backends-1.0.19-build/usr/include/sane pkgbuild: mkdir /var/tmp/pkgbuild-rodney/SFEsane-backends-1.0.19-build pkgbuild: ../mkinstalldirs[63]: mkdir: not found [No such file or directory] pkgbuild: mkdir /var/tmp/pkgbuild-rodney/SFEsane-backends-1.0.19-build/usr pkgbuild: ../mkinstalldirs[63]: mkdir: not found [No such file or directory] pkgbuild: mkdir /var/tmp/pkgbuild-rodney/SFEsane-backends-1.0.19-build/usr/include pkgbuild: ../mkinstalldirs[63]: mkdir: not found [No such file or directory] pkgbuild: mkdir /var/tmp/pkgbuild-rodney/SFEsane-backends-1.0.19-build/usr/include/sane pkgbuild: ../mkinstalldirs[63]: mkdir: not found [No such file or directory] pkgbuild: make[1]: *** [install] Error 127 pkgbuild: make[1]: Leaving directory `/export/home/rodney/packages/BUILD/SFEsane-backends-1.0.19/sane-backends-1.0.19/include' pkgbuild: make: *** [install-recursive] Error 1 pkgbuild: Bad exit status from /var/tmp/pkgbuild-rodney/pkgbuild-tmp-3.28744 (%install) --- command output ends --- finished at Tuesday, 13 May 2008 11:56:00 AM EST This message posted from opensolaris.org
