cschwan / sage-on-gentoo

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

required use flags #349

Closed Alessandro-Barbieri closed 9 years ago

Alessandro-Barbieri commented 9 years ago

I apologize for any mistake but I'm new to gentoo.

Trying to install sage and go this requests

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by sci-mathematics/sage-6.6::sage-on-gentoo
# required by sage (argument)
=dev-lisp/ecls-15.3.7 ~x86
# required by sci-mathematics/sage-6.6::sage-on-gentoo
# required by sage (argument)
=sci-mathematics/pari-2.8_pre20150307-r1 ~x86
!!! The ebuild selected to satisfy "~media-gfx/tachyon-0.98.9[png]" has unmet requirements.
- media-gfx/tachyon-0.98.9-r2::sage-on-gentoo USE="png (selinux) -doc -examples -jpeg -mpi -opengl -threads"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( opengl mpi )

(dependency required by "sci-mathematics/sage-6.6::sage-on-gentoo" [ebuild])
(dependency required by "sage" [argument])
kiwifb commented 9 years ago

tachyon has a complicated set of useflags so mistake are not surprising. I'll check that we have sensible default. Did you follow the instructions of the Readme at our github homepage, in particular section (3)? Your ecls requirement is strange unless 13.5.1 has been removed from the tree.

Alessandro-Barbieri commented 9 years ago

I linked the files as in Readme

alessandro@tux /u/l/s/o/build ❯❯❯ ll /etc/portage/package.keywords                                                                                       1s 
total 12K
-rw-r--r-- 1 root root 23 Apr 24 00:46 app-portage
-rw-r--r-- 1 root root 22 Apr 24 00:47 dev-python
-rw-r--r-- 1 root root 30 Apr 24 00:53 media-gfx
lrwxrwxrwx 1 root root 52 Apr 24 00:49 sage -> /var/lib/layman/sage-on-gentoo/package.keywords/sage
alessandro@tux /u/l/s/o/build ❯❯❯ ll /etc/portage/package.unmask                                                                                         0s 
total 0
lrwxrwxrwx 1 root root 50 Apr 24 00:49 sage -> /var/lib/layman/sage-on-gentoo/package.unmask/sage
alessandro@tux /u/l/s/o/build ❯❯❯ ll /etc/portage/package.use                                                                                            0s 
total 24K
-rw-r--r-- 1 root root 24 Apr 22 20:34 app-text
-rw-r--r-- 1 root root 23 Apr 22 20:35 gnome-base
-rw-r--r-- 1 root root 19 Apr 23 23:57 media-libs
lrwxrwxrwx 1 root root 47 Apr 24 00:49 sage -> /var/lib/layman/sage-on-gentoo/package.use/sage
-rw-r--r-- 1 root root 23 Apr 22 02:00 sys-apps
-rw-r--r-- 1 root root 23 Apr 23 23:58 x1
-rw-r--r-- 1 root root 20 Apr 23 18:00 x11-libs
kiwifb commented 9 years ago

If you have eix installed can you show me the output of eix ecls?

kiwifb commented 9 years ago

And while I am at it the full output of emerge --info sage

Alessandro-Barbieri commented 9 years ago
Portage 2.2.18 (python 2.7.9-final-0, hardened/linux/x86/selinux, gcc-4.8.4, glibc-2.20-r2, 3.18.11-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.11-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.2
KiB Mem:     2584804 total,    662180 free
KiB Swap:     524284 total,    524276 free
Timestamp of repository gentoo: Sat, 25 Apr 2015 20:30:01 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p53::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.13.4::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::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: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    masters: gentoo
    priority: -1000

lorelei
    location: /var/lib/layman/lorelei
    masters: gentoo
    priority: 0
    aliases: lorelei-overlay

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    masters: gentoo
    priority: 1

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-m32 -O2 -pipe -march=prescott -mfxsr --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=prescott -fno-strict-overflow -fPIE -fstack-protector-all -fstack-check=specific"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-m32 -O2 -pipe -march=prescott -mfxsr --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=prescott -fno-strict-overflow -fPIE -fstack-protector-all -fstack-check=specific"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS=""
PKGDIR="/usr/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"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl acpi alsa berkdb bindist bzip2 ccache cli cracklib crypt cxx dbus dri dvd fortran fuse gdbm gtk hardened hddtemp iconv ipv6 lm_sensors mime modules ncurses nls nptl open_perms openmp pam pax_kernel pcre pic pulseaudio python readline realtime selinux session ssl systemd tcpd unconfined unicode urandom usb v4l wifi x86 xattr xtpax zlib" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Installed eix

 eix ecls                                       40s 
* dev-lisp/ecls
     Available versions:  9.12.3 ~10.4.1 ~11.1.1-r1 ~12.2.1 ~12.7.1 ~12.12.1 ~12.12.1-r5(0/12.12.1)^m ~12.12.1-r6(0/12.12.1)^m[1] ~13.5.1(0/13.5.1) ~13.5.1-r1(0/13.5.1)^t (~)15.3.7(0/15.3.7)^t {X debug doc emacs gengc +libatomic precisegc (+)threads +unicode CPU_FLAGS_X86="sse"}
     Homepage:            http://ecls.sourceforge.net/
     Description:         ECL is an embeddable Common Lisp implementation.

[1] "sage-on-gentoo" /var/lib/layman/sage-on-gentoo
kiwifb commented 9 years ago

OK, I pushed something for ecls, now let's get to pari and tachyon useflags... Can you give me the output of eix sci-mathematics/pari and eix tachyon.

kiwifb commented 9 years ago

Pushed better useflags for tachyon by default.

Alessandro-Barbieri commented 9 years ago
alessandro@tux /u/l/s/ ❯❯❯ eix sci-mathematics/pari                                                                                             8s 
* sci-mathematics/pari
     Available versions:  2.3.5 ~2.5.0-r3 ~2.5.1 ~2.5.1-r1 ~2.5.2 ~2.5.3 ~2.5.3-r1[1] ~2.5.3-r2[1] ~2.5.4 ~2.5.5[1] ~2.5.5-r1[1] ~2.5.5-r2[1] ~2.7.0(0/4) ~2.7.1(0/4) ~2.7.1-r1(0/4)[1] ~2.7.1-r2(0/4)[1] (~)2.8_pre20150307-r1(0/0)[1] **9999(0/0)[1] {X data doc fltk gmp qt4 static-libs}
     Homepage:            http://pari.math.u-bordeaux.fr/
     Description:         Computer-aided number theory C library and tools

* sci-mathematics/pari-data
     Available versions:  (~)20120726
     Homepage:            http://pari.math.u-bordeaux.fr/
     Description:         Data sets for pari

[1] "sage-on-gentoo" /var/lib/layman/sage-on-gentoo

Found 2 matches.
alessandro@tux /u/l/s/ ❯❯❯ eix tachyon                                                                                                          1s 
* media-gfx/tachyon
     Available versions:  (~)0.98.9-r2 (~)0.98.9-r2[1] ~0.99_beta6 {doc examples jpeg mpi (+)opengl png threads}
     Homepage:            http://jedi.ks.uiuc.edu/~johns/raytracer/
     Description:         A portable, high performance parallel ray tracing system

[1] "sage-on-gentoo" /var/lib/layman/sage-on-gentoo
kiwifb commented 9 years ago

You should synchronise the overlay and try again. It all look in order to me.

Alessandro-Barbieri commented 9 years ago

Seems working now.