Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831289 - sys-fs/quotatool-1.6.2 - src/.../linux_quota.h: error: expected =, ,, ;, asm or _attribute_ before _P
Summary: sys-fs/quotatool-1.6.2 - src/.../linux_quota.h: error: expected =, ,, ;, asm ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-16 10:17 UTC by Toralf Förster
Modified: 2022-10-17 03:17 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.40 KB, text/plain)
2022-01-16 10:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,336.07 KB, text/plain)
2022-01-16 10:17 UTC, Toralf Förster
Details
environment (environment,55.42 KB, text/plain)
2022-01-16 10:17 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.92 KB, application/x-bzip)
2022-01-16 10:17 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.65 KB, application/x-bzip)
2022-01-16 10:17 UTC, Toralf Förster
Details
sys-fs:quotatool-1.6.2:20220115-223606.log (sys-fs:quotatool-1.6.2:20220115-223606.log,7.41 KB, text/plain)
2022-01-16 10:17 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,15.40 KB, application/x-bzip)
2022-01-16 10:17 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 2022-01-16 10:17:06 UTC
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -I./src -I./src/linux -DHAVE_CONFIG_H  -c -o src/parse.o src/parse.c
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -I./src -I./src/linux -DHAVE_CONFIG_H  -c -o src/system.o src/system.c
In file included from src/quota.h:40,
                 from src/parse.c:26:
src/linux/linux_quota.h:120:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
  120 | long quotactl __P((int, const char *, qid_t, caddr_t));
      |               ^~~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.58.0
  [2]   rust-1.58.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli:

  HEAD of ::gentoo
commit f7600c6dc1e80ac13b4c781511941460d2ea0bc3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 15 22:22:13 2022 +0000

    2022-01-15 22:22:09 UTC

emerge -qpvO sys-fs/quotatool
[ebuild  N    ] sys-fs/quotatool-1.6.2
Comment 1 Toralf Förster gentoo-dev 2022-01-16 10:17:07 UTC
Created attachment 762272 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-16 10:17:09 UTC
Created attachment 762273 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-01-16 10:17:10 UTC
Created attachment 762274 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-01-16 10:17:17 UTC
Created attachment 762275 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-01-16 10:17:18 UTC
Created attachment 762276 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-16 10:17:19 UTC
Created attachment 762277 [details]
sys-fs:quotatool-1.6.2:20220115-223606.log
Comment 7 Toralf Förster gentoo-dev 2022-01-16 10:17:20 UTC
Created attachment 762278 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-10-17 03:17:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aff7c0e30e88ff7120bbf2e0e67a3af00c6ad40

commit 2aff7c0e30e88ff7120bbf2e0e67a3af00c6ad40
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-17 03:15:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-17 03:15:34 +0000

    sys-fs/quotatool: fix build w/ Clang 16, musl
    
    Closes: https://bugs.gentoo.org/831289
    Closes: https://bugs.gentoo.org/875416
    Signed-off-by: Sam James <sam@gentoo.org>

 .../quotatool/files/quotatool-1.6.2-clang16.patch  |  32 +++++
 .../files/quotatool-1.6.2-fix-autoconf.patch       | 133 +++++++++++++++++++++
 .../quotatool/files/quotatool-1.6.2-warnings.patch |  67 +++++++++++
 ...tool-1.6.2.ebuild => quotatool-1.6.2-r1.ebuild} |   9 +-
 4 files changed, 239 insertions(+), 2 deletions(-)