Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889066 - sys-power/powerstat-0.02.27 - powerstat.c: error: static declaration of strlcpy follows non-static declaration
Summary: sys-power/powerstat-0.02.27 - powerstat.c: error: static declaration of strlc...
Status: CONFIRMED
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:
 
Reported: 2022-12-31 09:57 UTC by Toralf Förster
Modified: 2022-12-31 09:57 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.80 KB, text/plain)
2022-12-31 09:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,157.46 KB, text/plain)
2022-12-31 09:57 UTC, Toralf Förster
Details
environment (environment,57.89 KB, text/plain)
2022-12-31 09:57 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,570 bytes, application/x-bzip)
2022-12-31 09:57 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,6.64 KB, application/x-bzip)
2022-12-31 09:57 UTC, Toralf Förster
Details
sys-power:powerstat-0.02.27:20221231-020942.log (sys-power:powerstat-0.02.27:20221231-020942.log,2.28 KB, text/plain)
2022-12-31 09:57 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,15.11 KB, application/x-bzip)
2022-12-31 09:57 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-12-31 09:57:01 UTC
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-power/powerstat-0.02.27/work/powerstat-0.02.27 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-power/powerstat-0.02.27/work/powerstat-0.02.27 ...
make -j4 CC=x86_64-gentoo-linux-musl-gcc 
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -DVERSION='"0.02.27"'   -c -o powerstat.o powerstat.c
powerstat.c:339:15: error: static declaration of 'strlcpy' follows non-static declaration
  339 | static size_t strlcpy(char *dst, const char *src, size_t len)
      |               ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20221229-143533

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.2.0 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.66.0
  [2]   rust-1.66.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php8.2 *

  HEAD of ::gentoo
commit e50d88573fee3dda0a03b92a1d9146e06097e69f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 31 00:32:08 2022 +0000

    2022-12-31 00:32:07 UTC

emerge -qpvO sys-power/powerstat
[ebuild  N    ] sys-power/powerstat-0.02.27
Comment 1 Toralf Förster gentoo-dev 2022-12-31 09:57:02 UTC
Created attachment 846026 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-31 09:57:04 UTC
Created attachment 846028 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-31 09:57:05 UTC
Created attachment 846030 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-31 09:57:06 UTC
Created attachment 846032 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-31 09:57:07 UTC
Created attachment 846034 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-31 09:57:08 UTC
Created attachment 846036 [details]
sys-power:powerstat-0.02.27:20221231-020942.log
Comment 7 Toralf Förster gentoo-dev 2022-12-31 09:57:09 UTC
Created attachment 846038 [details]
temp.tar.bz2