Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938613 - sys-apps/dog-1.7-r6 - [gcc-15] dog.c: error: implicit declaration of function strfry
Summary: sys-apps/dog-1.7-r6 - [gcc-15] dog.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
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2024-08-28 17:55 UTC by Toralf Förster
Modified: 2024-11-19 14:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.01 KB, text/plain)
2024-08-28 17:55 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,59.25 KB, application/x-xz)
2024-08-28 17:55 UTC, Toralf Förster
Details
environment (environment,63.34 KB, text/plain)
2024-08-28 17:55 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1020 bytes, application/x-xz)
2024-08-28 17:55 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,40.55 KB, application/x-xz)
2024-08-28 17:55 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,63.88 KB, application/x-xz)
2024-08-28 17:55 UTC, Toralf Förster
Details
sys-apps:dog-1.7-r6:20240828-175021.log (sys-apps:dog-1.7-r6:20240828-175021.log,2.40 KB, text/plain)
2024-08-28 17:55 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,15.13 KB, application/x-xz)
2024-08-28 17:55 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 2024-08-28 17:55:15 UTC
x86_64-pc-linux-musl-gcc -O2 -pipe -march=native -fno-diagnostics-color -c getopt.c -o getopt.o
x86_64-pc-linux-musl-gcc -O2 -pipe -march=native -fno-diagnostics-color -c getopt1.c -o getopt1.o
dog.c:81:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
   81 | extern char *strfry __P ((char *__string));
      |                     ^~~
dog.c: In function 'ProcessLine':
dog.c:556:17: error: implicit declaration of function 'strfry'; did you mean 'strxfrm'? [-Wimplicit-function-declaration]
  556 |                 strfry(str);
      |                 ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240824-035506

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit e35400bafdfbdbeadfb9990f57363b0e6d626f7d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Aug 28 15:19:05 2024 +0000

    2024-08-28 15:19:04 UTC

emerge -qpvO =sys-apps/dog-1.7-r6
[ebuild  N    ] sys-apps/dog-1.7-r6
Comment 1 Toralf Förster gentoo-dev 2024-08-28 17:55:16 UTC
Created attachment 901503 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-28 17:55:17 UTC
Created attachment 901504 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-08-28 17:55:18 UTC
Created attachment 901505 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-28 17:55:19 UTC
Created attachment 901506 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-28 17:55:20 UTC
Created attachment 901507 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-28 17:55:21 UTC
Created attachment 901508 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-28 17:55:22 UTC
Created attachment 901509 [details]
sys-apps:dog-1.7-r6:20240828-175021.log
Comment 8 Toralf Förster gentoo-dev 2024-08-28 17:55:23 UTC
Created attachment 901510 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-19 14:08:16 UTC
strfry doesn't exist on musl.
Comment 10 Larry the Git Cow gentoo-dev 2024-11-19 14:12:27 UTC
The bug has been closed via the following commit(s):

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

commit bbcdd2cdd23750f2f3b53e45d57968dae000786c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-19 14:12:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-19 14:12:01 +0000

    profiles/features/musl: mask sys-apps/dog
    
    strfry doesn't exist on musl.
    
    Closes: https://bugs.gentoo.org/717252
    Closes: https://bugs.gentoo.org/938613
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/features/musl/package.mask | 4 ++++
 1 file changed, 4 insertions(+)