#862919 traildb: FTBFS on non-x86: emmintrin.h absent

Package:
src:traildb
Source:
traildb
Submitter:
"Aaron M. Ucko"
Date:
2025-08-29 17:11:05 UTC
Severity:
important
Tags:
#862919#5
Date:
2017-05-18 18:11:19 UTC
From:
To:
Builds of traildb on non-x86 architectures have been failing:

  In file included from src/tdb_encode_model.c:22:0:
  src/dsfmt/dSFMT.h:148:25: fatal error: emmintrin.h: No such file or directory

If it is possible to get by without this header, please arrange to use
it (and the intrinsics it declares) only on x86.  (Also, please
conditionalize use of intrinsics on runtime CPU type.)  Otherwise,
please restrict the architecture accordingly, to either

Architecture: any-amd64 any-x32

or

Architecture: any-amd64 any-i386 any-x32

depending on how essential it is to have __uint128_t.

Thanks!

#862919#10
Date:
2017-05-21 19:52:44 UTC
From:
To:
The package builds on arm64 if you comment out the "HAVE_SSE2" line in
configure.ac, so replacing the unconditional AC_DEFINE with an actual
test seems like a good first step.

#862919#17
Date:
2025-06-18 07:11:30 UTC
From:
To:
Hi ChangZhuo Chen,

by pure chance another package of yours was picked by the random
procedure to select candidates for the Bug of the Day.  Since I've
learned yesterday that you are perfectly active I simply inform you that
I have updated the packaging repository for traildb[1] fixing the open
bugs and modernising the packaging.  Since we are in freeze policy we
can't upload before Trixie is released.  Thus I'll leave it to your
insight into the packaging to enhance my commits and upload at your own
preference.  I'll put my calendar somewhen in September and will do a
Team upload of the state I might find in Git at that time if you do not
beat me in uploading. ;-)

Thank you for introducing this package into Debian
    Andreas.

[1] https://github.com/traildb/traildb

#862919#24
Date:
2025-06-18 12:37:24 UTC
From:
To:
Thanks for your help. These commits look good to me. I will upload it
after Trixie is released.

#862919#29
Date:
2025-06-18 13:53:41 UTC
From:
To:
Am Wed, Jun 18, 2025 at 08:37:24PM +0800 schrieb ChangZhuo Chen (陳昌倬):

Great.  I'm happy you'll take over
   Andreas.

#862919#34
Date:
2025-08-29 17:08:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
traildb, 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 862919@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
ChangZhuo Chen (陳昌倬) <czchen@debian.org> (supplier of updated traildb 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 30 Aug 2025 00:42:34 +0800
Source: traildb
Architecture: source
Version: 0.6+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: ChangZhuo Chen (陳昌倬) <czchen@debian.org>
Changed-By: ChangZhuo Chen (陳昌倬) <czchen@debian.org>
Closes: 862919 862920 986250
Changes:
 traildb (0.6+dfsg1-2) unstable; urgency=medium
 .
   [ ChangZhuo Chen (陳昌倬) ]
   * Update Vcs-* fields to salsa
   * d/copyright: Remove copyright year.
 .
   [ Andreas Tille ]
   * Restrict architectures to any-amd64 x32
     Closes: #862919, #862920, #986250
   * Standards-Version: 4.7.2 (routine-update)
   * debhelper-compat 13 (routine-update)
   * Replace transitional package pkg-config by pkgconf in Build-Depends
     (routine-update)
   * Avoid explicitly specifying -Wl,--as-needed linker flag.
   * watch file standard 4 (routine-update)
   * Add upstream metadata
   * Install static library into -dev package
   * d/not-installed: dh_missing now defaults to --fail-missing
   * d/watch: replace dh-make template
   * salsa-ci.yml: Do not build on i386
Checksums-Sha1:
 6b72a5f5b60874146e3a9cf66397c2e680234ad9 2053 traildb_0.6+dfsg1-2.dsc
 dcb8d7c1789b3b06f33e530bbb2561f454c6bb39 4784 traildb_0.6+dfsg1-2.debian.tar.xz
 511b25d3b5695ab34e6cfc6e14dd194a3aee7353 7577 traildb_0.6+dfsg1-2_amd64.buildinfo
Checksums-Sha256:
 be2de0a889438479ff9f8345b819ff0e7f5d834636e2348210855d540d4a5b05 2053 traildb_0.6+dfsg1-2.dsc
 241fb551aa9eca50fdc512beeba57ed60c624513f3c34f667106c55fb7f9a48f 4784 traildb_0.6+dfsg1-2.debian.tar.xz
 a9e2c24cf4e126b6d5cc0b3ccbcfa4b16827055b928b594071c13e423db06d74 7577 traildb_0.6+dfsg1-2_amd64.buildinfo
Files:
 ca662cd0bad6773af5b229840ba87398 2053 database optional traildb_0.6+dfsg1-2.dsc
 4546f6253dea601807fc6d7c1bb5782e 4784 database optional traildb_0.6+dfsg1-2.debian.tar.xz
 b339c6a7608bf2a4379dfd1666e6fe77 7577 database optional traildb_0.6+dfsg1-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEugQ0bcLh/mPHkIeTzGWwzewnXVsFAmix2N8ACgkQzGWwzewn
XVvIdBAAtkNqfXBo+1hj+Iz+5Q/9G8YZu1UjjVpozi2XHf1pgEhqTtIFB4VBz/MG
beAJM5PXTK6oFSbbPvrCdGGgubcjzHuQjbOwuVCIOjRhls/UP6wCByKHoOtyn+Wq
KNqwc+usDDwRTNg2h1yqQutB1C3ey81BZwjdtLh83WJdyWem+ylU3upoaZJwg1HC
rYLAfe0Hi3g5+jupNBcul5gpa6J+uFfPq+ifOMKjbm/BAFg565oEOxNkwPwJzKMk
XZZD0HS94SXJbtkKLUBnTzNI7t5KVxqKg5KiCtIUPN7Ee7oqK/MRsVd0mqG+ZrBK
bjYIallPTtov9WhRK/z6b1JAxiRCZ/3phEqbtJ/XJjvoaTUZG7k47bWgGnFCp7UC
eQ/oppxcv5k0aiZ4MXl/HA8bm+Dl1GL31o9Gn4YQe6PRdncn4QN+KZn41CtsuBnV
dllIUsd7vKRcBrhq1Z/7YpAdeWuxMZ+4YLpUm2tO4v+KtnrLTZovPKEQKU1wnN8U
Y7gy2+yujxATjE3suvlowRxqmio6j8DYUBDaf3xpgsEBBUCwItlxAnHZ1y/XDatW
1tRRrJmRh8lTjeh1CKgwh3r+P91kr4tZg+my3O7YXC3iarB7SZkDxCZF0iQXDnf+
DcTKx1KZIHEQ9CyOfvObWz7E9UqNzojSp+z09qTqgIu7yto63Vk=
=pzcV
-----END PGP SIGNATURE-----