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

Bug 712658

Summary: www-misc/shellinabox-2.20-r4 : shellinabox/launcher.c: error: invalid type argument of -> (have struct utmpx)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: monsieurp, shell-tools, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 902069    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
www-misc:shellinabox-2.20-r4:20200315-075125.log

Description Toralf Förster gentoo-dev 2020-03-15 09:33:44 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o shellinabox/launcher.o shellinabox/launcher.c
shellinabox/launcher.c: In function childProcess:
shellinabox/launcher.c:1576:41: error: invalid type argument of -> (have struct utmpx)
 1576 |     struct utmpx utmpx            = utmp->utmpx;
      |                                         ^~
shellinabox/launcher.c:1585:14: error: invalid type argument of -> (have struct utmpx)

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

  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 <==
Sun, 15 Mar 2020 05:08:46 +0000
emerge -qpvO www-misc/shellinabox
[ebuild  N    ] www-misc/shellinabox-2.20-r4  USE="pam"
Comment 1 Toralf Förster gentoo-dev 2020-03-15 09:33:46 UTC
Created attachment 619578 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 09:33:49 UTC
Created attachment 619580 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-15 09:33:52 UTC
Created attachment 619582 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-15 09:33:55 UTC
Created attachment 619584 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-15 09:33:58 UTC
Created attachment 619586 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-15 09:34:00 UTC
Created attachment 619588 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-15 09:34:03 UTC
Created attachment 619590 [details]
www-misc:shellinabox-2.20-r4:20200315-075125.log
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:18 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 9 Larry the Git Cow gentoo-dev 2023-04-30 10:07:37 UTC
The bug has been closed via the following commit(s):

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

commit c74c520c8d9bc629c0abdfab8de9b836093615dd
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-04-30 10:06:03 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-04-30 10:06:03 +0000

    www-misc/shellinabox: treeclean
    
    Closes: https://bugs.gentoo.org/712658
    Closes: https://bugs.gentoo.org/777396
    Closes: https://bugs.gentoo.org/811192
    Closes: https://bugs.gentoo.org/833087
    Closes: https://bugs.gentoo.org/891057
    Closes: https://bugs.gentoo.org/892089
    Closes: https://bugs.gentoo.org/893898
    Closes: https://bugs.gentoo.org/902069
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask                           |   1 -
 www-misc/shellinabox/Manifest                   |   1 -
 www-misc/shellinabox/files/shellinaboxd.conf    |  77 -----------------
 www-misc/shellinabox/files/shellinaboxd.init    |  64 --------------
 www-misc/shellinabox/files/shellinaboxd.service |  14 ---
 www-misc/shellinabox/metadata.xml               |  15 ----
 www-misc/shellinabox/shellinabox-2.20-r4.ebuild | 108 ------------------------
 7 files changed, 280 deletions(-)