Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185425 - sci-geosciences/grass-6.2.1 install fails
Summary: sci-geosciences/grass-6.2.1 install fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-15 16:04 UTC by Juergen Rose
Modified: 2007-08-23 06:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2007-07-15 16:04:19 UTC
GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.2.1 sh /var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/tools/g.html2m
an/g.html2man /var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/dist.i686-pc-linux-gnu/docs/html/xganim.html /var
/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/dist.i686-pc-linux-gnu/man/man1/xganim.1 1
Converting: /var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/dist.i686-pc-linux-gnu/docs/html/xganim.html to /va
r/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/dist.i686-pc-linux-gnu/man/man1/xganim.1
make[1]: Leaving directory `/var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/man'
if [ 1 -eq 1 ] ; then make -C locale; fi
make[1]: Entering directory `/var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/locale'
Creating translations (= 'make mo')
make[2]: Entering directory `/var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/locale'
grasslibs_ar.po: 234 translated messages, 75 fuzzy translations, 189 untranslated messages.
grasslibs_cs.po: 498 translated messages.
grasslibs_de.po: 502 translated messages, 2 fuzzy translations.
grasslibs_es.po: 347 translated messages, 86 fuzzy translations, 65 untranslated messages.
grasslibs_fr.po: 477 translated messages, 27 fuzzy translations, 19 untranslated messages.
...
grasstcl_tr.po: 808 translated messages, 46 fuzzy translations, 266 untranslated messages.
grasstcl_vi.po: 834 translated messages, 13 fuzzy translations, 20 untranslated messages.
make[2]: Leaving directory `/var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/locale'
make[1]: Leaving directory `/var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/locale'
cp -f AUTHORS COPYING README REQUIREMENTS.html /var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/dist.i686-pc-lin
ux-gnu/
cp -f /var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/bin.i686-pc-linux-gnu/grass62 /var/tmp/portage/sci-geosci
ences/grass-6.2.1/work/grass-6.2.1/dist.i686-pc-linux-gnu/grass62.tmp
build_html_index.sh
cp: cannot create regular file `../dist.i686-pc-linux-gnu/docs/html/nviz/': Is a directory
cp: cannot create regular file `../dist.i686-pc-linux-gnu/docs/html/nviz/': Is a directory
Generating HTML manual pages index (help system)...
Generated HTML docs in ../dist.i686-pc-linux-gnu/docs/html/index.html
----------------------------------------------------------------------
Following modules are missing the 'description.html' file in src code:
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Sun Jul 15 17:52:30 CEST 2007
--
Errors in:
/var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/lib/ogsf
/var/tmp/portage/sci-geosciences/grass-6.2.1/work/grass-6.2.1/visualization/nviz
Comment 1 Steve Arnold archtester gentoo-dev 2007-07-17 07:09:49 UTC
I can't really help you without more information; please post your emerge --info and which package-specific USE flags you were using.
Comment 2 Steve Arnold archtester gentoo-dev 2007-07-17 07:22:50 UTC
Here's a tip - either disable opengl or enable motif, tcl, tk, and X to get full functionality.
Comment 3 Juergen Rose 2007-07-21 20:32:01 UTC
root@vilm:/root(16)# emerge --info
Portage 2.1.3_rc8 (default-linux/x86/2007.0, gcc-4.2.0, glibc-2.6-r0, 2.6.22.1 i686)
=================================================================
System uname: 2.6.22.1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 21 Jul 2007 08:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -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/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/tex
mf/web2c"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/p
ub/mirrors/gentoo rsync://gd.tuwien.ac.at/opsys/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu"
LC_ALL="C"
LINGUAS="de fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/
packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage /usr/local/portage/xeffects/trunk /usr/local/portage/xeffects/experimental /usr/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi aiglx alsa amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount beagle berkdb bitmap-fonts blas bonobo boo bzip2 cairo cdda cddb cdf cdio cdparanoia c
dr cgi chm cli corba cracklib crypt cups curl daap dbus device-mapper dga divx dlloader dmi dri dv dvb dvd dvdr dvi dxr3 dynagraph effects elf emacs emboss encode epiphany esd evo evolution exif e
xpat fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnome gnuplot gnutls gphoto2 gpm graphviz grass gs gsl gs
m gstreamer gtk guile hal hardened hddtemp hdf hdf5 hlapi iconv icq id3 imagemagick innodb ipv6 isdnlog ithreads jabber java jbig john jp2 jpeg jpeg2k kexi ladspa lame lapack latex lcms ldap libg+
+ libgda libsamplerate lirc lm_sensors lua lzo lzw mad math matroska matrox midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mplayer mudflap musicbrai
nz mysql mysqli nautilus ncurses neXt netcdf network nfs nls nntp nptl nptlonly ntfs numarray numeric ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pdf perl plotutils plugin png posix 
postgres pppd preview-latex proj python qhull quicktime readline real reflection reiserfs rhythmbox rle rrdcgi rrdtool samba sdl session slang slp smp sndfile snmp sox speex spell spl sqlite sse s
se2 ssl subtitles svg t1lib tcltk tcpd tetex theora threads thunderbird tidy tiff tk truetype truetype-fonts type1-fonts unicode userlocales v4l2 vorbis win32codecs wmf x86 xattr xemacs xext xine 
xml xml2 xmlreader xmlrpc xorg xpm xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat line
ar meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurs
es text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="mga vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

root@vilm:/root(17)# 
Comment 4 Juergen Rose 2007-07-21 20:33:37 UTC
If I remove the X USE flag grass is compiled.
Comment 5 Honza Macháček 2007-07-24 09:06:18 UTC
USE="-ffmpeg" circumvents the problem, other features are irrelevant to this bug.

Its known at GRASS developers mailing list: http://grass.itc.it/pipermail/grass5/2007-July/032159.html

GRASS probably depends on some obsolete part of ffmpeg headers. It attempts to register as codecs, via void register_avcodec(AVCodec *format) function declared in /usr/include/ffmpeg/avcodec.h, &mpeg1video_encoder and &xvid_encoder references to undeclared variables. Those probably used to be declared (and possibly defined) in elder ffmpeg headers versions.

Grepping the GRASS sources for those variables, I have found exactly one occurence of each, just their problematic registration. Thus I suspect they might be as well edited out completely; probably safer solution would be proper declaration and definition of those variables in the GRASS sources.

Since I've just installed GRASS to check the software, find, if I might have any use for it, and eventually learn using it, I'm quite happy with its installation without ffmpeg support for now. With a bit of luck, by the time I find I actually need ffmpeg support in GRASS, a new version might be out, adapted to the current ffmpeg.
Comment 6 Steve Arnold archtester gentoo-dev 2007-08-23 06:26:09 UTC
Fixed upstream, but I've add a quick 'n dirty patch for ffmpeg.