Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716000 - dev-lang/julia-1.4.0: build gets stuck at “Generating precompile statements...”
Summary: dev-lang/julia-1.4.0: build gets stuck at “Generating precompile statements...”
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
: 716168 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-04-03 08:27 UTC by Marco Götze
Modified: 2020-04-04 19:32 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,368.46 KB, text/x-log)
2020-04-03 08:27 UTC, Marco Götze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Götze 2020-04-03 08:27:29 UTC
Created attachment 629324 [details]
build.log

Emerging julia-1.4.0 appears to get stuck at “Generating precompile statements...”, at least I've had it sit there now for about two hours (with no discernable CPU load) when a build of julia-1.3.0 took about 15 minutes in total.

My system is amd64 (Ryzen 9 3900X).  My CFLAGS are "-march=native -O2 -pipe".

I'm attaching the build log.

`ps ax | grep julia` at this point:

 159949 pts/2    SNs+   0:00 /usr/bin/python3.6m /usr/lib/portage/python3.6/pid-ns-init 250 250 250 18 0,1,2 /usr/bin/sandbox [dev-lang/julia-1.4.0] sandbox /usr/lib/portage/python3.6/ebuild.sh compile
 159952 pts/2    SN+    0:00 [dev-lang/julia-1.4.0] sandbox /usr/lib/portage/python3.6/ebuild.sh compile
 159979 pts/2    SN+    0:00 /bin/bash /usr/lib/portage/python3.6/ebuild-helpers/emake julia-release prefix=/usr DESTDIR=/tmp/portage/dev-lang/julia-1.4.0/image CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++
 159981 pts/2    SN+    0:00 make -j24 julia-release prefix=/usr DESTDIR=/tmp/portage/dev-lang/julia-1.4.0/image CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++
 177754 pts/2    SN+    0:00 make -C /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0 -f sysimage.mk sysimg-release
 177858 pts/2    SN+    0:00 /bin/sh -c echo ' cd /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/base && if ! JULIA_BINDIR=/tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/bin  /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/bin/julia -O3 -C "native" --output-o /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/lib/julia/sys-o.a.tmp  --startup-file=no --warn-overwrite=yes --sysimage /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/lib/julia/sys.ji /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/contrib/generate_precompile.jl 1; then echo '\''*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***'\''; false; fi ';  cd /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/base && if ! JULIA_BINDIR=/tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/bin  /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/bin/julia -O3 -C "native" --output-o /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/lib/julia/sys-o.a.tmp  --startup-file=no --warn-overwrite=yes --sysimage /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/lib/julia/sys.ji /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/contrib/generate_precompile.jl 1; then echo '*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***'; false; fi 
 177859 pts/2    SNl+   0:12 /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/bin/julia -O3 -C native --output-o /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/lib/julia/sys-o.a.tmp --startup-file=no --warn-overwrite=yes --sysimage /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/lib/julia/sys.ji /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/contrib/generate_precompile.jl 1
 177876 pts/2    DNl+   0:33 /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/bin/julia -O0 --trace-compile=/tmp/portage/dev-lang/julia-1.4.0/temp/jl_ATPQiy --sysimage /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/lib/julia/sys.ji --cpu-target=native --startup-file=no --color=yes -e import REPL; REPL.Terminals.is_precompiling[] = true -i --color=yes -e import REPL; REPL.Terminals.is_precompiling[] = true
 177895 ?        SNsl   0:07 /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/bin/julia -Cnative -J/tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/lib/julia/sys.ji -O0 -g1 --bind-to 127.0.0.1 --worker
 177897 ?        SNsl   0:07 /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/bin/julia -Cnative -J/tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/lib/julia/sys.ji -O0 -g1 --bind-to 127.0.0.1 --worker
 177968 pts/2    ZN+    0:00 [julia] <defunct>
 177970 pts/2    SN+    0:00 /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/bin/julia -O0 --trace-compile=/tmp/portage/dev-lang/julia-1.4.0/temp/jl_ATPQiy --sysimage /tmp/portage/dev-lang/julia-1.4.0/work/julia-1.4.0/usr/lib/julia/sys.ji --cpu-target=native --startup-file=no --color=yes -e import REPL; REPL.Terminals.is_precompiling[] = true -i --color=yes -e import REPL; REPL.Terminals.is_precompiling[] = true
Comment 1 Jonas Stein gentoo-dev 2020-04-03 18:45:24 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to 
* paste the emerge info 
as described on 
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 2 Marco Götze 2020-04-03 18:53:42 UTC
Oh, sorry about missing that.  Here goes (of course with an installed older version as the installation of julia-1.4.0 does not complete):

$ emerge --info dev-lang/julia
Portage 2.3.89 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.29-r7, 5.5.15-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.5.15-gentoo-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-gentoo-2.6
KiB Mem:    32908552 total,  15719764 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 03 Apr 2020 18:12:27 +0000
Head commit of repository gentoo: da811a1beec61780d600ff36e177b9e6f1251efc

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.7::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            8.3.0-r3::gentoo, 9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

mine
    location: /home/gomar/git/portage.mine
    masters: gentoo
    priority: 1

grub2-themes
    location: /usr/local/portage/layman/grub2-themes
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/grub2-themes-overlay.git
    masters: gentoo
    priority: 50

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

Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de de_DE en en_US"
MAKEOPTS="-j24"
PKGDIR="/usr/portage/distfiles"
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="/tmp"
USE="3dnow 3dnowext X a52 aac acl acpi activities alsa amd64 aspell berkdb bluetooth branding bzip2 cairo cdda cddb cdr chm cli cmake crypt cryptsetup cuda cups dbus declarative djvu dri dts dvb dvd dvdr ebook emboss emf encode exif ffmpeg flac fontconfig fortran ftp gdbm gif gimp git glamor gmp gpm graphviz gtk iconv icu imagemagick ipv6 javafx jce joystick jpeg kde kipi kwallet lame latex lcms libnotify libtirpc lm_sensors lzma lzo mad maildir matplotlib matroska mbox mjpeg mng mp3 mp4 mpeg mpeg2 multilib ncurses nls nptl nvenc offensive ogg openal opencl opengl openmp pam pango pcre pdf perl phonon plasma png policykit postscript ppds pulseaudio python qml qrcode qt5 quicktime readline samba sdl seccomp smp spell split-usr ssl startup-notification subtitles subversion svg systemd tcpd tga theora threads thumbnail tiff truetype udev udisks unicode upower usb user-session vaapi valgrind vcd vdpau vim-syntax vorbis vpx webdav webp widgets wmf wxwidgets x264 x265 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias authn_core authz_core unixd cgid socache_shmcb suexec" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev keyboard mouse joystick wacom" KERNEL="linux" L10N="de de-DE en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" SANE_BACKENDS="canon" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

dev-lang/julia-1.3.1-r1::mine was built with the following:
USE="" ABI_X86="(64)"
Comment 3 Matthias Maier gentoo-dev 2020-04-03 23:18:28 UTC
As a workaround.

When the build gets stuck find the "busybox tar" process and kill it. The build then finishes without any issue.
Comment 4 Marco Götze 2020-04-04 13:30:46 UTC
Confirming that the workaround works.
Comment 5 Matthias Maier gentoo-dev 2020-04-04 19:05:25 UTC
*** Bug 716168 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2020-04-04 19:32:30 UTC
The bug has been closed via the following commit(s):

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

commit c8eca4f083ab8cccef0f331d1fa8e1128a25d770
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2020-04-04 19:06:47 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2020-04-04 19:32:13 +0000

    dev-lang/julia: fix build and try to fix http-parser incompatibility
    
    Closes: https://bugs.gentoo.org/716000
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 dev-lang/julia/Manifest                                |  1 +
 .../{julia-1.4.0.ebuild => julia-1.4.0-r1.ebuild}      | 18 +++++++++++++++---
 2 files changed, 16 insertions(+), 3 deletions(-)