Subject: Re: pkg/30277
To: Jeremy C. Reed <reed@reedmedia.net>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: pkgsrc-bugs
Date: 05/25/2005 09:09:35
--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, May 24, 2005 at 07:01:37PM -0700, Jeremy C. Reed wrote:
> In regards to your PR about teTeX3-bin missing openmotif dependency:
> 
> What is the error message you received?
> 
> (I am hoping that motif is not a force dependency for teTeX3.)

(I already posted a followup to this bug but apparently it never
arrived)

It's a little more complicated than I initially thought.  When openmotif
is not installed on the system, teTeX3-bin builds just fine.  Only when
openmotif is already installed, it fails at building xdvik (output is
attached).  Then the originally posted patch fixes the problem, and you
get a different xdvi btw.  

Could openmotif be a conditional dependency?  So only include it if it's
already there, otherwise don't pull it in?  Or should we make xdvi a
package on its own?  

GH

-- 
:wq

--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="teTeX3-bin.output"

gmake[2]: Entering directory `/tmp/pkgsrc/print/teTeX3-bin/work/tetex-src-3.0/texk/xdvik'
cd gui; /usr/pkg/bin/gmake -w CC='cc' CFLAGS='-O2 -Dunix -pipe -O -march=pentium4 -I/usr/pkg/include -I/usr/include -I/usr/pkg/xorg/include -I/usr/pkg/include/freetype2 '  libgui.a
gmake[3]: Entering directory `/tmp/pkgsrc/print/teTeX3-bin/work/tetex-src-3.0/texk/xdvik/gui'
cc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -W -Wall -Wunused -I.. -I./.. -I/usr/pkg/include  -I/usr/pkg/xorg/include -DPS_GS  -DXSERVER_INFO -I/usr/pkg/include -I/usr/include -I/usr/pkg/xorg/include -I/usr/pkg/include/freetype2  -O2 -Dunix -pipe -O -march=pentium4 -I/usr/pkg/include -I/usr/include -I/usr/pkg/xorg/include -I/usr/pkg/include/freetype2  -c help-window.c -o help-window.o
gmake[3]: Leaving directory `/tmp/pkgsrc/print/teTeX3-bin/work/tetex-src-3.0/texk/xdvik/gui'
gmake[2]: Leaving directory `/tmp/pkgsrc/print/teTeX3-bin/work/tetex-src-3.0/texk/xdvik'
gmake[1]: Leaving directory `/tmp/pkgsrc/print/teTeX3-bin/work/tetex-src-3.0/texk'
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/print/teTeX3-bin
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /tmp/pkgsrc/print/teTeX3-bin/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/teTeX3-bin

--9amGYk9869ThD9tj--