Mailinglist Archive: opensuse-buildservice (137 mails)

< Previous Next >
Re: [opensuse-buildservice] Conversion of bz2 to tar.gz fails for debian builds
|The change(s) to 'debtransform' does fix the issue... (((that is exactly what I tried first)))

converting  /var/cache/obs/worker//root_2/usr/src/packages/SOURCES/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
dpkg-source: warning: extracting unsigned source package  (/usr/src/packages/SOURCES.DEB/osc-plugins-bcm_0.1.0-1.dsc)

However, the CWD of the invoked shell is in a directory that has been deleted - hence, the error message
(so maybe both changes?!?!?!)

Thanks, Steve|

On 12/14/2011 12:39 AM, Adrian Schröter wrote:
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:


thanks :)

--- 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
+ cd $BUILD_ROOT$TOPDIR/SOURCES || cleanup_and_exit 1
if test -n"$DEB_TRANSFORM" ; then
echo"running debian transformer..."
On 12/12/2011 6:11 PM, Malcolm Fernandes wrote:

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
dpkg-source: info: extracting osc-plugins-bcm in
/usr/src/packages/BUILD dpkg-source: info: unpacking
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:

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.


To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >