<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>87375</bug_id>
          
          <creation_ts>2005-03-31 00:05 0000</creation_ts>
          <short_desc>tetex-3.0-r1 builds against plain Xaw even with Xaw3d use flag</short_desc>
          <delta_ts>2005-04-01 21:06:50 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>zortech@nm.ru</reporter>
          <assigned_to>text-markup@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>zortech@nm.ru</who>
            <bug_when>2005-03-31 00:05:50 0000</bug_when>
            <thetext>I emerged tetex-3.0-r1 with the following use flags:
+X +Xaw3d -debug -doc -lesstif -motif -neXt
However, xdvi was linked to libXaw.so.8 instead of libXaw3d.so.8


Reproducible: Always
Steps to Reproduce:
emerge =app-text/tetex-3.0-r1 with 
USE=&quot;+X +Xaw3d -debug -doc -lesstif -motif -neXt&quot;
Actual Results:  
$ ldd /usr/bin/xdvi-xaw.bin
        linux-gate.so.1 =&gt;  (0xffffe000)
	libXaw.so.8 =&gt; /usr/lib/libXaw.so.8 (0xb7f7f000)
	libXmu.so.6 =&gt; /usr/lib/libXmu.so.6 (0xb7f69000)
	libXt.so.6 =&gt; /usr/lib/libXt.so.6 (0xb7f16000)
	libSM.so.6 =&gt; /usr/lib/libSM.so.6 (0xb7f0d000)
	libICE.so.6 =&gt; /usr/lib/libICE.so.6 (0xb7ef6000)
	libXp.so.6 =&gt; /usr/lib/libXp.so.6 (0xb7eee000)
	libXext.so.6 =&gt; /usr/lib/libXext.so.6 (0xb7ede000)
	libX11.so.6 =&gt; /usr/lib/libX11.so.6 (0xb7e10000)
	libXpm.so.4 =&gt; /usr/lib/libXpm.so.4 (0xb7e00000)
	libm.so.6 =&gt; /lib/libm.so.6 (0xb7ddd000)
	libc.so.6 =&gt; /lib/libc.so.6 (0xb7cc2000)
	libdl.so.2 =&gt; /lib/libdl.so.2 (0xb7cbd000)
	/lib/ld-linux.so.2 (0xb7feb000)


Expected Results:  
xdvi should have been linked against libXaw3d.so.8

Package x11-libs/Xaw3d-1.5-r1 is installed.

$ emerge info

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0,
2.6.10-morph25 i686)
=================================================================
System uname: 2.6.10-morph25 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 17 2005, 19:11:20)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=pentium-m -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /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/ /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium-m -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig candy ccache distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://ftp.easynet.nl/mirror/gentoo/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X aalib acpi alsa avi berkdb bitmap-fonts c++ cdr crypt cups curl dvd
emboss encode esd fam flac font-server foomaticdb fortran gdbm gif gpm gtk gtk2
guile imlib java jpeg libg++ libwww mad mikmod mmx mmx2 mmxext motif mp3 mpeg
ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline samba sdl slang spell sse sse2 ssl svga tcpd tetex tiff
truetype truetype-fonts type1-fonts wmf xml xml2 xprint xv xvid zlib&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zortech@nm.ru</who>
            <bug_when>2005-03-31 13:17:01 0000</bug_when>
            <thetext>In xdvik included in tetex-3.0 configure option &apos;--with-x-toolkit&apos; was changed to &apos;--with-xdvi-x-toolkit&apos;
Changing this line of tetex-3.0-r1.ebuild

TETEX_ECONF=&quot;--with-x-toolkit=${toolkit}&quot;

to this one

TETEX_ECONF=&quot;--with-xdvi-x-toolkit=${toolkit}&quot;

fixes the bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2005-04-01 21:06:50 0000</bug_when>
            <thetext>Fixed in CVS. Thanks for the bug report.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>