GNU bug report logs -
#72040
[core-updates] libetonyek link failure
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Wed, 10 Jul 2024 17:34:01 UTC
Severity: normal
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72040 in the body.
You can then email your comments to 72040 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#72040
; Package
guix
.
(Wed, 10 Jul 2024 17:34:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Famulari <leo <at> famulari.name>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 10 Jul 2024 17:34:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On core-updates commit 736939037346, libetonyek fails to build like
this (sorry in advance for the looooong lines, full log attached):
------
CXXLD libetonyek-0.1.la ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256
.hpp:43: multiple definition of `boost::phoenix::placeholders::uarg10'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:43: first defined here ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256
.hpp:40: multiple definition of `boost::phoenix::placeholders::uarg9'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:40: first defined here ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256
.hpp:37: multiple definition of `boost::phoenix::placeholders::uarg8'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:37: first defined here ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256
.hpp:34: multiple definition of `boost::phoenix::placeholders::uarg7'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:34: first defined here ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256
.hpp:31: multiple definition of `boost::phoenix::placeholders::uarg6'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.
83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:31: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256
.hpp:28: multiple definition of `boost::phoenix::placeholders::uarg5'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.
83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:28: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256
.hpp:25: multiple definition of `boost::phoenix::placeholders::uarg4'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.
83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:25: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256
.hpp:22: multiple definition of `boost::phoenix::placeholders::uarg3'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.
83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:22: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256
.hpp:19: multiple definition of `boost::phoenix::placeholders::uarg2'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.
83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:19: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1DivElement.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256
.hpp:16: multiple definition of `boost::phoenix::placeholders::uarg1'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.
83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:16: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/loca
l_256.hpp:43: multiple definition of `boost::phoenix::placeholders::uarg10'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-bo
ost-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:43: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/loca
l_256.hpp:40: multiple definition of `boost::phoenix::placeholders::uarg9'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boo
st-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:40: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/loca
l_256.hpp:37: multiple definition of `boost::phoenix::placeholders::uarg8'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boo
st-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:37: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/loca
l_256.hpp:34: multiple definition of `boost::phoenix::placeholders::uarg7'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boo
st-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:34: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/loca
l_256.hpp:31: multiple definition of `boost::phoenix::placeholders::uarg6'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boo
st-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:31: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/loca
l_256.hpp:28: multiple definition of `boost::phoenix::placeholders::uarg5'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boo
st-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:28: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/loca
l_256.hpp:25: multiple definition of `boost::phoenix::placeholders::uarg4'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boo
st-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:25: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/loca
l_256.hpp:22: multiple definition of `boost::phoenix::placeholders::uarg3'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boo
st-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:22: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/loca
l_256.hpp:19: multiple definition of `boost::phoenix::placeholders::uarg2'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boo
st-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:19: first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boost-1.83.0/include/boost/preprocessor/iteration/detail/limits/loca
l_256.hpp:16: multiple definition of `boost::phoenix::placeholders::uarg1'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):/gnu/store/3x98sgvvn7nagmkapva3yjr28v971wvq-boo
st-1.83.0/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:16: first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1130: libetonyek-0.1.la] Error 1
make[4]: Leaving directory '/tmp/guix-build-libetonyek-0.1.10.drv-0/libetonyek-0.1.10/src/lib'
make[3]: *** [Makefile:1047: all] Error 2
make[3]: Leaving directory '/tmp/guix-build-libetonyek-0.1.10.drv-0/libetonyek-0.1.10/src/lib'
make[2]: *** [Makefile:402: all-recursive] Error 1
make[2]: Leaving directory '/tmp/guix-build-libetonyek-0.1.10.drv-0/libetonyek-0.1.10/src'
make[1]: *** [Makefile:510: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-libetonyek-0.1.10.drv-0/libetonyek-0.1.10'
make: *** [Makefile:421: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "1") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 286.1 seconds
------
Any ideas?
[wihshbiv8bvidnycx0g9amka22h6j1-libetonyek-0.1.10.drv.gz (application/x-gunzip, attachment)]
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72040
; Package
guix
.
(Thu, 11 Jul 2024 16:02:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 72040 <at> debbugs.gnu.org (full text, mbox):
I think this upstream report (closed without resolution) describes the
problem:
https://bugs.documentfoundation.org/show_bug.cgi?id=152569
Boost 1.81 (and presumably 1.83, which we have on core-updates) is not
compatible with the libetonyek code.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72040
; Package
guix
.
(Thu, 11 Jul 2024 16:42:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 72040 <at> debbugs.gnu.org (full text, mbox):
On Thu, Jul 11, 2024 at 12:00:56PM -0400, Leo Famulari wrote:
> I think this upstream report (closed without resolution) describes the
> problem:
>
> https://bugs.documentfoundation.org/show_bug.cgi?id=152569
I sent a report to the mailing list where build failures are supposed to
be reported:
https://lists.freedesktop.org/archives/libreoffice/2024-July/thread.html
It hasn't shown up yet, presumably being hold for moderation. I'll link
to it here when it appears.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72040
; Package
guix
.
(Thu, 11 Jul 2024 19:16:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 72040 <at> debbugs.gnu.org (full text, mbox):
I found the bug report, which is for Boost:
https://github.com/boostorg/phoenix/issues/111
Basically, versions 1.81 through 1.83 exhibit this defect.
I'm testing a patch for Boost now. It will cause a huge number of
rebuilds, so it would be great to come up with another approach.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72040
; Package
guix
.
(Thu, 11 Jul 2024 20:24:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 72040 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Jul 11, 2024 at 03:15:27PM -0400, Leo Famulari wrote:
> I'm testing a patch for Boost now. It will cause a huge number of
> rebuilds, so it would be great to come up with another approach.
Here's a patch that patches Boost, while also creating a hidden package
boost-for-source-highlight. This variant is only used by the
source-highlight package, which is used by gdb, and thus rust. So, it
aims to avoid rebuilding everything rust.
I'm testing it now.
Any thoughts?
[0001-WIP-Boost-Fix-a-bug-that-breaks-libetonyek.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72040
; Package
guix
.
(Sat, 13 Jul 2024 17:40:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 72040 <at> debbugs.gnu.org (full text, mbox):
On Thu, Jul 11, 2024 at 04:23:09PM -0400, Leo Famulari wrote:
> Here's a patch that patches Boost, while also creating a hidden package
> boost-for-source-highlight. This variant is only used by the
> source-highlight package, which is used by gdb, and thus rust. So, it
> aims to avoid rebuilding everything rust.
Here's an updated patchset that builds on the previous patch.
It patches Boost to fix the bug, creates the Boost variant for
source-highlight / gdb / Rust, and then finally fixes a missing
dependency failure in Libreoffice.
It does cause several thousand rebuilds (5933 rebuilds), but much fewer than if we did
not avoid changing the source-highlight derivation (15383 rebuilds).
There is some discussion on the Libreoffice mailing list, but so far
it's inconclusive from my perspective. But if I understand correctly,
their recommended solution would be to create a source origin of
Boost >=1.84, copy that into the Libreoffice and libetonyek source
trees, and build the programs against that "internal" Boost. I'm not
sure that's better than simply updating Boost.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#72040
; Package
guix
.
(Sat, 13 Jul 2024 17:41:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 72040 <at> debbugs.gnu.org (full text, mbox):
On Sat, Jul 13, 2024 at 01:39:21PM -0400, Leo Famulari wrote:
> There is some discussion on the Libreoffice mailing list, but so far
> it's inconclusive from my perspective. But if I understand correctly,
> their recommended solution would be to create a source origin of
> Boost >=1.84, copy that into the Libreoffice and libetonyek source
> trees, and build the programs against that "internal" Boost. I'm not
> sure that's better than simply updating Boost.
I forgot, here is the link to the discussion on their mailing list:
https://lists.freedesktop.org/archives/libreoffice/2024-July/092177.html
Reply sent
to
Leo Famulari <leo <at> famulari.name>
:
You have taken responsibility.
(Wed, 24 Jul 2024 21:49:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Leo Famulari <leo <at> famulari.name>
:
bug acknowledged by developer.
(Wed, 24 Jul 2024 21:49:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 72040-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Jul 11, 2024 at 04:23:09PM -0400, Leo Famulari wrote:
> Subject: [PATCH] WIP: Boost: Fix a bug that breaks libetonyek.
>
> This fixes <https://issues.guix.gnu.org/72040>
>
> * gnu/packages/patches/boost-fix-duplicate-definitions-bug.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.
> * gnu/packages/boost.scm (boost)[source]: Use it.
> (boost-for-source-highlight): New variable, not using the patch.
> * gnu/packages/pretty-print.scm (source-highlight)[inputs]: Replace BOOST with
> BOOST-FOR-SOURCE-HIGHLIGHT.
Pushed as 1ab3e3b26fdc43d48826119d4f51379571dd89b6 along with a followup
patch that fixes another problem with Libreoffice. With these changes,
we have Libreoffice on core-updates.
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 22 Aug 2024 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.