Subject: Re: pkg/32292: pkgsrc/x11/xorg-libs has compile errors
To: None <joerg@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Bernhard Moellemann <zza@serpens.de>
List: pkgsrc-bugs
Date: 12/14/2005 15:25:01
The following reply was made to PR pkg/32292; it has been noted by GNATS.

From: Bernhard Moellemann <zza@serpens.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/32292: pkgsrc/x11/xorg-libs has compile errors
Date: Wed, 14 Dec 2005 16:16:51 +0100

 Hi!
 
 Joerg wrote:
 
 >  I see the problem now. From the build log:
 >  
 >  	===> Applying pkgsrc patches for xorg-imake-6.8.2nb3
 >  	[subst.mk] WARNING: Ignoring non-text file "./config/cf/NetBSD.cf.in".
 >  
 >  The result is that in NetBSD.cf:
 >  	# define LibraryMTDefines       @@NETBSD_THREADLIB@@
 >  is not expanded.
 >  
 >  The question is now why the file is not a normal text file. Can you
 >  check whether it exists and is a normal file after
 >  	make clean && make extract
 
 Is exists and seems (in vi) to be a normal text file:
 
 arcanic root /usr/pkgsrc/x11/xorg-imake # make clean
 ===> Cleaning for xorg-imake-6.8.2nb3
 arcanic root /usr/pkgsrc/x11/xorg-imake # ll /usr/pkg/var/tmp/x11/xorg-imake/wor
 k/xc/config/cf/NetBSD.cf.in
 ls: /usr/pkg/var/tmp/x11/xorg-imake/work/xc/config/cf/NetBSD.cf.in: No such file
  or directory
 
 So it is really gone and we are not chasing old remanents.
 
 arcanic root /usr/pkgsrc/x11/xorg-imake # make extract                          
 ===> Checking for vulnerabilities in xorg-imake-6.8.2nb3
 => Checksum SHA1 OK for X11R6.8.2-src1.tar.gz.
 => Checksum RMD160 OK for X11R6.8.2-src1.tar.gz.
 => Checksum SHA1 OK for X11R6.8.2-src3.tar.gz.
 => Checksum RMD160 OK for X11R6.8.2-src3.tar.gz.
 work -> /usr/pkg/var/tmp/x11/xorg-imake/work
 ===> Extracting for xorg-imake-6.8.2nb3   
 ===> Required installed package xorg-dirs>=1.1: xorg-dirs-1.1 found
 arcanic root /usr/pkgsrc/x11/xorg-imake # ll /usr/pkg/var/tmp/x11/xorg-imake/work/xc/config/cf/NetBSD.cf.in
 -rw-r--r--  1 root  source  18373 Aug 15  2004 /usr/pkg/var/tmp/x11/xorg-imake/work/xc/config/cf/NetBSD.cf.in
 
 Located at http://circinus.de/xorg-imake-NetBSD.cf.in.orig.txt
 
 I did not find any binary chars in the file, even the line feeds are
 true Unix line feeds of only an 0xA. Nonetheless:
 
 arcanic root /usr/pkgsrc/x11/xorg-imake # make patch
 ===> Checking for vulnerabilities in xorg-imake-6.8.2nb3
 ===> Patching for xorg-imake-6.8.2nb3
 ===> Applying pkgsrc patches for xorg-imake-6.8.2nb3
 [subst.mk] WARNING: Ignoring non-text file "./config/cf/NetBSD.cf.in".
 arcanic root /usr/pkgsrc/x11/xorg-imake # ll /usr/pkg/var/tmp/x11/xorg-imake/work/xc/config/cf/NetBSD.cf.in
 -rw-r--r--  1 root  source  18691 Dec 14 15:35 /usr/pkg/var/tmp/x11/xorg-imake/work/xc/config/cf/NetBSD.cf.in
 
 And @@NETBSD_THREADLIB@@ is in the patched file.
 
 I uploaded it at http://circinus.de/xorg-imake-NetBSD.cf.in.patched.txt
 
 Are there additional logs I might look at or generate?
 
 Is it ok, that the original file uses "-DUSE_NBSD_THREADLIB" (note NBSD)
 and the patched one "@@NETBSD_THREADLIB@@" (here spelled NETBSD)?
 
 Is there the possibility, that I have some superflous thread-libraries
 lying around or that some are XFree-Files consulted? (The machine was
 setup with NetBSD-current between 1.6 and 2.0 and was only upgraded
 since then with build.sh; it currently runs XFree86).
 
 -- 
     Bernhard  //
             \X/