Bug 38477 - emerge gmt fails
Bug#: 38477 Product:  Gentoo Linux Version: 1.4_rc4 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: jeffrey@cunningham.net
Component: Ebuilds
URL: 
Summary: emerge gmt fails
Keywords:  
Status Whiteboard: 
Opened: 2004-01-16 18:42 0000
Description:   Opened: 2004-01-16 18:42 0000
I can't get GMT to build and install. I have netcdf installed already (not a
requirement with Gentoo, but is according to the README that comes with GMT
source). What the build says when it fails is listed below.

I looked at the single bug report on gmt and there's a patch, but it doesn't
say what to do with it. 

-Jeff



Reproducible: Always
Steps to Reproduce:
1.emerge gmt
2.
3.

Actual Results:  
failed. (see error messages below).

Expected Results:  
finished without an error

: `minmax.l' and `minmax.l' are the same file
mv: `nearneighbor.l' and `nearneighbor.l' are the same file
mv: `project.l' and `project.l' are the same file
mv: `psbasemap.l' and `psbasemap.l' are the same file
mv: `psclip.l' and `psclip.l' are the same file
mv: `pscoast.l' and `pscoast.l' are the same file
mv: `pscontour.l' and `pscontour.l' are the same file
mv: `pshistogram.l' and `pshistogram.l' are the same file
mv: `psimage.l' and `psimage.l' are the same file
mv: `pslib.l' and `pslib.l' are the same file
mv: `psmask.l' and `psmask.l' are the same file
mv: `psrose.l' and `psrose.l' are the same file
mv: `psscale.l' and `psscale.l' are the same file
mv: `pstext.l' and `pstext.l' are the same file
mv: `pswiggle.l' and `pswiggle.l' are the same file
mv: `psxy.l' and `psxy.l' are the same file
mv: `psxyz.l' and `psxyz.l' are the same file
mv: `sample1d.l' and `sample1d.l' are the same file
mv: `spectrum1d.l' and `spectrum1d.l' are the same file
mv: `splitxyz.l' and `splitxyz.l' are the same file
mv: `surface.l' and `surface.l' are the same file
mv: `trend1d.l' and `trend1d.l' are the same file
mv: `trend2d.l' and `trend2d.l' are the same file
mv: `triangulate.l' and `triangulate.l' are the same file
mv: `xyz2grd.l' and `xyz2grd.l' are the same file
for d in dbase imgsrc meca mgg misc segyprogs spotter x2sys x_system; do \
                if [ -d src/$d ] ; then \
                        \cp src/$d/*.html
/var/tmp/portage/gmt-3.4.3/work/GMT3.4.3/www/gmt/doc/html; \
                fi; \
        done
if [ ! /var/tmp/portage/gmt-3.4.3/work/GMT3.4.3/www =
/var/tmp/portage/gmt-3.4.3/image//usr/www ]; then \
                mkdir -p /var/tmp/portage/gmt-3.4.3/image//usr/www; \
                \cp -r www/gmt /var/tmp/portage/gmt-3.4.3/image//usr/www; \
        else \
                echo "Install www directory the same as distribution www
directory - nothing copied"; \
        fi
cp: cannot stat `www/gmt': No such file or directory
make: *** [install-www] Error 1

!!! ERROR: app-sci/gmt-3.4.3 failed.
!!! Function einstall, Line 361, Exitcode 2
!!! einstall failed

------- Comment #1 From Castelão 2004-02-04 11:34:46 0000 -------
I compile without problems. Give more info, show your "emerge info"

------- Comment #2 From Jeff Cunningham 2004-02-04 11:48:52 0000 -------
Here is the emerge info:

Gentoo Base System version 1.4.3.10p1
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.1-r4,2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Xeon(TM) CPU 1700MHz
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="no"
CFLAGS="-mcpu=pentium3 -O3 -msse -mmmx -mfpmath=sse,387 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/shar
e/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O3 -msse -mmmx -mfpmath=sse,387 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu ftp://mirror.iawnet.sandia.gov/pub/gentoo http://www.ib
iblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi alsa apm avi berkdb cdr crypt cups directfb doc dvd emacs encode esd fbcon fo
omaticdb gd gdbm gif gphoto2 gpm gtk gtk2 guile imap imlib jack java jikes jpeg ladcca lcms leim libg
++ libwww mad maildir mbox md5sum mikmod motif mozilla moznomail mozp3p mozsvg mpeg ncurses nls oggvo
rbis opengl oss pam pdflib perl plotutils png python qt quicktime readline ruby samba sdl slang slp s
nmp spell ssl svga tcltk tcpd tetex tiff truetype wmf x86 xface xml2 xmms xv zlib"


------- Comment #3 From Patrick Kursawe 2004-03-22 02:16:03 0000 -------
Jeff, could you please create an attachment with the complete build log?

------- Comment #4 From Jeff Cunningham 2004-03-22 08:48:20 0000 -------
Created an attachment (id=27810) [details]
this is 'emerge gmt 2>gmt_emerge'

Note that the error message has changed now. 

------- Comment #5 From Patrick Kursawe 2004-03-22 23:20:13 0000 -------
Of course I meant an error log of your compile problems, not of your download
problems :-)

------- Comment #6 From Patrick Kursawe 2004-03-23 23:05:13 0000 -------
Looks like the ftp server there only provides 3.4.4, they have no archive of
older versions. I just did a version bump to 3.4.4, please try when available
to see if you can reproduce your build error.

------- Comment #7 From Patrick Kursawe 2004-03-25 00:50:54 0000 -------
Just committed 3.4.4-r1 which should have less problems than 3.4.4 - please
test since I have no clue how to test this package. Re-open this bug if you
find problems

------- Comment #8 From Jeff Cunningham 2004-03-25 10:21:55 0000 -------
Created an attachment (id=28007) [details]
This is stdout from an attempt to emerge your newly checked in ebuild

This is stdout, I also captured stderr which follows

------- Comment #9 From Jeff Cunningham 2004-03-25 10:23:00 0000 -------
Created an attachment (id=28008) [details]
Here is stderr from the emerge of new ebuild

The emerge still fails, but now I'm getting a compiler error. See attachments
for emerge details. 

------- Comment #10 From Jeff Cunningham 2004-03-25 17:34:05 0000 -------
See the two attached error logs.

-jkc

------- Comment #11 From Patrick Kursawe 2004-03-28 22:17:05 0000 -------
I know these errors, please try 3.4.4-r1 as I said in comment #7. Re-open if
you have problems, thanks.

------- Comment #12 From Jeff Cunningham 2004-03-29 08:35:41 0000 -------
My apologies. I thought I was trying 3.4.4-r1 and it was failing. I retried
this morning and it compiled without incident. Thank you.

-jkc