Bug 40637

Summary: XFree86-4-FontServer can't find Wraphelp.c
Product: Ports & Packages Reporter: John Nielsen <john>
Component: Individual Port(s)Assignee: Eric Anholt <anholt>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description John Nielsen 2002-07-16 06:10:01 UTC
      The XFree86-4-FontServer port expects to find Wraphelp.c in work/xc/lib/Xdmcp, but make-ing the port doesn't put it there and the build fails:

make: don't know how to make Wraphelp.c. Stop
*** Error code 2

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

Fix: 

Copy Wraphelp.c from distfiles/xc to work/xc/lib/Xdmcp (in post-extract).  Be sure that the port knows where to fetch it if it's not already there (it was already there on my system).
How-To-Repeat:       cd /usr/ports/x11-servers/XFree86-4-FontServer && make
Comment 1 Eric Anholt 2002-07-16 06:43:52 UTC
I'm looking at this, trying to figure out how what I changed made it
fail (the old ports copied it some time during the beginning of the
build, wondering if any other build stuff was lost).

-- 
Eric Anholt <eta@lclark.edu>
http://people.freebsd.org/~anholt/dri/
Comment 2 Eric Anholt freebsd_committer freebsd_triage 2002-07-16 09:29:34 UTC
Responsible Changed
From-To: freebsd-ports->anholt

maintainer.  working on a patch now.
Comment 3 Thomas E. Zander 2002-07-16 20:12:50 UTC
Hi,

On Mon, 15. Jul 2002, at 22:01 -0700, John Nielsen wrote
according to [ports/40637: XFree86-4-FontServer can't find Wraphelp.c]:

> >Fix:
>       Copy Wraphelp.c from distfiles/xc to work/xc/lib/Xdmcp (in post-extract).  Be sure that the port knows where to fetch it if it's not already there (it was already there on my system).

There is also another problem in regard to this matter:

XFree86-4-libraries/distinfo shows
MD5 (xc/Wraphelp.c) = IGNORE

I think this is a bad idea, because in my xc/ dir there was already a
Wraphelp.c, but it was broken and so it broke the build.
It seems that some distfiles mirrors contain this broken Wraphelp.c, so
it might be useful to put a MD5 sum there to ensure that the correct
file is used.

Riggs
-- 
- "[...] I talked to the computer at great length and
-- explained my view of the Universe to it" said Marvin.
--- And what happened?" pressed Ford.
---- "It committed suicide." said Marvin.
Comment 4 Anders Nordby freebsd_committer freebsd_triage 2002-07-17 23:52:07 UTC
Howdy,

On Mon, Jul 15, 2002 at 10:01:17PM -0700, John Nielsen wrote:
>>Synopsis:       XFree86-4-FontServer can't find Wraphelp.c

(..)

Just wanted to confirm that I experience the same problem on -stable as
of today. The proposed fix works too.

Cheers,

-- 
Anders.
Comment 5 Eric Anholt freebsd_committer freebsd_triage 2002-07-29 07:24:20 UTC
State Changed
From-To: open->closed

I believe this problem is fixed.  The related problem mentioned in the audit  
trail is covered in other PRs.