Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660448 - app-editors/emacs-26.1: temacs bootstrap is execing itself forever during build on Alpha
Summary: app-editors/emacs-26.1: temacs bootstrap is execing itself forever during bui...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: Normal normal
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2018-07-05 14:05 UTC by Tobias Klausmann (RETIRED)
Modified: 2018-07-22 14:11 UTC (History)
1 user (show)

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


Attachments
build log (app-editors:emacs-26.1:20180704-172435.log,95.20 KB, text/plain)
2018-07-05 14:05 UTC, Tobias Klausmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2018-07-05 14:05:28 UTC
Created attachment 538440 [details]
build log

make -C ../admin/charsets eucjp-ms.el                                                                  make[2]: Nothing to be done for 'charscript.el'.                                                       make[2]: Leaving directory '/space/portage-tmp/portage/app-editors/emacs-26.1/work/emacs-26.1/admin/unidata'                                                                                                  make[2]: Entering directory '/space/portage-tmp/portage/app-editors/emacs-26.1/work/emacs-26.1/admin/charsets'                                                                                                make[2]: Nothing to be done for 'eucjp-ms.el'.                                                         
make[2]: Leaving directory '/space/portage-tmp/portage/app-editors/emacs-26.1/work/emacs-26.1/admin/charsets'                                                                                                 
thisdir=`/bin/pwd`; \                                                                                  
cd ./etc/images/icons || exit 1; umask 022 ; \                                                         
for dir in */*/apps */*/mimetypes; do \                                                                
  [ -d ${dir} ] || continue ; \                                                                        
  ( cd "${thisdir}"; /bin/mkdir -p "/space/portage-tmp/portage/app-editors/emacs-26.1/image//usr/share/icons/${dir}" ) ; \                                                                                    
  for icon in ${dir}/emacs[.-]*; do \                                                                  
    [ -r ${icon} ] || continue ; \                                                                     
    ext=`echo "${icon}" | sed -e 's|.*\.||'`; \                                                        
    dest=`echo "${icon}" | sed -e 's|.*/||' -e "s|\\.${ext}\$||" -e 's/emacs/emacs/' -e 's&$&-emacs-26&'`.${ext} ; \                                                                                          
    ( cd "${thisdir}"; \                                                                               
      /space/portage-tmp/portage/._portage_reinstall_.b56tepjp/bin/ebuild-helpers/xattr/install -c -m 644 ./etc/images/icons/${icon} "/space/portage-tmp/portage/app-editors/emacs-26.1/image//usr/share/icons/${dir}/${dest}" ) \                                                                                   
    || exit 1; \                                                                                       
  done ; \                                                                                             
done                                                                                                   
make[2]: Entering directory '/space/portage-tmp/portage/app-editors/emacs-26.1/work/emacs-26.1/admin/charsets'                                                                                                
make[2]: Nothing to be done for 'all'.                                                                 
make[2]: Leaving directory '/space/portage-tmp/portage/app-editors/emacs-26.1/work/emacs-26.1/admin/charsets'                                                                                                 
make -C ../lisp update-subdirs                                                                         
make[2]: Entering directory '/space/portage-tmp/portage/app-editors/emacs-26.1/work/emacs-26.1/lisp'   
for file in . ./calc ./calendar ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./image ./international ./language ./mail ./mh-e ./net ./nxml ./obsolete ./org ./play ./progmodes ./term ./textmodes ./url ./vc; do \                                                                                                 
   ./../build-aux/update-subdirs $file; \                                                              
done;                                                                                                  
make[2]: Leaving directory '/space/portage-tmp/portage/app-editors/emacs-26.1/work/emacs-26.1/lisp'    
./temacs --batch  --load loadup bootstrap                                                              


It hangs here forever. I've let it run for ~20h in the past, but it just spins on the CPU, apparently never making progress.

I can provide access to dev Alpha machine if/as needed.

$ emerge --info
Portage 2.3.40 (python 3.5.5-final-0, default/linux/alpha/13.0, gcc-7.3.0, glibc-2.27-r5, 4.17.0+ alpha)
=================================================================
System uname: Linux-4.17.0+-alpha-EV68AL-with-gentoo-2.6
KiB Mem:     8300600 total,     52560 free
KiB Swap:     977912 total,    976360 free
Timestamp of repository gentoo: Thu, 05 Jul 2018 01:06:13 +0000
Head commit of repository gentoo: df47388760dde06c8b1ee36d8a2381d9908b5dfc

sh bash 4.4_p23
ld GNU ld (Gentoo 2.30 p3) 2.30.0
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p23::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8-r1::gentoo, 3.5.5-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6::gentoo
sys-apps/openrc:          0.37::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r3::gentoo
sys-devel/gcc:            5.4.0-r4::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r5::gentoo
Repositories:

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

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="alpha ~alpha"
ACCEPT_LICENSE="* -@EULA"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -pipe -O2 -mcpu=ev67"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev67"
DISTDIR="/space/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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-logs config-protect-if-modified distlocks 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 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/space/packages/system"
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="/space/portage-tmp"
USE="acl alpha bash-completion berkdb bzip2 cli crypt cxx dri fortran ftp gdbm iconv ipv6 libtirpc mmap modules ncurses nls nptl nptlonly offensive pam pcre readline recode sharedmem sockets ssl unicode vim vim-pager xattr zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx ymfpci" 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 plan sheets stage words" 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="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 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ulrich Müller gentoo-dev 2018-07-05 14:37:46 UTC
Does emacs-25.3-r4 build?
If it does, can you try building 26.1 with USE="-threads" (because this flag is new in 26.1).

> I can provide access to dev Alpha machine if/as needed.

Let's try the above first. :)
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2018-07-05 17:27:51 UTC
app-editors/emacs-25.3-r4 compiles and merges just fine.

v26.1 with USE=-threads still hangs in a similar spot:

make[2]: Entering directory '/space/portage-tmp/portage/app-editors/emacs-26.1/work/emacs-26.1/lisp'
for file in . ./calc ./calendar ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./image ./international ./language ./mail ./mh-e ./net ./nxml ./obsolete ./org ./play ./progmodes ./term ./textmodes ./url ./vc; do \
   ./../build-aux/update-subdirs $file; \
done;
make[2]: Leaving directory '/space/portage-tmp/portage/app-editors/emacs-26.1/work/emacs-26.1/lisp'
SANDBOX_ON=0 LD_PRELOAD= env ./temacs --batch  --load loadup bootstrap

it's been there for 5m now with no progress that I can see.
Comment 3 Ulrich Müller gentoo-dev 2018-07-07 15:38:20 UTC
Reported upstream: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32083
Comment 4 Larry the Git Cow gentoo-dev 2018-07-07 19:21:50 UTC
The bug has been closed via the following commit(s):

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

commit 5b916305da72c830f9ee97b7b63b3bde77b1175c
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2018-07-07 18:59:14 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2018-07-07 19:21:26 +0000

    app-editors/emacs: Fix infinite bootstrap loop on alpha.
    
    Closes: https://bugs.gentoo.org/660448
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 app-editors/emacs/Manifest             |   1 +
 app-editors/emacs/emacs-26.1-r1.ebuild | 384 +++++++++++++++++++++++++++++++++
 2 files changed, 385 insertions(+)