Your message dated Mon, 24 Mar 2025 15:04:04 +0000
with message-id <[email protected]>
and subject line Bug#1100494: fixed in blahtexml 0.9-1.2
has caused the Debian Bug report #1100494,
regarding blahtexml: build with default build flags
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.)
--
1100494: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100494
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: blahtexml
Version: 0.9-1.1
User: [email protected]
Usertags: pac-bti
Tags: patch
Hi,
blahtexml currently hardcodes CFLAGS in the Makefile. Additionally, it
does not use CXXFLAGS for C++ code and uses a deprecated debhelper
compatibility level (7), which does not set environment variables listed
by dpkg-buildflags.
Please consider applying the attached patches to ensure the package uses
the default build flags set by dpkg-buildflags. This is necessary, among
other things, to enable PAC/BTI on arm64:
https://wiki.debian.org/ToolChain/PACBTI
>From ab969b5f8620be60c2ad6aef144b99e1d254f5e6 Mon Sep 17 00:00:00 2001
From: Emanuele Rocca <[email protected]>
Date: Fri, 14 Mar 2025 13:58:22 +0100
Subject: [PATCH 1/2] Do not override CFLAGS, use CXXFLAGS for cpp
---
makefile | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/makefile b/makefile
index 32490ff..e1c61f0 100644
--- a/makefile
+++ b/makefile
@@ -93,20 +93,18 @@ $(BINDIR)/InputSymbolTranslation.o: InputSymbolTranslation.cpp InputSymbolTransl
$(BINDIR_XMLIN)/InputSymbolTranslation.o: InputSymbolTranslation.cpp InputSymbolTranslation.inc
-CFLAGS = -O2
-
VPATH = Source:Source/BlahtexCore:Source/BlahtexXMLin
INCLUDES=-I. -ISource -ISource/BlahtexCore -ISource/BlahtexXMLin
$(BINDIR)/%.o:%.cpp
- $(CXX) $(INCLUDES) $(CFLAGS) -c $< -o $@
+ $(CXX) $(INCLUDES) $(CXXFLAGS) -c $< -o $@
$(BINDIR)/%.o:%.c
$(CC) $(INCLUDES) $(CFLAGS) -c $< -o $@
$(BINDIR_XMLIN)/%.o:%.cpp
- $(CXX) $(INCLUDES) $(CFLAGS) -DBLAHTEXML_USING_XERCES -c $< -o $@
+ $(CXX) $(INCLUDES) $(CXXFLAGS) -DBLAHTEXML_USING_XERCES -c $< -o $@
$(BINDIR_XMLIN)/%.o:%.c
$(CC) $(INCLUDES) $(CFLAGS) -DBLAHTEXML_USING_XERCES -c $< -o $@
@@ -115,13 +113,13 @@ blahtex-linux: $(BINDIR) $(OBJECTS) $(HEADERS)
$(CXX) $(CFLAGS) -o blahtex $(OBJECTS)
blahtex-mac: $(BINDIR) $(OBJECTS) $(HEADERS)
- $(CXX) $(CFLAGS) -o blahtex -liconv $(OBJECTS)
+ $(CXX) $(CXXFLAGS) -o blahtex -liconv $(OBJECTS)
blahtexml-linux: $(BINDIR_XMLIN) $(OBJECTS_XMLIN) $(HEADERS_XMLIN)
- $(CXX) $(CFLAGS) -o blahtexml $(OBJECTS_XMLIN) -lxerces-c
+ $(CXX) $(CXXFLAGS) -o blahtexml $(OBJECTS_XMLIN) -lxerces-c
blahtexml-mac: $(BINDIR_XMLIN) $(OBJECTS_XMLIN) $(HEADERS_XMLIN)
- $(CXX) $(CFLAGS) -o blahtexml -liconv $(OBJECTS_XMLIN) -lxerces-c
+ $(CXX) $(CXXFLAGS) -o blahtexml -liconv $(OBJECTS_XMLIN) -lxerces-c
clean:
rm -f blahtex $(OBJECTS) blahtexml $(OBJECTS_XMLIN)
--
2.39.5
>From e41e51b0f3d612fa195aa67d124cfaadeef9aca7 Mon Sep 17 00:00:00 2001
From: Emanuele Rocca <[email protected]>
Date: Fri, 14 Mar 2025 14:35:57 +0100
Subject: [PATCH 2/2] Set debhelper compatibility level to 13
---
debian/compat | 1 -
debian/control | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
delete mode 100644 debian/compat
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7f8f011..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/debian/control b/debian/control
index 76051ce..3bc9f34 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: blahtexml
Section: text
Priority: extra
Maintainer: Abhishek Dasgupta <[email protected]>
-Build-Depends: debhelper (>= 7.0.50), libxerces-c-dev
+Build-Depends: debhelper-compat (= 13), libxerces-c-dev
Standards-Version: 3.9.2
Homepage: http://gva.noekeon.org/blahtexml/
Vcs-Git: git://github.com/abhidg/pkg-blahtexml.git
--
2.39.5
--- End Message ---
--- Begin Message ---
Source: blahtexml
Source-Version: 0.9-1.2
Done: Emanuele Rocca <[email protected]>
We believe that the bug you reported is fixed in the latest version of
blahtexml, 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.
Emanuele Rocca <[email protected]> (supplier of updated blahtexml 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: Fri, 14 Mar 2025 13:58:43 +0100
Source: blahtexml
Architecture: source
Version: 0.9-1.2
Distribution: unstable
Urgency: medium
Maintainer: Abhishek Dasgupta <[email protected]>
Changed-By: Emanuele Rocca <[email protected]>
Closes: 940078 1100494
Changes:
blahtexml (0.9-1.2) unstable; urgency=medium
.
[ Emanuele Rocca ]
* Non-maintainer upload.
* Do not override CFLAGS, use CXXFLAGS for cpp. Also set debhelper
compatibility to 13. (Closes: #1100494)
.
[ Helmut Grohne ]
* Fix FTCBFS: Let dh_auto_build pass cross tools to make (Closes: #940078)
Checksums-Sha1:
680e2d2fe587fd352aa66cf6254957d7e9d2dd99 1974 blahtexml_0.9-1.2.dsc
15252706a8a926fec96817c5e33ac8b8ef7076c0 10380 blahtexml_0.9-1.2.debian.tar.xz
Checksums-Sha256:
fbe41435dc77f91c1d62adbaf87154b1f03962263b8fdb637bea7b9642960116 1974
blahtexml_0.9-1.2.dsc
ec0b3bb941e84aff7bfa68f5d54e801311e5199722530e0d166037bdbc2df4d4 10380
blahtexml_0.9-1.2.debian.tar.xz
Files:
ff525c3932b289841e49bf985972c775 1974 text extra blahtexml_0.9-1.2.dsc
bc6ecefc15c16bf258e72265292c8586 10380 text extra
blahtexml_0.9-1.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEElUWWlhkoHBf/rFiR1QhaB1D9t6MFAmfUOpAPHGVtYUBkZWJp
YW4ub3JnAAoJENUIWgdQ/bejEroQAIFNZJV+VvkUDFgJy3MvupL2oRck9T5ztwCv
TFVanezvZBscnEp6+l5yZWkPQdpRCKVPcwDBGW2Tsi73371A4QR4XW5oBgL8jOvq
49umc2tXzhz8QSfxwpCpdOQsRJGX+uRdsjR8bxAc4SPEkjxE448sTl9MbawF7ojM
LKWMsYWpvWeM9Q4u0lS64BCoghBC8agGml7K5RJhouZdL+7yncCGT5viVRiFHrQF
RGqGkZeBvZJn1FaAZExcFYMrNyuOfCk+NsBFKfHDCYBilFqL/tS8bFrRnrxKFIcO
ZTZROEmSrzfjereVL/XkYGnMIOKf9h6+OGRI5q/HhBGDhRTo1h3nGIP6FsZPjyEw
OEprCgt+QcdW+Hf+5x0xCTp1rlxdKOW9IgqILYVcJ/bYtvBBHd/8jptrq61JQxuG
tDKfhhdDimrzNV/Aam15BTwYENFGXJ7sNLM+/a5k+7lybE96pi08H57BD6NVJ78D
gka7B4uZfv4fJ7d4wlx4Kf+BEA9cYCjKjsTn/z9Lkztk+35QJGH15o6I9LCz7XYO
zHSzJkzMuqeFIu7qtGS6MB7uXQW9jqI0xJa/qzm05EWN4kX3Xi8KAR1L6HOI7211
86SGH0IEYfvDV5vIRfgcnv+RQvlpjtKOblkJIehSbYa+90oUUrB4aRYypDy1JH1g
3NBy0aj8
=MRZ/
-----END PGP SIGNATURE-----
pgpluUZNFjbae.pgp
Description: PGP signature
--- End Message ---