Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519414 - sci-geosciences/grass-6.4.2 - ?
Summary: sci-geosciences/grass-6.4.2 - ?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-08 14:58 UTC by Daniel.Savard
Modified: 2015-09-09 06:18 UTC (History)
0 users

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


Attachments
Output from the make command in each failing directory (file_519414.txt,34.77 KB, text/plain)
2014-08-08 14:59 UTC, Daniel.Savard
Details
Build log as requested (build.log.bz2,117.59 KB, application/x-bzip)
2014-08-12 17:41 UTC, Daniel.Savard
Details
grass-6.4.2.minmaxheap.h.patch (grass-6.4.2.minmaxheap.h.patch,834 bytes, patch)
2015-09-09 06:14 UTC, Marco Genasci
Details | Diff
grass-6.4.2.mm.c.patch (grass-6.4.2.mm.c.patch,1.04 KB, patch)
2015-09-09 06:15 UTC, Marco Genasci
Details | Diff
grass-6.4.2.mm.h.patch (grass-6.4.2.mm.h.patch,593 bytes, patch)
2015-09-09 06:15 UTC, Marco Genasci
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel.Savard 2014-08-08 14:58:12 UTC
grass fails on compile phase of ebuild with many errors. Some are related to the tinfo library and some are not.

/usr/lib64/portage/bin/ebuild-helpers/xattr/install -c  tools/g.html2man/g.html2man /var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/dist.x86_64-pc-linux-gnu/tools/g.html2man/ 2>/dev/null
build_html_index.sh
Generating HTML manual pages index (help system)...
Generated HTML docs in ../dist.x86_64-pc-linux-gnu/docs/html/index.html
----------------------------------------------------------------------
Following modules are missing the 'description.html' file in src code:
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Thu Aug  7 23:47:07 EDT 2014
-- 
Errors in:
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/lib/iostream
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/display/d.colors
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/imagery/i.class
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/imagery/i.points
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/imagery/i.ortho.photo/i.photo.2image
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/imagery/i.ortho.photo/i.photo.2target
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/imagery/i.vpoints
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/raster/r.terraflow
-- 
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
-- 
Finished compilation: Thu Aug  7 23:50:53 EDT 2014
make: *** [default] Error 1


Reproducible: Always

Steps to Reproduce:
1.emerge
2.
3.
Actual Results:  
/usr/lib64/portage/bin/ebuild-helpers/xattr/install -c  tools/g.html2man/g.html2man /var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/dist.x86_64-pc-linux-gnu/tools/g.html2man/ 2>/dev/null
build_html_index.sh
Generating HTML manual pages index (help system)...
Generated HTML docs in ../dist.x86_64-pc-linux-gnu/docs/html/index.html
----------------------------------------------------------------------
Following modules are missing the 'description.html' file in src code:
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Thu Aug  7 23:47:07 EDT 2014
-- 
Errors in:
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/lib/iostream
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/display/d.colors
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/imagery/i.class
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/imagery/i.points
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/imagery/i.ortho.photo/i.photo.2image
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/imagery/i.ortho.photo/i.photo.2target
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/imagery/i.vpoints
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/raster/r.terraflow
-- 
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
-- 
Finished compilation: Thu Aug  7 23:50:53 EDT 2014
make: *** [default] Error 1


Expected Results:  
Should build.

I ran the make command in each directory as instructed and the output will be attached since it is too long to fit here.

emerge --info: 

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.19-r1, 3.12.21-gentoo-r1-nvidia x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.12.21-gentoo-r1-nvidia-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16415572 total,   1053368 free
KiB Swap:   16777212 total,  16776512 free
Timestamp of tree: Mon, 04 Aug 2014 02:30:01 +0000
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r3
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.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.4, 4.6.4, 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: gentoo My-Tree science
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.3 AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.arcticnetwork.ca/ http://mirror.the-best-hosting.net http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.llarian.net/ http://mirror.iawnet.sandia.gov/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://ftp.lug.udel.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ "
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay/my /usr/local/overlay/science"
SYNC="rsync://chadwick.cids.ca/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 ao apache2 arj audiofile avahi berkdb blas bluetooth bonobo branding bsf bzip2 cairo caps cdaudio cdda cddax cddb cdparanoia cdr cgi cli colord cracklib crypt cscope css ctype cups curl curlwrappers cxx db2 dbi dbm dbus dbx derby dga directfb djvu dri dts dv dvd dvdr dvdread eds emacs emboss encode enscript evo examples exif expat extras fam fastcgi fbcon festival ffmpeg fftw flac flatfile fltk fontconfig foomaticdb fortran ftp fuse g3dvl gb gcj gconf gd gdbm geant4 geoip ggi gif gimp ginac glitz glut gmp gnome gnome-keyring gnome-online-accounts gnuplot gnutls gphoto2 gpm gps graphviz gsl gsm gssapi gstreamer gtk gtkhtml gzip hddtemp httpd i18n iconv icq icu id3tag idn ieee1394 imagemagick imap imlib inifile intel intl introspection ios ipv6 ithreads jabber jack jadetex java javascript jbig jikes jingle jpeg jpeg2k junit kerberos kpathsea lame lapack lash latex lcms ldap ldap-sasl leim libcaca libedit libgda libnotify libsamplerate libsecret libwww live lm_sensors lzma lzo mad maildir mailwrapper mbox mcal memlimit midi mikmod milter mime mmap mms mmx mng mod modplug modules mozilla mp3 mp4 mpeg mpi mplayer msn mtp mule multilib musepack musicbrainz nas nautilus ncurses networkmanager nls nntp nptl nsplugin nvidia ocaml ocr odbc ofx ogg oggvorbis openal openexr opengl openldap openmp openssl osc oscar pam pam_krb5 pam_ssh pango pcre pda pdf perl php pidgin plotutils png policykit portaudio posix postgres ppds prefork pthreads pulseaudio python qt3support qt4 quicktime radius rar raw readline rss sane sasl scanner sdl sendmail servletapi session sha512 sharedext sharedmem slang slp smartcard smp sndfile snmp soap socialweb sockets sound sox speex spell sqlite sqlite3 sse sse2 ssl startup-notification stream suexec svg swt symlink syslog systemd sysvipc taglib tcl tcpd tetex theora threads tiff timidity tk tls tokenizer truetype udev udisks unicode upower usb v4l v4l2 vaapi vcd vdpau vhosts vim-syntax vlm vnc vorbis wavpack wddx win32codecs wmf wxwidgets x264 xattr xcb xcomposite xemacs xface xft xine xinerama xinetd xml xmlrpc xmp xmpp xosd xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yahoo zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif speling status unique_id userdir usertrack version vhost_alias" APACHE2_MPMS="prefork" 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" DRACUT_MODULES="mdraid multipath lvm syslog gensplash plymouth syslog debug dm network" 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="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fr fr_FR fr_CA" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 arm" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="net epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau intel v4l" 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"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

sci-geosciences/grass-6.4.2 was built with the following:
USE="X cairo cxx ffmpeg fftw jpeg nls odbc opengl png postgres python readline sqlite tiff truetype -debug -gmath -motif -mysql -wxwidgets" ABI_X86="64"
Comment 1 Daniel.Savard 2014-08-08 14:59:41 UTC
Created attachment 382528 [details]
Output from the make command in each failing directory
Comment 2 Daniel.Savard 2014-08-08 16:21:11 UTC
I fixed the problem for six out of eight of the directories by hacking the /var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/include/Make/Platform.make file and adding -ltinfo after the last entry in the line starting with CURSES.

Original line read as:

CURSES              = -lncurses $(COMPATLIB)

Modified to:

CURSES              = -lncurses $(COMPATLIB) -ltinfo

Probably not the proper way to fix this and surely untested in the software.

Remains errors in these two directories in the event my fix above is proven right:

Errors in:
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/lib/iostream
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/raster/r.terraflow
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-08 17:24:34 UTC
Please attach the entire build log to this bug report.
Comment 4 Daniel.Savard 2014-08-12 17:41:50 UTC
Created attachment 382772 [details]
Build log as requested
Comment 5 Marco Genasci 2015-09-09 06:14:45 UTC
Created attachment 411380 [details, diff]
grass-6.4.2.minmaxheap.h.patch
Comment 6 Marco Genasci 2015-09-09 06:15:18 UTC
Created attachment 411382 [details, diff]
grass-6.4.2.mm.c.patch
Comment 7 Marco Genasci 2015-09-09 06:15:55 UTC
Created attachment 411384 [details, diff]
grass-6.4.2.mm.h.patch
Comment 8 Marco Genasci 2015-09-09 06:18:29 UTC
Added patches grass-6.4.2.minmaxheap.h.patch, grass-6.4.2.mm.c.patch, grass-6.4.2.mm.h.patch that resolve errors:

/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/lib/iostream
/var/tmp/portage/sci-geosciences/grass-6.4.2/work/grass-6.4.2/raster/r.terraflow


Original patches on grass bugtrack:
https://trac.osgeo.org/grass/ticket/1533
https://trac.osgeo.org/grass/ticket/1655