Re: git-pbuilder / pdebuild problem

2014-04-28 Thread Felix Natter
Rebecca N. Palmer r.pal...@bham.ac.uk writes:

hi Rebecca,

 Which version of git-buildpackage / pbuilder is this, and is the Lintian
 call the default in your version (it isn't in mine) or something you added?
 It worked for me in Ubuntu Saucy (git-buildpackage 0.6.3ubuntu1, pbuilder
 0.215ubuntu2, called with DIST=sid BUILDER=pbuilder git-buildpackage
 --git-pbuilder), but I've never tried to build freeplane.

That's it, thanks for the hint!

I used the lintian hook from:
  https://www.debian.org/doc/manuals/maint-guide/build.en.html#pbuilder
and overlooked this:

su -c lintian -i -I --show-overrides /tmp/buildd/*.changes - pbuilder
# use this version if you don't want lintian to fail the build
#su -c lintian -i -I --show-overrides /tmp/buildd/*.changes; : - pbuilder

Thanks and Best Regards,
-- 
Felix Natter


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87ha5d4b4u@bitburger.home.felix



git-pbuilder / pdebuild problem

2014-04-26 Thread Felix Natter
hi,

I am using git-pbuilder (with BUILDER=pbuilder) as a way to replace the
local build in gbp buildpackage with a pbuilder chroot build (gbp
buildpackage calls git-pbuilder calls pdebuild).

From git-pbuilder(1):

   Normally, one does not run this script directly.  Instead, it's used as
   the builder script for git-buildpackage.  To configure git-buildpackage
   to use it, add a stanza like:

   [DEFAULT]
   builder = /path/to/git-pbuilder

   in your gbp.conf file (which can be .gbp.conf in your home directory or
   at the top level of the repository, or gbp.conf in the .git
   directory).

However, in my tests, git-pbuilder always returns 1, even if the build
succeeds (which makes gbp buildpackage, with the above .gbp.conf, fail):

-
$ LANG=C BUILDER=pbuilder git-pbuilder
[...]
BUILD SUCCESSFUL
Total time: 22 seconds
touch debian/stamp-ant-build
DEB_ANT_CHECK_TARGET unset, not running checks
xsltproc --nonet \
 --param make.year.ranges 1 \
 --param make.single.year.ranges 1 \
 --param man.charmap.use.subset 0 \
 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
debian/freeplane.1.xml
[...]
 fakeroot debian/rules binary
test -x debian/rules
dh_testroot
dh_prep 
dh_installdirs -A 
mkdir -p .
/usr/share/cdbs/1/rules/buildcore.mk:109: WARNING:  DEB_DH_INSTALL_ARGS is a 
deprecated variable
/usr/share/cdbs/1/rules/buildcore.mk:109: WARNING:  DEB_COMPRESS_EXCLUDE is a 
deprecated variable
DEB_ANT_CHECK_TARGET unset, not running checks
DEB_ANT_INSTALL_TARGET unset, skipping default ant.mk common-install target
Adding cdbs dependencies to debian/freeplane.substvars
dh_installdirs -pfreeplane 
Adding cdbs dependencies to debian/libjortho-freeplane-java.substvars
dh_installdirs -plibjortho-freeplane-java 
dh_installdocs -pfreeplane 
dh_installexamples -pfreeplane 
dh_installman -pfreeplane  
dh_installinfo -pfreeplane  
dh_installmenu -pfreeplane 
dh_installcron -pfreeplane 
dh_installinit -pfreeplane  
dh_installdebconf -pfreeplane 
dh_installemacsen -pfreeplane   
dh_installcatalogs -pfreeplane 
dh_installpam -pfreeplane 
dh_installlogrotate -pfreeplane 
dh_installlogcheck -pfreeplane 
dh_installchangelogs -pfreeplane  
dh_installudev -pfreeplane 
dh_lintian -pfreeplane 
dh_bugfiles -pfreeplane 
dh_install -pfreeplane  -XLICENSE.txt
dh_link -pfreeplane  
dh_installmime -pfreeplane 
dh_installgsettings -pfreeplane 
dh_installdocs -plibjortho-freeplane-java 
dh_installexamples -plibjortho-freeplane-java 
dh_installman -plibjortho-freeplane-java  
dh_installinfo -plibjortho-freeplane-java  
dh_installmenu -plibjortho-freeplane-java 
dh_installcron -plibjortho-freeplane-java 
dh_installinit -plibjortho-freeplane-java  
dh_installdebconf -plibjortho-freeplane-java 
dh_installemacsen -plibjortho-freeplane-java   
dh_installcatalogs -plibjortho-freeplane-java 
dh_installpam -plibjortho-freeplane-java 
dh_installlogrotate -plibjortho-freeplane-java 
dh_installlogcheck -plibjortho-freeplane-java 
dh_installchangelogs -plibjortho-freeplane-java  
dh_installudev -plibjortho-freeplane-java 
dh_lintian -plibjortho-freeplane-java 
dh_bugfiles -plibjortho-freeplane-java 
dh_install -plibjortho-freeplane-java  -XLICENSE.txt
dh_link -plibjortho-freeplane-java  
dh_installmime -plibjortho-freeplane-java 
dh_installgsettings -plibjortho-freeplane-java 
dh_strip -pfreeplane  
dh_compress -pfreeplane -X .mm -X .pdf 
dh_fixperms -pfreeplane  
dh_makeshlibs -pfreeplane  
dh_strip -plibjortho-freeplane-java  
dh_compress -plibjortho-freeplane-java -X .mm -X .pdf 
dh_fixperms -plibjortho-freeplane-java  
dh_makeshlibs -plibjortho-freeplane-java  
dh_installdeb -pfreeplane 
dh_perl -pfreeplane 
dh_shlibdeps -pfreeplane
dh_installdeb -plibjortho-freeplane-java 
dh_perl -plibjortho-freeplane-java 
dh_shlibdeps -plibjortho-freeplane-java
dh_gencontrol -pfreeplane  
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
not NFS-safe
dh_md5sums -pfreeplane 
dh_builddeb -pfreeplane 
dpkg-deb: building package `freeplane' in `../freeplane_1.3.8.2-1_all.deb'.
dh_gencontrol -plibjortho-freeplane-java  
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
not NFS-safe
dh_md5sums -plibjortho-freeplane-java 
dh_builddeb -plibjortho-freeplane-java 
dpkg-deb: building package `libjortho-freeplane-java' in 
`../libjortho-freeplane-java_1.3.8.2-1_all.deb'.
 dpkg-genchanges  ../freeplane_1.3.8.2-1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build freeplane-1.3.8.2
dpkg-buildpackage: full upload (original source is included)
I: user script /var/cache/pbuilder/build//7825/tmp/hooks/B90lintian starting
[...]
+++ lintian output +++
[...]
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//7825 and 

Re: git-pbuilder / pdebuild problem

2014-04-26 Thread Rebecca N. Palmer
Which version of git-buildpackage / pbuilder is this, and is the Lintian 
call the default in your version (it isn't in mine) or something you 
added?  It worked for me in Ubuntu Saucy (git-buildpackage 0.6.3ubuntu1, 
pbuilder 0.215ubuntu2, called with DIST=sid BUILDER=pbuilder 
git-buildpackage --git-pbuilder), but I've never tried to build freeplane.



--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/535c1fbc.4060...@bham.ac.uk