Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679630 - sys-kernel/linux-headers-5.0 - scripts/Makefile.build:42: arch/parisc/kernel/syscalls/Makefile: No such file or directory
Summary: sys-kernel/linux-headers-5.0 - scripts/Makefile.build:42: arch/parisc/kernel/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-06 19:01 UTC by Jeroen Roovers (RETIRED)
Modified: 2019-03-07 07:31 UTC (History)
2 users (show)

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


Attachments
sys-kernel:linux-headers-5.0:20190306-185411.log (sys-kernel:linux-headers-5.0:20190306-185411.log,3.89 KB, text/plain)
2019-03-06 19:01 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2019-03-06 19:01:01 UTC
Created attachment 568018 [details]
sys-kernel:linux-headers-5.0:20190306-185411.log

Wed  6 Mar 20:00:18 CET 2019
emerge --info sys-kernel/linux-headers
Portage 2.3.62 (python 3.5.6-final-0, default/linux/hppa/17.0, gcc-7.3.0, glibc-2.28-r5, 5.0.0-rc8-JeR-00003-g7d762d69145a parisc64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.0.0-rc8-JeR-00003-g7d762d69145a-parisc64-PA8800_-Mako-with-gentoo-2.6
KiB Mem:     8233128 total,   1441208 free
KiB Swap:    2101676 total,   2079396 free
Timestamp of repository gentoo: Wed, 06 Mar 2019 15:45:01 +0000
Head commit of repository gentoo: 2344672d23e0e21ac39e9791bbc93d9b5651546b
sh bash 5.0_p2
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
distcc[16787] (dcc_mkdir) ERROR: mkdir '/dev/shm/distcc/root/state' failed: No such file or directory [disabled]
ccache version 3.6 [disabled]
app-shells/bash:          5.0_p2::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.4.8-r1::gentoo, 3.5.6::gentoo, 3.6.8::gentoo, 3.7.2::gentoo
dev-util/ccache:          3.6::gentoo
dev-util/cmake:           3.13.4::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.15::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.11.6-r3::gentoo, 1.12.6::gentoo, 1.13.4-r2::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.29::gentoo, 2.29.1-r1::gentoo, 2.30-r3::gentoo, 2.31.1-r4::gentoo, 2.32::gentoo
sys-devel/gcc:            6.4.0-r5::gentoo, 7.3.0-r6::gentoo, 8.2.0-r6::gentoo, 8.3.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

gentoo
    location: /aches/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

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

ACCEPT_KEYWORDS="hppa ~hppa"
ACCEPT_LICENSE="*"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment"
CHOST="hppa2.0-unknown-linux-gnu"
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.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
DISTDIR="/aches/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask=n --keep-going --ignore-built-slot-operator-deps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS=""
FEATURES="assume-digests binpkg-docompress binpkg-dostrip 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 sandbox sfperms splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
GENTOO_MIRRORS=" 	http://ftp.snt.utwente.nl/pub/os/linux/gentoo 	http://mirror.leaseweb.com/gentoo/ 	http://mirror.netcologne.de/gentoo/ "
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory"
LINGUAS="en nl he"
MAKEOPTS="-j3"
PKGDIR="/aches/gentoo/packages/karsten"
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="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 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 libidn2 libopts libsoxr libusb libwww lua lzma lzo mad mng mod modplug 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 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 wcwidth x264 x265 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="karbon sheets words" 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 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" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_6 python3_5" RUBY_TARGETS="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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-kernel/linux-headers-4.20::gentoo was built with the following:
USE="-headers-only"
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2019-03-06 21:36:05 UTC
Reproduced locally as well. Likely a fallout of switch to syscall table autogeneration. Looking at the details.
Comment 2 Larry the Git Cow gentoo-dev 2019-03-06 22:13:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/toolchain/linux-headers-patches.git/commit/?id=b418143bc1bc69f4b0c7509f74e16f9302557e4c

commit b418143bc1bc69f4b0c7509f74e16f9302557e4c
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-03-06 22:06:31 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-03-06 22:06:31 +0000

    rip-headers.sh: preserve arch/*/kernel/syscalls for all arches
    
    Noticed by Jer as install failure:
        scripts/Makefile.build:42: arch/parisc/kernel/syscalls/Makefile: No such file or directory
        make[1]: *** No rule to make target 'arch/parisc/kernel/syscalls/Makefile'.  Stop.
        make: *** [arch/parisc/Makefile:168: archheaders] Error 2
    
    The change generalises s390 tblgen inclusion for all arches.
    
    Reported-by: Jeroen Roovers
    Bug: https://bugs.gentoo.org/679630
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 rip-headers.sh | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2019-03-06 22:27:30 UTC
The bug has been closed via the following commit(s):

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

commit cacca881e5e63f3d12966a74a7b2277a8044e836
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-03-06 22:25:00 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-03-06 22:27:21 +0000

    sys-kernel/linux-headers: package arch/*/kernel/syscalls, bug #679630
    
    Recut linux-headers tarball with fixed 'rip-headers.sh' in
    https://gitweb.gentoo.org/proj/toolchain/linux-headers-patches.git/commit/?id=b418143bc1bc69f4b0c7509f74e16f9302557e4c
    
    Fixes headers installation on alpha, hppa, ia64, m68k, mips,
    power, sh4, sparc.
    
    Reported-by: Jeroen Roovers
    Closes: https://bugs.gentoo.org/679630
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-kernel/linux-headers/Manifest                  |  1 +
 .../linux-headers/linux-headers-5.0-r1.ebuild      | 60 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2019-03-07 07:31:15 UTC
The bug has been referenced in the following commit(s):

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

commit 02724a7c294d6a8f4aa17924339c8638d3cf6efe
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-03-07 07:30:52 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-03-07 07:31:07 +0000

    sys-kernel/linux-headers: unpack tarball once
    
    Arfrever noticed that linux-headers is unpacked twice:
        gentoo-headers-base-5.0.tar.xz
        gentoo-headers-base-5.0-bug-679630.tar.xz
    
    It was unintentional. The change updates SRC_URI to refer
    only to updated tarball.
    
    Reported-by: Arfrever Frehtes Taifersar Arahesis
    Bug: https://bugs.gentoo.org/679630
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-kernel/linux-headers/linux-headers-5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)