Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717186 - net-print/npadmin-0.8.7-r1 : getopt.h: error: conflicting declaration of C function int getopt()
Summary: net-print/npadmin-0.8.7-r1 : getopt.h: error: conflicting declaration of C fu...
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:
 
Reported: 2020-04-12 08:05 UTC by Toralf Förster
Modified: 2020-04-12 08:05 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.35 KB, text/plain)
2020-04-12 08:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,445.88 KB, text/plain)
2020-04-12 08:05 UTC, Toralf Förster
Details
environment (environment,78.08 KB, text/plain)
2020-04-12 08:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,34.00 KB, application/x-bzip)
2020-04-12 08:05 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,1.76 KB, application/x-bzip)
2020-04-12 08:05 UTC, Toralf Förster
Details
net-print:npadmin-0.8.7-r1:20200412-025248.log (net-print:npadmin-0.8.7-r1:20200412-025248.log,15.45 KB, text/plain)
2020-04-12 08:05 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.15 KB, application/x-bzip)
2020-04-12 08:05 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 2020-04-12 08:05:18 UTC
c++ -DHAVE_CONFIG_H -I. -I. -I.     -O2 -pipe -march=native -c npadmin.C
In file included from npadmin.C:17:
getopt.h:108:12: error: conflicting declaration of C function int getopt()
  108 | extern int getopt ();
      |            ^~~~~~
In file included from npadmin.C:5:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.42.0
  [2]   rust-1.42.0 *
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Apr 12 00:08:12 UTC 2020
/var/db/repos/musl	Wed Apr  8 18:15:58 UTC 2020

emerge -qpvO net-print/npadmin
[ebuild  N    ] net-print/npadmin-0.8.7-r1
Comment 1 Toralf Förster gentoo-dev 2020-04-12 08:05:21 UTC
Created attachment 632406 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-12 08:05:24 UTC
Created attachment 632408 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-12 08:05:26 UTC
Created attachment 632410 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-12 08:05:29 UTC
Created attachment 632412 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-12 08:05:32 UTC
Created attachment 632414 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-12 08:05:35 UTC
Created attachment 632416 [details]
net-print:npadmin-0.8.7-r1:20200412-025248.log
Comment 7 Toralf Förster gentoo-dev 2020-04-12 08:05:38 UTC
Created attachment 632418 [details]
temp.tbz2