Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648056 - sys-libs/timezone-data-2018c: emake failed: awk: checklinks.awk:9: fatal: cannot open file `tzdata.zi' for reading (No such file or directory), parallel build failure
Summary: sys-libs/timezone-data-2018c: emake failed: awk: checklinks.awk:9: fatal: can...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-02-18 22:20 UTC by Thomas Deutschmann (RETIRED)
Modified: 2019-08-22 21:03 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,7.49 KB, text/plain)
2018-02-18 22:21 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-18 22:20:48 UTC
> >>> Source compiled.
> >>> Test phase: sys-libs/timezone-data-2018c
> make --jobs 5 --load-average 7.95 check VALIDATE_ENV=true 
> make force_tzs
> version=`sed 1q version` && \
> 	  LC_ALL=C awk -v version="$version" -f zishrink.awk \
> 	    africa antarctica asia australasia europe northamerica southamerica etcetera systemv factory backward  >tzdata.zi.out
> awk -f checklinks.awk africa antarctica asia australasia europe northamerica southamerica etcetera systemv factory backward pacificnew
> ! grep -En '^(Zone|Link[[:space:]]+[^[:space:]]+)[[:space:]]+[^[:space:]]*[^/[:space:]]{15}' \
> 		africa antarctica asia australasia europe northamerica southamerica etcetera systemv factory backward pacificnew backzone
> make[1]: Entering directory '/var/tmp/portage/sys-libs/timezone-data-2018c/work'
> version=`sed 1q version` && \
> 	  LC_ALL=C awk -v version="$version" -f zishrink.awk \
> 	    africa antarctica asia australasia europe northamerica southamerica etcetera systemv factory backward  >tzdata.zi.out
> awk '/^Link/ {print $3}' backward | LC_ALL=C sort -cu
> awk -f checklinks.awk tzdata.zi
> awk: checklinks.awk:9: fatal: cannot open file `tzdata.zi' for reading (No such file or directory)
> make: *** [Makefile:707: check_links] Error 2
> make: *** Waiting for unfinished jobs....
> awk '/^Zone/ {print $2}' backzone | LC_ALL=C sort -cu
> awk '/^[^#]/ {print $1}' iso3166.tab | LC_ALL=C sort -cu
> awk '/^[^#]/ {print $1}' zone.tab | LC_ALL=C sort -c
> awk '/^[^#]/ {print substr($0, 1, 2)}' zone1970.tab | \
> 	  LC_ALL=C sort -c
> awk '/^[^#]/ { n = split($1,a,/,/); for (i=2; i<=n; i++) print a[1], a[i]; }' zone1970.tab | \
> 	  LC_ALL=C sort -cu
> mv tzdata.zi.out tzdata.zi
> mv tzdata.zi.out tzdata.zi
> mv: cannot stat 'tzdata.zi.out': No such file or directory
> make[1]: *** [Makefile:540: tzdata.zi] Error 1
> make[1]: Leaving directory '/var/tmp/portage/sys-libs/timezone-data-2018c/work'
> make: *** [Makefile:635: to2050.tzs] Error 2
>  [31;01m*[0m ERROR: sys-libs/timezone-data-2018c::gentoo failed (test phase):
>  [31;01m*[0m   emake failed

Portage 2.3.19 (python 3.5.4-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.25-r10, 4.9.76-gentoo-r1 i686)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108324 total,   2246024 free
KiB Swap:     488276 total,    486536 free
Timestamp of repository gentoo: Sun, 18 Feb 2018 15:26:22 +0000
Head commit of repository gentoo: 6142c5c9e73fd4b70da72221d19450b88013e06c

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::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.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MANPAGER="manpager"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/root"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/tmp/stable"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22 ruby23"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,4824,0"
TMUX_PANE="%0"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-18 22:21:08 UTC
Created attachment 520076 [details]
build.log
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-18 22:24:42 UTC
Seems to be a parallel make issue. It is passing with MAKEOPTS=-j1.
Comment 3 Larry the Git Cow gentoo-dev 2018-02-24 10:21:30 UTC
The bug has been closed via the following commit(s):

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

commit 3affa1f416e6f10757562a2bf42ef7a2c67e450a
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-02-24 10:20:45 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-02-24 10:21:23 +0000

    sys-libs/timezone-data: Force -j1 for tests
    
    Closes: https://bugs.gentoo.org/648056

 sys-libs/timezone-data/timezone-data-2018c.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 SpanKY gentoo-dev 2018-05-30 20:04:49 UTC
forcing -j1 is a workaround, not a fix
Comment 5 Larry the Git Cow gentoo-dev 2019-08-22 21:03:17 UTC
The bug has been closed via the following commit(s):

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

commit ad8135b30bf4a2cb1b4e958fda7ee1584e9f95c5
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-08-22 21:02:55 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-08-22 21:03:09 +0000

    sys-libs/timezone-data: drop -j1 workaround from src_test()
    
    Closes: https://bugs.gentoo.org/648056
    Package-Manager: Portage-2.3.72, Repoman-2.3.17
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 .../timezone-data/timezone-data-2019b-r2.ebuild    | 178 +++++++++++++++++++++
 1 file changed, 178 insertions(+)