Mailinglist Archive: opensuse-buildservice (219 mails)

< Previous Next >
Re: [opensuse-buildservice] osc build causes "Too many arguments" in /usr/bin/build
  • From: Matthias Bach <marix@xxxxxxxxx>
  • Date: Sat, 2 Feb 2008 21:18:43 +0100
  • Message-id: <200802022118.47686.marix@xxxxxxxxx>
Hi!

Am Samstag 02 Februar 2008 schrieb Matthias Bach:
sudo /usr/bin/build --root=/var/tmp/build-root
--rpmlist=/tmp/rpmlist.bCcRF4 --dist=/tmp/buildconfig.24-lvT
sane-backends-snapshot.spec --norootforbuild --changelog
/usr/bin/build: line 387: test: too many arguments
Usage: /usr/bin/build <src-dirctory>

Seems like I have been looking for the wrong problem all the time. The error
is caused by /usr/bin/build sometimes not using quotes when passing $SRCDIR
as a parameter to other applications. The error therefore is a result of a
directory name containing a space.

osc build is not the problem.

Regards,
Matthias
--
Matthias Bach
www.marix.org

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