Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633362 - sys-libs/glibc-2.26-r1 - ../sysdeps/unix/sysv/linux/bits/socket.h: In function ‘__cmsg_nxthdr’: ../sysdeps/unix/sysv/linux/bits/socket.h:294:36: error: expected ‘)’ before numeric constant
Summary: sys-libs/glibc-2.26-r1 - ../sysdeps/unix/sysv/linux/bits/socket.h: In functio...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Blocks: glibc-2.26
  Show dependency tree
Reported: 2017-10-03 09:42 UTC by Jeroen Roovers (RETIRED)
Modified: 2017-11-11 17:24 UTC (History)
1 user (show)

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

sys-libs:glibc-2.26-r1:20171003-085907.log.xz (sys-libs:glibc-2.26-r1:20171003-085907.log.xz,63.15 KB, application/x-xz)
2017-10-03 09:42 UTC, Jeroen Roovers (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2017-10-03 09:42:50 UTC
Created attachment 497500 [details]

In file included from ../socket/sys/socket.h:33:0,
                 from ../include/sys/socket.h:2,
                 from ../inet/netinet/in.h:23,
                 from ../include/netinet/in.h:3,
                 from ../resolv/bits/types/res_state.h:5,
                 from ../include/bits/types/res_state.h:1,
                 from ../nptl/descr.h:35,
                 from ../sysdeps/hppa/nptl/tls.h:44,
                 from ../include/errno.h:25,
                 from ../sysdeps/unix/sysv/linux/hppa/sysdep.h:33,
                 from ../sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h:18,
                 from ../sysdeps/unix/sysv/linux/pwritev2.c:20:
../sysdeps/unix/sysv/linux/bits/socket.h: In function ‘__cmsg_nxthdr’:
../sysdeps/unix/sysv/linux/bits/socket.h:294:36: error: expected ‘)’ before numeric constant
     & (size_t) ~(sizeof (size_t) - 1))
../sysdeps/unix/sysv/linux/bits/socket.h:313:13: note: in expansion of macro ‘CMSG_ALIGN’
           + CMSG_ALIGN (__cmsg->cmsg_len));
../sysdeps/unix/sysv/linux/bits/socket.h:313:43: error: expected ‘)’ before ‘;’ token
           + CMSG_ALIGN (__cmsg->cmsg_len));
../sysdeps/unix/sysv/linux/pwritev2.c:49:1: error: expected declaration or statement at end of input
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.26-r1/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl/sysd-rules:93: /var/tmp/portage/sys-libs/glibc-2.26-r1/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl/misc/pwritev2.os] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.26-r1/work/glibc-2.26/misc'
make[1]: *** [Makefile:216: misc/subdir_lib] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.26-r1/work/glibc-2.26'
make: *** [Makefile:9: all] Error 2
make: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.26-r1/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl'
 * ERROR: sys-libs/glibc-2.26-r1::gentoo failed (compile phase):
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-10-03 09:44:49 UTC
Tue  3 Oct 11:43:11 CEST 2017
emerge --info sys-libs/glibc
Portage 2.3.10 (python 3.4.6-final-0, default/linux/hppa/13.0, gcc-5.4.0, glibc-2.23-r4, 4.13.1-gentoo-JeR parisc64)
                         System Settings
System uname: Linux-4.13.1-gentoo-JeR-parisc64-PA8800_-Mako-with-gentoo-2.4.1
KiB Mem:     8228516 total,    123716 free
KiB Swap:    2101676 total,   2075992 free
Timestamp of repository gentoo: Tue, 03 Oct 2017 02:15:01 +0000
Head commit of repository gentoo: d001820f998317628d6700c7cb2e77514433f6c3
sh bash 4.4_p12
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
distcc[13435] (dcc_mkdir) ERROR: mkdir '/dev/shm/distcc/root/state' failed: No such file or directory [disabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.6::gentoo, 3.5.4::gentoo
dev-util/ccache:          3.3.4::gentoo
dev-util/cmake:           3.9.3::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.31.2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.11.6-r2::gentoo, 1.12.6::gentoo, 1.13.4-r1::gentoo, 1.14.1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.22-r1::gentoo, 2.23.1::gentoo, 2.23.2::gentoo, 2.24-r3::gentoo, 2.25.1-r1::gentoo, 2.26.1::gentoo, 2.29::gentoo, 2.29.1::gentoo
sys-devel/gcc:            4.6.4::gentoo, 4.7.2-r1::gentoo, 4.7.3-r1::gentoo, 4.8.1-r1::gentoo, 4.8.3::gentoo, 4.8.4::gentoo, 4.8.5::gentoo, 4.9.2::gentoo, 4.9.3::gentoo, 4.9.4::gentoo, 5.2.0::gentoo, 5.3.0::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo

    location: /aches/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

    location: /aches/gentoo/local
    masters: gentoo
    priority: -100

ACCEPT_KEYWORDS="hppa ~hppa"
CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib/distcc/bin /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask=n --keep-going --ignore-built-slot-operator-deps=y"
FEATURES="assume-digests binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news notitles parallel-fetch preserve-libs protect-owned sfperms splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
FFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory"
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"
USE="256-color X acl alsa amr anacron apng argyllcms audit bash-completion beautifulsoup3 berkdb bfio big-endian bittorrent botan bzip2 cairo canberra cli consolekit coverage cracklib crossdev crypt cups custom-cflags cxx dane dbus declarative dirac directfb distinct-l dlz dot dri emacs exceptions exif expat fbcon ffmpeg filecaps firefox firmware foomaticdb fortran frontend-optional g-sorcery gbm gdbm geoip geoloc glep gles1 gles2 gost gpg gpm gsm gstreamer gtk gudev guile hddtemp hppa hwdb iconv idn imlib inotify ipv6 jadetex javascript jingle jit jpeg jpeg2k json kdrive kmod ladspa lasi launch-frontend lensfun libcaca libcanberra libevent libopts libsoxr libusb libwww lua lzma lzo mad mng mod modplug modules mp3 mtp multislot multitarget munge nagios nas natspec ncurses netlink nfs nls nptl objc objc++ objc-gc offensive ofono-headset openexr opengl openmp openrc openvg opus oqgraph osmesa oss pam pcre pcre16 php pic pkcs11 png pnm policykit python qt qt3support qt4 raw readline realtime regression-test rtmp rubytests samba sbc schroedinger sctp session smi snappy socks5 speex spell spidermonkey sqlite ssl svg tcl tcpd tga theora threads tiff tk tokyocabinet truetype unicode unwind v4l vim-syntax vorbis vpx wayland wcwidth x264 x265 xa xattr xcb xft xhtml xkb xvfb xvid zlib" ALSA_CARDS="ad1889 usb-audio" 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" CURL_SSL="nss" 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="evdev joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa tek4957 tslib ur98 virtualbox libinput void" KERNEL="linux" L10N="en nl he" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en nl he" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22 ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="stifb dummy" 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"

                        Package Settings

sys-libs/glibc-2.23-r4::gentoo was built with the following:
USE="audit nscd rpc -caps -debug -gd (-hardened) (-multilib) -profile (-selinux) -suid (-systemtap) (-vanilla)"
CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -pipe -Wno-comment -O2 -fno-strict-aliasing"
CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -pipe -O2 -fno-strict-aliasing"

[ebuild     U  ] sys-libs/glibc-2.26-r1:2.2::gentoo [2.23-r4:2.2::gentoo] USE="audit nscd -caps -debug -gd (-hardened) (-multilib) -profile (-selinux) -suid (-systemtap) (-vanilla) (-rpc%*)" 0 KiB
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-10-03 16:57:33 UTC
Please try sys-libs/glibc-2.26-r2 (just bumped, but still unkeyworded), which contains a lot of upstream fixes and updates.

If that still fails we'll investigate more.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2017-11-11 17:24:11 UTC
(In reply to Andreas K. Hüttel from comment #2)
> Please try sys-libs/glibc-2.26-r2 (just bumped, but still unkeyworded),
> which contains a lot of upstream fixes and updates.
> If that still fails we'll investigate more.