Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934208 - net-print/libinklevel-0.9.3 - [ncurses-6.5] bjnp-io.c: error: implicit declaration of function sprintf [-Wimplicit-function-declaration]
Summary: net-print/libinklevel-0.9.3 - [ncurses-6.5] bjnp-io.c: error: implicit declar...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-06-13 17:59 UTC by Toralf Förster
Modified: 2024-06-13 17:59 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.10 KB, text/plain)
2024-06-13 17:59 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,58.91 KB, application/x-xz)
2024-06-13 17:59 UTC, Toralf Förster
Details
environment (environment,77.19 KB, text/plain)
2024-06-13 17:59 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-06-13 17:59 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,43.24 KB, application/x-xz)
2024-06-13 17:59 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.52 KB, application/x-xz)
2024-06-13 17:59 UTC, Toralf Förster
Details
net-print:libinklevel-0.9.3:20240613-010559.log (net-print:libinklevel-0.9.3:20240613-010559.log,12.59 KB, text/plain)
2024-06-13 17:59 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,63.92 KB, application/x-xz)
2024-06-13 17:59 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.68 KB, application/x-xz)
2024-06-13 17:59 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-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