[opensuse-packaging] fixing a error in %prep section
Hello How can I fix this error. Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4Pw2s6 + umask 022 + cd /usr/src/packages/BUILD + cd /usr/src/packages/BUILD + rm -rf cacti-PA-0.8.7g-beta2 + /usr/bin/gzip -dc /usr/src/packages/SOURCES/cacti-plugin-0.8.7g-beta2-PA-v2.8.tar.gz + /bin/tar -xvvf - drwxr-xr-x roman/users 0 2010-06-14 02:28 cacti-plugin-arch/ drwxr-xr-x roman/users 0 2010-06-14 02:18 cacti-plugin-arch/files-0.8.7g/ -rw-r--r-- roman/users 17909 2010-06-05 14:45 cacti-plugin-arch/files-0.8.7g/poller.php . . -rw-r--r-- roman/users 124840 2010-06-14 02:50 cacti-plugin-arch/cacti-plugin-0.8.7g-PA-v2.8.diff + STATUS=0 + '[' 0 -ne 0 ']' + cd cacti-PA-0.8.7g-beta2 /var/tmp/rpm-tmp.4Pw2s6: line 29: cd: cacti-PA-0.8.7g-beta2: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.4Pw2s6 (%prep) Question: What lines do I need to change in the %prep section in the .spec file to resolve the error ? What should the revised lines look like ? Thanks Glenn Full Spec file -> https://build.opensuse.org/package/view_file?file=cacti-PA.spec&package=cacti-plugin-0.8.7g-beta2&project=home%3Adoiggl Last log -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=cacti-plugin-0.8.7g-beta2&project=home%3Adoiggl&repository=openSUSE_11.2 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wed, Jun 16, 2010 at 01:07:01PM +0000, doiggl@velocitynet.com.au wrote:
Hello How can I fix this error. Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4Pw2s6 + umask 022 + cd /usr/src/packages/BUILD + cd /usr/src/packages/BUILD + rm -rf cacti-PA-0.8.7g-beta2 + /usr/bin/gzip -dc /usr/src/packages/SOURCES/cacti-plugin-0.8.7g-beta2-PA-v2.8.tar.gz + /bin/tar -xvvf - drwxr-xr-x roman/users 0 2010-06-14 02:28 cacti-plugin-arch/ drwxr-xr-x roman/users 0 2010-06-14 02:18 cacti-plugin-arch/files-0.8.7g/ -rw-r--r-- roman/users 17909 2010-06-05 14:45 cacti-plugin-arch/files-0.8.7g/poller.php . . -rw-r--r-- roman/users 124840 2010-06-14 02:50 cacti-plugin-arch/cacti-plugin-0.8.7g-PA-v2.8.diff + STATUS=0 + '[' 0 -ne 0 ']' + cd cacti-PA-0.8.7g-beta2 /var/tmp/rpm-tmp.4Pw2s6: line 29: cd: cacti-PA-0.8.7g-beta2: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.4Pw2s6 (%prep)
Question: What lines do I need to change in the %prep section in the .spec file to resolve the error ?
What should the revised lines look like ? Thanks Glenn
Full Spec file -> https://build.opensuse.org/package/view_file?file=cacti-PA.spec&package=cacti-plugin-0.8.7g-beta2&project=home%3Adoiggl
I think adjust %setup to read: %setup -n cacti-plugin-arch Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
doiggl@velocitynet.com.au
-
Marcus Meissner