#963180 automake-1.16 could NOT build with DEB_BUILD_PROFILE=stage1

Package:
automake
Source:
automake-1.16
Submitter:
Đoàn Trần Công Danh
Date:
2026-09-27 18:17:01 UTC
Severity:
normal
Tags:
#963180#5
Date:
2020-06-20 06:54:37 UTC
From:
To:
Step to procedure:

	$ export DEB_BUILD_PROFILE=stage1
	$ # Below is none-complete, filled all no-profiles from
	$ # https://wiki.debian.org/BuildProfileSpec
	$ export DEB_BUILD_PROFILES=stage1,nodoc,nocheck,nobiarch
	$ dpkg-buildpackage

dh_installinfo complains that doc/automake-1.16.info not found.

I need this patch:
----8<----
--- debian/rules.orig	2020-06-20 13:47:36.551860112 +0700
+++ debian/rules	2020-06-20 13:48:07.398980348 +0700
@@ -30,6 +30,7 @@
 override_dh_auto_build:
 ifeq ($(DEB_BUILD_PROFILE),stage1)
 	touch doc/automake.info
+	cp doc/automake.info doc/automake-$(version).info
 endif
 	dh_auto_build
---->8------

#963180#10
Date:
2020-07-04 22:32:23 UTC
From:
To:
Is this a bug in debhelper? If you're asking for nodoc build, why
would dh_installinfo want to install anything?

* Đoàn Trần Công Danh (sgn.danh@gmail.com) wrote:

#963180#15
Date:
2020-07-05 00:33:02 UTC
From:
To:
I'm not very familiar with Debian build process.
But, it seems like you're right.

Would you mind forwarding this bug to debhelper team?