configure: ** PARI (Common) checking how to remove colons from paths... (cached) echo $x checking for CLISP version... (cached) 2.49 (2010-07-07) (built 3520812089) (memory 3520812199) checking for CLISP libdir... (cached) /var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir/ checking for CLISP linking set... (cached) /var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir checking for CLISP... (cached) yes checking for FFI in CLISP... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E checking how to make hard links... (cached) ln checking whether ln -s works... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... (cached) yes checking for time.h... (cached) yes checking for sys/time.h... (cached) yes checking for ld used by GCC... (cached) /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... (cached) yes checking for shared library run path origin... (cached) done checking how to link with libpari... -lpari configure: ** PARI (Headers) checking pari/pari.h usability... yes checking pari/pari.h presence... yes checking for pari/pari.h... yes configure: ** PARI (Functions) checking for library containing pari_kernel_init... none required checking for pari_init... yes checking for pari_init_opts... yes checking for pari_close... yes configure: ** PARI (Output) configure: updating cache ../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: ** PARI (Done) make[1]: Entering directory `/var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir/pari' /var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir/clisp -K boot -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -c /var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/modules/pari/pari.lisp -o ./ ;; Compiling file /var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/modules/pari/pari.lisp ... ;; Wrote file /var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir/pari/pari.fas ;; Wrote file /var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir/pari/pari.c 0 errors, 0 warnings gcc -I/usr/include/db4.8 -I/var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir/gllib -I/var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir -I/usr/include/db4.8 -O2 -march=native -pipe -Wa,--noexecstack -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -I. -I/var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir/linkkit -I/var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/modules/pari -c pari.c pari.c: In function ‘get_entry_doc’: pari.c:7:58: warning: return discards qualifiers from pointer target type pari.c: In function ‘subres0’: pari.c:10:1: warning: implicit declaration of function ‘subres’ pari.c:10:30: warning: return makes pointer from integer without a cast pari.c: In function ‘module__pari__init_function_2’: pari.c:136:37: error: ‘gpi’ undeclared (first use in this function) pari.c:136:37: note: each undeclared identifier is reported only once for each function it appears in pari.c:137:37: error: ‘geuler’ undeclared (first use in this function) pari.c:142:37: error: ‘gi’ undeclared (first use in this function) pari.c:146:59: warning: invalid application of ‘sizeof’ to a function type pari.c:147:59: warning: invalid application of ‘sizeof’ to a function type pari.c:149:37: error: ‘ordvar’ undeclared (first use in this function) pari.c:150:37: error: ‘polvar’ undeclared (first use in this function) pari.c:152:37: error: ‘varentries’ undeclared (first use in this function) pari.c:160:37: error: ‘allocatemoremem’ undeclared (first use in this function) pari.c:164:37: error: ‘gscalmat’ undeclared (first use in this function) pari.c:178:37: error: ‘caradj0’ undeclared (first use in this function) pari.c:186:37: error: ‘extract’ undeclared (first use in this function) pari.c:187:37: error: ‘matextract’ undeclared (first use in this function) pari.c:192:37: error: ‘matrixqz’ undeclared (first use in this function) pari.c:193:37: error: ‘matrixqz2’ undeclared (first use in this function) pari.c:194:37: error: ‘matrixqz3’ undeclared (first use in this function) pari.c:197:37: error: ‘kerint1’ undeclared (first use in this function) pari.c:204:37: error: ‘racine’ undeclared (first use in this function) pari.c:218:37: error: ‘phi’ undeclared (first use in this function) pari.c:219:37: error: ‘smallfact’ undeclared (first use in this function) pari.c:226:37: error: ‘gener’ undeclared (first use in this function) pari.c:230:37: error: ‘fundunit’ undeclared (first use in this function) pari.c:231:37: error: ‘regula’ undeclared (first use in this function) pari.c:232:37: error: ‘compimag’ undeclared (first use in this function) pari.c:236:37: error: ‘sqcompreal’ undeclared (first use in this function) pari.c:237:37: error: ‘sqcompimag’ undeclared (first use in this function) pari.c:246:37: error: ‘comprealraw’ undeclared (first use in this function) pari.c:247:37: error: ‘powrealraw’ undeclared (first use in this function) pari.c:254:37: error: ‘mu’ undeclared (first use in this function) pari.c:257:37: error: ‘hil’ undeclared (first use in this function) pari.c:259:37: error: ‘base’ undeclared (first use in this function) pari.c:260:37: error: ‘smallbase’ undeclared (first use in this function) pari.c:261:37: error: ‘discf’ undeclared (first use in this function) pari.c:262:37: error: ‘smalldiscf’ undeclared (first use in this function) pari.c:267:37: error: ‘factoredbase’ undeclared (first use in this function) pari.c:268:37: error: ‘factoreddiscf’ undeclared (first use in this function) pari.c:276:37: error: ‘galoisconj2’ undeclared (first use in this function) pari.c:277:37: error: ‘galoisconj4’ undeclared (first use in this function) pari.c:284:37: error: ‘element_mul’ undeclared (first use in this function) pari.c:285:37: error: ‘element_pow’ undeclared (first use in this function) pari.c:298:37: error: ‘principalideal’ undeclared (first use in this function) pari.c:299:37: error: ‘principalidele’ undeclared (first use in this function) pari.c:308:37: error: ‘nfhermite’ undeclared (first use in this function) pari.c:309:37: error: ‘nfhermitemod’ undeclared (first use in this function) pari.c:314:37: error: ‘element_div’ undeclared (first use in this function) pari.c:316:37: error: ‘element_reduce’ undeclared (first use in this function) pari.c:319:37: error: ‘element_val’ undeclared (first use in this function) pari.c:351:37: error: ‘changevar’ undeclared (first use in this function) pari.c:354:37: error: ‘reorder’ undeclared (first use in this function) pari.c:387:37: error: ‘buchall’ undeclared (first use in this function) pari.c:392:37: error: ‘buchfu’ undeclared (first use in this function) pari.c:415:37: error: ‘torsell’ undeclared (first use in this function) pari.c:496:37: error: ‘factpol’ undeclared (first use in this function) pari.c:500:37: error: ‘discsr’ undeclared (first use in this function) pari.c:552:37: error: ‘polylogd’ undeclared (first use in this function) pari.c:553:37: error: ‘polylogdold’ undeclared (first use in this function) pari.c:554:37: error: ‘polylogp’ undeclared (first use in this function) make[1]: *** [pari.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-lisp/clisp-2.49-r3/work/clisp-2.49/builddir/pari' make: *** [pari] Error 2 emake failed * ERROR: dev-lisp/clisp-2.49-r3 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2513: Called die * The specific snippet of code: * emake -j1 || die "emake failed" * Reproducible: Always elrond ~ # eix dev-lisp/clisp [I] dev-lisp/clisp Available versions: (2) 2.47-r1 2.48-r1 (~)2.48-r2 (~)2.49-r3{tbz2}[1] {X +asdf berkdb dbus fastcgi gdbm gtk hyperspec new-clx pari (+)pcre postgres (+)readline svm -threads +unicode (+)zlib} Installed versions: 2.49-r3(2){tbz2}[1](07:57:21 PM 06/22/2011)(X asdf berkdb dbus gdbm gtk hyperspec pari pcre readline unicode zlib -fastcgi -postgres -svm -threads) Homepage: http://clisp.sourceforge.net/ Description: A portable, bytecode-compiled implementation of Common Lisp [1] "lisp" /var/lib/layman/lisp elrond ~ # eix sci-mathematics/pari [I] sci-mathematics/pari Available versions: 2.3.4-r1 (~)2.3.5{tbz2} (~)2.5.0 {X data doc emacs fltk gmp static-libs} Installed versions: 2.5.0(01:54:06 PM 07/27/2011)(X doc fltk gmp -data -static-libs) Homepage: http://pari.math.u-bordeaux.fr/ Description: A software package for computer-aided number theory elrond ~ # emerge --info Portage 2.2.0_alpha47 (default/linux/x86/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r4, 2.6.36-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.36-gentoo-r1-i686-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-2.0.3 Timestamp of tree: Wed, 27 Jul 2011 06:15:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r1, 2.7.2-r2, 3.1.3-r1, 3.2-r2 dev-util/cmake: 2.8.5-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.1 sys-devel/gcc: 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo science sunrise lisp emacs grozin Installed sets: ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -march=native -pipe" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="ru_RU.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru" MAKEOPTS="-j2" 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 --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/lisp /var/lib/layman/emacs /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa bash-completion berkdb blas boehm-gc branding browserplugin bzip2 cairo cdda cdr consolekit cracklib crypt css cups curl cxx dbus declarative dirac doc dri dvd dvdnav dvdr emacs enca encode exif fam ffmpeg fftw firefox flac fltk fortran gd gdbm gdu gif gmp gpm gsl gtk iconv imagemagick jpeg kde kipi kpathsea lapack latex lcms ldap leim libnotify lzma mad mmx mng modules mozilla mp3 mp4 mpeg mudflap mule ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pango pcre pdf perl phonon plasma plotutils png policykit ppds pppd python qt3support qt4 readline schroedinger sdl session speex spell sse sse2 ssl startup-notification svg sysfs tcl tcpd theora tiff tk truetype udev umfpack unicode usb v4l2 vcd vorbis win32codecs wxwidgets x264 x86 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="braindump flow karbon kexi kpresenter krita tables words" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The same happens for dev-lisp/clisp-2.48-r2 in the main tree. So, I removed [lisp-overlay].
Some changes in the header files we may need to include some more if memory serves me right. I am having a closer look, it would have nice to mention the bug numbers when you sent that email over.
That will be more work than I expected. This a bit all over the place, for example we have allocatemoremem which has been replaced by allocatemem (see the summary of http://trac.sagemath.org/sage_trac/ticket/11321). Quite a few of these were alias or declared external. I suspect a number of these shouldn't have been called directly in the first place.
Should we mask the USE flag pari?
Masking will be an overkill, just add <sci-mathematics/pari-2.5.0 requirement. On some systems (e.g. mine) only clisp uses this package.
Upstream bug: http://sourceforge.net/p/clisp/bugs/659/ (In reply to Andrew Savchenko from comment #5) > Masking will be an overkill, just add <sci-mathematics/pari-2.5.0 > requirement. That has been done, thanks, clisp-2.49-r8.ebuild has: pari? ( <sci-mathematics/pari-2.5.0 )
=dev-lisp/clisp-2.49-r8 is out of the tree. Current =dev-lisp/clisp-2.49.90 contains pari? ( <sci-mathematics/pari-2.5.0 ), closing