GNU bug report logs - #33605
"Boost 1.68.0 seems to require C++14 for libboost_system"

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Tue, 4 Dec 2018 00:29:02 UTC

Severity: normal

Merged with 33610

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 33605 in the body.
You can then email your comments to 33605 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#33605; Package guix. (Tue, 04 Dec 2018 00:29: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. (Tue, 04 Dec 2018 00:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: ncmpcpp fails to build with Boost 1.68.0
Date: Mon, 3 Dec 2018 19:27:46 -0500
[Message part 1 (text/plain, inline)]
Since the core-updates merge, ncmpcpp is failing to build during its
configure phase:

------
starting phase `configure'
source directory: "/tmp/guix-build-ncmpcpp-0.8.2.drv-0/ncmpcpp-0.8.2" (relative from build: ".")
build directory: "/tmp/guix-build-ncmpcpp-0.8.2.drv-0/ncmpcpp-0.8.2"
configure flags: ("CONFIG_SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash" "SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash" "--prefix=/gnu/store/anhg2l53c15ipiwnvbcg7rjfdg1ml68q-ncmpcpp-0.8.2" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "LIBS=-L/gnu/store/k8djbb701a48k310kpkf3vpic4d1jyz5-boost-1.68.0/lib -lboost" "CFLAGS=-I/gnu/store/k8djbb701a48k310kpkf3vpic4d1jyz5-boost-1.68.0/include")
checking for a BSD-compatible install... /gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... no
configure: error: in `/tmp/guix-build-ncmpcpp-0.8.2.drv-0/ncmpcpp-0.8.2':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
Backtrace:
           4 (primitive-load "/gnu/store/yrxl18dp9j89iz0013f7x9jva02…")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
   863:16  2 (every1 #<procedure 73a8a0 at /gnu/store/gfprsx2m62cvq…> …)
In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/gnu-build-system.scm:
   799:28  1 (_ _)
In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash" arguments: ("./configure" "CONFIG_SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash" "SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash" "--prefix=/gnu/store/anhg2l53c15ipiwnvbcg7rjfdg1ml68q-ncmpcpp-0.8.2" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "LIBS=-L/gnu/store/k8djbb701a48k310kpkf3vpic4d1jyz5-boost-1.68.0/lib -lboost" "CFLAGS=-I/gnu/store/k8djbb701a48k310kpkf3vpic4d1jyz5-boost-1.68.0/include") exit-status: 77 term-signal: #f stop-signal: #f] 491fc0>)'.
builder for `/gnu/store/xnypbkav5wnqnjh8dxslcw6a2f8m6pmf-ncmpcpp-0.8.2.drv' failed with exit code 1
build of /gnu/store/xnypbkav5wnqnjh8dxslcw6a2f8m6pmf-ncmpcpp-0.8.2.drv failed
------

I assume the failure is related to the Boost upgrade from 1.66.0 to
1.68.0, but I haven't confirmed that yet.
[signature.asc (application/pgp-signature, inline)]

Merged 33605 33610. Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Tue, 04 Dec 2018 21:40:02 GMT) Full text and rfc822 format available.

Changed bug title to '"Boost 1.68.0 seems to require C++14 for libboost_system"' from 'ncmpcpp fails to build with Boost 1.68.0' Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Tue, 04 Dec 2018 21:44:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#33605; Package guix. (Tue, 04 Dec 2018 21:46:02 GMT) Full text and rfc822 format available.

Message #12 received at 33605 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: 33605 <at> debbugs.gnu.org
Subject: ncmpcpp and innoextract build when Boost is built with C++14
Date: Tue, 4 Dec 2018 16:45:30 -0500
[Message part 1 (text/plain, inline)]
Building Boost with C++14 fixes the build failures of ncmpcpp and
innoextract. Patch attached.

What should we do?
[0001-gnu-Boost-Build-with-C-14.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33605; Package guix. (Wed, 05 Dec 2018 06:04:01 GMT) Full text and rfc822 format available.

Message #15 received at 33605 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: 33605 <at> debbugs.gnu.org
Subject: Re: Boost 1.68.0 seems to require C++14 for libboost_system
Date: Wed, 5 Dec 2018 01:03:06 -0500
[Message part 1 (text/plain, inline)]
I didn't figure out exactly what is missing from Boost when it is built
without C++14 support, but there is some related discussion on the Boost
mailing list:

https://lists.boost.org/Archives/boost/2016/03/228703.php
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33605; Package guix. (Wed, 05 Dec 2018 15:15:02 GMT) Full text and rfc822 format available.

Message #18 received at 33605 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Leo Famulari <leo <at> famulari.name>, 33605 <at> debbugs.gnu.org
Subject: Re: bug#33605: ncmpcpp and innoextract build when Boost is built with
 C++14
Date: Wed, 05 Dec 2018 16:14:19 +0100
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:

> Building Boost with C++14 fixes the build failures of ncmpcpp and
> innoextract. Patch attached.
>
> What should we do?

Thanks for finding the issue.  I suggest pushing the fix to the
'staging' branch.  We can take the ~1900 rebuilds there.

On a side note, it would be good to enable Python 3 support in Boost
too.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33605; Package guix. (Wed, 05 Dec 2018 19:20:02 GMT) Full text and rfc822 format available.

Message #21 received at 33605 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 33605 <at> debbugs.gnu.org
Subject: Re: bug#33605: ncmpcpp and innoextract build when Boost is built
 with C++14
Date: Wed, 5 Dec 2018 14:18:54 -0500
[Message part 1 (text/plain, inline)]
On Wed, Dec 05, 2018 at 04:14:19PM +0100, Marius Bakke wrote:
> Thanks for finding the issue.  I suggest pushing the fix to the
> 'staging' branch.  We can take the ~1900 rebuilds there.

Done with commit a7ff66998f6e0eeb5da485bab7f6e0b55a46651e.

I'm a little concerned that it may be too disruptive for the staging
branch (things might break), but if that happens we can use a special
boost-cxx14 package for ncmpcpp and innoextract instead. I'll do that on
master now.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sat, 08 Dec 2018 00:48:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Sat, 08 Dec 2018 00:48:02 GMT) Full text and rfc822 format available.

Message #26 received at 33605-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: 33633-done <at> debbugs.gnu.org
Cc: 33605-done <at> debbugs.gnu.org, 33610-done <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add a C++14 variant of Boost for packages that need
 it.
Date: Fri, 7 Dec 2018 19:47:30 -0500
[Message part 1 (text/plain, inline)]
Pushed as b9103c827c605dee32baf62816a0429543b3e451
[signature.asc (application/pgp-signature, inline)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sat, 08 Dec 2018 00:48:02 GMT) Full text and rfc822 format available.

Notification sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
bug acknowledged by developer. (Sat, 08 Dec 2018 00:48:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 05 Jan 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.