[Debian-med-packaging] Bug#624130: Bug#624130: gbrowse: FTBFS: `debian/gbrowse/usr/share/perl5/' is not a directory

Aaron M. Ucko ucko at debian.org
Tue Apr 26 20:36:01 UTC 2011


ucko at debian.org (Aaron M. Ucko) writes:

> That said, I do also belong to debian-med (as ncbi-tools6's primary
> maintainer), and can look into issuing a team bug-fix upload; thanks for
> the go-ahead!

I have prepared one, and will upload it tonight.  FTR, my initial
analysis was somewhat off: debian/gbrowse.dirs does in fact list
usr/share/perl5, but dh_installdirs ignores that file altogether when
only building the architecture-dependent gbrowse-calign package.  To
address that, I plan to remove that entry and adjust debian/rules
accordingly:

Index: changelog
===================================================================
--- changelog	(revision 6648)
+++ changelog	(working copy)
@@ -1,3 +1,12 @@
+gbrowse (2.26~dfsg-2) unstable; urgency=low
+
+  * Team upload.
+  * Upload to unstable, where -1 accidentally landed.
+  * debian/{gbrowse.dirs,rules}: Tweak to avoid errors when building just
+    the architecture-dependent gbrowse-calign package.  (Closes: #624130.)
+
+ -- Aaron M. Ucko <ucko at debian.org>  Tue, 26 Apr 2011 16:19:41 -0400
+
 gbrowse (2.26~dfsg-1) experimental; urgency=low
 
   [ Olivier Sallou ]
Index: gbrowse.dirs
===================================================================
--- gbrowse.dirs	(revision 6648)
+++ gbrowse.dirs	(working copy)
@@ -1,4 +1,3 @@
 etc/gbrowse
-usr/share/perl5
 var/cache/gbrowse/sessions
 var/lib/gbrowse/databases
Index: rules
===================================================================
--- rules	(revision 6648)
+++ rules	(working copy)
@@ -13,7 +13,7 @@
 	./Build   apache_conf > debian/gbrowse/etc/gbrowse/apache2.conf
 	perl Build.PL $(GBROWSE_BUILD_OPTIONS) --installetc=y
 	./Build  --install_base=debian/gbrowse install_slave
-	mv debian/gbrowse/lib/perl5/*/* debian/gbrowse/usr/share/perl5/
+	mv debian/gbrowse/lib/perl5/* debian/gbrowse/usr/share/perl5
 	# Remove arch dependant data
 	mv debian/gbrowse/usr/share/perl5/auto/Bio/Graphics/Browser2/CAlign/* debian/gbrowse-calign/usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign/
 	#rm -rf debian/gbrowse/usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu





More information about the Debian-med-packaging mailing list