Your message dated Wed, 10 Dec 2025 23:20:01 +0000
with message-id <[email protected]>
and subject line Bug#1116231: fixed in ssocr 2.25.1-1
has caused the Debian Bug report #1116231,
regarding ssocr FTCBFS: hard codes 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.)


-- 
1116231: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1116231
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ssocr
Version: 2.25.0-1
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

ssocr fails to cross build from source, because it fails to discover the 
imlib flags as it hard codes the build architecture pkg-config. I 
propose making pkg-config substitutable upstream and that is sufficient 
to make ssocr cross buildable. Please find a patch attached.

Helmut
--- ssocr-2.25.0.orig/Makefile
+++ ssocr-2.25.0/Makefile
@@ -1,8 +1,9 @@
+PKG_CONFIG ?= pkg-config
 # minimal CFLAGS definition (try if compilation fails with default CFLAGS)
-#CFLAGS  := $(shell if command -v imlib2-config >/dev/null; then imlib2-config --cflags; else pkg-config --cflags imlib2; fi)
+#CFLAGS  := $(shell if command -v imlib2-config >/dev/null; then imlib2-config --cflags; else $(PKG_CONFIG) --cflags imlib2; fi)
 # default CFLAGS definition
-CFLAGS  := -D_FORTIFY_SOURCE=2 -Wall -W -Wextra -pedantic -fstack-protector-all $(shell if command -v imlib2-config >/dev/null; then imlib2-config --cflags; else pkg-config --cflags imlib2; fi) -g
-LDLIBS  := -lm $(shell if command -v imlib2-config >/dev/null; then imlib2-config --libs; else pkg-config --libs imlib2; fi)
+CFLAGS  := -D_FORTIFY_SOURCE=2 -Wall -W -Wextra -pedantic -fstack-protector-all $(shell if command -v imlib2-config >/dev/null; then imlib2-config --cflags; else $(PKG_CONFIG) --cflags imlib2; fi) -g
+LDLIBS  := -lm $(shell if command -v imlib2-config >/dev/null; then imlib2-config --libs; else $(PKG_CONFIG) --libs imlib2; fi)
 PREFIX  := /usr/local
 BINDIR  := $(PREFIX)/bin
 MANDIR  := $(PREFIX)/share/man/man1

--- End Message ---
--- Begin Message ---
Source: ssocr
Source-Version: 2.25.1-1
Done: Alex Myczko <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ssocr, 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.
Alex Myczko <[email protected]> (supplier of updated ssocr 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: SHA512

Format: 1.8
Date: Wed, 10 Dec 2025 22:28:37 +0000
Source: ssocr
Architecture: source
Version: 2.25.1-1
Distribution: unstable
Urgency: medium
Maintainer: Alex Myczko <[email protected]>
Changed-By: Alex Myczko <[email protected]>
Closes: 1116231
Changes:
 ssocr (2.25.1-1) unstable; urgency=medium
 .
   * New upstream version.
   * Bump standards version to 4.7.2.
   * d/control:
     - add pkgconf to build-depends.
     - drop Rules-Requires-Root.
   * d/copyright: bump years.
   * Apply patch to fix FTCBFS. (Closes: #1116231)
     Thanks Helmut Grohne.
   * d/rules: set PKG_CONFIG.
Checksums-Sha1:
 10c90d2f35dcf3068d4bc35a3e86419290860b16 1902 ssocr_2.25.1-1.dsc
 1e4344feeeb3ae79549f539c5a32b0859ccb9f47 49988 ssocr_2.25.1.orig.tar.gz
 5031a9ce72a28e5b6b86f60a411fe08c26b059fa 3484 ssocr_2.25.1-1.debian.tar.xz
 c40d44ff718ebaecab27773c7d5c44058533b5ea 12136 ssocr_2.25.1-1_source.buildinfo
Checksums-Sha256:
 06167bc35ac7ac46670c55a65b760c6d6be2a4c1028c0fc32f8f5e3dbf8d4959 1902 
ssocr_2.25.1-1.dsc
 e1f9c43aab2cc04c3aab9445c952ede611cd4f1fbcae4eddc25c893bc15eee74 49988 
ssocr_2.25.1.orig.tar.gz
 26230d5ef6a108569811559889384e94c5a54dc28df6815ac0b1a459b0885c68 3484 
ssocr_2.25.1-1.debian.tar.xz
 1985a0822c846e36d9425e538dad065c44ae3fddf9ca9cd7570c24981083ffb6 12136 
ssocr_2.25.1-1_source.buildinfo
Files:
 45c299032c47c5d6641ccde556180a4f 1902 graphics optional ssocr_2.25.1-1.dsc
 89650ba18441f31ba27f21a27ab6f6d4 49988 graphics optional 
ssocr_2.25.1.orig.tar.gz
 00028113d99d3b02be242846ba99e196 3484 graphics optional 
ssocr_2.25.1-1.debian.tar.xz
 3fb0535a886845f7494413d42c1b9388 12136 graphics optional 
ssocr_2.25.1-1_source.buildinfo

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

iQJDBAEBCgAtFiEEtgob82PcExn/Co6JEWhSvN91FcAFAmk59/MPHHRhckBkZWJp
YW4ub3JnAAoJEBFoUrzfdRXAB4AP/1WeWMwTpqCaUvymSO7DxVZnvi5ps2b6sN7P
1nqOL1MEghpzaZWOG14Wk4gXT5eqkan56gf7Z9Y82+aMG6CwOy/Hzpim0RUr7lqL
Ho1l+1V9vmXxDYYViJEDrlfTX3NyICQlKG5WAb/+lNJ8Uwd9doEHlLDqcbMohfxF
MEsrbI+ylpYyAxSzWzl4cENmV//vuXcxAPk7pAwGZ6m+ieRtFw+ix3EEzVW7cCIX
WoZpe97d5GXk5w2xhzrCWNdhjGax5s6/BJrEu7oqKrPiyl1OZ8dqaQUacXp9omUl
kFCn4XwoN0LB/VcEc1F9MDJMSmECyEVz5uhMmBhVa6GeCczSa1i4MwubgiFKXztQ
itciUXgsV8qsz0GAn50lJu6H0Bf750mGxI4HVz7uiNeTwzEbyasPuG8thvgRyJYv
hKPCbiMK4ja+e1pb/srRlUm3ste9CFVp4RbJT2fhLzw45yn7bJq9Yg92dHa0Rg4J
T0S/5eC/PE/9qPD3ElTUvtMb6/v4t6SHoqnPf92ZOk6tDCcMSODgO2eENRMPebkN
YWrU2FMzfl2Gbcysdb1B4BupGqUJlS3b6H0FFESqvkDAKm4AQNO00MRTOIIAJCMn
rdejNcZC3M0DmKWba9cqXb3G38QeVO9G1L6KoOG7DueydTR1mwVnpflfZj8l5GmD
Z0Fjxopy
=NJns
-----END PGP SIGNATURE-----

Attachment: pgpJezqHpAXwf.pgp
Description: PGP signature


--- End Message ---

Reply via email to