Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266216 - sci-mathematics/maxima-5.17.1-r1 fails to compile with clisp on hardened profile
Summary: sci-mathematics/maxima-5.17.1-r1 fails to compile with clisp on hardened profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
: 272441 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-15 08:10 UTC by Juergen Rose
Modified: 2010-12-05 16:54 UTC (History)
1 user (show)

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


Attachments
/var/tmp/portage/sci-mathematics/maxima-5.17.1-r1/temp/build.log (build.log,204.02 KB, text/plain)
2009-04-15 08:15 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2009-04-15 08:10:44 UTC
'emerge maxima' fails with:
...
/bin/install -c -m 644 binary-clisp/maxima.mem "/var/tmp/portage/sci-mathematics/maxima-5.17.1-r1/image/usr/lib/maxima/5.17.1/binary-cli
sp/maxima.mem"
/bin/install -c  "/var/tmp/portage/sci-mathematics/maxima-5.17.1-r1/image/usr/lib/maxima/5.17.1/binary-clisp/"
/bin/install: missing destination file operand after `/var/tmp/portage/sci-mathematics/maxima-5.17.1-r1/image/usr/lib/maxima/5.17.1/bina
ry-clisp/'
Try `/bin/install --help' for more information.
make[2]: *** [install-clisp] Error 1

Reproducible: Always




root@snake:/root(35)# emerge --info
Portage 2.1.6.11 (hardened/linux/x86, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r4-i686-Pentium_III_-Katmai-with-gentoo-2.0.0
Timestamp of tree: Tue, 14 Apr 2009 23:15:02 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r4, 2.5.4-r2, 2.6.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O3 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-
active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texm
f/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -O3 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-pipe -O3 -march=pentium3 -fomit-frame-pointer"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/ge
ntoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://gd.tuwien.ac.at/opsys/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pu
b/Linux/gentoo http://gentoo.oregonstate.edu http://212.219.247.17/sites/www.ibiblio.org/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclud
e=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage/layman/zugaina /usr/local/portage/layman/dotnet /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl administrator afs alsa amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bonobo boo boost bzip
2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dv dvb dvd dvdr
 dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fpx galago gd gdal geos 
gif gimp gimpprint ginac glade glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http
 iconv icq icu id3 ide imagemagick imap innodb irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kerberos kexi keyring ladspa lame lapack latex lcms ldap libffi libgda
 libsamplerate lm_sensors lua lzo lzw mad maildir math matroska matrox midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer 
mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nntp nptl nptlonly nsplugin ntfs numarray numeric obex ocaml octave odbc ogdi ogg 
ole opengl pae pam pcre pda pdf perl pic plotutils plugins png posix postgres postscript pppd preview-latex proj projectx pstricks python qhull quicktime readline reflection reis
erfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp smp sndfile snmp soup sox speex spell spl sqlite sse ssl stlport subtitles subversion suexec svg sy
sfs t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode urandom userlocales utempter v4l2 vorbis webkit win32codecs wmf wxwindows x86 xattr xcb xemacs xex
t xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec
958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd aut
hn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expir
es ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http
 rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                " KERNEL="linux" LCD_DEVICES="bayrad cfont
z cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO
_CARDS="mga vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Juergen Rose 2009-04-15 08:15:16 UTC
Created attachment 188388 [details]
/var/tmp/portage/sci-mathematics/maxima-5.17.1-r1/temp/build.log
Comment 2 Juergen Rose 2009-05-25 16:37:29 UTC
Now it fails with maxima-5.18.1.
Comment 3 François Bissey 2010-06-29 23:02:38 UTC
I didn't notice but this bug and bug 272441 are duplicates of each other.
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2010-06-29 23:08:15 UTC
*** Bug 272441 has been marked as a duplicate of this bug. ***
Comment 5 Magnus Granberg gentoo-dev 2010-08-04 21:55:47 UTC
sci-mathematics/maxima-5.21.1-r1  USE="clisp nls unicode -X (-cmucl) -ecl -emacs (-gcl) -latex -openmcl -sbcl -tk -xemacs" LINGUAS="-es -pt -pt_BR"

Compiles and installs fine.
Reopen if it still fail with 5.21.1-r1 or newer.
Comment 6 Milan Holzäpfel 2010-12-05 16:54:34 UTC
I had the same issue and noticed the following during maxima's configure:

checking for iconv... true
checking for recode... true
Cannot map memory to address 0xc7b92000 .
[../src/spvw_mmap.d:347] errno = ENOMEM: Not enough memory.
/usr/lib/clisp-2.48/base/lisp.run: not enough memory for initialization
clisp runtime is ""
basename: missing operand
Try `basename --help' for more information.
checking POSIX shell to see that it contains getopts... trying /bin/sh
POSIX shell is /bin/sh
checking for egrep... grep -E

I re-emerged clisp, now the compile works and this section from maxima's configure reads:

checking for iconv... true
checking for recode... true
clisp runtime is "/usr/lib/clisp-2.48/base/lisp.run"
checking POSIX shell to see that it contains getopts... trying /bin/sh
POSIX shell is /bin/sh
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E


You could consider adding a warning to the ebuild, stating that users should try to re-emerge clisp if maxima's compile fails with this message?  

Regards,
Milan