Your message dated Fri, 19 Feb 2021 22:22:50 +0530
with message-id
<CAJN192-OvrZ8DGXqgyrhA8OfhP8VHcJD_SwfuLdj7nh4Kg=f...@mail.gmail.com>
and subject line Re: easychem FTCBFS: uses the build architecture pkg-config
has caused the Debian Bug report #906960,
regarding easychem 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 [email protected]
immediately.)
--
906960: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906960
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: easychem
Version: 0.6-8.1
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap
easychem fails to cross build from source, because Makefile.linux hard
codes the build architecture pkg-config and thus fails finding gtk.
After making pkg-config substitutable, easychem cross builds
successfully (as dh_auto_build is properly being used). Please consider
applying the attached patch.
Helmut
--- easychem-0.6.orig/Makefile.linux
+++ easychem-0.6/Makefile.linux
@@ -15,8 +15,9 @@
C_FLAGS += -W -Wpointer-arith -pedantic -std=c99 -DUNIX -DI18N -DPREFIX=\"$(PREFIX)\"
# GTK flags and librairies
-GTK_FLAGS=`pkg-config --cflags gtk+-2.0`
-GTK_LIBS=`pkg-config --libs gtk+-2.0`
+PKG_CONFIG ?= pkg-config
+GTK_FLAGS=`$(PKG_CONFIG) --cflags gtk+-2.0`
+GTK_LIBS=`$(PKG_CONFIG) --libs gtk+-2.0`
--- End Message ---
--- Begin Message ---
Argh, I didn't check open bugs against easychem earlier, and fixed the
FTCBFS myself independently from this bug report.
I verified, the patch given here matches with mine (except some minor line
breaks or spacing)
Since the fix is uploaded, I'm closing this.
Thanks a lot!
--- End Message ---