Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871054 - dev-libs/libstroke-0.5.1-r1 - stroke.c: error: call to undeclared library function strcpy with type
Summary: dev-libs/libstroke-0.5.1-r1 - stroke.c: error: call to undeclared library fun...
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:
: 874510 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 19:46 UTC by Toralf Förster
Modified: 2022-10-07 06:33 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.64 KB, text/plain)
2022-09-17 19:46 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,2.41 KB, application/x-bzip)
2022-09-17 19:46 UTC, Toralf Förster
Details
dev-libs:libstroke-0.5.1-r1:20220917-192331.log (dev-libs:libstroke-0.5.1-r1:20220917-192331.log,9.90 KB, text/plain)
2022-09-17 19:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,79.89 KB, text/plain)
2022-09-17 19:46 UTC, Toralf Förster
Details
environment (environment,75.64 KB, text/plain)
2022-09-17 19:46 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.10 KB, application/x-bzip)
2022-09-17 19:46 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.96 KB, application/x-bzip)
2022-09-17 19:46 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.46 KB, application/x-bzip)
2022-09-17 19:46 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-17 19:46:37 UTC
Making all in libstroke
make[2]: Entering directory '/var/tmp/portage/dev-libs/libstroke-0.5.1-r1/work/libstroke-0.5.1/libstroke'
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../libstroke       -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o stroke.lo stroke.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../libstroke -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c stroke.c  -fPIC -DPIC -o .libs/stroke.o
stroke.c:267:5: error: call to undeclared library function 'strcpy' with type
      'char *(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_no_multilib_hardened-j4-20220916-220004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.2.1 *
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:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit cae144bf93fd795deac860e17b464cefe0130eee
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 18:46:59 2022 +0000

    2022-09-17 18:46:59 UTC

emerge -qpvO dev-libs/libstroke
[ebuild  N    ] dev-libs/libstroke-0.5.1-r1
Comment 1 Toralf Förster gentoo-dev 2022-09-17 19:46:38 UTC
Created attachment 809512 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 19:46:39 UTC
Created attachment 809515 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-17 19:46:40 UTC
Created attachment 809518 [details]
dev-libs:libstroke-0.5.1-r1:20220917-192331.log
Comment 4 Toralf Förster gentoo-dev 2022-09-17 19:46:41 UTC
Created attachment 809521 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-17 19:46:43 UTC
Created attachment 809524 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-17 19:46:44 UTC
Created attachment 809527 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 19:46:45 UTC
Created attachment 809530 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-17 19:46:46 UTC
Created attachment 809533 [details]
temp.tar.bz2
Comment 9 Ionen Wolkens gentoo-dev 2022-10-07 06:02:24 UTC
*** Bug 874510 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2022-10-07 06:33:37 UTC
The bug has been closed via the following commit(s):

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

commit f95a5748fe369f8c20d9e7d606c9d4f8650f2c59
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-07 06:05:57 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-07 06:33:12 +0000

    dev-libs/libstroke: fix build with upcoming clang16
    
    Closes: https://bugs.gentoo.org/871054
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch             | 7 +++++++
 .../{libstroke-0.5.1-r1.ebuild => libstroke-0.5.1-r2.ebuild}       | 1 +
 2 files changed, 8 insertions(+)