Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #814989
| From | Graham Inggs <ginggs@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#803986: transgui: regenerate Makefile from Makefile.fpc |
| Date | 2017-03-23 18:40 +0100 |
| Message-ID | <toeSm-5uK-15@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Control: tags -1 + patch
Hi Maintainer
The patch as applied is not sufficient, as can be seen in a recent
arm64 build log [1].
If the old Makefile exists, the build fails during the dh_auto_clean target:
dh_auto_clean: Compatibility levels before 9 are deprecated (level 7 in use)
make -j1 distclean
make[1]: Entering directory '/«PKGBUILDDIR»'
Makefile:196: *** The Makefile doesn't support target aarch64-linux,
please run fpcmake first. Stop.
The following patch removes Makefile before dh_auto_clean, and the
build succeeds on arm64.
-- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,10 @@
export FPCDIR=/usr/lib/fpc/${FPCVER}
endif
+override_dh_auto_clean:
+ rm -f Makefile
+ dh_auto_clean
+
override_dh_auto_configure:
fpcmake
Regards
Graham
[1] https://buildd.debian.org/status/fetch.php?pkg=transgui&arch=arm64&ver=5.0.1-4.1&stamp=1487280220&raw=0
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#803986: transgui: regenerate Makefile from Makefile.fpc Graham Inggs <ginggs@debian.org> - 2017-03-23 18:40 +0100
csiph-web