Your message dated Tue, 29 May 2018 19:55:44 +0000
with message-id <[email protected]>
and subject line Bug#900016: fixed in scite 4.0.5-2
has caused the Debian Bug report #900016,
regarding scite FTCBFS: uses the build architecture toolchain
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
900016: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900016
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: scite
Version: 4.0.5-1
Tags: patch
User: [email protected]
Usertags: rebootstrap
scite fails to cross build from source, because it uses the build
architecture toolchain. debian/rules does not pass cross tools to make.
The easiest way to fix that is to let dh_auto_build do it. Still that
doesn't suffice to use a host architecture pkg-config as the upstream
build system hard codes the build architecture one. The attached patch
fixes both issues and makes scite cross buildable. Please consider
applying it.
Helmut
diff --minimal -Nru scite-4.0.5/debian/changelog scite-4.0.5/debian/changelog
--- scite-4.0.5/debian/changelog 2018-05-11 14:21:56.000000000 +0200
+++ scite-4.0.5/debian/changelog 2018-05-24 17:24:57.000000000 +0200
@@ -1,3 +1,12 @@
+scite (4.0.5-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Let dh_auto_build pass cross tools to make.
+ + cross.patch: make pkg-config subtsitutable.
+
+ -- Helmut Grohne <[email protected]> Thu, 24 May 2018 17:24:57 +0200
+
scite (4.0.5-1) unstable; urgency=medium
* New upstream release.
diff --minimal -Nru scite-4.0.5/debian/patches/cross.patch
scite-4.0.5/debian/patches/cross.patch
--- scite-4.0.5/debian/patches/cross.patch 1970-01-01 01:00:00.000000000
+0100
+++ scite-4.0.5/debian/patches/cross.patch 2018-05-24 17:24:57.000000000
+0200
@@ -0,0 +1,43 @@
+--- scite-4.0.5.orig/scintilla/gtk/makefile
++++ scite-4.0.5/scintilla/gtk/makefile
+@@ -23,6 +23,7 @@
+ endif
+ ARFLAGS = rc
+ RANLIB = touch
++PKG_CONFIG ?= pkg-config
+
+ ifdef GTK3
+ GTKVERSION=gtk+-3.0
+@@ -84,7 +85,7 @@
+
+ CXXTFLAGS:=--std=gnu++17 $(CTFLAGS) $(REFLAGS)
+
+-CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION))
++CONFIGFLAGS:=$(shell $(PKG_CONFIG) --cflags $(GTKVERSION))
+ MARSHALLER=scintilla-marshal.o
+
+ all: $(COMPLIB)
+--- scite-4.0.5.orig/scite/gtk/makefile
++++ scite-4.0.5/scite/gtk/makefile
+@@ -17,6 +17,7 @@
+ else
+ MISLEADING=-Wno-misleading-indentation
+ endif
++PKG_CONFIG ?= pkg-config
+
+ ifdef GTK3
+ GTKVERSION=gtk+-3.0
+@@ -25,10 +26,10 @@
+ endif
+
+ # For the Gnome desktop stuff to work, prefix must point to where Gnome
thinks it is.
+-CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION))
+-CONFIGLIB:=$(shell pkg-config --libs $(GTKVERSION) gthread-2.0
gmodule-no-export-2.0)
++CONFIGFLAGS:=$(shell $(PKG_CONFIG) --cflags $(GTKVERSION))
++CONFIGLIB:=$(shell $(PKG_CONFIG) --libs $(GTKVERSION) gthread-2.0
gmodule-no-export-2.0)
+ CONFIGTHREADS:=
+-gnomeprefix:=$(shell pkg-config --variable=prefix $(GTKVERSION) 2>/dev/null)
++gnomeprefix:=$(shell $(PKG_CONFIG) --variable=prefix $(GTKVERSION)
2>/dev/null)
+ ifndef prefix
+ ifdef gnomeprefix
+ prefix=$(gnomeprefix)
diff --minimal -Nru scite-4.0.5/debian/patches/series
scite-4.0.5/debian/patches/series
--- scite-4.0.5/debian/patches/series 2018-05-10 15:19:08.000000000 +0200
+++ scite-4.0.5/debian/patches/series 2018-05-24 17:24:57.000000000 +0200
@@ -3,3 +3,4 @@
0003-reproducible_build.patch
0004-spelling.patch
0005-scite-desktop.patch
+cross.patch
diff --minimal -Nru scite-4.0.5/debian/rules scite-4.0.5/debian/rules
--- scite-4.0.5/debian/rules 2018-05-10 15:19:08.000000000 +0200
+++ scite-4.0.5/debian/rules 2018-05-24 17:24:55.000000000 +0200
@@ -9,9 +9,8 @@
dh $@
override_dh_auto_build:
- dh_auto_build
- cd scintilla/gtk; $(MAKE) GTK3=1 $(BUILD_LUA)
- cd scite/gtk; $(MAKE) gnomeprefix=/usr GTK3=1 $(BUILD_LUA)
+ dh_auto_build --sourcedirectory=scintilla/gtk -- GTK3=1 $(BUILD_LUA)
+ dh_auto_build --sourcedirectory=scite/gtk -- gnomeprefix=/usr GTK3=1
$(BUILD_LUA)
override_dh_auto_clean:
dh_auto_clean
--- End Message ---
--- Begin Message ---
Source: scite
Source-Version: 4.0.5-2
We believe that the bug you reported is fixed in the latest version of
scite, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Antonio Valentino <[email protected]> (supplier of updated scite
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 24 May 2018 19:41:57 +0200
Source: scite
Binary: scite
Architecture: source
Version: 4.0.5-2
Distribution: unstable
Urgency: medium
Maintainer: Michael Vogt <[email protected]>
Changed-By: Antonio Valentino <[email protected]>
Description:
scite - Lightweight GTK-based programming editor
Closes: 900016
Changes:
scite (4.0.5-2) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS: (Closes: #900016)
+ Let dh_auto_build pass cross tools to make.
+ cross.patch: make pkg-config subtsitutable.
.
[ Antonio Valentino ]
* Refresh all patches.
.
[ Andreas Rönnquist ]
* Use DEP-14 branch naming (debian/master and upstream/latest)
Checksums-Sha1:
4c636ef7832350d03c72eaa3dcb80021e037f820 1940 scite_4.0.5-2.dsc
499d6378e99b82cb610a8ea1933c1dd214663bc6 107024 scite_4.0.5-2.debian.tar.xz
e49e274a59a4649869aed8d112004e8bcff1949c 14300 scite_4.0.5-2_source.buildinfo
Checksums-Sha256:
cb0a7cccb1f5de547124996758327b7227421296da8a5f3fa840206daeb4de9a 1940
scite_4.0.5-2.dsc
297a53517a8f603c0b87ec7a9920f976832f500c92a8a4261283b37f41229442 107024
scite_4.0.5-2.debian.tar.xz
560031fc31565ce17cba69aaa40abed82814c0f3ea33a099d49c5f475af7c024 14300
scite_4.0.5-2_source.buildinfo
Files:
e3b62f455dc3b76f3702444b8df67dac 1940 editors optional scite_4.0.5-2.dsc
17fe429d782b97fac89e8d7b876bb749 107024 editors optional
scite_4.0.5-2.debian.tar.xz
e4212248038764bb6a838f9fac34f375 14300 editors optional
scite_4.0.5-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE2zBuSxD/2Y7021XXGUtjGrLaKIgFAlsNqSoACgkQGUtjGrLa
KIh85Q/+Oc4b8ratVonoQf6o2IWlGxvyQrSKfowE55GvaJAswqqderlN9aQwvPJS
nlDwaXKwQc4eCPD42oycGIa3r8XRGQMNaBKQo5wNfcym2i0IsMDOVy/wouJh70jA
W4b1m9+Is47xtfnJlrGbTl+g+ItQs6v16QJJj6LXbE70X2w9swWUmVpDRVgXYYZy
3OgvsYuzV+LNle9Tk1AA4bTm5pLDNMLWURY9gPAmZtcR9x6cdoErdTmxqF4RFviV
TCu0+kPBO41qG1qPuYvVyOwEpAJogCbRmW7HDIyFXlCX0mKxIPHUS/Z01cfI/Ens
/0PgDXyJwthXaZF20FXMqZFSBEVHS0Ozi70l0h/z08/Q5VMyks08xTBSt6Kp1VX/
kFv7T/XEEryMfvqZLY7691YwFsbeOd9hMNalb6BvYn84bFC1xA3V17OHLO3x5MK/
OqhbfLaqwk/q0LQ+R1T9rifHfKGQbc82odIt6lcNH4C4jUDqmjyXy6OAsIs8yjZO
ZsGb9fdg4G/Pj/tf3apgddQHHEQTABIeUI1lwdNPOpU5JeIecJpxUDOt4m4Jx9J0
jjIxolR5GyOPsPefjCO8dc+VFqeWRYGYvgGddFmGBW5IdelujZu4zOTJtysaPai+
xw8UE4Pp675+hOxKtkYLLWBrV4dVnpfUg4cBgSj9rgjwfX4yeI4=
=YzgF
-----END PGP SIGNATURE-----
--- End Message ---