Mailinglist Archive: opensuse-buildservice (219 mails)

< Previous Next >
[opensuse-buildservice] osc build causes "Too many arguments" in /usr/bin/build
  • From: Matthias Bach <marix@xxxxxxxxx>
  • Date: Sat, 2 Feb 2008 17:20:08 +0100
  • Message-id: <200802021720.11302.marix@xxxxxxxxx>

I was trying to do a local build using 'osc build openSUSE_10.3 x86_64
sane-backends-snapshot.spec'. However the build will fail on invocation of
the build-script:

sudo /usr/bin/build --root=/var/tmp/build-root --rpmlist=/tmp/rpmlist.bCcRF4
sane-backends-snapshot.spec --norootforbuild --changelog
/usr/bin/build: line 387: test: too many arguments
Usage: /usr/bin/build <src-dirctory>

Manuall invoking /usr/bin/build will work.
sudo build --rpms /media/SU1030.001/suse/

Is there a newer version of /usr/bin/build that I will have to use. I am using
the one from opensuse 10.3 with the osc from openSUSE:/Tools, this means I
got the newest version I could find of those two tools

Any advice is appreciated,
Matthias Bach

"Was nicht mit einer gewissen Unsicherheit behaftet ist,
kann unmöglich die Wahrheit sein." - Richard P. Feynman
< Previous Next >
Follow Ups