Bug#1139653: esmi: Manpages contain (unreproducible) error mesages

Chris Lamb lamby at debian.org
Wed Jun 10 17:52:43 BST 2026


Source: esmi
Version: 5.2.1+ds-1
Severity: important
User: reproducible-builds at lists.alioth.debian.org
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed that
esmi could not be built reproducibly.

This is because the manpages (which are generated using help2man by
running the underlying executable) result in the files containing an
error message:

   .SH DESCRIPTION
   \&./debian/tmp/usr/bin/e_smi_tool: error while loading shared libraries: libe_smi64.so.1: cannot open shared object file: No such file or directory

This message just happens to be unreproducible, hence why our testing
discovered it. As this will affect your package's ability to migrate
to testing I have set the Severity to "important".

§

If it helps, I tried to reverse the ordering of the chrpath -d and the
call to help2man, eg.

 	@for exe in `find -type f -name e_smi_tool`; do \
-		chrpath -d $$exe; \
 		$(call genman,$$exe,e_smi_tool,1); \
+		chrpath -d $$exe; \

However, whilst this means the e_smi_tool binary can find a .so file,
the manpages then simply contain the (reproducible!) error text:

   .SH DESCRIPTION
   ESMI Not initialized, drivers not found.


 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-06-10 08:23:56.756238932 -0700
--- b/debian/rules	2026-06-10 09:42:09.158658446 -0700
@@ -32,8 +32,8 @@
 override_dh_install:
 	mkdir -p man/man1
 	@for exe in `find -type f -name e_smi_tool`; do \
-		chrpath -d $$exe; \
 		$(call genman,$$exe,e_smi_tool,1); \
+		chrpath -d $$exe; \
 	done
 	dh_install
 	# Remove extra-license-file


More information about the Reproducible-bugs mailing list