Source: mtree-netbsd Version: 20180822-6 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
mtree-netbsd fails to cross build from source, because it fails running tests despite having them disabled via DEB_BUILD_OPTIONS=nocheck. Please consider applying the attached patch to fix that. Helmut
diff -u mtree-netbsd-20180822/debian/changelog mtree-netbsd-20180822/debian/changelog --- mtree-netbsd-20180822/debian/changelog +++ mtree-netbsd-20180822/debian/changelog @@ -1,3 +1,10 @@ +mtree-netbsd (20180822-6.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Support DEB_BUILD_OPTIONS=nocheck. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 12 Jan 2022 05:32:45 +0100 + mtree-netbsd (20180822-6) unstable; urgency=medium * Remove dependency on freebsd-buildutils for now, since it is diff -u mtree-netbsd-20180822/debian/rules mtree-netbsd-20180822/debian/rules --- mtree-netbsd-20180822/debian/rules +++ mtree-netbsd-20180822/debian/rules @@ -33,6 +33,7 @@ # Add tests override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) # Removing the next two to avoid dependency on freebsd-buildutils, # which is currently blocking transition of this package into testing, # per #957230. @@ -40,3 +41,4 @@ #./mtree -c -K $(MTREE_KEYWORDS) | sed -e 's/\(md5\|sha1\|sha256\|sha384\|sha512\)=/\1digest=/' -e 's/rmd160=/ripemd160digest=/' | fmtree bsdtar -cf - --options 'mtree:uname,gname,md5,sha1,sha256,sha384,sha512,device,flags,gid,link,mode,nlink,size,time,uid,type,uname' --format mtree . | ./mtree ./mtree -c -K $(MTREE_KEYWORDS) | ./mtree -C -K $(MTREE_KEYWORDS) | grep md5= | grep sha1= | grep sha256= | grep gname= | grep -q uname= +endif