Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Vladimir Petko
Sun, 08 Nov 2026 22:20
Bug#1153475: tcpxtract: intermittent fbts due to stale lexer configuration file
Author: Vladimir Petko
Date: Sun, 08 Nov 2026 22:20
Date: Sun, 08 Nov 2026 22:20
97 lines
6386 bytes
6386 bytes
This is a multi-part MIME message sent by reportbug.
--===============2077774444028307708==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: tcpxtract
Version: 1.0.1-19
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu tenacious ubuntu-patch
Dear Maintainer,
The package intermittently fails to build in Ubuntu (or fails autopkgtest in
Debian) with the following error
--
No file was recognized in the sample capture
--
[1]
--
./tcpxtract -c tcpxtract.conf -f debian/tests/test.pcap
tcpxtract: search.c:181: search: Assertion `tree != NULL' failed.
--
[2]
I have added confy.h to BUILT_SOURCES in Makefile.am to avoid compiling against
stale confy.h (as Debian patches change it and cause regeneration).
In Ubuntu, the attached patch was applied to achieve the following:
- d/p/140_enforce_build_order.patch: resolve intermittent ftbfs.
Thanks for considering the patch.
[1] https://ci.debian.net/packages/t/tcpxtract/testing/s390x/76229664/
[2] https://launchpadlibrarian.net/884139148/buildlog_ubuntu-tenacious-
arm64.tcpxtract_1.0.1-19ubuntu1~ppa1_BUILDING.txt.gz
-- System Information:
Debian Release: forky/sid
APT prefers resolute-updates
APT policy: (500, 'resolute-updates'), (500, 'resolute-security'), (500, 'resolute'), (100, 'resolute-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 7.0.0-43-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--===============2077774444028307708==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="tcpxtract_1.0.1-19ubuntu1.debdiff"
diff -Nru tcpxtract-1.0.1/debian/patches/140_enforce_build_order.patch tcpxtract-1.0.1/debian/patches/140_enforce_build_order.patch
--- tcpxtract-1.0.1/debian/patches/140_enforce_build_order.patch 1970-01-01 12:00:00.000000000 +1200
+++ tcpxtract-1.0.1/debian/patches/140_enforce_build_order.patch 2026-11-09 09:22:43.000000000 +1300
@@ -0,0 +1,18 @@
+Description: Resolve intermittent ftbfs
+ The Makefile.am does not explicitly list confy.h as a built source.
+ It must be regenerated before compiling the source code as the Debian
+ patches introduce changes to the lexer and parser.
+ The source is compiled against the stale token definitions causing the
+ parse error.
+Author: Vladimir Petko <vladimir.petko@canonical.com>
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/tcpxtract/+bug/2173708
+Forwarded: no
+Last-Update: 2026-11-09
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,3 +1,4 @@
++BUILT_SOURCES = confy.h
+ AM_CFLAGS = -D_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+ bin_PROGRAMS = tcpxtract
+ tcpxtract_SOURCES = tcpxtract.c sessionlist.c sessionlist.h util.c util.h confy.y confl.l \
diff -Nru tcpxtract-1.0.1/debian/patches/series tcpxtract-1.0.1/debian/patches/series
--- tcpxtract-1.0.1/debian/patches/series 2026-09-04 14:20:21.000000000 +1200
+++ tcpxtract-1.0.1/debian/patches/series 2026-11-09 09:22:43.000000000 +1300
@@ -11,3 +11,4 @@
110_use-captured-packet-length.patch
120_use-extract-prototype.patch
130_packet-structures-packed.patch
+140_enforce_build_order.patch
--===============2077774444028307708==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads