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

Bug 712886

Summary: net-misc/termpkg-3.3.9.1-r2 : SocketIO.c: error: u_short undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED WONTFIX    
Severity: normal CC: maintainer-needed
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-misc:termpkg-3.3.9.1-r2:20200316-124307.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-16 13:33:56 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I../libtn -DLINUX -Wall -DUUCP_LOCKING   -c -o SocketIO.o SocketIO.c
SocketIO.c: In function connectSocket:
SocketIO.c:86:36: error: u_short undeclared (first use in this function); did you mean qsort?
   86 |    else if ((sin.sin_port = htons((u_short)atoi(pService))) == 0)
      |                                    ^~~~~~~
      |                                    qsort

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] 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.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 16 Mar 2020 11:38:30 +0000
emerge -qpvO net-misc/termpkg
[ebuild  N    ] net-misc/termpkg-3.3.9.1-r2  USE="uucp"
Comment 1 Toralf Förster gentoo-dev 2020-03-16 13:33:59 UTC
Created attachment 620634 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-16 13:34:03 UTC
Created attachment 620636 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-16 13:34:05 UTC
Created attachment 620638 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-16 13:34:08 UTC
Created attachment 620640 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-16 13:34:11 UTC
Created attachment 620642 [details]
net-misc:termpkg-3.3.9.1-r2:20200316-124307.log
Comment 6 Toralf Förster gentoo-dev 2020-03-16 13:34:14 UTC
Created attachment 620644 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-16 16:12:38 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
Comment 8 Larry the Git Cow gentoo-dev 2020-09-12 20:44:27 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e5c72511753dbf58e6555b34824f461ec96a3f0

commit 1e5c72511753dbf58e6555b34824f461ec96a3f0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-09-12 20:43:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-09-12 20:43:21 +0000

    net-misc/termpkg: remove last-rited package
    
    Bug: https://bugs.gentoo.org/707794
    Bug: https://bugs.gentoo.org/712886
    Bug: https://bugs.gentoo.org/725178
    Closes: https://bugs.gentoo.org/730640
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/termpkg/Manifest                          |  2 -
 net-misc/termpkg/files/termnetd.confd              | 14 ----
 net-misc/termpkg/files/termnetd.initd              | 51 ------------
 net-misc/termpkg/files/termpkg-3.3-ttydforfax.diff | 28 -------
 net-misc/termpkg/files/termpkg-3.3.9.1-gcc43.diff  | 11 ---
 net-misc/termpkg/files/ttyd.confd                  | 63 --------------
 net-misc/termpkg/files/ttyd.initd                  | 95 ----------------------
 net-misc/termpkg/metadata.xml                      | 17 ----
 net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild         | 64 ---------------
 profiles/package.mask                              |  6 --
 10 files changed, 351 deletions(-)