#1120614 arb: FTBFS: error: invalid parameter combination for AltiVec intrinsic '__builtin_vec_ld'

Package:
src:arb
Source:
src:arb
Submitter:
Trupti
Date:
2026-10-23 10:21:09 UTC
Severity:
normal
Tags:
#1120614#5
Date:
2025-11-13 09:26:47 UTC
From:
To:
Dear maintainer,

arb FTBFS on ppc64el with below error:

../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h: In
function 'typename Eigen::ei_packet_traits<T>::type
Eigen::ei_pset1(const Scalar&) [with Scalar = float; typename
ei_packet_traits<T>::type = __vector(4) float]':
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:194:40:
error: declaration does not declare anything [-fpermissive]
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:194:3:
error: expected primary-expression before 'float'
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:195:3:
error: 'af' was not declared in this scope
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:196:18:
error: invalid parameter combination for AltiVec intrinsic
'__builtin_vec_ld'
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h: In
function 'typename Eigen::ei_packet_traits<T>::type
Eigen::ei_pset1(const Scalar&) [with Scalar = int; typename
ei_packet_traits<T>::type = __vector(4) int]':
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:203:38:
error: declaration does not declare anything [-fpermissive]
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:203:3:
error: expected primary-expression before 'int'
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:204:3:
error: 'ai' was not declared in this scope
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:205:18:
error: invalid parameter combination for AltiVec intrinsic
'__builtin_vec_ld'
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h: In
function 'void Eigen::ei_pstoreu(Scalar*, const Packet&) [with Scalar =
float; Packet = __vector(4) float]':
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:222:23:
warning: 'vec_lvsl' is deprecated for little endian; use assignment for
unaligned loads and stores [-Wdeprecated]
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:224:19:
warning: 'vec_lvsr' is deprecated for little endian; use assignment for
unaligned loads and stores [-Wdeprecated]
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h: In
function 'void Eigen::ei_pstoreu(Scalar*, const Packet&) [with Scalar =
int; Packet = __vector(4) int]':
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:240:23:
warning: 'vec_lvsl' is deprecated for little endian; use assignment for
unaligned loads and stores [-Wdeprecated]
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:242:19:
warning: 'vec_lvsr' is deprecated for little endian; use assignment for
unaligned loads and stores [-Wdeprecated]
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h: In
function 'typename Eigen::ei_unpacket_traits<T>::type
Eigen::ei_pfirst(const Packet&) [with Packet = __vector(4) float;
typename ei_unpacket_traits<T>::type = float]':
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:251:40:
error: declaration does not declare anything [-fpermissive]
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:251:3:
error: expected primary-expression before 'float'
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:252:16:
error: 'af' was not declared in this scope; did you mean 'a'?
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h: In
function 'typename Eigen::ei_unpacket_traits<T>::type
Eigen::ei_pfirst(const Packet&) [with Packet = __vector(4) int; typename
ei_unpacket_traits<T>::type = int]':
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:258:38:
error: declaration does not declare anything [-fpermissive]
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:258:3:
error: expected primary-expression before 'int'
../HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:259:16:
error: 'ai' was not declared in this scope; did you mean 'a'?
In file included from ../HEADERLIBS/eigen/Eigen/Array:28,
                  from ../HEADERLIBS/eigen/Eigen/Dense:2:



You can refer
https://buildd.debian.org/status/fetch.php?pkg=arb&arch=ppc64el&ver=6.0.6-8&stamp=1744759359&raw=0
for full build log on ppc64el.


Thanks,
Trupti

#1120614#10
Date:
2025-11-13 09:57:23 UTC
From:
To:

Hello,

The ARB package FTBFS on ppc64el with GCC 14+ due to errors in the
Altivec code from the bundled Eigen (eigen-2.0.16).
The errors occur in
HEADERLIBS/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h. These
intrinsics are deprecated on little-endian PowerPC and now rejected by
modern GCC.


Upstream Eigen replaced these deprecated intrinsics with endian-agnostic
equivalents starting around version 3.3.9
Below is the commit of that change.
https://gitlab.com/libeigen/eigen/-/commit/1615a2799384a2964d01ba77fe98e3f6fcc412f4

ARB currently bundles an older Eigen (eigen-2.0.16) which predates those
fixes.


Thanks,
Trupti.

#1120614#15
Date:
2025-11-13 10:22:23 UTC
From:
To:
Hi,

I tested the build failure on ppc64el and confirmed it is caused by the
outdated Eigen version(2.0.16) bundled in ARB.

Replacing the bundled Eigen with Eigen 3.4.0 resolves the issue.The
updated version already includes endian-safe Altivec intrinsics that
compile correctly on ppc64el.

I tested a fix by updating the bundled Eigen to version 3.4.0 and
adjusting one source file (`RNACMA/Cma.cxx`) for Eigen3 API
compatibility. The package now resolves the issue of Altivec code on
ppc64el.

A proposed patch is attached for review.

Changes summary:
   • Update HEADERLIBS/Makefile to unpack Eigen 3.4.0.
   • Add HEADERLIBS/eigen to CC_INCLUDES in Makefile.
   • Update RNACMA/Cma.cxx to match Eigen 3 API.


Please review and consider applying this patch.






Note :
After resolving this issue also arb pacakge is FTBFS on ppc64el with
different errors. Which will be taken care by  bug number (#1114476).

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114476 bug report.


Thanks,
Trupti.

#1120614#22
Date:
2025-12-17 14:28:50 UTC
From:
To:
Hello,

Did you get a chance to look into this fix ?

#1120614#25
Date:
2026-10-23 09:18:00 UTC
From:
To:
Hello,

Bug #1120614 in arb reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/med-team/arb/-/commit/d657a1b0b596db4d45bd1ba8a449b0276381d321

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1120614

#1120614#32
Date:
2026-10-23 10:20:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
arb, 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 1120614@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated arb 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: Fri, 23 Oct 2026 11:56:22 +0200
Source: arb
Binary: arb arb-common arb-dbgsym arb-doc libarb libarb-dbgsym libarb-dev
Architecture: source all amd64
Version: 7.0+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Description:
 arb        - phylogenetic sequence analysis suite - main program
 arb-common - phylogenetic sequence analysis suite - common files
 arb-doc    - phylogenetic sequence analysis suite - documentation
 libarb     - phylogenetic sequence analysis suite - libraries
 libarb-dev - phylogenetic sequence analysis suite - development files
Closes: 1089541 1100471 1102185 1102816 1114476 1120614 1137377
Changes:
 arb (7.0+ds-1) unstable; urgency=medium
 .
   [ Charles Plessy ]
   * Add perl-xs-dev to Build-Depends. Closes: #1102816
   * Standards-Version: 4.7.4 (routine-update)
   * debhelper-compat 13 (routine-update)
   * Reflow Uploaders field (cme)
   * Remove Priority field (cme)
   * Drop 'Rules-Requires-Root: no' from d/control (routine-update)
   * Reorder Files paragraphs in debian/copyright by directory depth.
   * Run debconf-updatepo after template changes.
 .
   [ Andreas Tille ]
   * New upstream version
     Closes: #1114476, #1089541
   * d/watch: version=5
   * Reformat the Last-Update date as ISO YYYY-MM-DD.
   * debputy lint --auto-fix (routine-update)
   * Adapt patches to the new upstream version:
     - Drop 10, 20, 30 and 40, which were applied upstream.
     - Refresh the remaining patches for the new source layout.
     - Add 120 to disable GCC 16 vectorization checks.
     - Add 130 to build bundled RAxML/SATIVA sources as C17.
     - Add 140 to strip the C standard from the 'nostd' compatibility build.
   * Add libboost-dev and libxerces-c-dev to Build-Depends.
   * d/rules: build C sources as C17 and use dh_missing for compat 14.
   * Build RNACMA against system libeigen3 instead of bundled Eigen
     Closes: #1120614
   * Remove code copy of eigen from upstream source
   * Remove unused lintian-overrides
   * Make sure all files are installed and drop list-missing
 .
   [ Camaleón ]
   * Update Spanish debconf translation
     Closes: #1100471
 .
   [ Carles Pina i Estany ]
   * Update/add debconf template translation [INTL:ca]
     Closes: #1102185
 .
   [ Remus-Gabriel Chelu ]
   * Romanian translation of arb debconf template
     Closes: #1137377
Checksums-Sha1:
 e517cd56d27f94ffcf300a7b15997b722d5dacc4 2519 arb_7.0+ds-1.dsc
 5f28892d491689e1ee555d498a4bf698c08f05aa 19958400 arb_7.0+ds.orig.tar.xz
 aa43e0fed12f96c910933ae1a79505025ec502dc 123612 arb_7.0+ds-1.debian.tar.xz
 350cd8071e31d892238e47f6ce70d47b5634fdd7 3665808 arb-common_7.0+ds-1_all.deb
 c5a9050456b502816a5b1f1ab13425d472cb72dc 28899832 arb-dbgsym_7.0+ds-1_amd64.deb
 f6aa734f0a74e86c13b8a62e1b875c3d10a73931 332788 arb-doc_7.0+ds-1_all.deb
 c444ebd0132322ac9fe37807e5d44be62229a7ea 13743 arb_7.0+ds-1_amd64.buildinfo
 7e1e6445e6ee25879062463733b889dbfb033e2b 3588584 arb_7.0+ds-1_amd64.deb
 2f110eeb7aafefd1d195f9950afb973107de1e96 6222872 libarb-dbgsym_7.0+ds-1_amd64.deb
 d3ccd33fab62608bb56d9eefa73fc0542946282c 949768 libarb-dev_7.0+ds-1_amd64.deb
 b1b405775262ee7b35287baa1d11eba87add1c28 755740 libarb_7.0+ds-1_amd64.deb
Checksums-Sha256:
 b1d36b7eebcaa1e11743253a5b32a85d44228ed2605fdb99254a133907121356 2519 arb_7.0+ds-1.dsc
 60d99d7edaa43cb57c79e6ebc3d526e03836b2683ce34cf5155f5e3362c5c09d 19958400 arb_7.0+ds.orig.tar.xz
 9532731ee2e47c1fda97ded941611030e4a4464d09b665c4bde9b5f037455a49 123612 arb_7.0+ds-1.debian.tar.xz
 49851da202a9a950cab0c54d296b087c4fb78bf5292ab0aa1aa3bb1b1c7f5808 3665808 arb-common_7.0+ds-1_all.deb
 c0f24227ccb8f23ed4653a94d0ebe739b9c0b13bee0f07ce391ca9456922b661 28899832 arb-dbgsym_7.0+ds-1_amd64.deb
 6add15cd02bf2461572e16932e1061f4dfa906639dbc156d36e7f1ce8a92bf94 332788 arb-doc_7.0+ds-1_all.deb
 cdb4d41d6aa67f1ae2d294967cc57056441a7322f12895be2de30231e00b5162 13743 arb_7.0+ds-1_amd64.buildinfo
 191863680edd3a067a3d0fcf09a01065954525723a6d69950f300ea058814e6b 3588584 arb_7.0+ds-1_amd64.deb
 0f3ecb2840d1a4acc0b485b28cad05085de09b33711690ecc1f4de0fcd610146 6222872 libarb-dbgsym_7.0+ds-1_amd64.deb
 9312c34af9cc49a9b10ecbc3aaae2be0d27cd22830f6278068f83ee8fdb6e3ba 949768 libarb-dev_7.0+ds-1_amd64.deb
 6d8e7604a3146a84471c9edde8a8cd30cbb4978db74c4ca292a9fe60710cee8a 755740 libarb_7.0+ds-1_amd64.deb
Files:
 e24457702739fffc19f8b96a14f163df 2519 non-free/science optional arb_7.0+ds-1.dsc
 9cc92d4f6c44502f7101302bf97a63d2 19958400 non-free/science optional arb_7.0+ds.orig.tar.xz
 c9960374efba49807f308ee256fdf265 123612 non-free/science optional arb_7.0+ds-1.debian.tar.xz
 d909d6a71f8f278d450be1cf54120c90 3665808 non-free/science optional arb-common_7.0+ds-1_all.deb
 99159c1159f775b53d8a2df82ce1b394 28899832 non-free/debug optional arb-dbgsym_7.0+ds-1_amd64.deb
 65ba687f37b15f54ed5fa33b4ee57a71 332788 non-free/doc optional arb-doc_7.0+ds-1_all.deb
 1b21ddae05849520175fbc5667a1ecd0 13743 non-free/science optional arb_7.0+ds-1_amd64.buildinfo
 1955849bd90434eace34cc2cf22e2f99 3588584 non-free/science optional arb_7.0+ds-1_amd64.deb
 00434cd8e01c03faf84ac241373f7fa1 6222872 non-free/debug optional libarb-dbgsym_7.0+ds-1_amd64.deb
 b3136044bdcef2752a14712f1c49187a 949768 non-free/libdevel optional libarb-dev_7.0+ds-1_amd64.deb
 3f4760337679e86bb68d1f6d801e6c61 755740 non-free/science optional libarb_7.0+ds-1_amd64.deb
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmrbMh8RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtGlkw/+Ibs0gS3nXLTOyVQ+SS1B9/91SF4cu5y+
iXWdymIQtctdcfR+yDlpj+K7YrxFvof4OVRzyQqCqMRpPL7kPpQM/oJtaqOT+85y
8p5nW0VN25mMOVn5gjOje3PQeWGBtSWLbdT8diL+gAvQp6x3q5mMJLn2TKEghenF
GtPvBCvn1tQS6Ro/Se0gZ+QYWtzYpQx4tNQP19lqRwIv4Z2RTFjyTQRmCfEu+UzW
gkL5gpIJp3ASN0X8SKsQaQgbWUftENA2nGO5E2jKgLatLr283KICVnvKuPVn9PEH
aS3w9F0kNTVNvRFDw9B86bznQrhFncPC1C5kFtYnFskpBdgaTXKdZkvm7S/Gfsvr
cqF6msmUy4+ttzFEuJWka5BBPqeJv/Ro+2nh9sv+5HfS2IQRC1gUokXmSZC6bAjo
wBnk084UvUuJMVGL7QviyuK0wiJs4rkSpj8kbFjUhWjuKD5i9W3lMjrQNSpSd1zu
uRqxgTZY+Buh5tzWXKlIXLWn5nobM4aZB6mk7azEACSuPXwfgprqvKUfgqlJxrr8
3TrEC27ZTFZhynNexw6CnzXUQwf8XKYYgI9HBAMBhu9XQ0ApDm/e1ecUBmRvjjQA
YbQQ36yo/3VoOClMkzhMK4scH6LCugf+oUT8JqNpfDqYd80TmNze/HACU95vjrXd
Opg9/IEFZwc=
=YQKm
-----END PGP SIGNATURE-----