Bug 46648

Summary: XFree86-libraries won't compile
Product: Ports & Packages Reporter: Paul Murphy <pnmurphy>
Component: Individual Port(s)Assignee: Eric Anholt <anholt>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Paul Murphy 2002-12-31 10:40:00 UTC
[snip]

including in lib/dps...
pswrap -a -o dpsclrops.c -h dpsclrops.h dpsclrops.psw
pswrap:No such file or directory
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/dps.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade19296.2 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped / !:failed)
        ! x11/XFree86-4-libraries (XFree86-libraries-4.2.1_4)   (unknown build error)



A search of /usr/ports/x11/XFree86-4-libraries/work/xc/lib/dps shows 
there is no dpsclrops.c or dpsclrops.h

How-To-Repeat: 
portupgrade -R XFree86-libraries-4.2.1_4
Comment 1 Christian Weisgerber freebsd_committer freebsd_triage 2002-12-31 21:48:45 UTC
Responsible Changed
From-To: freebsd-ports->anholt

Over to maintainer.
Comment 2 Eric Anholt 2003-01-11 23:03:53 UTC
Could you try again after doing a make clean?  I really don't know what
would be going wrong here.

-- 
Eric Anholt                                eta@lclark.edu          
http://people.freebsd.org/~anholt/dri/     anholt@FreeBSD.org
Comment 3 Paul Murphy 2003-01-12 01:56:17 UTC
On 11 Jan 2003 23:03:53 +0000
Eric Anholt <eta@lclark.edu> wrote:

> Could you try again after doing a make clean?  I really don't know
> what would be going wrong here.
> 

 re-CVSup'd and did 'make distclean' and 'make'; same error.

 According to 
http://cvsweb.xfree86.org/cvsweb/xc/lib/dps/dpsclrops.psw it looks like
this shouldn't even be trying to be built.

-- 
Cogeco ergo sum
Comment 4 Eric Anholt 2003-01-24 03:49:28 UTC
On Sat, 2003-01-11 at 17:56, Paul Murphy wrote:
> On 11 Jan 2003 23:03:53 +0000
> Eric Anholt <eta@lclark.edu> wrote:
> 
> > Could you try again after doing a make clean?  I really don't know
> > what would be going wrong here.
> > 
> 
>  re-CVSup'd and did 'make distclean' and 'make'; same error.
> 
>  According to 
> http://cvsweb.xfree86.org/cvsweb/xc/lib/dps/dpsclrops.psw it looks like
> this shouldn't even be trying to be built.

Are you building with an X11BASE that isn't in your path by any chance?

-- 
Eric Anholt                                eta@lclark.edu          
http://people.freebsd.org/~anholt/         anholt@FreeBSD.org
Comment 5 Paul Murphy 2003-01-24 18:08:10 UTC
On 23 Jan 2003 19:49:28 -0800
Eric Anholt <eta@lclark.edu> wrote:

> On Sat, 2003-01-11 at 17:56, Paul Murphy wrote:
> > On 11 Jan 2003 23:03:53 +0000
> > Eric Anholt <eta@lclark.edu> wrote:
> > 
> > > Could you try again after doing a make clean?  I really don't know
> > > what would be going wrong here.
> > > 
> > 
> >  re-CVSup'd and did 'make distclean' and 'make'; same error.
> > 
> >  According to 
> > http://cvsweb.xfree86.org/cvsweb/xc/lib/dps/dpsclrops.psw it looks
> > like this shouldn't even be trying to be built.
> 
> Are you building with an X11BASE that isn't in your path by any
> chance?
> 

 For some reason my brain has been stuck in neutral for this whole
XFree86-libraries thing. I had been thinking that 'dpsclrops.*' was the
problem, but of course, if I had of read the error properly, it is
'pswrap' that is the problem.

 So, to answer your question...Yes '/usr/X11R6/bin' is in the path (even
added '/usr/X11R6'). There have been no alterations of that nature.

 The funny thing is 'pswap' _man pages_ ARE installed, just no
executable.

locate pswap => nothing (except the man pages)
find /usr/X11R6 -name pswrap -print => nothing

 If I cd to '/usr/ports/x11/XFree86-4-libraries/work/xc/config/pswrap'
can I do a make from there? There is no Makefile, just Imakefile.

 Is 'pswrap' supposed to be built by -libraries or one of the other
XFree86 ports? I 'script'ed the output of the XFree86-libraries make
process and the only mention of 'pswrap' is the failure.

 Sorry for the lack of mental activity, let me know if there is any
other information that will help.



-- 
Cogeco ergo sum
Comment 6 Eric Anholt 2003-01-24 20:57:10 UTC
>  The funny thing is 'pswap' _man pages_ ARE installed, just no
> executable.
> 
> locate pswap => nothing (except the man pages)
> find /usr/X11R6 -name pswrap -print => nothing

Please rebuild imake-4 then, it provides pswrap.  I don't know how you
didn't have it, since it's a dependency of XFree86-4-libraries.

-- 
Eric Anholt                                eta@lclark.edu          
http://people.freebsd.org/~anholt/         anholt@FreeBSD.org
Comment 7 Paul Murphy 2003-01-25 01:27:44 UTC
On 24 Jan 2003 12:57:10 -0800
Eric Anholt <eta@lclark.edu> wrote:

> >  The funny thing is 'pswap' _man pages_ ARE installed, just no
> > executable.
> > 
> > locate pswap => nothing (except the man pages)
> > find /usr/X11R6 -name pswrap -print => nothing
> 
> Please rebuild imake-4 then, it provides pswrap.  I don't know how you
> didn't have it, since it's a dependency of XFree86-4-libraries.
> 

 All fixed!! Thanks for your help.

-- 
Cogeco ergo sum
Comment 8 Eric Anholt freebsd_committer freebsd_triage 2003-01-25 19:50:24 UTC
State Changed
From-To: open->closed

It was a broken install of imake-4.