Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139608 - graphviz dependancy on emerge x11-libs/libXaw missing
Summary: graphviz dependancy on emerge x11-libs/libXaw missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 143276 144157 (view as bug list)
Depends on: 134575
Blocks:
  Show dependency tree
 
Reported: 2006-07-07 15:02 UTC by Jochen Radmacher
Modified: 2006-09-23 13:46 UTC (History)
3 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 Jochen Radmacher 2006-07-07 15:02:20 UTC
graphviz fails to compile after upgrade to Modular X.Org 7.0 on x86 because it does not depend on libXaw

WORKAOUND:
manually emerge x11-libs/libXaw

error message:
if /bin/sh ../../../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../..     -march=athlon -mtune=athlon -O3 -funroll-loops -pipe -Wall -MT Dir.lo -MD -MP -MF ".deps/Dir.Tpo" -c -o Dir.lo Dir.c; \
then mv -f ".deps/Dir.Tpo" ".deps/Dir.Plo"; else rm -f ".deps/Dir.Tpo"; exit 1; fi
if /bin/sh ../../../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../..     -march=athlon -mtune=athlon -O3 -funroll-loops -pipe -Wall -MT Draw.lo -MD -MP -MF ".deps/Draw.Tpo" -c -o Draw.lo Draw.c; \
then mv -f ".deps/Draw.Tpo" ".deps/Draw.Plo"; else rm -f ".deps/Draw.Tpo"; exit 1; fi
mkdir .libs
MT Draw.lo -MD -MP -MF .deps/Draw.Tpo -c Draw.c  -fPIC -DPIC -o .libs/Draw.o
distcc[18334] ERROR: compile (null) on localhost failed
In file included from Draw.c:31:
SFinternal.h:34:26: error: X11/Xaw/Text.h: No such file or directory
SFinternal.h:35:31: error: X11/Xaw/AsciiText.h: No such file or directory
In file included from Draw.c:31:
SFinternal.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SFtextPos'
Draw.c:34:31: error: X11/Xaw/Scrollbar.h: No such file or directory
Draw.c:35:31: error: X11/Xaw/Cardinals.h: No such file or directory
Draw.c: In function 'SFinitFont':
Draw.c:74: error: 'ZERO' undeclared (first use in this function)
Draw.c:74: error: (Each undeclared identifier is reported only once
Draw.c:74: error: for each function it appears in.)
Draw.c: In function 'SFclearList':
Draw.c:176: warning: implicit declaration of function 'XawScrollbarSetThumb'
Draw.c: In function 'SFpathSliderMovedCallback':
Draw.c:837: error: 'XawTextPosition' undeclared (first use in this function)
Draw.c:837: error: expected ';' before 'pos'
Draw.c:855: error: 'pos' undeclared (first use in this function)
Draw.c:864: warning: implicit declaration of function 'XawTextSetInsertionPoint'
distcc[18333] ERROR: compile Draw.c on localhost failed
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -march=athlon -mtune=athlon -O3 -funroll-loops -pipe -Wall -MT Dir.lo -MD -MP -MF .deps/Dir.Tpo -c Dir.c  -fPIC -DPIC -o .libs/Dir.o
make[5]: *** [Draw.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
distcc[18373] ERROR: compile (null) on localhost failed
SFinternal.h:34:26: error: X11/Xaw/Text.h: No such file or directory
SFinternal.h:35:31: error: X11/Xaw/AsciiText.h: No such file or directory
In file included from Dir.c:40:
SFinternal.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SFtextPos'
distcc[18372] ERROR: compile Dir.c on localhost failed
make[5]: *** [Dir.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16/lefty/ws/x11/libfilereq'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16/lefty/ws/x11'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16/lefty/ws'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16/lefty'
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




emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-suspend2-r4 i686)
=================================================================
System uname: 2.6.16-suspend2-r4 i686 Mobile AMD Sempron(tm) Processor 3300+
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -mtune=athlon -O3 -funroll-loops -pipe"
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/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon -mtune=athlon -O3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS="de en"
MAKEOPTS="-j6 -l4"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acl acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cli crypt cups dba dlloader doc dri dts dvd dvdread edl eds emboss encode esd fam ffmpeg firefox flac foomaticdb fortran gdbm gif gkt2 glut gnome gpm gstreamer gtk gtk2 hal imagemagick imap imlib ipv6 isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas lcms libcaca libg++ libwww lirc lm_sensors mad matroska mikmod mmx mng motif mp3 mpeg mysql ncurses network nls nptl nsplugin ogg opengl oss pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline real reflection rtc samba sdl session slang spell spl sse sse2 ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xanim xcomposite xinerama xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de linguas_en userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-07-07 15:05:48 UTC
graphviz 2.8 has the fix, at least:

    X? ( || (
        ( x11-libs/libXaw x11-libs/libXpm )
    virtual/x11 )
    )"

Just needs to get rolled into the others..
Comment 2 Jochen Radmacher 2006-07-07 15:21:48 UTC
The fix seems to work:
On my other PC (using ~x86 for graphviz) graphviz-2.8 compiled fine without a manual emerge
Comment 3 Sascha Silbe 2006-07-16 12:17:04 UTC
media-gfx/graphviz-1.16-r1 still has this problem.
Comment 4 bunkacid 2006-08-08 18:41:44 UTC
*** Bug 143276 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-08-16 15:03:07 UTC
*** Bug 144157 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-09-23 13:46:37 UTC
Fixed in >=2.8 which is stable now.