🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #580

Bug#1150685: marked as done (giac: FTBFS: optimization.cc:1274:9: error: reference to 'bitset' is ambiguous)

#580
From: Debian Bug Tracking System
Date: Wed, 14 Oct 2026 16:40
338 lines
16962 bytes
This is a multi-part message in MIME format...

------------=_1791995822-1855679-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Wed, 14 Oct 2026 16:34:04 +0000
with message-id <E1xH1vY-00000003ShA-2LRg@fasolo.debian.org>
and subject line Bug#1150685: fixed in giac 2.0.0.21+dfsg2-3
has caused the Debian Bug report #1150685,
regarding giac: FTBFS: optimization.cc:1274:9: error: reference to 'bitset'=
 is ambiguous
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 owner@bugs.debian.org
immediately.)


--=20
1150685: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1150685
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1791995822-1855679-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 12 Oct 2026 09:20:53 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-107.4 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
	FROMDEVELOPER,SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST
	autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 58; hammy, 150; neutral, 66; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <sramacher@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:57052)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sramacher@debian.org>)
	id 1xGCDF-00EhJp-2V
	for submit@bugs.debian.org;
	Mon, 12 Oct 2026 09:20:53 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Transfer-Encoding:Content-Type
	:MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=QhvlX8jlQt6CWwRbjF0Pa3cRQwv2zPDvPXrB9ZH/UTo=; b=aNagahqthC0MQ7f21d6suXm1pQ
	LiVaSqwlCMrofnx8C4Invrzeafq5m9fCTxRxF/Puo/Aci6UvjC0tp7Zpxi2lBLcVl9yGEcfqhF2sY
	JaewHs3h3rxcXxn7xqMdMB8VsM8J7tE0YKpV2tCBSdz0tPYlrmj19cHc2FooSxlZ4PPoqBuojESkT
	1cnprjZXYC9HqhW2XFCTwK5hwnByjBIbouBV0TEzpSy31d+8XSAzrXWfP8aDMJjG1hdCzl121OKCk
	+fQhoUR5yTDpZPvOyXEg/mVoN9AsswLvURl735YNTW2JHO/3J3FryqVVLFb8AFRhkQBSCO3ZsZvru
	cKl5Ztbw==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sramacher@debian.org>)
	id 1xGCDD-002kgU-1s
	for submit@bugs.debian.org;
	Mon, 12 Oct 2026 09:20:51 +0000
Received: by rigel.ramacher.at (Postfix, from userid 1000)
	id F30E0C01F67E; Mon, 12 Oct 2026 11:20:45 +0200 (CEST)
Date: Mon, 12 Oct 2026 11:20:45 +0200
From: Sebastian Ramacher <sramacher@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: giac: FTBFS: optimization.cc:1274:9: error: reference to 'bitset' is
 ambiguous
Message-ID: <asymbTxkYrtd6rCY@ramacher.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Reportbug-Version: 13.2.0
X-Debian-User: sramacher
Delivered-To: submit@bugs.debian.org

Source: giac
Version: 2.0.0.21+dfsg2-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org

Dear maintainer,

giac FTBFS:

In file included from gen.h:70:
fraction.h:38:16: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   38 |   Tfraction<T> (const T & n,const T & d) : num(n),den(d) {};
      |                ^
fraction.h:38:16: note: remove the '< >'
fraction.h:39:16: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   39 |   Tfraction<T> (const T & n) : num(n),den(T(1)) {}; // does not work properly??
      |                ^
fraction.h:39:16: note: remove the '< >'
fraction.h:40:16: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   40 |   Tfraction<T> (const Tfraction<T> & f) : num(f.num), den(f.den) {};
      |                ^
fraction.h:40:16: note: remove the '< >'
In file included from gen.h:71:
poly.h:226:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  226 |     Tref_tensor<T>(const tensor<T> & P): ref_count(1),t(P) {}
      |                   ^
poly.h:226:19: note: remove the '< >'
poly.h:227:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  227 |     Tref_tensor<T>(int dim): ref_count(1),t(dim) {}
      |                   ^
poly.h:227:19: note: remove the '< >'
optimization.cc: In function 'void giac::vars_arrangements(matrice, ipdiff::ivectors&, const context*)':
optimization.cc:1274:9: error: reference to 'bitset' is ambiguous
 1274 |         bitset<32> b(k);
      |         ^~~~~~
  • there are 2 candidates
In file included from graphe.h:37,
                 from optimization.cc:25:
    • candidate 1: 'template<long unsigned int _Nb> class std::bitset'
      /usr/include/c++/16/bitset:820:11:
        820 |     class bitset
            |           ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/pari/pari.h:47,
                 from optimization.cc:31:
    • candidate 2: 'void bitset(GEN, long int)'
      /usr/include/x86_64-linux-gnu/pari/paridecl.h:3030:9:
       3030 | void    bitset(GEN x, long n);
            |         ^~~~~~
optimization.cc:1274:20: error: 'b' was not declared in this scope
 1274 |         bitset<32> b(k);
      |                    ^
optimization.cc: In function 'bool giac::find_global_extrema_recursively(const gen&, const vecteur&, const vecteur&, const vecteur&, const vecteur&, const gen_map&, const std::map<int, bool>&, const std::map<int, gen>&, gen&, gen&, vecteur&, vecteur&, const context*)':
optimization.cc:2096:35: warning: using value of assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
 2096 |                 interrupted=ctrl_c=false;
      |                             ~~~~~~^~~~~~
optimization.cc: In member function 'int giac::nlp_problem::ipt_solver::ls_filter_barrier_method(giac::vecteur&, giac::vecteur&, giac::vecteur&, double)':
optimization.cc:5196:35: warning: using value of assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
 5196 |                 ctrl_c=interrupted=false;
      |                        ~~~~~~~~~~~^~~~~~
optimization.cc: In member function 'bool giac::nlp_problem::branch_and_bound(const meth_parm&, const giac::vecteur&, optimum_t&)':
optimization.cc:5728:31: warning: using value of assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
 5728 |             interrupted=ctrl_c=false;
      |                         ~~~~~~^~~~~~
optimization.cc: In member function 'bool giac::nlp_problem::outer_approximation(const meth_parm&, const giac::vecteur&, optimum_t&)':
optimization.cc:5798:31: warning: using value of assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
 5798 |             interrupted=ctrl_c=false;
      |                         ~~~~~~^~~~~~
make[3]: *** [Makefile:984: optimization.lo] Error 1

See
https://buildd.debian.org/status/fetch.php?pkg=giac&arch=amd64&ver=2.0.0.21%2Bdfsg2-2%2Bb1&stamp=1791791084&raw=0
for details.

Cheers
-- 
Sebastian Ramacher

------------=_1791995822-1855679-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1150685-close) by bugs.debian.org; 14 Oct 2026 16:34:08 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-110.7 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_REPLYTO,
	FREEMAIL_REPLYTO_END_DIGIT,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,
	MD5_SHA1_SUM,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 102; hammy, 150; neutral, 120; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:41588)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xH1vc-007mRS-1K
	for 1150685-close@bugs.debian.org;
	Wed, 14 Oct 2026 16:34:08 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xH1va-005ewJ-16
	for 1150685-close@bugs.debian.org;
	Wed, 14 Oct 2026 16:34:06 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=ajbsrXfMpOFddHMPHjuyZOCJFO2+1HhqNiJPwOdMobA=; b=ADumatKcZSdf7YcIEJqSGGopMq
	iDoOAZAXCVVqpGCikhmJfwjNe0mrPx9l4uN1YdBqskA7VyxKstGskZY9D+dzdkmvuxfdf0ncr2qo6
	TenlZBhRU56wUHVsRMEEcz1TUfgCTUYegpBFKt/rkT6T/yC5g3Hk7CaPZ/nyb+Dr7m4a05zVbaSHP
	lL1VGr3sFrnMABnkbazBDTH56OeX/SIvDpSV2I/3XrOU15phIobvy1VS6wiFbeyfjM78pLgKRFCDF
	eaA8ZuzGE2SGo12z0r6exxV5t+g2CiynQKpajzrU6b5vtoxwpmsAROFNEv+6jRzUoUBrFeUDCub/8
	T4469DCw==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xH1vY-00000003ShA-2LRg;
	Wed, 14 Oct 2026 16:34:04 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
To: 1150685-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: giac
Debian: DAK
Debian-Changes: giac_2.0.0.21+dfsg2-3_source.changes
Debian-Source: giac
Debian-Version: 2.0.0.21+dfsg2-3
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1150685: fixed in giac 2.0.0.21+dfsg2-3
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============3466005963470686607=="
Message-Id: <E1xH1vY-00000003ShA-2LRg@fasolo.debian.org>
Date: Wed, 14 Oct 2026 16:34:04 +0000

--===============3466005963470686607==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: giac
Source-Version: 2.0.0.21+dfsg2-3
Done: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>

We believe that the bug you reported is fixed in the latest version of
giac, 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 1150685@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ileana Dumitrescu <ileanadumitrescu95@gmail.com> (supplier of updated giac pa=
ckage)

(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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 14 Oct 2026 18:53:17 +0300
Source: giac
Architecture: source
Version: 2.0.0.21+dfsg2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alio=
th.debian.org>
Changed-By: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
Closes: 1150685
Changes:
 giac (2.0.0.21+dfsg2-3) unstable; urgency=3Dmedium
 .
   * d/patches: Add fix_FTBFS_with_libpari-gmp-tls10.patch to fix ambiguous
     reference to bitset variable type (Closes: #1150685).
Checksums-Sha1:
 32f11e10a2cbcbc2c664f89838897ee9e5643660 3118 giac_2.0.0.21+dfsg2-3.dsc
 fb3e04baf8bbbedfa1d347db4fc163c4bdc52008 28816 giac_2.0.0.21+dfsg2-3.debian.=
tar.xz
 b27cf484ae713e64cdf3e4b0ff2a39403ca5ea8d 17848 giac_2.0.0.21+dfsg2-3_amd64.b=
uildinfo
Checksums-Sha256:
 d38152aa8fbb2c91e623ba4486ee5c94ae2669b896569f187a3535aab0bb063e 3118 giac_2=
.0.0.21+dfsg2-3.dsc
 8446f6e177e07919e8c156b35b8e55b0fd0020c669c53c92875949dd1da7b324 28816 giac_=
2.0.0.21+dfsg2-3.debian.tar.xz
 7d2a48fbcb5453bbef91da674d5b0697671b3156ffda13248af3c002a57eee37 17848 giac_=
2.0.0.21+dfsg2-3_amd64.buildinfo
Files:
 4cd3b05991c3f9a21539fec104141f50 3118 science optional giac_2.0.0.21+dfsg2-3=
.dsc
 a24aa0edc0fe2f79b8744addf4a3709f 28816 science optional giac_2.0.0.21+dfsg2-=
3.debian.tar.xz
 fc5e29f37a4059d4fc60494fea63e0ab 17848 science optional giac_2.0.0.21+dfsg2-=
3_amd64.buildinfo

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

iQIzBAEBCgAdFiEE+ibKeEvhiJJ/IrmfZXDqARRvc1QFAmrPqkIACgkQZXDqARRv
c1RgzRAAgdUZzSczp399/wIcLCJQKQyBDcxJe6LYBc8EGxDLOPde1t66Jle2YUwN
m58zBDzBYlsh/B+moGkYiGrOQeUJGJCtMC4go57LGkscSo/TjwR3axINAMHuZ5h0
E+Y6aEfMT4/hD4W5Nx8Mm0OQC/QYJ//SOFtmvQiPfjc4a0MndQlZPCVNrnnFioOD
PO5Q3pYWQBKP9qSdKjsDmBC+oytSDpMjfYQkLP7y4Jz+UlYlLIMuXodd3Z3uanbz
qx0kPXf9qzD7NXYL/JNs8daWvTLZ8tIEzVrwDv4+NSoUIdpsLhK/8VvvDzG0+Smh
MMkDA3nKl8KjZ7mWi/0B26Vgq5Y04ULDOsdt4q9w7hv/m4Ef8hLjOPL2If9QKDEY
H7w1auTzIxZnkdxRbjuW4eBI6s/aDMHyyyKB0cR6duXzHcWcjTl1ph7F6BvpIArj
9XOl1ja8dCYA/SvHttwdm8S4KJnu9WIuAELrO/MR12ppPo1CgGon6DobSJYBLxwT
cQ1ugfx5VLZ1ftynjtFAT8lcPLQomZS8PZ7n3u983C+HW0VRb3ArDSgbOAB4JAyZ
qemHCECVp0WPP0ovvcpJ7pt0mLMoTlY6FTltGwMYoj2qKIrglsPqGysoDNmGHlPC
asDk+z0yV/ARJGNPjX+cxjspdI1z0EgGDU1ETKIjTHc+BncffwU=3D
=3De9/1
-----END PGP SIGNATURE-----


--===============3466005963470686607==
Content-Type: application/pgp-signature

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

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCas+u/AAKCRCb9qggYcy5
IZOTAQDmZ77PxmccAwnBQl8t5zrb/1r7hzio6239uf0ec8q+2QEAuQmZQiZqTyjK
Peqd85WBOmoNPxp4BH+lrFgc8xCz4g0=
=vBG+
-----END PGP SIGNATURE-----

--===============3466005963470686607==--
------------=_1791995822-1855679-0--
Technical Details
Message-ID: <NOabf-5urN-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NOabf-5urN-3@gated-at.bofh.it> <NNkw1-533n-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Debian Bug Tracking System" <owner@bugs.debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1150685: marked as done (giac: FTBFS: optimization.cc:1274:9:  error: reference to 'bitset' is ambiguous)
Date: Wed, 14 Oct 2026 18:40:01 +0200
Message-ID: <NOabf-5urN-1@gated-at.bofh.it>
References: <NOabf-5urN-3@gated-at.bofh.it> <NNkw1-533n-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Wed Oct 14 16:37:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -2
MIME-Version: 1.0
X-Mailer: MIME-tools 5.510 (Entity 5.510)
X-Debian-Pr-Message: closed 1150685
X-Debian-Pr-Package: src:giac
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: giac
Reply-To: 1150685@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1791995822-1855679-0"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834517
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 338
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 14 Oct 2026 16:37:02 +0000
X-Original-Message-ID: <handler.1150685.D1150685.17919956481854544.ackdone@bugs.debian.org>
X-Original-References: <E1xH1vY-00000003ShA-2LRg@fasolo.debian.org>
 <asymbTxkYrtd6rCY@ramacher.at>