Am Dienstag, 13. Dezember 2011, 19:19:20 schrieb Steve Rae:
looks like "/usr/lib/obs/server/build/build" is missing one line:
I changed debtransform to take care about absolute path instead. But I have not tested it. Please do from this git: git@github.com:openSUSE/obs-build.git thanks :) adrian
--- build_orig 2011-08-09 14:53:07.000000000 +0000 +++ build 2011-12-13 21:16:21.928040584 +0000 @@ -1833,6 +1833,7 @@ for f in $BUILD_ROOT$TOPDIR/SOURCES/debian.* ;do test -f $f&& DEB_TRANSFORM=true done + cd $BUILD_ROOT$TOPDIR/SOURCES || cleanup_and_exit 1 if test -n"$DEB_TRANSFORM" ; then echo"running debian transformer..." if ! debtransform $CHANGELOGARGS $BUILD_ROOT$TOPDIR/SOURCES $BUILD_ROOT$TOPDIR/SOURCES/$SPECFILE $BUILD_ROOT$TOPDIR/SOURCES.DEB ; then On 12/12/2011 6:11 PM, Malcolm Fernandes wrote:
Hi,
We have a local OBS instance (obs-server-2.1.11-4.5.x86_64) and trying to build a debian package in OBS which has a *.tar.bz2 source file. The conversion fails with this message:
now finalizing build dir... running debian transformer... converting osc-plugins-bcm-0.1.6.tar.bz2 to osc-plugins-bcm-0.1.6.tar.gz shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory bzcat: Can't open input file osc-plugins-bcm-0.1.6.tar.bz2: No such file or directory. dpkg-source: warning: extracting unsigned source package (/usr/src/packages/SOURCES.DEB/osc-plugins-bcm_0.1.0-1.dsc) dpkg-source: info: extracting osc-plugins-bcm in /usr/src/packages/BUILD dpkg-source: info: unpacking osc-plugins-bcm_0.1.0.orig.tar.gz tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors dpkg-source: error: tar --no-same-owner --no-same-permissions -xf - gave error exit status 2
The source files are: osc-plugins-bcm-0.1.6.tar.bz2 debian.tar.gz osc-plugins-bcm.spec osc-plugins-bcm.dsc osc-plugins-bcm.changes
I've checked our build rpm (build-2011.07.01-79.1.noarch) and it seems to have all the latest debtransform* changes in it.
Is this supposed to work for OBS builds via the webui? If so, can somebody provide some guidance.
This seems to work for command line 'osc' builds.
Thanks,
Mal -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org