Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764566 - dev-python/pynest2d-4.8.0 build fails with dev-libs/boost-1.75.0
Summary: dev-python/pynest2d-4.8.0 build fails with dev-libs/boost-1.75.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: 3D Printing Team
URL: https://github.com/Ultimaker/pynest2d...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.76
  Show dependency tree
 
Reported: 2021-01-09 10:26 UTC by Alexey Kharlamov
Modified: 2021-03-08 05:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
first 500 lines of the build log (build-log-short.txt,38.37 KB, text/plain)
2021-01-09 10:28 UTC, Alexey Kharlamov
Details
emerge --info '=dev-python/pynest2d-4.8.0::gentoo' (info.txt,6.70 KB, text/plain)
2021-01-09 10:28 UTC, Alexey Kharlamov
Details
build.log.xz (build.log.xz,22.00 KB, application/x-xz)
2021-01-09 10:41 UTC, Alexey Kharlamov
Details
ebuild adopting upstream's PR (pynest2d-4.8.0.ebuild,1.00 KB, text/plain)
2021-02-02 11:40 UTC, Nils Freydank
Details
ebuild adopting upstream's PR (pynest2d-4.8.0.ebuild,1.00 KB, text/plain)
2021-02-02 11:42 UTC, Nils Freydank
Details

Note You need to log in before you can comment on or make changes to this bug.
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]
build.log.xz
Comment 5 Nils Freydank 2021-02-02 11:40:48 UTC
Created attachment 685554 [details]
ebuild adopting upstream's PR

Hi,

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

[1] https://archlinux.org/packages/community/x86_64/python-pynest2d/
[2] https://archlinux.org/packages/extra/x86_64/python/
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93513177830f770fb90e7978089d64df94553bff

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

    dev-python/pynest2d: boost 1.75 compatibility
    
    Closes: https://bugs.gentoo.org/764566
    Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>

 .../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(+)