cschwan / sage-on-gentoo

(Unofficial) Gentoo Overlay for Sage- and Sage-related ebuilds
79 stars 26 forks source link

=sci-mathematics/gap-4.8.1: start failure: Error, failed to load needed package `gapdoc' #395

Closed Coacher closed 8 years ago

Coacher commented 8 years ago

Hello.

Somewhat recently gap broke on my machine. Now I get this:

$ gap
 ┌───────┐   GAP unknown of 2016-02-26 19:27:34 (MSK)
 │  GAP  │   http://www.gap-system.org
 └───────┘   Architecture: x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-gcc-default64
 Libs used:  gmp, readline
 Loading the library and packages ...
#I  GAP: needed package gapdoc cannot be loaded
Error, failed to load needed package `gapdoc' (version >= 1.2) called from
func(  ); at /usr/lib64/gap/lib/system.g:156 called from
<function "CallAndInstallPostRestore">( <arguments> )
 called from read-eval loop at line 890 of /usr/lib64/gap/lib/init.g
you can 'quit;' to quit to outer loop, or
you can 'return;' to continue
brk>

It was working fine before. Rebuilding doesn't help. Not sure what the problem is. Will try with an older version and report back.

Coacher commented 8 years ago

emerge --info gap:

Portage 2.2.27 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r2, 4.4.3-ACER-1830T x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.3-ACER-1830T-x86_64-Intel-R-_Core-TM-_i3_CPU_U_330_@_1.20GHz-with-gentoo-2.2
KiB Mem:     7831140 total,   1962180 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Fri, 26 Feb 2016 15:22:49 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r2::gentoo
Repositories:

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

bonespirit
    location: /var/lib/layman/bonespirit
    sync-type: git
    sync-uri: https://github.com/Coacher/bonespirit.git
    masters: gentoo
    priority: 50

bonespirit-private
    location: /var/lib/layman/bonespirit-private
    sync-type: git
    sync-uri: file:///home/coacher/Work/bonespirit-private/
    masters: sage-on-gentoo gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    sync-type: git
    sync-uri: git://github.com/cschwan/sage-on-gentoo.git
    masters: gentoo science
    priority: 50

science
    location: /var/lib/layman/science
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/sci.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA FraunhoferFDK"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -mfpmath=sse -fomit-frame-pointer -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=1 --load-average=5 --with-bdeps=y --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer 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://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs=5"
PKGDIR="/var/portage/packages"
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="/var/tmp"
USE="X a52 aac acer acl acpi alsa amd64 bluetooth bluray bzip2 cairo cddb cli consolekit cracklib crypt cups cxx dbus desktop djvu dri dri3 drm dts dvd dvdnav egl enca encode exif expat faac faad fam fdk ffmpeg flac fontconfig ftp gif git gmp gnutls gstreamer gtk gzip iconv icu idn imagemagick imlib inotify ipv6 jit jpeg jpeg2k kde kontact lame lcms libass libnotify libsamplerate lzma lzo matroska mime mmx mmxext modules mp3 mp4 mpg123 mplayer mtp multilib musicbrainz ncurses network nls nptl nss ogg opengl openmp opus orc pam pango pch pcre pdf pm-utils png policykit postscript pulseaudio qt3support qt4 readline scanner schroedinger seccomp semantic-desktop session smp sound spell sqlite sse sse2 ssl svg symlink syslog taglib theora threads tiff truetype twolame udev udisks unicode upower usb vaapi vim-syntax vorbis vpx webp wifi x264 x265 xattr xcb xinerama xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 ssse3 sse4_1 sse4_2" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB en_US ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sci-mathematics/gap-4.8.1::sage-on-gentoo was built with the following:
USE="gmp readline vim-syntax -emacs" ABI_X86="64"
Coacher commented 8 years ago

gap -D:

$ gap -D
#I  READ_GAP_ROOT: loading 'lib/init.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/kernel.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/global.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/system.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/read1.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/thread1.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/filter.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/filter1.g' statically
#I  READ_GAP_ROOT: loading 'lib/oper.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/oper1.g' statically
#I  READ_GAP_ROOT: loading 'lib/type.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/type1.g' statically
#I  READ_GAP_ROOT: loading 'lib/methsel.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/methsel1.g' statically
#I  READ_GAP_ROOT: loading 'lib/methsel2.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/random.g' statically
#I  READ_GAP_ROOT: loading 'lib/function.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/object.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/variable.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/package.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/coll.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/list.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/wpobj.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/arith.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ffe.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/domain.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/string.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/cyclotom.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/set.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/record.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/coll.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/flag.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/boolean.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ffe.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/arith.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/list.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/wpobj.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/permutat.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/trans.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/pperm.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/object.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/listcoef.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/info.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/assert.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/files.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/streams.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/matobj1.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/vecmat.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/vec8bit.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/mat8bit.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/global.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/info.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/assert.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/global.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/random.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/options.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/options.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/attr.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/attr.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/string.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/userpref.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/cmdledit.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/error.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/session.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/float.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/macfloat.g' as GAP file
 ┌───────┐   GAP unknown of 2016-02-26 19:27:34 (MSK)
 │  GAP  │   http://www.gap-system.org
 └───────┘   Architecture: x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-gcc-default64
 Libs used:  gmp, readline
 Loading the library #I  reading lib/read2.g
#I  READ_GAP_ROOT: loading 'lib/read2.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/process.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/files.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/streams.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/process.gi' as GAP file
#I  reading lib/read3.g
#I  READ_GAP_ROOT: loading 'lib/read3.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/tuples.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/rvecempt.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/extaset.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/extlset.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/extrset.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/extuset.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/dict.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/mapping.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/mapphomo.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/relation.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/magma.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/mgmideal.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/mgmhom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/mgmadj.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/mgmcong.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/semicong.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/semigrp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/smgideal.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/monoid.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/invsgp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/addmagma.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/addcoset.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/semiring.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ring.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/matrix.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/matint.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/matblock.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ideal.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/module.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/basis.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/basismut.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/vspc.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/vspchom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/zlattice.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/algebra.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/mgmring.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/algfp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/alglie.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/algsc.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/alghom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/liefam.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/algrep.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/lierep.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/integer.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/numtheor.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/primality.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/contfrac.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ringsc.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ringhom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/combinat.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ratfun.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/field.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/zmodnz.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/zmodnze.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/cyclotom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/fldabnum.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/padics.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ringpoly.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/upoly.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/polyfinf.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/polyrat.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/polyconw.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/algfld.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/meataxe.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/unknown.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/word.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/wordass.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/matobj2.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/matobjplist.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/rws.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/rwspcclt.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/rwsgrp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/rwspcgrp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/groebner.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/pcgs.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/pcgsind.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/pcgspcg.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/pcgsmodu.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/pcgsperm.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/pcgsspec.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grppc.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grppcnrm.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grptbl.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grpperm.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grpprmcs.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/stbcbckt.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ghom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ghompcgs.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/gprd.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ghomperm.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/gpprmsya.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/addgphom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grpnames.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grpnames.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/quotsys.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/pquot.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/fampred.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/oprt.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/partitio.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/stbc.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/clas.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/clashom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/permdeco.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/csetgrp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/factgrp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grpreps.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grppcrep.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/onecohom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grppccom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/twocohom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grppcext.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grppcfp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/randiso.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/schur.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/schursym.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grplatt.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/oprtglat.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grppclat.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grppcaut.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/straight.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/memory.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grpfp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grpfree.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/sgpres.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/tietze.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ghomfp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/dt.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/integer.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/list.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/set.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/wpobj.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grpnice.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/morpheus.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grpmat.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/fitfree.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grpffmat.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/grpramat.gd' as GAP file
#I  READ_GAP_ROOT: loading 'grp/basic.gd' as GAP file
#I  READ_GAP_ROOT: loading 'grp/classic.gd' as GAP file
#I  READ_GAP_ROOT: loading 'grp/perf.gd' as GAP file
#I  READ_GAP_ROOT: loading 'grp/suzuki.gd' as GAP file
#I  READ_GAP_ROOT: loading 'grp/ree.gd' as GAP file
#I  READ_GAP_ROOT: loading 'grp/simple.gd' as GAP file
#I  READ_GAP_ROOT: loading 'grp/imf.gd' as GAP file
#I  READ_GAP_ROOT: loading 'grp/glzmodmz.gd' as GAP file
#I  READ_GAP_ROOT: loading 'grp/clasmax.grp' as GAP file
#I  READ_GAP_ROOT: loading 'lib/orders.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/trans.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/pperm.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/fastendo.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/fpsemi.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/fpmon.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/rwssmg.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/kbsemi.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/tcsemi.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/adjoin.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/semirel.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/semitran.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/reesmat.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/semiquo.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/semipperm.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/pager.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/helpbase.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/helpview.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/helpt2t.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/helpdef.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ctbl.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ctblfuns.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ctblmaps.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ctblauto.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ctbllatt.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ctblsymm.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ctblsolv.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ctblpope.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ctblmoli.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ctblmono.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/ctblgrp.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/tom.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/proto.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/other.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/gasman.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/function.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/random.gi' as GAP file
#I  reading lib/read4.g
#I  READ_GAP_ROOT: loading 'lib/read4.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/profile.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/newprofile.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/methwhy.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/pager.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/helpbase.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/helpt2t.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/helpdef.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/reread.g' as GAP file
#I  READ_GAP_ROOT: loading 'lib/package.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/string.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/test.gd' as GAP file
#I  READ_GAP_ROOT: loading 'lib/test.gi' as GAP file
#I  READ_GAP_ROOT: loading 'lib/helpview.gi' as GAP file
#I  READ_GAP_ROOT: loading 'gap.ini' as GAP file
#I  READ_GAP_ROOT: loading 'lib/obsolete.gd' as GAP file
and packages ...
#I  Read( "/home/coacher/.gap/pkg/Alnuth-3.0.0/PackageInfo.g" )
#I  Read( "/home/coacher/.gap/pkg/Alnuth-3.0.0/PackageInfo.g" ) done
#I  Read( "/home/coacher/.gap/pkg/autpgrp/PackageInfo.g" )
#I  Read( "/home/coacher/.gap/pkg/autpgrp/PackageInfo.g" ) done
#I  Read( "/home/coacher/.gap/pkg/laguna/PackageInfo.g" )
#I  Read( "/home/coacher/.gap/pkg/laguna/PackageInfo.g" ) done
#I  Read( "/home/coacher/.gap/pkg/polycyclic-2.11/PackageInfo.g" )
#I  Read( "/home/coacher/.gap/pkg/polycyclic-2.11/PackageInfo.g" ) done
#I  Read( "/home/coacher/.gap/pkg/sonata/PackageInfo.g" )
#I  Read( "/home/coacher/.gap/pkg/sonata/PackageInfo.g" ) done
#I  GAP: needed package gapdoc cannot be loaded
Error, failed to load needed package `gapdoc' (version >= 1.2) called from
func(  ); at /usr/lib64/gap/lib/system.g:156 called from
<function "CallAndInstallPostRestore">( <arguments> )
 called from read-eval loop at line 890 of /usr/lib64/gap/lib/init.g
you can 'quit;' to quit to outer loop, or
you can 'return;' to continue
brk>
Coacher commented 8 years ago

Not reproducible with =sci-mathematics/gap-4.7.8-r1. With exactly the same set of local packages gap now loads fine.

It seems GAPDoc is no longer installed with 4.8.1.

Coacher commented 8 years ago

It seems GAPDoc is no longer installed with 4.8.1.

^^ confirmed by comparing equery f gap outputs.

kiwifb commented 8 years ago

I should have seen it coming. The gap source for 4.8.1 are taken from github rather than downloading their giant tarball skimming all the packages except gapdoc repackaging it and putting the result on a mirror for sage-on-gentoo. I'll see what I can find as a solution.

kiwifb commented 8 years ago

OK I will be able to add an extra tarball to the sources http://www.gap-system.org/Packages/gapdoc.html, I'll just have to figure out where to install it. It may take around 24hours for me to get around to it.

kiwifb commented 8 years ago

OK pushed a fix, tell if it works or if it is missing something else.

Coacher commented 8 years ago

Yes, it works fine. Thank you very much! gap:

$ gap
 ┌───────┐   GAP unknown of 2016-02-27 14:57:43 (MSK)
 │  GAP  │   http://www.gap-system.org
 └───────┘   Architecture: x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-gcc-default64
 Libs used:  gmp, readline
 Loading the library and packages ...
 Components: trans 1.0, prim 2.1, small* 1.0, id* 1.0
 Packages:   Alnuth 3.0.0, AutPGrp 1.5, GAPDoc 1.5.1, LAGUNA 3.7.0, Polycyclic 2.11
 Try '?help' for help. See also  '?copyright' and  '?authors'
gap>

GAPDoc is now listed as loaded, all is good.

P.S. I couldn't help but notice that you've forgotten || die after mv and mkdir in 4.8.1-r1 ebuild.

Cheers.

kiwifb commented 8 years ago

Yes, I classically forget those. Thanks for the reminder.