Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 934208

Summary: net-print/libinklevel-0.9.3 - [ncurses-6.5] bjnp-io.c: error: implicit declaration of function sprintf [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: printing
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-print:libinklevel-0.9.3:20240613-010559.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-06-13 17:59:01 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -Wall -I/usr/include/libusb-1.0 -O2 -pipe -march=native -fno-diagnostics-color -c hp.c  -fPIC -DPIC -o .libs/hp.o
libtool: compile:  x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -Wall -I/usr/include/libusb-1.0 -O2 -pipe -march=native -fno-diagnostics-color -c epson.c  -fPIC -DPIC -o .libs/epson.o
libtool: compile:  x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -Wall -I/usr/include/libusb-1.0 -O2 -pipe -march=native -fno-diagnostics-color -c canon.c  -fPIC -DPIC -o .libs/canon.o
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I.    -Wall -I/usr/include/libusb-1.0 -O2 -pipe -march=native -fno-diagnostics-color -c -o bjnp-io.lo bjnp-io.c
libtool: compile:  x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -Wall -I/usr/include/libusb-1.0 -O2 -pipe -march=native -fno-diagnostics-color -c bjnp-io.c  -fPIC -DPIC -o .libs/bjnp-io.o
bjnp-io.c: In function 'get_printer_address':
bjnp-io.c:204:3: error: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
  204 |   sprintf (address, "%u.%u.%u.%u",
      |   ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20240608-075013

  UNMASKED:
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
clang version 18.1.7
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.7
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 6ab061da158d9cb0098b75ab94da24429eb0608a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jun 13 00:13:26 2024 +0000

    2024-06-13 00:13:25 UTC

emerge -qpvO net-print/libinklevel
[ebuild  N    ] net-print/libinklevel-0.9.3  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2024-06-13 17:59:02 UTC
Created attachment 895743 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-13 17:59:03 UTC
Created attachment 895744 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-06-13 17:59:05 UTC
Created attachment 895745 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-13 17:59:05 UTC
Created attachment 895746 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-13 17:59:06 UTC
Created attachment 895747 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-13 17:59:07 UTC
Created attachment 895748 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-13 17:59:08 UTC
Created attachment 895749 [details]
net-print:libinklevel-0.9.3:20240613-010559.log
Comment 8 Toralf Förster gentoo-dev 2024-06-13 17:59:11 UTC
Created attachment 895750 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-06-13 17:59:12 UTC
Created attachment 895751 [details]
temp.tar.xz