[buildd-tools-devel] fetching dsc remote failed

Sven Haardiek sven.haardiek at greenbone.net
Thu May 21 09:18:46 UTC 2015


Hej again,

i found the problem. It seems that sbuild is not able to fetch sources
via http if libwww-perl is is not installed. But instead of complaining
in some way, sbuild decides to try to handle the http address as a
local path.

I think it would be a good idea if sbuild would depend or suggest or
recommend libwww-perl and raise some kind of error if the target is
remote and libwww-perl is not installed.

If i have time the next days i will write a patch.

Regards,
Sven

On Wed, 20 May 2015 16:28:13 +0200
Sven Haardiek <sven.haardiek at greenbone.net> wrote:

> Hej Hej,
> 
> i have switched to the newest version (0.65.2) of sbuild and it seems
> that fetching sources from remote locations does not work anymore.
> 
> It seems that sbuild does try to behave like the location is local and
> is confused that the directories do not exists.
> 
> Before that i was using sbuild with version (0.65.0) and everything
> was working fine.
> 
> What am i missing? Was this behavior intended or is this a bug?
> 
> Below this i have added the command i was running and the output of
> this command.
> 
> I would be very happy for every help i can get with this problem.
> 
> 
> Regards,
> Sven
> 
> 
> This is the command:
>   sbuild -D --verbose --arch=i386 --dist=wheezy
> http://192.168.201.50/package_1.6.1.dsc
> 
> And this is the ouput:
> Selected distribution wheezy
> D: Setting Config=Sbuild::ConfBase=HASH(0x1616058)
> D: Setting ABORT=undef
> D: Setting Job=http://192.168.201.50/package_1.6.1.dsc
> D: Setting Chroot Dir=
> D: Setting Chroot Build Dir=
> D: Setting Build Dir=
> D: Setting Max Lock Trys=120
> D: Setting Lock Interval=5
> D: Setting Pkg Status=pending
> D: Setting Pkg Status Trigger=undef
> D: Setting Pkg Start Time=0
> D: Setting Pkg End Time=0
> D: Setting Pkg Fail Stage=init
> D: Setting Build Start Time=0
> D: Setting Build End Time=0
> D: Setting Install Start Time=0
> D: Setting Install End Time=0
> D: Setting This Time=0
> D: Setting This Space=0
> D: Setting Sub Task=initialisation
> D: Setting Config=Sbuild::ConfBase=HASH(0x1616058)
> D: Setting Session ID=
> D: Setting Chroot ID=/
> D: Setting Defaults=HASH(0x2c98088)
> D: Setting Split=1
> D: Setting Split=0
> D: Setting Host=Sbuild::ChrootRoot=HASH(0x2c80f90)
> D: Setting Priority=0
> D: Setting Location=/
> D: Setting Session Purged=0
> D: Setting Session=undef
> D: Setting Dependency Resolver=undef
> D: Setting Log File=undef
> D: Setting Log Stream=undef
> D: Setting Summary Stats=HASH(0x2ca56c0)
> D: Setting DSC: http://192.168.201.50/package_1.6.1.dsc
> D: Setting DSC=http://192.168.201.50/package_1.6.1.dsc
> D: Setting Source Dir=http://192.168.201.50
> D: Setting DSC Base=package_1.6.1.dsc
> D: DSC = http://192.168.201.50/package_1.6.1.dsc
> D: Source Dir = http://192.168.201.50
> D: DSC Base = package_1.6.1.dsc
> D: Setting package version: http://192.168.201.50/package_1.6.1.dsc
> D: Setting Package=http://192.168.201.50/package
> D: Setting Version=1.6.1.dsc
> D: Setting Package_Version=http://192.168.201.50/package_1.6.1.dsc
> D: Setting Package_OVersion=http://192.168.201.50/package_1.6.1.dsc
> D: Setting Package_OSVersion=http://192.168.201.50/package_1.6.1.dsc
> D: Setting Package_SVersion=http://192.168.201.50/package_1.6.1.dsc
> D: Setting OVersion=1.6.1.dsc
> D: Setting OSVersion=1.6.1.dsc
> D: Setting SVersion=1.6.1.dsc
> D: Setting VersionEpoch=
> D: Setting VersionUpstream=1.6.1.dsc
> D: Setting VersionDebian=
> D: Setting DSC File=http://192.168.201.50/package_1.6.1.dsc.dsc
> D: Setting DSC Dir=http://192.168.201.50/package-1.6.1.dsc
> D: Package = http://192.168.201.50/package
> D: Version = 1.6.1.dsc
> D: Package_Version = http://192.168.201.50/package_1.6.1.dsc
> D: Package_OVersion = http://192.168.201.50/package_1.6.1.dsc
> D: Package_OSVersion = http://192.168.201.50/package_1.6.1.dsc
> D: Package_SVersion = http://192.168.201.50/package_1.6.1.dsc
> D: OVersion = 1.6.1.dsc
> D: OSVersion = 1.6.1.dsc
> D: SVersion = 1.6.1.dsc
> D: VersionEpoch = 
> D: VersionUpstream = 1.6.1.dsc
> D: VersionDebian = 
> D: DSC File = http://192.168.201.50/package_1.6.1.dsc.dsc
> D: DSC Dir = http://192.168.201.50/package-1.6.1.dsc
> D: Setting Invalid Source=0
> D: Invalid Source = 0
> D: Setting Pkg Status Trigger=CODE(0x2c46838)
> D: Setting Pkg Status=building
> D: Setting Pkg Start Time=1432131278
> D: Setting Pkg End Time=1432131278
> D: Setting Host Arch=i386
> D: Setting Build Arch=i386
> D: Setting Build Profiles=
> D: Setting FILTER_PREFIX=__SBUILD_FILTER_18603:
> D: Setting COLOUR_PREFIX=__SBUILD_COLOUR_18603:
> D: Setting Pkg Status=failed
> D: Setting Pkg Fail Stage=init
> E: Failed to open build
> log /home/buildslave/slave/http://192.168.201.50/package_1.6.1.dsc_i386-20150520-1614.build:
> No such file or directory
> 
> 



-- 
Sven Haardiek (2D26935D83C443B3)
Greenbone Network GmbH | http://greenbone.net
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150521/5bb1ad5d/attachment.sig>


More information about the Buildd-tools-devel mailing list