Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715458 - x11-plugins/wmpinboard-1.0.1 : memcmp.h: error: expected =, ,, ;, asm or _attribute_ before _P
Summary: x11-plugins/wmpinboard-1.0.1 : memcmp.h: error: expected =, ,, ;, asm or _att...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-30 15:01 UTC by Toralf Förster
Modified: 2023-03-14 20:59 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.28 KB, text/plain)
2020-03-30 15:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,91.75 KB, text/plain)
2020-03-30 15:01 UTC, Toralf Förster
Details
environment (environment,14.72 KB, text/plain)
2020-03-30 15:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.19 KB, application/x-bzip)
2020-03-30 15:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.59 KB, application/x-bzip)
2020-03-30 15:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,6.84 KB, application/x-bzip)
2020-03-30 15:01 UTC, Toralf Förster
Details
x11-plugins:wmpinboard-1.0.1:20200330-132036.log (x11-plugins:wmpinboard-1.0.1:20200330-132036.log,6.39 KB, text/plain)
2020-03-30 15:01 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-30 15:01:06 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..    -g -O2 -pipe -march=native -D_DEFAULT_SOURCE -D_POSIX_SOURCE=199506L -Wall -ansi -pedantic -c -o wmpinboard-notes.o test -f notes.c || echo ./notes.c
In file included from notes.c:24:
memcmp.h:4:19: error: expected =, ,, ;, asm or __attribute__ before __P
    4 | extern int memcmp __P ((__const __ptr_t __s1, __const __ptr_t __s2,
      |                   ^~~
make[2]: *** [Makefile:416: wmpinboard-notes.o] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 12:38:57 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO x11-plugins/wmpinboard
[ebuild  N    ] x11-plugins/wmpinboard-1.0.1
Comment 1 Toralf Förster gentoo-dev 2020-03-30 15:01:09 UTC
Created attachment 627380 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 15:01:12 UTC
Created attachment 627382 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-30 15:01:14 UTC
Created attachment 627384 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-30 15:01:17 UTC
Created attachment 627386 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-30 15:01:20 UTC
Created attachment 627388 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-30 15:01:23 UTC
Created attachment 627390 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-30 15:01:26 UTC
Created attachment 627392 [details]
x11-plugins:wmpinboard-1.0.1:20200330-132036.log
Comment 8 Bernard Cafarelli gentoo-dev 2023-03-14 20:04:36 UTC
I am dropping the custom memcmp for bug #899044 this will fix this one too
Comment 9 Larry the Git Cow gentoo-dev 2023-03-14 20:59:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c7d9e75fcc02ceb56c17f4da622e6d46ba3c6c

commit 34c7d9e75fcc02ceb56c17f4da622e6d46ba3c6c
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2023-03-14 20:03:12 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2023-03-14 20:58:18 +0000

    x11-plugins/wmpinboard: drop custom memcmp, causing issues with MUSL
    
    Also update EAPI 6 -> 8
    
    Closes: https://bugs.gentoo.org/715458
    Closes: https://bugs.gentoo.org/899044
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../wmpinboard/files/wmpinboard-1.0.1-memcmp.patch | 443 +++++++++++++++++++++
 x11-plugins/wmpinboard/wmpinboard-1.0.1-r1.ebuild  |  28 ++
 2 files changed, 471 insertions(+)