[opensuse-packaging] What item provides sudo so I can compile gimp-lch-selector

Hello, What item provides sudo so I can add it to BuildRequires: options? Is there anything else I need to add/change/missing to the specfile to resolve the errors listed below ? spec file -> https://build.opensuse.org/package/view_file?file=gimp-lch-selector.spec&pac... project -> https://build.opensuse.org/package/show?package=gimp-lch-selector&project=ho... Last log -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=gimp-l... Thanks Glenn + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'jobs 4' --define 'disturl obs://build.opensuse.org/home:doiggl/openSUSE_11.2/bcb4e2c77d50e22eeb61ede0b112fe7d-gimp-lch-selector' /usr/src/packages/SOURCES/gimp-lch-selector.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M4jUK5 + umask 022 + cd /usr/src/packages/BUILD + cd /usr/src/packages/BUILD + rm -rf gimp-lch-selector-0.3 + /usr/bin/gzip -dc /usr/src/packages/SOURCES/gimp-lch-selector-0.3.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gimp-lch-selector-0.3 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QKbVUy + umask 022 + cd /usr/src/packages/BUILD + /bin/rm -rf /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-15.1.x86_64 ++ dirname /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-15.1.x86_64 + /bin/mkdir -p /usr/src/packages/BUILDROOT + /bin/mkdir /usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-15.1.x86_64 + cd gimp-lch-selector-0.3 + test -x ./configure + make g++ \ -ansi -pedantic -Wall -Wextra \ -shared -fPIC -O3 \ -o libcolor-selector-lch.so main.cpp \ $(gimptool-2.0 --cflags --libs) + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QRdzw4 + umask 022 + cd /usr/src/packages/BUILD + cd gimp-lch-selector-0.3 + make DESTDIR=/usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-15.1.x86_64 install sudo install libcolor-selector-lch.so $(gimptool-2.0 --gimpplugindir)/modules/ /bin/sh: sudo: command not found make: *** [install] Error 127 error: Bad exit status from /var/tmp/rpm-tmp.QRdzw4 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QRdzw4 (%install) mount: / is busy System halted. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On 12/7/2009 at 14:36, <doiggl@velocitynet.com.au> wrote: Hello, What item provides sudo so I can add it to BuildRequires: options? Is there anything else I need to add/change/missing to the specfile to resolve the errors listed below ?
spec file -> https://build.opensuse.org/package/view_file?file=gimp-lch-selector.spec&pac... age=gimp-lch-selector&project=home%3Adoiggl
project -> https://build.opensuse.org/package/show?package=gimp-lch-selector&project=ho... e%3Adoiggl
Last log -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=gimp-l... h-selector&project=home%3Adoiggl&repository=openSUSE_11.2
Thanks Glenn
3120-2914:~ # rpm -qf $(which sudo) sudo-1.7.2-2.1.x86_64 BUT: this won't work. The install section of you make file is wrong. It blindly assumes that you want to install as root, which is not supported on OBS (you do not have root privileges). you'll most likely end up hacking the sudo part out of the Makefiles. Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On 2009-12-07 13:36:09 +0000, doiggl@velocitynet.com.au wrote:
+ make DESTDIR=/usr/src/packages/BUILDROOT/gimp-lch-selector-0.3-15.1.x86_64 install sudo install libcolor-selector-lch.so $(gimptool-2.0 --gimpplugindir)/modules/ /bin/sh: sudo: command not found
this is wrong. please patch the makefile to work without sudo. you wouldnt get a successful sudo call either. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
doiggl@velocitynet.com.au
-
Dominique Leuenberger
-
Marcus Rueckert