On Dec 19, 2007 4:26 PM, Patrick Ale <patrick.ale at gmail.com> wrote:

Hi,

So, I think I found the problem. Somewhere in the source of
rarian-0.7.0 , util/rarian-sk-update automagicly has an 'if' statement
that's missing a 'fi' statement. I find this kind of a concern since i
used to be able to compile the rarian.spec with exactly the same
source version, without a problem (without it I could never have
finished the vermilion 80 build). So it looks like someone changed
something to the source.. or something else is pretty messed up.

Anyway, I attached a diff file that fixes the 'unexpected EOF' error.
But now, I run into another error, being:

pkgbuild: Moving Files if needed
pkgbuild: Translating current database
pkgbuild: mkdir: cannot create directory `/usr/share/help': Permission denied
pkgbuild: mkdir: cannot create directory `/var/lib/rarian': Permission denied
pkgbuild: Error: Unable to write to the output directory /usr/share/help.
pkgbuild: write permission is needed in order to run
pkgbuild: this script.  If you don't have it, things
pkgbuild: break.  Please run this script with the correct
pkgbuild: permissions (normally root).  Exiting.
pkgbuild: make[3]: *** [install-exec-hook] Error 3
pkgbuild: make[3]: Leaving directory
`/export/home/patrick/packages/BUILD/SUNWgnome-libs-2.21.4/rarian-0.7.0/util'
pkgbuild: make[2]: *** [install-exec-am] Error 2
pkgbuild: make[2]: Leaving directory
`/export/home/patrick/packages/BUILD/SUNWgnome-libs-2.21.4/rarian-0.7.0/util'
pkgbuild: make[1]: *** [install-am] Error 2
pkgbuild: make[1]: Leaving directory
`/export/home/patrick/packages/BUILD/SUNWgnome-libs-2.21.4/rarian-0.7.0/util'
pkgbuild: make: *** [install-recursive] Error 1
pkgbuild: Bad exit status from
/var/tmp/pkgbuild-patrick/pkgbuild-tmp-3.935587 (%install)
--- command output ends --- finished at Thu Dec 20 12:34:14 CET 2007

INFO: pkgbuild -ba finished at Thu Dec 20 12:34:14 CET 2007


This error shouldn't occur. pkgbuild shouldn't go outside it's
staging/building area at this point. So if rarian is moving stuff it
should go to the proto directory, not to the final directory where you
will find stuff after using pkgadd.

Any suggestions? [patch for missing 'fi' attached].


--
Patrick Ale
Email: patrick.ale at gmail.com
IRC: WickedWicky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rarian-sk-update.diff
Type: text/x-patch
Size: 293 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20071220/66fd763a/attachment.bin>

Reply via email to