[Debian-astro-maintainers] Bug#1070931: healpix-java: FTBFS: rm: cannot remove 'images': No such file or directory

Santiago Vila sanvila at debian.org
Thu Aug 22 02:22:22 BST 2024


Ok, I believe the attached trivial patch should be enough.
(i.e. change "rm -r" to "rm -rf")

When I apply the patch, diffoscope reports that the package
"libhealpix-java" is essentially the same, as this minor difference
does not really count:

│ │ │ ├── META-INF/MANIFEST.MF
│ │ │ │ @@ -1,4 +1,4 @@
│ │ │ │  Manifest-Version: 1.0
│ │ │ │  Class-Path: /usr/share/java/fits.jar
│ │ │ │ -Created-By: 11.0.11 (Debian)
│ │ │ │ +Created-By: 11.0.23 (Debian)

On the other hand, debdiff reports that the new -doc package
has a few more files:

Files in second .deb but not in first
-------------------------------------
-rw-r--r--  root/root   /usr/share/doc/libhealpix-java/api/jquery-ui.overrides.css
-rw-r--r--  root/root   /usr/share/doc/libhealpix-java/api/legal/ASSEMBLY_EXCEPTION
-rw-r--r--  root/root   /usr/share/doc/libhealpix-java/api/legal/jquery.md
-rw-r--r--  root/root   /usr/share/doc/libhealpix-java/api/legal/jqueryUI.md
-rw-r--r--  root/root   /usr/share/doc/libhealpix-java/api/legal/jszip.md.gz
-rw-r--r--  root/root   /usr/share/doc/libhealpix-java/api/legal/pako.md

but this seems to be the result of using an updated (more recent) helper
and I suppose it's also ok.

Thanks.
-------------- next part --------------
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ override_jh_build:
 	jh_build
 	cd debian/_jh_build.javadoc/api/jquery && \
 	rm *.css *.js && \
-	rm -r external images && \
+	rm -rf external images && \
 	(for filename in /usr/share/javascript/jquery/* /usr/share/javascript/jquery-ui/*; do ln -s $$filename; done)
 
 override_dh_installchangelogs:


More information about the Debian-astro-maintainers mailing list