Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179150 - Stable request: sci-geosciences/grass-6.2.0-r1
Summary: Stable request: sci-geosciences/grass-6.2.0-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on: 136003 171354 171784
Blocks:
  Show dependency tree
 
Reported: 2007-05-19 21:36 UTC by Steve Arnold
Modified: 2007-09-02 11:04 UTC (History)
0 users

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 Steve Arnold archtester gentoo-dev 2007-05-19 21:36:52 UTC
I'd like to stablize 6.2.0-r1 for now, with an eye towards 6.2.1, but I'm not in a big hurry for the latter (I'd like the grass users to bang on it for a bit).  I've haven't marked amd64 stable, even though it's been tested and used (with real data) extensively here, due to ARCH testing policy and the USE flag GUI intricacies cited below.

Other than QA updates, this has been pretty stable for a while as far as data and image formats, database plugins, etc, even though it has some configure braindeadness and basically needs the X-related USE flags enabled.  The upstream stable version is now 6.2.1 (adding to the tree now for testing) and their bleeding-edge is 6.3.x (which I haven't even looked at yet).

The only real issue with grass is following the warnings in the ebuild, and you can't currently disable all the GUI functionality.  Also, opengl support depends on thread support in tcl and tk being disabled (that's an issue with tcl development).  Other than that it works smoothly on x86 and amd64, including the 3D visualization and fly-through.

Don't forget to have fun...
Comment 1 Ferris McCormick (RETIRED) gentoo-dev 2007-05-20 18:39:31 UTC
Stable on sparc.  This builds and seems to run using both the {blas, lapack}-atlas packages and the {blas, lapack}-reference packages, fftw, tcl+tk,mysql, sqlite, and so on.  I note in passing that the limitation on tcl+tk (USE=-threads if USE=opengl) conflicts with some other packages (most obviously, dev-tcltk/threads which cannot be built unless USE=threads).  This is most likely not a significant problem, but as noted above, it should be addressed.
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-20 18:49:52 UTC
On amd64 current stable lapack and blas won't work...markusle promised to prepare a new stabilisation round.
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2007-05-20 19:02:22 UTC
Yeah, I did :) I committed blas/lapack-atlas-3.7.31 on Thursday 
which will be the one I'll push into stable unless something unexpected
crops up. I hope that works. 

Best,
Markus
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-23 08:48:49 UTC
x86 stable
Comment 5 nixnut (RETIRED) gentoo-dev 2007-06-02 15:53:16 UTC
stable on ppc
Comment 6 makro 2007-06-10 17:37:21 UTC
grass-6.2.0-r1 does not compile on my x86 system (gentoo 2006.1 stable arch)

USEFLAGS:
[ebuild  NS   ] sci-geosciences/grass-6.2.0-r1  USE="jpeg nls opengl png python readline tiff truetype -ffmpeg -fftw -glw -gmath -largefile -motif -mysql -odbc -postgres -sqlite -tcl -tk" 0 kB

Errors:
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 Jun 10 18:26:04 CEST 2007
--
Errors in:
/var/tmp/portage/sci-geosciences/grass-6.2.0-r1/work/grass-6.2.0/visualization/nviz
--
Finished compilation: Sun Jun 10 19:02:10 CEST 2007
(In case of errors please change into the directory with error and run 'make')
make: *** [default] Error 1

!!! ERROR: sci-geosciences/grass-6.2.0-r1 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  grass-6.2.0-r1.ebuild, line 175:   Called die



make in error directory:
[...]
In file included from nvizAppInit.c:8:
togl.h:48:19: error: tcl.h: No such file or directory
togl.h:49:18: error: tk.h: No such file or directory
In file included from nvizAppInit.c:8:
togl.h:106: error: expected ')' before '*' token

[...]
Comment 7 Steve Arnold archtester gentoo-dev 2007-06-11 02:40:09 UTC
See comment #1 above...  You can try disabling opengl (the nviz thing is opengl based) but the current configure scripts don't seem to be able to completely disable all the X gui deps.  If that doesn't work, then you'll have to enable the rest of the GUI flags, ie, tcl, tk, and motif (otherwise you'll need to mask any versions higher than whatever works for you).

Feel free to try the configure options on the latest version(s) and see if you can get a minimal build/install...  And don't forget to report back :)
Comment 8 Steve Arnold archtester gentoo-dev 2007-07-01 23:24:29 UTC
The latest 6.2.1 should now compile without any nviz, GUI, or X deps, with the following USE flags disabled:

-X -opengl -glw -motif -tcl -tk

Anyone that needs grass on a server or console-only machine should try it out.
Comment 9 Steve Arnold archtester gentoo-dev 2007-07-09 07:34:46 UTC
Can we get some amd64 action on this?  Thanks...
Comment 10 Christoph Mende (RETIRED) gentoo-dev 2007-07-09 20:18:54 UTC
not before we got some sci action on bug 171784
Comment 11 Steve Arnold archtester gentoo-dev 2007-07-09 23:31:46 UTC
Doesn't seem like anything I can do from the Sci side; looks more like arch testing and donnie letting it sit for 3 months.
Comment 12 Steve Arnold archtester gentoo-dev 2007-09-01 20:27:18 UTC
One more time?  I think the prerequisites have been met...
Comment 13 Simon Cooper 2007-09-02 10:38:16 UTC
AMD64:

compiles, runs. GUI doesnt seem to correspond to the wiki docs, and i dont know enough to properly test its functions

Portage 2.1.2.12 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 30 Aug 2007 16:50:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  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.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg collision-protect distlocks fixpackages metadata-transfer multilib-strict sandbox sfperms strict test userpriv"
GENTOO_MIRRORS="http://gentoo.virginmedia.com http://distfiles.gentoo.org"
LINGUAS="en en_GB"
MAKEOPTS="-j3"
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/enlightenment /usr/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac acpi alsa amd64 audiofile berkdb bitmap-fonts branding bzip2 cairo caps cddb cdparanoia cdr cli cracklib cups curl dbus dri dvd dvdr dvdread emboss encode evo exif expat fam ffmpeg firefox foomaticdb gdbm gif glitz gs gtk guile hal iconv icu imagemagick imlib isdnlog ithreads java javascript jpeg libsamplerate libwww lirc lm_sensors logrotate mad midi mmap mmx mmxext mp3 msn mudflap ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support readline reflection sdl session sndfile spl sse sse2 ssl startup-notification svg symlink tcl tcpd test threads tiff tk truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis wifi x264 xcb xine xml xorg xosd xpm xscreensaver xv zlib" ALSA_CARDS="usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 14 Christoph Mende (RETIRED) gentoo-dev 2007-09-02 11:04:14 UTC
amd64 stable