Summary: | dev-util/anjuta[vala]: fails to compile (configure: error: Failed to find library with shm_open()) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gitlab.gnome.org/GNOME/anjuta/-/issues/30 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732648 | ||
Attachments: |
build.log
config.log workaround-avoid-ac-lang-cxx.patch |
Description
Sam James
2021-10-09 02:34:59 UTC
Created attachment 743931 [details]
config.log
Created attachment 743934 [details, diff]
workaround-avoid-ac-lang-cxx.patch
Can work around it for now by not forcing C++ for the configure tests.
The only difference between 2.69 and 2.71 seemed to be in the generated test program. First test program with 2.69: >[...] >/* Override any GCC internal prototype to avoid an error. > Use char because int might match the return type of a GCC > builtin and then its argument prototype would still apply. */ > char shm_open (); > int > main (void) > { > return shm_open (); > ; > return 0; > } Second test program with 2.69: >[...] >/* Override any GCC internal prototype to avoid an error. > Use char because int might match the return type of a GCC > builtin and then its argument prototype would still apply. */ > #ifdef __cplusplus > extern "C" > #endif > char shm_open (); > int > main () > { > return shm_open (); > ; > return 0; > } But for 2.71, the second program is the same as the first, so it ends up failing again. Interestingly the command line for buiilding it works with gcc, but not g++. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db644f137ae072d45063aec1471731439b841af commit 7db644f137ae072d45063aec1471731439b841af Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-04-03 02:16:29 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-04-03 04:26:44 +0000 dev-util/anjuta: EAPI 8 - drop stable keywords - Add new vala support - Fix autoconf-2.70 support (bug #817017) Closes: https://bugs.gentoo.org/817017 Signed-off-by: Matt Turner <mattst88@gentoo.org> ...njuta-3.34.0.ebuild => anjuta-3.34.0-r1.ebuild} | 30 ++--- .../anjuta/files/3.34.0-Add-new-vala-support.patch | 132 +++++++++++++++++++++ dev-util/anjuta/files/3.34.0-autoconf-2.70.patch | 15 +++ .../anjuta/files/3.34.0-prefer-newer-vala.patch | 15 +++ 4 files changed, 177 insertions(+), 15 deletions(-) |