Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69119 - Can't emerge xemacs
Summary: Can't emerge xemacs
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: XEmacs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-27 04:08 UTC by Paul C. Kunysch
Modified: 2006-12-09 08:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul C. Kunysch 2004-10-27 04:08:45 UTC
When I try to "emerge xemacs" (21.4.12) I get the errors and the emerge fails.

I get a simmilar error (without the "Symbol's function definition is void: display-warning" message) when I try to extract the (unpatched) xemacs tarball and run "./configure" and "make" manually:

# pwd
/usr/src/xemacs-21.4.12/src
# chpax -pemrxs ./xemacs
# strace ./xemacs -nd -batch -l \
  /usr/src/xemacs-21.4.12/src/../lisp/update-elc.el
[...]
open("/lib/libresolv.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0)\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=66744, ...}) = 0
old_mmap(NULL, 73640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x244ab000
old_mmap(0x244ba000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x244ba000
old_mmap(0x244bb000, 8104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x244bb000
close(3)                                = 0
open("/usr/lib/libssl.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\205"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0555, st_size=222528, ...}) = 0
old_mmap(NULL, 219920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x244bd000
old_mmap(0x244f0000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x33000) = 0x244f0000
close(3)                                = 0
open("/usr/lib/libcrypto.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\277"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0555, st_size=1255276, ...}) = 0
old_mmap(NULL, 1235480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x244f3000
old_mmap(0x2460c000, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x118000) = 0x2460c000
old_mmap(0x2461d000, 14872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2461d000
close(3)                                = 0
mprotect(0x59485000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = -1 EACCES (Permission denied)
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x24621000
munmap(0x242c8000, 17448)               = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "\332\202\206\32", 4)           = 4
close(3)                                = 0
brk(0)                                  = 0x103acb38
brk(0x103cdb38)                         = 0x103cdb38
brk(0x103ce000)                         = 0x103ce000
times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 471133794
gettimeofday({1098868097, 475660}, NULL) = 0
brk(0x103ef000)                         = 0x103ef000
old_mmap(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x24622000
munmap(0x24622000, 909312)              = 0
munmap(0x24800000, 139264)              = 0
mprotect(0x24700000, 135168, PROT_READ|PROT_WRITE) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

When I unmask xemacs and emerge 21.4.15-r2 I get simmilar errors.

When I "emerge emacs" for comparison, everything works as expected.

When I try to compile "xemacs-21.5.9" then "./temacs -nd -no-packages -batch -l /usr/src/xemacs-21.5.9/src/../lisp/update-elc.el" seems to hang. (100% CPU usage for 15 minutes on a Pentium4 2.8)

Disabling selinux with kernel parameters doesn't help.

Switching from linux26-headers to linux-headers doesn't help.

Reproducible: Always
Steps to Reproduce:
1. emerge xemacs

Actual Results:  
Loading
/var/tmp/portage/xemacs-21.4.12/work/xemacs-21.4.12/src/../lisp/update-elc.el...
Symbol's function definition is void: display-warning



# emerge info
Portage 2.0.51-r2 (selinux/2004.1/x86, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.7-hardened-r9 i686)
=================================================================
System uname: 2.6.7-hardened-r9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains
/var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks loadpolicy sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 berkdb crypt dlloader emacs gd gdbm hardened hardenedphp imap
innodb ipv6 jpeg ldap libwww maildir mysql ncurses nls objc opens pam perl pic
pie png python readline s selinux slang ssl tcpd threads unicode vhosts x86
xemacs xml xml2 zlib"

# emerge -evp world | egrep "\\*"
*** Please update portage to the above version before proceeding.
[ebuild  N    ] app-editors/nano-1.3.4  -build -debug -justify +ncurses +nls
-nomac +slang -spell* 0 kB
Comment 1 Paul C. Kunysch 2004-10-27 04:48:01 UTC
Btw: "emerge xemacs-gtk" works as expected.
Comment 2 Hans de Graaff gentoo-dev Security 2006-12-09 08:41:14 UTC
Could you please verify if this still happens with xemacs 21.4.19? If so, please re-open the bug.