Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 764566

Summary: dev-python/pynest2d-4.8.0 build fails with dev-libs/boost-1.75.0
Product: Gentoo Linux Reporter: Alexey Kharlamov <derlafff>
Component: Current packagesAssignee: 3D Printing Team <3dprint>
Severity: normal CC: gentoo, holgersson
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 763201    
Attachments: first 500 lines of the build log
emerge --info '=dev-python/pynest2d-4.8.0::gentoo'
ebuild adopting upstream's PR
ebuild adopting upstream's PR

Description Alexey Kharlamov 2021-01-09 10:26:29 UTC
Steps to reproduce:

1. emerge =dev-libs/boost-1.75.0

2. emerge dev-python/pynest2d 

3. Get the build error.

From what I can see, some features were moved from boost to the standard library. Therefore, something like `-D BUILD_ENABLE_CXX_STD=C++14` in cmake flags is now required in pynest2d ebuild.
Comment 1 Alexey Kharlamov 2021-01-09 10:28:03 UTC
Created attachment 682063 [details]
first 500 lines of the build log
Comment 2 Alexey Kharlamov 2021-01-09 10:28:45 UTC
Created attachment 682066 [details]
emerge --info '=dev-python/pynest2d-4.8.0::gentoo'
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-09 10:37:40 UTC
(In reply to Alexey Kharlamov from comment #1)
> Created attachment 682063 [details]
> first 500 lines of the build log

Can you attach the full log, compressed with e.g. xz? (No tar required).
Comment 4 Alexey Kharlamov 2021-01-09 10:41:24 UTC
Created attachment 682069 [details]
Comment 5 Nils Freydank 2021-02-02 11:40:48 UTC
Created attachment 685554 [details]
ebuild adopting upstream's PR


manually sed'ing as a workaround works on my machine.
On the fly I added python support for 3.9 (not tested,
but Archlinux ships it[1] and uses python 3.9 as their
default implementation[2]) and set the patch name to ${PN}-4.8.0
so the patch might work for future ebuild versions, too (if necessary).

Comment 6 Nils Freydank 2021-02-02 11:42:55 UTC
Created attachment 685557 [details]
ebuild adopting upstream's PR

It's already 2021!
Comment 7 James 2021-02-12 03:30:28 UTC
(In reply to Nils Freydank from comment #6)
> Created attachment 685557 [details]
> ebuild adopting upstream's PR
> It's already 2021!

Built for me!  Thanks!
Comment 8 Larry the Git Cow gentoo-dev 2021-03-08 05:34:41 UTC
The bug has been closed via the following commit(s):

commit 93513177830f770fb90e7978089d64df94553bff
Author:     Dennis Lamm <>
AuthorDate: 2021-03-07 20:00:17 +0000
Commit:     Dennis Lamm <>
CommitDate: 2021-03-08 05:34:25 +0000

    dev-python/pynest2d: boost 1.75 compatibility
    Signed-off-by: Dennis Lamm <>
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Dennis Lamm <>

 .../files/pynest2d-4.8.0-fix-cpp-version.patch     | 11 ++++++++
 dev-python/pynest2d/pynest2d-4.8.0-r1.ebuild       | 30 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)