Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830075 - app-admin/sud-1.3-r2 - control.h: error: unknown type name u_short
Summary: app-admin/sud-1.3-r2 - control.h: error: unknown type name u_short
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-12-27 10:10 UTC by Toralf Förster
Modified: 2025-03-14 21:00 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.41 KB, text/plain)
2021-12-27 10:10 UTC, Toralf Förster
Details
app-admin:sud-1.3-r1:20211226-221424.log (app-admin:sud-1.3-r1:20211226-221424.log,10.93 KB, text/plain)
2021-12-27 10:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,216.97 KB, text/plain)
2021-12-27 10:10 UTC, Toralf Förster
Details
environment (environment,107.22 KB, text/plain)
2021-12-27 10:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.33 KB, application/x-bzip)
2021-12-27 10:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.24 KB, application/x-bzip)
2021-12-27 10:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.14 KB, application/x-bzip)
2021-12-27 10:10 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 2021-12-27 10:10:38 UTC
    1 | #warning redirecting incorrect #include <sys/termios.h> to <termios.h>
      |  ^~~~~~~
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..   -D_GNU_SOURCE -Wall -DYY_NO_UNPUT -pipe -march=native -fno-diagnostics-color -O2 -c -o sud-main.o `test -f 'main.c' || echo './'`main.c
In file included from control.c:44:
control.h:41:9: error: unknown type name 'u_short'
   41 |         u_short s_type;
      |         ^~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.57.0 *
php cli:

  HEAD of ::gentoo
commit 4e3fc3ba96ec93688afc2308b7264752c55aed9e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 26 21:21:48 2021 +0000

    2021-12-26 21:21:46 UTC

emerge -qpvO app-admin/sud
[ebuild  N    ] app-admin/sud-1.3-r1
Comment 1 Toralf Förster gentoo-dev 2021-12-27 10:10:39 UTC
Created attachment 760414 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-27 10:10:40 UTC
Created attachment 760415 [details]
app-admin:sud-1.3-r1:20211226-221424.log
Comment 3 Toralf Förster gentoo-dev 2021-12-27 10:10:42 UTC
Created attachment 760416 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-27 10:10:43 UTC
Created attachment 760417 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-27 10:10:44 UTC
Created attachment 760418 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-27 10:10:45 UTC
Created attachment 760419 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-27 10:10:46 UTC
Created attachment 760420 [details]
temp.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2023-02-14 08:27:30 UTC
tinderbox_musl has reproduced this issue with version 1.3-r2 - Updating summary.
Comment 9 Larry the Git Cow gentoo-dev 2025-03-14 21:00:41 UTC
The bug has been closed via the following commit(s):

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

commit c6c8ad72b6d93a6f792655beaa67c762e6b59cff
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-03-13 17:39:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-14 20:59:54 +0000

    app-admin/sud: mask on musl
    
    Relies on glibc-only functionality that was not ported to musl
    
    Closes: https://bugs.gentoo.org/942215
    Closes: https://bugs.gentoo.org/830075
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/41065
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/features/musl/package.mask | 4 ++++
 1 file changed, 4 insertions(+)