Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639728 - dev-libs/dietlibc-0.34_pre20140729 - In file included from dyn_start.c:5: include/inttypes.h:261:9: error: unknown type name ‘__int128_t’
Summary: dev-libs/dietlibc-0.34_pre20140729 - In file included from dyn_start.c:5: inc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-04 07:29 UTC by Rolf Eike Beer
Modified: 2018-11-28 02:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2017-12-04 07:29:44 UTC
>>> Emerging (1 of 1) dev-libs/dietlibc-0.34_pre20140729::gentoo
 * dietlibc-0.34_pre20140729.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking dietlibc-0.34_pre20140729.tar.bz2 to /var/tmp/portage/dev-libs/dietlibc-0.34_pre20140729/work
>>> Source unpacked in /var/tmp/portage/dev-libs/dietlibc-0.34_pre20140729/work
>>> Preparing source in /var/tmp/portage/dev-libs/dietlibc-0.34_pre20140729/work/dietlibc ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/dietlibc-0.34_pre20140729/work/dietlibc ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/dietlibc-0.34_pre20140729/work/dietlibc ...
make -j20 -j1 prefix=/usr/diet CC=sparc-unknown-linux-gnu-gcc 'CFLAGS=-O2 -mcpu=niagara2 -pipe -nostdinc -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -fno-strict-aliasing -fno-stack-protector -Wa,--noexecstack' STRIP=:
mkdir bin-sparc64
sparc-unknown-linux-gnu-gcc -I. -isystem include -O2 -mcpu=niagara2 -pipe -nostdinc -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -fno-strict-aliasing -fno-stack-protector -Wa,--noexecstack  -c sparc64/start.S -Wa,--noexecstack -o bin-sparc64/start.o
sparc-unknown-linux-gnu-gcc -I. -isystem include -O2 -mcpu=niagara2 -pipe -nostdinc -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -fno-strict-aliasing -fno-stack-protector -Wa,--noexecstack  -c dyn_start.c -o bin-sparc64/dyn_start.o -D__dietlibc__
In file included from include/sys/types.h:4:0,
                 from include/stdlib.h:7,
                 from dyn_start.c:5:
include/inttypes.h:261:9: error: unknown type name ‘__int128_t’
 typedef __int128_t intmax_t;
         ^~~~~~~~~~
include/inttypes.h:262:9: error: unknown type name ‘__uint128_t’
 typedef __uint128_t uintmax_t;
         ^~~~~~~~~~~
make: *** [Makefile:187: bin-sparc64/dyn_start.o] Error 1
 * ERROR: dev-libs/dietlibc-0.34_pre20140729::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-libs/dietlibc-0.34_pre20140729::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/dietlibc-0.34_pre20140729::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/dietlibc-0.34_pre20140729/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/dietlibc-0.34_pre20140729/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/dietlibc-0.34_pre20140729/work/dietlibc'
 * S: '/var/tmp/portage/dev-libs/dietlibc-0.34_pre20140729/work/dietlibc'


Current upstream builds fine. Additionally the "-j1" seems to be unneeded for current CVS HEAD, it builds with both -j20 and -j30 for me.

Portage 2.3.8 (python 2.7.14-final-0, default/linux/sparc/13.0, gcc-6.4.0, glibc-2.25-r9, 4.14.2 sparc64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.2-sparc64-sun4v-with-gentoo-2.3
KiB Mem:    33133616 total,  17698528 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 04 Dec 2017 01:15:01 +0000
Head commit of repository gentoo: b10843e44192266e864008ffab958733dc62152e
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=niagara2 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=niagara2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j20"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl berkdb big-endian bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pam pcre readline session sparc ssl tcpd unicode xattr zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev glint mga r128 radeon dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2018-04-14 10:41:41 UTC
Either maintainers of consumers of dietlibc take care of bumping and fixing it or this is cleaned, we cannot keep this broken package in the tree forever
Comment 2 Pacho Ramos gentoo-dev 2018-05-28 17:41:34 UTC
Please retry with dev-libs/dietlibc-0.34_pre20140729-r1, it looks to work fine for me
Comment 3 Rolf Eike Beer archtester 2018-05-28 19:25:49 UTC
Nope, just the same.
Comment 4 Pacho Ramos gentoo-dev 2018-05-28 19:42:38 UTC
this could be sparc specific, in that case, I am not sure how we could solve it in the near future (I would even consider dropping its sparc keyword taking into account the state of this package in the tree)
Comment 5 Rolf Eike Beer archtester 2018-05-29 15:58:08 UTC
It's a bug upstream fixed since 2015 or so. Additional breakage could happen because it builds 64 bit sparc binaries even if the rest of sparc userland is 32 bit in Gentoo. It would work however if every other lib is only linked against dietlic, which is likely when using that.

So, take a new upstream snapshot and the problem will probably go away.
Comment 6 Larry the Git Cow gentoo-dev 2018-11-11 13:07:56 UTC
The bug has been referenced in the following commit(s):

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

commit 9acb51b6409b1bc73a7f46e69c05adea30dbe072
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-11 11:45:27 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-11 13:07:21 +0000

    sys-cluster/util-vserver: dietlibc doesn't build on sparc for years
    
    Bug: https://bugs.gentoo.org/639728
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild | 4 ++--
 sys-cluster/util-vserver/util-vserver-0.30.216_pre3120.ebuild    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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

commit 12fca6c56f04f9ae45dc3ff705ca9157e8f7a0b2
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-11 11:43:42 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-11 13:07:19 +0000

    dev-libs/libowfat: dietlibc doesn't build on sparc for years
    
    Bug: https://bugs.gentoo.org/639728
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-libs/libowfat/libowfat-0.31-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2018-11-28 02:07:20 UTC
The bug has been closed via the following commit(s):

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

commit d826d453eb9d096b24ad2b6e51c6baa14fc23ddb
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-11-28 02:06:19 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-11-28 02:07:04 +0000

    dev-libs/dietlibc: bump to v0.34
    
    Note: Doesn't work with current binutils-2.31.1 version, see $S/FAQ
    or bug 672126 for details.
    
    Bug: https://bugs.gentoo.org/672126
    Closes: https://bugs.gentoo.org/639728
    Closes: https://bugs.gentoo.org/671756
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-libs/dietlibc/Manifest             |  1 +
 dev-libs/dietlibc/dietlibc-0.34.ebuild | 77 ++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)