[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reason for Failed build due to using $HOME



On Wed, 3 Oct 2007 18:52:43 +0530
"Kartik Mistry" <kartik.mistry@gmail.com> wrote:

> Hi,
> 
> My package Xosview is failed to build on (atleast) two arch with same
> reason. 

You are using /home/ for some reason and that is not allowed - building
a package should not cause any changes outside the build directory.

The mips and mipsel buildd's are specially configured to catch these
errors for specialised reasons, the clue is:

failed to open configuration file `/nonexistent/.dpkg.cfg' for reading: Permission denied
failed to open configuration file `/nonexistent/.dpkg.cfg' for reading: Permission denied

$HOME is set to /nonexistent/ and is inaccessible, deliberately.

Stop trying to use $HOME in your build.

It looks like you are expecting to read dpkg-architecture values from a
file instead of retrieving them from the dpkg-architecture binary
itself.

man dpkg-architecture

> Following are links from buildd.
> 
> mipsel:
> http://buildd.debian.org/fetch.cgi?pkg=xosview;ver=1.8.3%2Bdebian-2;arch=mipsel;stamp=1190303855
> 
> mips:
> http://buildd.debian.org/fetch.cgi?pkg=xosview;ver=1.8.3%2Bdebian-2;arch=mips;stamp=1190807389
> 
> Can anyone please look at guide me to some point? No bug reported, but
> it is safer to fix it before that :P

The bug is in your package and it would be RC so fix it soon.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpI9kOZ6uCy9.pgp
Description: PGP signature


Reply to: