Summary: | app-misc/lcd4linux-0.11.0_pre20170527-r8 - [perl-5.40] [ncurses-6.5] [icu-75.1] evaluator.c: error: expected declaration specifiers or before string constant | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Conrad Kostecki <conikost> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | conikost, parona, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 911592, 932474 | ||
Attachments: |
emerge-info.txt
app-misc:lcd4linux-0.11.0_pre20170527-r8:20240619-062804.log emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 896066 [details]
emerge-info.txt
Created attachment 896067 [details]
app-misc:lcd4linux-0.11.0_pre20170527-r8:20240619-062804.log
Created attachment 896068 [details]
emerge-history.txt
Created attachment 896069 [details]
environment
Created attachment 896070 [details]
etc.clang.tar.xz
Created attachment 896071 [details]
etc.portage.tar.xz
Created attachment 896072 [details]
logs.tar.xz
Created attachment 896073 [details]
qlist-info.txt.xz
Created attachment 896074 [details]
temp.tar.xz
@sam: Could you help me here? Of course - I'll take a look. > checking for strndup... no
But we do have strndup.
In toralf's config.log:
```
configure:20464: checking for strndup
configure:20464: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -g conftest.c -lm -ldmalloc >&5
conftest.c:114:6: warning: conflicting types for built-in function 'strndup'; expected 'char *(const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch]
114 | char strndup (void);
| ^~~~~~~
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: conftest: hidden symbol `atexit' in /usr/lib64/libc_nonshared.a(atexit.oS) is referenced by DSO
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
configure:20464: $? = 1
configure: failed program was:
| /* confdefs.h */
```
!!!
Ah, wait, it's from dmalloc shenanigans, I think. Honestly, just mask USE=dmalloc. The ebuild requires tonnes of patches to make it work and it's clearly broken and breaking other packages (like this).
(In reply to Sam James from comment #12) > Ah, wait, it's from dmalloc shenanigans, I think. Honestly, just mask > USE=dmalloc. The ebuild requires tonnes of patches to make it work and it's > clearly broken and breaking other packages (like this). Thank you. Any objections even just to drop it? I don't think, that it's worth keeping it even masked. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c078e3d548eaf5175fdcacbbda9002560c476e4f commit c078e3d548eaf5175fdcacbbda9002560c476e4f Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2024-07-19 23:59:33 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2024-07-20 00:00:36 +0000 app-misc/lcd4linux: drop dmalloc Completly broken and not needed anyway.. Closes: https://bugs.gentoo.org/934534 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> ...0_pre20170527-r8.ebuild => lcd4linux-0.11.0_pre20170527-r9.ebuild} | 4 +--- app-misc/lcd4linux/metadata.xml | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) |