| Summary: | games-fps/gzdoom-4.2.1 : virtmem.cpp:(.text+<snip>): undefined reference to shm_open | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | William Breathitt Gray <vilhelm.gray> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | games, proxy-maint |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 games-fps:gzdoom-4.2.1:20190920-004401.log.bz2 logs.tbz2 temp.tbz2 Patch against gzdoom |
||
|
Description
Toralf Förster
2019-09-20 14:40:15 UTC
Created attachment 590404 [details]
emerge-info.txt
Created attachment 590406 [details]
emerge-history.txt
Created attachment 590408 [details]
environment
Created attachment 590410 [details]
etc.portage.tbz2
Created attachment 590412 [details]
games-fps:gzdoom-4.2.1:20190920-004401.log.bz2
Created attachment 590414 [details]
logs.tbz2
Created attachment 590416 [details]
temp.tbz2
*** Bug 695196 has been marked as a duplicate of this bug. *** I'm not able to reproduce this but I think it may be due to the linking order. Could you try this again but when it fails, rerun the failing command manually, moving -lrt to after libraries/asmjit/libasmjit.a in the list. (In reply to James Le Cuirot from comment #9) > I'm not able to reproduce this but I think it may be due to the linking > order. Could you try this again but when it fails, rerun the failing command > manually, moving -lrt to after libraries/asmjit/libasmjit.a in the list. After configure phase adding that change to /var/tmp/portage/games-fps/gzdoom-4.2.1/work/gzdoom-4.2.1_build/build.ninja works. How to change that in the source as normal patch or sed before configure? I'm having trouble recreating this error as well. It seems like something wrong with the GZDoom CMake configuration. Are you able to verify whether the same error occurs with the vanilla GZDoom 4.2.1 release (https://github.com/coelckers/gzdoom/archive/g4.2.1.tar.gz) without the Gentoo patches. That should let us know if the problem is something that needs to be fixed upstream. It's okay, I understand the problem. The linking order is wrong and I'll prepare a patch when I get a minute. Whether it affects you or not probably depends on USE flags but not necessarily against this package. Created attachment 591134 [details, diff]
Patch against gzdoom
Please try this patch before I send it upstream.
Ping? I really don't want to send this upstream if I'm not sure whether it helps. (In reply to James Le Cuirot from comment #13) > Created attachment 591134 [details, diff] [details, diff] > Patch against gzdoom > > Please try this patch before I send it upstream. works The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3faf4a588314618d2747164741de1918205ffbf3 commit 3faf4a588314618d2747164741de1918205ffbf3 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2019-10-24 20:36:30 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2019-10-24 20:36:30 +0000 games-fps/gzdoom: Version bump to 4.2.3 The shm_open issue with libasmjit has gone away, at least temporarily, because upstream have reverted to an older version that doesn't use librt. Closes: https://bugs.gentoo.org/695192 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: James Le Cuirot <chewi@gentoo.org> games-fps/gzdoom/Manifest | 2 +- .../gzdoom-4.2.1-Introduce-the-BUILD_NONFREE-option.patch | 15 +++++++-------- .../gzdoom/{gzdoom-4.2.1.ebuild => gzdoom-4.2.3.ebuild} | 5 +++-- 3 files changed, 11 insertions(+), 11 deletions(-) |