Your message dated Sun, 06 Aug 2017 12:19:55 +0000
with message-id <e1dekxd-000gm6...@fasolo.debian.org>
and subject line Bug#870584: fixed in surf 2.0-3
has caused the Debian Bug report #870584,
regarding surf FTCBFS: uses the build architecture pkg-config
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 ow...@bugs.debian.org
immediately.)


-- 
870584: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870584
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: surf
Version: 2.0-2
Tags: upstream patch
User: helm...@debian.org
Usertags: rebootstrap

surf fails to cross build from source, because it hard codes usage of
the build architecture pkg-config. After making it substitutable,
debhelper's passing of the right PKG_CONFIG works and makes cross builds
succeed. Please consider applying the attached patch.

Helmut
diff --minimal -Nru surf-2.0/debian/changelog surf-2.0/debian/changelog
--- surf-2.0/debian/changelog   2017-06-18 13:53:10.000000000 +0200
+++ surf-2.0/debian/changelog   2017-08-02 22:46:10.000000000 +0200
@@ -1,3 +1,10 @@
+surf (2.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Add cross.patch (Closes: #-1).
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 02 Aug 2017 22:46:10 +0200
+
 surf (2.0-2) unstable; urgency=low
 
   * Upload to unstable.
diff --minimal -Nru surf-2.0/debian/patches/cross.patch 
surf-2.0/debian/patches/cross.patch
--- surf-2.0/debian/patches/cross.patch 1970-01-01 01:00:00.000000000 +0100
+++ surf-2.0/debian/patches/cross.patch 2017-08-02 22:46:07.000000000 +0200
@@ -0,0 +1,20 @@
+From: Helmut Grohne <hel...@subdivi.de>
+Subject: make pkg-config substitutable for cross compilation
+
+Index: surf-2.0/config.mk
+===================================================================
+--- surf-2.0.orig/config.mk
++++ surf-2.0/config.mk
+@@ -11,8 +11,10 @@
+ X11INC = /usr/X11R6/include
+ X11LIB = /usr/X11R6/lib
+ 
+-GTKINC = $(shell pkg-config --cflags gtk+-3.0 webkit2gtk-4.0)
+-GTKLIB = $(shell pkg-config --libs gtk+-3.0 webkit2gtk-4.0)
++PKG_CONFIG ?= pkg-config
++
++GTKINC = $(shell $(PKG_CONFIG) --cflags gtk+-3.0 webkit2gtk-4.0)
++GTKLIB = $(shell $(PKG_CONFIG) --libs gtk+-3.0 webkit2gtk-4.0)
+ 
+ # includes and libs
+ INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
diff --minimal -Nru surf-2.0/debian/patches/series 
surf-2.0/debian/patches/series
--- surf-2.0/debian/patches/series      2017-04-14 20:23:45.000000000 +0200
+++ surf-2.0/debian/patches/series      2017-08-02 22:45:27.000000000 +0200
@@ -2,3 +2,4 @@
 2002_hardening_portability_fix.patch
 2003_replace_st_with_stterm.patch
 strict_ssl.patch
+cross.patch

--- End Message ---
--- Begin Message ---
Source: surf
Source-Version: 2.0-3

We believe that the bug you reported is fixed in the latest version of
surf, 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 870...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reiner Herrmann <rei...@reiner-h.de> (supplier of updated surf 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 06 Aug 2017 13:52:42 +0200
Source: surf
Binary: surf
Architecture: source
Version: 2.0-3
Distribution: unstable
Urgency: low
Maintainer: Reiner Herrmann <rei...@reiner-h.de>
Changed-By: Reiner Herrmann <rei...@reiner-h.de>
Description:
 surf       - Simple web browser by suckless community
Closes: 870584
Changes:
 surf (2.0-3) unstable; urgency=low
 .
   [ Reiner Herrmann ]
   * Bump Standards-Version to 4.0.1; no changes required.
 .
   [ Helmut Grohne ]
   * Fix cross building by allowing overriding of used pkg-config.
     (Closes: #870584)
Checksums-Sha1:
 02851f1af434d7b5a8115d5dfde37aac81060fb4 1824 surf_2.0-3.dsc
 319af4fd82a52ceb4eb7d84384ca2e0e0dbc318e 6636 surf_2.0-3.debian.tar.xz
 33a4046df04a33f734f6db2940409fa57ea3ab59 12315 surf_2.0-3_source.buildinfo
Checksums-Sha256:
 765a2667b9cc817f5290588cfd74f97b183e59f1dbfd00e7a31647d4d8ed5275 1824 
surf_2.0-3.dsc
 0ebd06063c40caf1f9eb046841b3d3377c620b8d5529d5674b1991743673d1c7 6636 
surf_2.0-3.debian.tar.xz
 5e16a0bf101ff17223e5cd7ccbb7ab8dcaadc05b34b8fa60f426ef435db22b8d 12315 
surf_2.0-3_source.buildinfo
Files:
 fb6454989a6c6ef1aeed6e3ec9a0c3ab 1824 web optional surf_2.0-3.dsc
 9b00742fcc97f2ce6a4ed2907398145c 6636 web optional surf_2.0-3.debian.tar.xz
 745edcfe7acfeaca45062c828e1ed9ab 12315 web optional surf_2.0-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE2Pb6feok2Q1urHM7zPBJKNsO6qcFAlmHA/4ACgkQzPBJKNsO
6qeeVg/+Ol7E2mGfbd9WYrPsSUkS4C+aEuqwPM9Ss31jgPai+MHN8qRL8bOi1BFw
vJ1+LmX6mIb5h9SJAcbS9ObDV0l3tdD+0HDZxGzNYTB18QDkQZ4cn7tT1W5qwaU5
huORkbEEwLaKwBGB/3f2GAPXTUFKtLk0+KTiU10+NNJGkIFSAceAU97T4E2dsQLu
tr/Uer02WazjO73aetuWZPx+H21LhKhMlUC+s+dA/G38bQ879oRuSrHfCddMQADN
ASPdVs7LnIb8mY4UoT1/HPgoI4bXAxP1jmWlBxNglRSY5fFXngVcQjjmSr/ZFiUI
uLy6SAAc+sCWbsjWT/J/TWfrO9yOharRO6aLGRhpaGQCUT5VFSomfA/Qbs7I3cxc
0y8wDAbbQrPRuDPB5SWom/BLqS5fAfD7wdU+X3cwI3arvXsaxKOWbzicjv4hJNjE
AjvA7mD74HJXGhhGQ7xqhoSh4OFY1RFiRGgw5668HH1+okfx6KrJ/+7nvJp5ow1Z
2E8hPfiA1wo6N7NNZIZvBq5CxeSi1ToY8EXa/HMdpAmg/qZnw5vhjjMCmjCbvWJO
emSRvdlZz8zfRraGA2m3rM82yO5RDw6UQDIRvHyk4ruly/6gAY8frbcPgk21p84M
V+ohm47kcZJ76L5RLRsFLP4jPRVGlEhy/KqsWLIzY2Q+DAbbkbA=
=fJ+s
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to