Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875416 - sys-fs/quotatool-1.6.2 - src/main.c: error: implicit declaration of function quota_reset_grace
Summary: sys-fs/quotatool-1.6.2 - src/main.c: error: implicit declaration of function ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-05 18:09 UTC by Toralf Förster
Modified: 2022-10-17 03:17 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.42 KB, text/plain)
2022-10-05 18:09 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,61.60 KB, application/x-bzip)
2022-10-05 18:09 UTC, Toralf Förster
Details
environment (environment,62.47 KB, text/plain)
2022-10-05 18:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.35 KB, application/x-bzip)
2022-10-05 18:09 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.07 KB, application/x-bzip)
2022-10-05 18:09 UTC, Toralf Förster
Details
sys-fs:quotatool-1.6.2:20221005-094857.log (sys-fs:quotatool-1.6.2:20221005-094857.log,7.69 KB, text/plain)
2022-10-05 18:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.48 KB, application/x-bzip)
2022-10-05 18:10 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-10-05 18:09:53 UTC
src/output.h:20:15: warning: inline function output_version declared but never defined
   20 | inline void   output_version (void);
      |               ^~~~~~~~~~~~~~
src/main.c: In function main:
src/main.c:211:17: error: implicit declaration of function quota_reset_grace; did you mean xfs_reset_grace? [-Werror=implicit-function-declaration]
  211 |           if (! quota_reset_grace(quota, (argdata->block_reset ? GRACE_BLOCK : GRACE_INODE)))
      |                 ^~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221002-192609

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 11.0.16.1_p1 [openjdk-11]
3)	OpenJDK 17.0.5_p5 [openjdk-17]
4)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
6)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-11 
  [3]   openjdk-17 
  [4]   openjdk-bin-8 
  [5]   openjdk-bin-11 
  [6]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 6e559f636ec9840681f98595a6531a1ce89b2525
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 08:17:42 2022 +0000

    2022-10-05 08:17:42 UTC

emerge -qpvO sys-fs/quotatool
[ebuild  N    ] sys-fs/quotatool-1.6.2
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:09:54 UTC
Created attachment 820942 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:09:56 UTC
Created attachment 820945 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:09:57 UTC
Created attachment 820948 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:09:59 UTC
Created attachment 820951 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:09:59 UTC
Created attachment 820954 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:10:01 UTC
Created attachment 820957 [details]
sys-fs:quotatool-1.6.2:20221005-094857.log
Comment 7 Toralf Förster gentoo-dev 2022-10-05 18:10:02 UTC
Created attachment 820960 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-10-17 03:17:26 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(-)