Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124363 - media-gfx/graphviz-1.16-r1 failed to compile due to wrong Makefile
Summary: media-gfx/graphviz-1.16-r1 failed to compile due to wrong Makefile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 23:18 UTC by Frederic Jaeckel
Modified: 2006-09-23 13:53 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 Frederic Jaeckel 2006-02-27 23:18:39 UTC
media-gfx/graphviz-1.16-r1 failed to compile due to a trivial error in the Makefile for the subdir tkspline.

Correct code for tkspline/Makefile:
103c103
< BUILDDATE = Tue Feb 28 08:09:36 UTC 2006
---
> BUILDDATE = Tue Feb 28 08:03:27 UTC 2006
206c206
< TK_DEFS =  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 
---
> TK_DEFS =  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 
296c296
< AM_CFLAGS =   -DUSE_TCL_STUBS   -DUSE_TK_STUBS  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1  \
---
> AM_CFLAGS =   -DUSE_TCL_STUBS   -DUSE_TK_STUBS  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1  \

Errormessage:
make[3]: Entering directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16/tkspline'
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/lib/tk8.4/include/generic -I/usr/lib/tcl8.4/include/generic -I/usr/lib/tcl8.4/include/generic -I/usr/lib/tk8.4/include/generic  -DUSE_TCL_STUBS   -DUSE_TK_STUBS  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -UPACKAGE_NAME -UPACKAGE_STRING -UPACKAGE_TARNAME -UPACKAGE_VERSION -O2 -march=i686 -fomit-frame-pointer -Wall -MT tkspline.lo -MD -MP -MF ".deps/tkspline.Tpo" -c -o tkspline.lo tkspline.c; \
then mv -f ".deps/tkspline.Tpo" ".deps/tkspline.Plo"; else rm -f ".deps/tkspline.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/tk8.4/include/generic -I/usr/lib/tcl8.4/include/generic -I/usr/lib/tcl8.4/include/generic -I/usr/lib/tk8.4/include/generic -DUSE_TCL_STUBS -DUSE_TK_STUBS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -UPACKAGE_NAME -UPACKAGE_STRING -UPACKAGE_TARNAME -UPACKAGE_VERSION -O2 -march=i686 -fomit-frame-pointer -Wall -MT tkspline.lo -MD -MP -MF .deps/tkspline.Tpo -c tkspline.c  -fPIC -DPIC -o .libs/tkspline.o
i686-pc-linux-gnu-gcc: long: No such file or directory
make[3]: *** [tkspline.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16/tkspline'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16/tkspline'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16'
make: *** [all] Error 2

!!! ERROR: media-gfx/graphviz-1.16-r1 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

# emerge --info
Portage 2.1_pre5-r1 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15.4 i686)
=================================================================
System uname: 2.6.15.4 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="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 ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi aim alsa apache2 apm avi berkdb bitmap-fonts bluetooth bzip2 calendar crypt cups curl divx4linux dvd dvdread eds emboss encode ethereal ffmpeg foomaticdb fortran frontendonly ftp gd gdbm gif gnutls gpm gstreamer icq imap imlib ipv6 jabber java jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg msn mysql ncurses nls nptl ogg oggvorbis opengl oss pam pcmcia pdflib perl png python quicktime readline samba sdl speex spell sse ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev usb v4l vcd vorbis wifi win32codecs xml xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-23 13:53:58 UTC
2.8-r1 stable now, reopen if it still doesn't work for you.