Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920161 - net-misc/connman-1.42 - src/dnsproxy.c: error: stderr undeclared (first use in this function)
Summary: net-misc/connman-1.42 - src/dnsproxy.c: error: stderr undeclared (first use i...
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: missing-musl-includes
  Show dependency tree
 
Reported: 2023-12-16 16:14 UTC by Toralf Förster
Modified: 2024-04-11 00:51 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.25 KB, text/plain)
2023-12-16 16:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,93.85 KB, text/plain)
2023-12-16 16:14 UTC, Toralf Förster
Details
environment (environment,83.78 KB, text/plain)
2023-12-16 16:14 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-12-16 16:14 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.16 KB, application/x-xz)
2023-12-16 16:14 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.42 KB, application/x-xz)
2023-12-16 16:14 UTC, Toralf Förster
Details
net-misc:connman-1.42:20231216-144851.log (net-misc:connman-1.42:20231216-144851.log,144.79 KB, text/plain)
2023-12-16 16:14 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,151.75 KB, text/plain)
2023-12-16 16:14 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.28 KB, application/x-xz)
2023-12-16 16:14 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 2023-12-16 16:14:23 UTC
src/dnsproxy.c:46:35: note: include '<stdio.h>' or provide a declaration of 'fprintf'
   46 | #       define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0)
      |                                   ^~~~~~~
src/dnsproxy.c:354:9: note: in expansion of macro 'debug'
  354 |         debug("index %d server %s proto %d", index, server, protocol);
      |         ^~~~~
src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function)
   46 | #       define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0)
      |                                           ^~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-gentoo-linux-musl-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm
  [3]   openjdk-bin-21 

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

  HEAD of ::gentoo
commit fb47e87191c2866c91fdbdeb5327b7453a4e70d1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 16 14:03:52 2023 +0000

    2023-12-16 14:03:52 UTC

emerge -qpvO net-misc/connman
[ebuild  N    ] net-misc/connman-1.42  USE="ethernet examples nftables wifi -bluetooth -debug -doc -iptables -iwd -l2tp -networkmanager -ofono -openconnect -openvpn -policykit -pptp -tools -vpnc -wireguard -wispr"
Comment 1 Toralf Förster gentoo-dev 2023-12-16 16:14:24 UTC
Created attachment 879622 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-16 16:14:26 UTC
Created attachment 879623 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-16 16:14:27 UTC
Created attachment 879624 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-16 16:14:27 UTC
Created attachment 879625 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-16 16:14:28 UTC
Created attachment 879626 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-16 16:14:29 UTC
Created attachment 879627 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-16 16:14:31 UTC
Created attachment 879628 [details]
net-misc:connman-1.42:20231216-144851.log
Comment 8 Toralf Förster gentoo-dev 2023-12-16 16:14:32 UTC
Created attachment 879629 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-16 16:14:33 UTC
Created attachment 879630 [details]
temp.tar.xz
Comment 10 orbea 2024-03-07 20:26:57 UTC
Probably because of:

warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]


src/dnsproxy.c:44:1: note: include '<stdio.h>' or provide a declaration of 'fprintf'
Comment 11 Ben Kohler gentoo-dev 2024-03-08 14:03:17 UTC
I'm not able to reproduce this but someone should check and see if it still affects 9999