Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xemacs-21.5.33 doesn't compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jimmij
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2008
Posts: 112

PostPosted: Mon Jun 03, 2013 3:11 pm    Post subject: xemacs-21.5.33 doesn't compile Reply with quote

The fresh xemacs 21.5.33 does not install on my x86 system.
Here's the error message:
Code:
  # bind (gc-cons-threshold)
  (let ((gc-cons-threshold (if (and purify-flag (not (memq (quote quick-build) internal-error-checking))) 30000 3000000))) (let ((stack-trace-on-error nil)) (call-with-condition-handler (quote really-early-error-handler) (function (lambda nil (setq load-path (list source-lisp)) (setq module-load-path (list (expand-file-name "modules" build-directory))) (external-debugging-output (format "\nUsing load-path %s" load-path)) (external-debugging-output (format "\nUsing module-load-path %s" module-load-path)) (buffer-disable-undo (get-buffer "*scratch*")) (let ((temp-path (expand-file-name "." (car load-path)))) (setq load-path (nconc (mapcar (function (lambda (i) (concat i "/"))) (directory-files temp-path t "^[^-.]" nil (quote dirs-only))) (cons (file-name-as-directory temp-path) load-path)))) (setq load-warn-when-source-only t) (defun pureload (file) (let ((full-path (locate-file file load-path (if load-ignore-elc-files (quote (".el" "")) (quote (".elc" ".el" "")))))) (if full-path (prog1 (load full-path) (unless (memq (quote quick-build) internal-error-checking) (garbage-collect))) (external-debugging-output (format "\nLoad file %s: not found\n" file)) nil))) (load (expand-file-name "dumped-lisp.el" source-lisp)) (let ((files preloaded-file-list) file) (while (setq file (car files)) (unless (pureload file) (external-debugging-output "Fatal error during load, aborting") (kill-emacs 1)) (setq files (cdr files))) (when (not (featurep (quote toolbar))) (defun toolbar-button-p (obj) "No toolbar support." nil) (defun toolbar-specifier-p (obj) "No toolbar support." nil)) (fmakunbound (quote pureload))) (packages-load-package-dumped-lisps late-package-load-path))))) (setq preloaded-file-list (mapcar (function file-name-sans-extension) preloaded-file-list)) (setq load-warn-when-source-only nil) (setq debugger (quote debug)) (when (member "no-site-file" command-line-args) (setq site-start-file nil)) (when (load "site-load" t) (garbage-collect)) (when purify-flag (message "Finding pointers to doc strings...") (Snarf-documentation "DOC") (message "Finding pointers to doc strings...done") (Verify-documentation)) (when (stringp site-start-file) (load "site-init" t)) (setq load-history (cons (nreverse current-load-list) (delete* nil (mapc (function (lambda (element) (delete* (quote defun) element :key (function car-safe)) (delete-if (function (lambda (elt) (and (symbolp elt) (get elt (quote variable-documentation))))) element))) load-history) :key (function cdr))) current-load-list nil) (setcar (car load-history) (file-truename (caar load-history))) (garbage-collect) (buffer-enable-undo "*scratch*"))
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  (load-internal "[internal]")
  load("/var/tmp/portage/app-editors/xemacs-21.5.33/work/xemacs-21.5.33/src/../lisp/loadup.el")
  # (condition-case ... . error)
  # (catch top-level ...)
*** Killing XEmacs
XEmacs exiting to debugger.

Fatal error: assertion failed, file emacs.c, line 3513, ABORT()
make[1]: *** [xemacs.dmp] Aborted
make[1]: Leaving directory `/var/tmp/portage/app-editors/xemacs-21.5.33/work/xemacs-21.5.33/src'
make: *** [src] Error 2
 * ERROR: app-editors/xemacs-21.5.33 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-editors/xemacs-21.5.33'`,
 * the complete build log and the output of `emerge -pqv '=app-editors/xemacs-21.5.33'`.
 * The complete build log is located at '/var/tmp/portage/app-editors/xemacs-21.5.33/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-editors/xemacs-21.5.33/temp/environment'.
 * Working directory: '/var/tmp/portage/app-editors/xemacs-21.5.33/work/xemacs-21.5.33'
 * S: '/var/tmp/portage/app-editors/xemacs-21.5.33/work/xemacs-21.5.33'

>>> Failed to emerge app-editors/xemacs-21.5.33, Log file:

>>>  '/var/tmp/portage/app-editors/xemacs-21.5.33/temp/build.log'


emerge --info '=app-editors/xemacs-21.5.33'
Code:
Portage 2.1.11.62 (default/linux/x86/13.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.5.7-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.7-gentoo-i686-Intel-R-_Atom-TM-_CPU_N450_@_1.66GHz-with-gentoo-2.2
KiB Mem:     1020192 total,     56176 free
KiB Swap:    2047996 total,   2031108 free
Timestamp of tree: Mon, 03 Jun 2013 13:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA Broadcom"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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="-march=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emacs emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 java jpeg lcms ldap libnotify libsecret mad mbox mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 readline sdl session socialweb spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xemacs xml xv xvid zlib zsh-completion" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" 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-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________
Vanitas vanitatum et omnia vanitas.
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1352

PostPosted: Thu Jun 06, 2013 9:46 pm    Post subject: Reply with quote

Please file bugs at https://bugs.gentoo.org
Back to top
View user's profile Send private message
jimmij
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2008
Posts: 112

PostPosted: Sun Jun 09, 2013 2:27 pm    Post subject: Reply with quote

I've googled and played with ebuild a bit, and it seems that this error is just a new xemacs beta 'feature', not related directly to gentoo. In order to compile xemacs beta now one has to configure it '--with-mule' (or in case of gentoo add mule to the USE flag). Tested, works for me.

Whoever is in charge of making xemacs gentoo ebuild should probably consider to set mule as mandatory flag.
_________________
Vanitas vanitatum et omnia vanitas.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 165
Location: Italy

PostPosted: Mon Jun 24, 2013 9:21 am    Post subject: Reply with quote

I had the same problem. Indeed, compiling with mule helps. But that means that either the source packages are corrupted (requiring mule) or that pmule is now mandatory (which I hope not)
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1352

PostPosted: Mon Jun 24, 2013 9:25 am    Post subject: Reply with quote

jimmij wrote:
Whoever is in charge of making xemacs gentoo ebuild should probably consider to set mule as mandatory flag.


If you file a bug they can fix it so you don't have to locally apply the change.
Back to top
View user's profile Send private message
matslll
Developer
Developer


Joined: 16 Jul 2013
Posts: 1

PostPosted: Tue Jul 16, 2013 11:13 pm    Post subject: Reply with quote

From the description I'm afraid I can't see if this bug has been filed already. Please look at this report: https://bugs.gentoo.org/show_bug.cgi?id=472162 to see if this is the same problem.

As described there a fix has been committed. Try to emerge xemacs again. As is also described in the bug report you might need to uninstall xemacs when switching from a mule to a non-mule build or the other way around.

For now that is the best I've been able to come up with. The problem has been discussed upstream but so far no solution has been suggested.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum