Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871165 - sys-fs/hfsutils-3.2.6_p14 - hpwd.c: error: call to undeclared library function strcmp with type int
Summary: sys-fs/hfsutils-3.2.6_p14 - hpwd.c: error: call to undeclared library functio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 09:12 UTC by Toralf Förster
Modified: 2022-10-16 18:04 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.39 KB, text/plain)
2022-09-18 09:12 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.75 KB, application/x-bzip)
2022-09-18 09:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,208.63 KB, text/plain)
2022-09-18 09:12 UTC, Toralf Förster
Details
environment (environment,77.08 KB, text/plain)
2022-09-18 09:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.94 KB, application/x-bzip)
2022-09-18 09:12 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.05 KB, application/x-bzip)
2022-09-18 09:12 UTC, Toralf Förster
Details
sys-fs:hfsutils-3.2.6_p14:20220918-084516.log (sys-fs:hfsutils-3.2.6_p14:20220918-084516.log,27.40 KB, text/plain)
2022-09-18 09:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.01 KB, application/x-bzip)
2022-09-18 09:12 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-09-18 09:12:30 UTC
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -DHAVE_CONFIG_H   -c -o volume.o volume.c
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Ilibhfs   -DHAVE_CONFIG_H -DUSE_INTERP_RESULT   -c -o hmount.o hmount.c
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Ilibhfs   -DHAVE_CONFIG_H -DUSE_INTERP_RESULT   -c -o hpwd.o hpwd.c
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Ilibhfs   -DHAVE_CONFIG_H -DUSE_INTERP_RESULT   -c -o hrename.o hrename.c
hpwd.c:55:7: error: call to undeclared library function 'strcmp' with type 'int
      (const char *, const char *)'; ISO C99 and later do not support implicit
      function declarations [-Werror,-Wimplicit-function-declaration]

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 5f2fa9b1a32565dcaa7598b8076fc7af1e205e0b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 08:16:58 2022 +0000

    2022-09-18 08:16:58 UTC

emerge -qpvO sys-fs/hfsutils
[ebuild  N    ] sys-fs/hfsutils-3.2.6_p14  USE="-tcl -tk"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 09:12:31 UTC
Created attachment 810151 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 09:12:31 UTC
Created attachment 810154 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 09:12:33 UTC
Created attachment 810157 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 09:12:34 UTC
Created attachment 810160 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 09:12:35 UTC
Created attachment 810163 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 09:12:36 UTC
Created attachment 810166 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 09:12:37 UTC
Created attachment 810169 [details]
sys-fs:hfsutils-3.2.6_p14:20220918-084516.log
Comment 8 Toralf Förster gentoo-dev 2022-09-18 09:12:39 UTC
Created attachment 810172 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-16 18:04:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9da22a2f622eaa9bddd09ae1eeefc879e3de58c1

commit 9da22a2f622eaa9bddd09ae1eeefc879e3de58c1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-16 18:01:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-16 18:01:52 +0000

    sys-fs/hfsutils: add 3.2.6_p15, fix build w/ Clang 16
    
    Closes: https://bugs.gentoo.org/871165
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/hfsutils/Manifest                           |  1 +
 ...ils-3.2.6_p15-Include-string.h-for-strcmp.patch | 17 +++++
 .../hfsutils-3.2.6_p15-drop-manual-autoconf.patch  | 78 ++++++++++++++++++++++
 sys-fs/hfsutils/hfsutils-3.2.6_p15.ebuild          | 74 ++++++++++++++++++++
 4 files changed, 170 insertions(+)