Mailinglist Archive: opensuse-buildservice (375 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Re: Build serve noob, and need help with a rpm spec file
- From: Adam Jimerson <vendion@xxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 14:47:09 -0400
- Message-id: <200804291447.13186.vendion@xxxxxxxxxxx>
On Tuesday 29 April 2008 02:25:00 pm Bernhard Walle wrote:
Yea, that is usually how I do it, but don't know why I didn't do it for that
one. The reason I say that they are a pain to make is because its not easy
to pick up.
Ok I ran into anther problem this time it is in the %install section,
everything is fine until it is told to create this hardlink:
+
ln /var/tmp/kenesis-0.1alpha2-build/usr/kenesis-0.1alpha2/kenesis.pl
/usr/bin/kenesis
ln: creating hard link `/usr/bin/kenesis' =>
`/var/tmp/kenesis-0.1alpha2-build/usr/kenesis-0.1alpha2/kenesis.pl':
Permission denied
error: Bad exit status from /var/tmp/rpm-tmp.56635 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.56635 (%install)
mount: can't find / in /etc/fstab or /etc/mtab
md: stopping all md devices.
xenbus_dev_shutdown: device/console/0: Initialising != Connected, skipping
System halted.
is that not allowed?
* Adam Jimerson [2008-04-29 14:14]:
and I can see that RPM are a pain to make.
Why? It's *always* a good idea to package the source tarball in a way
that the tarball creates one toplevel directory.
Bernhard
Yea, that is usually how I do it, but don't know why I didn't do it for that
one. The reason I say that they are a pain to make is because its not easy
to pick up.
Ok I ran into anther problem this time it is in the %install section,
everything is fine until it is told to create this hardlink:
+
ln /var/tmp/kenesis-0.1alpha2-build/usr/kenesis-0.1alpha2/kenesis.pl
/usr/bin/kenesis
ln: creating hard link `/usr/bin/kenesis' =>
`/var/tmp/kenesis-0.1alpha2-build/usr/kenesis-0.1alpha2/kenesis.pl':
Permission denied
error: Bad exit status from /var/tmp/rpm-tmp.56635 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.56635 (%install)
mount: can't find / in /etc/fstab or /etc/mtab
md: stopping all md devices.
xenbus_dev_shutdown: device/console/0: Initialising != Connected, skipping
System halted.
is that not allowed?
| < Previous | Next > |