Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523878 - [science overlay] sci-mathematics/giac-1.1.0 - src_configure(): /tmp/portage/sci-mathematics/giac-1.1.0/work/giac-1.1.0/configure: line 32079: CONFIG_DOC_PROGS: command not found
Summary: [science overlay] sci-mathematics/giac-1.1.0 - src_configure(): /tmp/portage/...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-27 13:23 UTC by Laurent Hugé
Modified: 2021-04-01 21:53 UTC (History)
2 users (show)

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


Attachments
/tmp/portage/sci-mathematics/giac-1.1.0/temp/build.log (build.log,147.08 KB, text/plain)
2014-09-27 13:25 UTC, Laurent Hugé
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Hugé 2014-09-27 13:23:20 UTC
Hi,

This is the first time I wanted to install giac (I need xcas for my child). Following the advice, I added fltk in the right place to portage.keywords.

Anyway, my problem seems to be connected to tex : in fact, as you can see on the build.log, it fails at "/bin/sh: cas_el.tex: command not found", a few lines after "TEXINPUTS=.:$TEXINPUTS  cas_el.tex".

I've searched Internet for information about $TEXINPUTS, but it looks like its normal that it is empty.

Maybe a patch should modify doc/el/Makefile...
Thanks for your help.

Reproducible: Always

Steps to Reproduce:
Just emerge giac...
Actual Results:  
giac doesn't install.

Expected Results:  
giac installs !

My emerge.info is :
Portage 2.2.8-r2 (default/linux/x86/13.0/desktop/kde, gcc-4.7.3, glibc-2.19-r1, 3.14.0 i686)
=================================================================
System uname: Linux-3.14.0-i686-AMD_Phenom-tm-_8450_Triple-Core_Processor-with-gentoo-2.2
KiB Mem:     3110244 total,    430976 free
KiB Swap:    7823648 total,   6641332 free
Timestamp of tree: Sat, 27 Sep 2014 07:30:01 +0000
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
app-shells/bash:          4.2_p49
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: write2David science gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-11.x googleearth Oracle-BCLA-JavaSE google-chrome"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse"
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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://mirror.ing.unibo.it/gentoo/ ftp://mirror.ing.unibo.it/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/write2David /var/lib/layman/science /usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa bash-completion branding bzip2 cairo caps cdda cddb cdr cli compiz consolekit cracklib crypt cups curl cxx dbus declarative devil directfb dri dts dv dvb dvd dvdr emboss emerald encode exif expat fam ffmpeg flac foomaticdb fortran fuse gdbm gif gimp git glamor glitz gmp gnutls gpm gtk guile hardened hddtemp i iconv ieee1394 imagemagick imlib inkjar ipv6 java jpeg jpeg2k kde kipi lame lcms lesstif libcaca libnotify lm_sensors lua mad matroska mktemp mmap mng modules mp3 mp4 mpeg mplayer mtp musepack musicbrainz nas ncurses new-login nls npp nptl nsplugin ocaml ogg opengl openmp pam pango passwdqc pcre pdf phonon plasma plugins png policykit ppds qt3support qt4 readline sasl sdl semantic-desktop session skey skins slang sms sndfile speex spell sse sse2 ssl startup-notification stream svg tcl tcpd tetex themes theora threads tiff tk truetype udev udisks unicode upower usb v4l vim-syntax vorbis wmf wxwidgets x264 x86 xattr xcb xcomposite xine xinerama xinetd xml xosd xpm xscreensaver xulrunner xv xvid zlib" ABI_X86="32" 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" 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="ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en en_GB en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="apm vesa vga radeon" 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, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Laurent Hugé 2014-09-27 13:25:33 UTC
Created attachment 385608 [details]
/tmp/portage/sci-mathematics/giac-1.1.0/temp/build.log

This is the result of my emerge
Comment 2 Laurent Hugé 2014-09-29 18:56:12 UTC
Hi,
After comparing to another computer, I've noticed that the variable $TEXINPUTS is not empty. I've added USE="latex" to ocaml, and now $TEXINPUTS="/usr/lib/ocaml/ocamldoc:".
But it didin't change the result of installing... Another idea ?
Comment 3 Laurent Hugé 2014-09-30 20:42:25 UTC
I've found a solution (or maybe a workaround) : after adding latex to USE in /etc/make.conf, I've emerged and updated my whole world. Here are the applications selected :

emerge -DNua --with-bdeps=y world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild  N     ] dev-libs/kpathsea-6.1.0_p20120701  USE="-doc -source -static-libs" 
[ebuild  N     ] app-text/dvipsk-5.992_p20120701  USE="-doc -source" 
[ebuild  N     ] app-text/ps2pkm-1.5_p20120701 
[ebuild  N     ] dev-tex/bibtexu-3.71_p20120701 
[ebuild  N     ] x11-proto/printproto-1.0.5-r1 
[ebuild  N     ] x11-libs/libXp-1.0.2  USE="-static-libs" 
[ebuild  N     ] sys-apps/ed-1.6 
[ebuild  N     ] dev-libs/zziplib-0.13.60-r1  USE="sdl -doc -static-libs {-test}" 
[ebuild  N     ] dev-perl/perl-tk-804.32.0 
[ebuild  N     ] dev-tex/luatex-0.70.1-r2  USE="-doc" 
[ebuild  N     ] app-text/texlive-core-2012-r1  USE="X tk -cjk -doc -source -xetex" 
[ebuild  N     ] dev-texlive/texlive-documentation-base-2012  USE="-source" 
[ebuild  N     ] dev-texlive/texlive-basic-2012  USE="-doc -source" 
[ebuild  N     ] dev-texlive/texlive-fontutils-2012  USE="-doc -source" 
[ebuild  N     ] dev-texlive/texlive-latex-2012  USE="-doc -source" 
[ebuild  N     ] dev-texlive/texlive-latexrecommended-2012-r1  USE="-doc -source" 
[ebuild  N     ] virtual/latex-base-1.0 
[ebuild  N     ] dev-tex/xmltex-1.9-r2 
[ebuild  N     ] app-text/passivetex-1.25 
[ebuild   R    ] app-text/xmlto-0.0.25  USE="latex*" 
[ebuild   R    ] kde-base/kopete-4.12.5  USE="latex*" 
Would you like to merge these packages? [Yes/No] 

Afterwards, giac compiled and install correctly, and I'm able to run xcas as I expected. So I think one of those applications is the one which blocked the compilation.

Should I mark this bug to RESOLVED ?
Comment 4 Laurent Hugé 2014-10-18 10:44:27 UTC
Hellow,

There are 3 weeks since I've proposed to mark this bug as RESOLEVD, if my solution is acceptable, and I've got no answer.

Is there anybody around ?
Comment 5 François Bissey 2014-10-18 11:00:20 UTC
Well there are people around.

This is not solved. The failure was because giac is missing a build dependency for the doc. Your change of USE solved that but we don't know which of these packages was needed.
Comment 6 Michael Orlitzky gentoo-dev 2021-04-01 21:53:31 UTC
sci-mathematics/giac-1.7.0.1 is now in the main tree so I think we can call this obsolete. Please give the new version a try and report any problems you find!