Package: ghc Version: 9.4.7-5 Severity: normal Tags: patch When cross-building, it seems that upstream doesn't install manpages, so we should avoid tinkering with them, debian/tmp/usr/share/man doesn't even exist.
Samuel -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, arm64 Kernel: Linux 6.10.6-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ghc depends on: ii dpkg 1.22.11 ii gcc 4:14.1.0-2 ii libbsd-dev 0.12.2-1 ii libc6 2.40-2 ii libc6-dev 2.40-2 ii libffi-dev 3.4.6-1 ii libffi8 3.4.6-1 ii libgmp-dev 2:6.3.0+dfsg-2+b1 ii libgmp10 2:6.3.0+dfsg-2+b1 ii libncurses-dev 6.5-2 ii libtinfo6 6.5-2 ghc recommends no packages. Versions of packages ghc suggests: pn ghc-doc <none> pn ghc-prof <none> pn llvm-15 <none> ii perl 5.38.2-5 -- no debconf information -- Samuel mdiym42: note to self mdiym42: make sure your cat is not sleeping in the bass drum before you start playing them
--- debian/rules.original 2024-09-07 23:06:51.631319409 +0200 +++ debian/rules 2024-09-07 23:06:56.635245343 +0200 @@ -216,6 +216,7 @@ cd debian/tmp/usr/bin ;rm -f ghci* runghc* runhaskell*; \ fi +ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) # manpages echo ".so man1/ghc.1" > debian/tmp/usr/share/man/man1/ghc-$(ProjectVersion).1 if test -e debian/tmp/usr/bin/ghci-$(ProjectVersion); then \ @@ -228,6 +229,7 @@ cp debian/haddock.man debian/tmp/usr/share/man/man1/haddock.1 find debian/tmp/usr/share/man $(FILES) >> debian/ghc.install +endif # #################### # Now all the files are sorted, create the package filelists