[Debian-med-packaging] Bug#711423: python-csb: FTBFS: tries to write to $HOME

Andreas Tille tille at debian.org
Fri Jul 5 18:38:03 UTC 2013


Hi Gregor,

many thanks for the perfect job including committing to Git.

Feel free to upload to DELAYED\1 or even 0 in similar cases in the
future.

Kind regards

         Andreas.

On Fri, Jul 05, 2013 at 04:29:35PM +0200, gregor herrmann wrote:
> Control: tag -1 + patch pending
> 
> On Thu, 06 Jun 2013 22:40:18 +0200, Jakub Wilk wrote:
> 
> > Source: python-csb
> > Version: 1.1.1+dfsg-1
> > Severity: serious
> > Justification: fails to build from source
> > 
> > python-csb FTBFS in an environment in which user's home directory
> > doesn't exist (in this case $HOME=/nonexistent):
> 
> I've uploaded an NMU to DELAYED/2 now.
> 
> debdiff attached, changes committed/pushed/tagged in/to git.
> 
> 
> Cheers,
> gregor
> 
> -- 
>  .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
>  : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
>  `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
>    `-   NP: Lenny Kravitz: Rock And Roll Is Dead

> diff --git a/debian/changelog b/debian/changelog
> index 25689a2..300624f 100644
> --- a/debian/changelog
> +++ b/debian/changelog
> @@ -1,3 +1,16 @@
> +python-csb (1.1.1+dfsg-1.1) unstable; urgency=low
> +
> +  * Non-maintainer upload.
> +
> +  [ Tomas Di Domenico ]
> +  * Removing gbp.conf since it complicates things with git-buildpackage
> +
> +  [ gregor herrmann ]
> +  * debian/rules: set HOME for epydoc to a directory under debian/.
> +    (Closes: #711423)
> +
> + -- gregor herrmann <gregoa at debian.org>  Fri, 05 Jul 2013 16:23:01 +0200
> +
>  python-csb (1.1.1+dfsg-1) UNRELEASED; urgency=low
>  
>    * Initial release (Closes: #692032)
> diff --git a/debian/gbp.conf b/debian/gbp.conf
> deleted file mode 100644
> index f625f34..0000000
> --- a/debian/gbp.conf
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -[DEFAULT]
> -pristine-tar = True
> -
> -[git-buildpackage]
> -export-dir = ../build-area/
> diff --git a/debian/rules b/debian/rules
> index 9cb30a7..6849a35 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -5,6 +5,7 @@
>  
>  PYVERS = $(shell pyversions -r)
>  PY3VERS = $(shell py3versions -r)
> +BUILDHOME = $(CURDIR)/debian/buildhome
>  
>  %:
>  	dh $@ --with python2,python3
> @@ -16,7 +17,8 @@ override_dh_auto_build:
>  		$$py -B setup.py build; \
>  	done
>  	mkdir -p $(CURDIR)/docs/api
> -	epydoc --html -o $(CURDIR)/docs/api --name CSB --no-private --introspect-only --exclude csb.test.cases --fail-on-error --fail-on-warning --fail-on-docstring-warning $(CURDIR)/csb
> +	mkdir -p $(BUILDHOME)
> +	HOME=$(BUILDHOME) epydoc --html -o $(CURDIR)/docs/api --name CSB --no-private --introspect-only --exclude csb.test.cases --fail-on-error --fail-on-warning --fail-on-docstring-warning $(CURDIR)/csb
>  
>  .PHONY: override_dh_auto_clean
>  override_dh_auto_clean:
> @@ -24,6 +26,7 @@ override_dh_auto_clean:
>  	for py in $(PYVERS) $(PY3VERS); do \
>  		$$py -B setup.py clean -a; \
>  	done
> +	rm -rf $(BUILDHOME)
>  
>  .PHONY: override_dh_auto_install
>  override_dh_auto_install:




> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging


-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list