pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29564: recent pkgtools/pkg_install fails to build



The following reply was made to PR pkg/29564; it has been noted by GNATS.

From: Dave Tyson <Dave.Tyson%liverpool.ac.uk@localhost>
To: Thomas Klausner <wiz%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/29564: recent pkgtools/pkg_install fails to build
Date: Tue, 1 Mar 2005 15:55:32 +0000 (GMT)

 On Tue, 1 Mar 2005, Thomas Klausner wrote:
 
 >On Tue, Mar 01, 2005 at 11:19:00AM +0000, dtyson%liv.ac.uk@localhost wrote:
 >> config.status: creating nbcompat/config.h
 >> cc -DDEF_UMASK=0022 -I/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -I. 
 >> -I.  -O2 -DHAVE_CONFIG_H -c bits.c
 >> cc -I. -I.  -O2 -L/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat 
 >> -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o bits bits.o
 >> ./bits nbcompat/nbtypes.h
 >> /usr/bin/awk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
 >> cc -DDEF_UMASK=0022 -I/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -I. 
 >> -I.  -O2 -DHAVE_CONFIG_H -c glob.c
 >> In file included from 
 >> /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat/util.h:43,
 >>                  from 
 >> /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat.h:75,
 >>                  from __glob13.c:35,
 >>                  from glob.c:12:
 >> /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/util.h:40: config.h: No 
 >> such file or directory
 >
 >I don't have a libnbcompat/util.h, only libnbcompat/nbcompat/util.h.
 >Where is util.h in pkgsrc/pkgtools/libnbcompat/files?
 >
 > Thomas
 >
 
 Thomas, Here is what I have in the relevent directories:
 
 # pwd
 /usr/pkgsrc/pkgtools/libnbcompat
 # ls
 CVS             Makefile        README.html     files
 DESCR           PLIST           buildlink3.mk   inplace.mk
 
 # pwd
 /usr/pkgsrc/pkgtools/libnbcompat/files
 # ls -l
 total 1009
 drwxrwxr-x  2 root  wheel     512 Mar  1 10:05 CVS
 -rw-r--r--  1 root  wheel    2091 Mar  1 09:54 Makefile.in
 -rw-r--r--  1 root  wheel    2770 Sep 11 20:01 README
 -rw-r--r--  1 root  wheel   31095 Nov 25 10:36 __fts13.c
 -rw-r--r--  1 root  wheel   23731 Aug 23  2004 __glob13.c
 -rw-r--r--  1 root  wheel    3322 Aug 23  2004 __unsetenv13.c
 -rw-r--r--  1 root  wheel    4240 Nov 25 10:36 aclocal.m4
 -rw-r--r--  1 root  wheel    5400 Sep 13  2003 bits.c
 -rwxr-xr-x  1 root  wheel   43714 Mar  1 09:54 config.guess
 -rw-r--r--  1 root  wheel   13441 Jul 19  2003 config.h.in
 -rwxr-xr-x  1 root  wheel   31267 Mar  1 09:54 config.sub
 -rwxr-xr-x  1 root  wheel  338227 Nov 25 10:36 configure
 -rw-r--r--  1 root  wheel    9686 Nov 25 10:36 configure.ac
 -rw-r--r--  1 root  wheel   30952 Aug 16  2004 engine.c
 -rw-r--r--  1 root  wheel    3287 Nov 25 10:36 err.c
 -rw-r--r--  1 root  wheel    2156 Jul 31  2003 err.h
 -rw-r--r--  1 root  wheel    3524 Jul 13  2003 extern.h
 -rw-r--r--  1 root  wheel    2863 Nov 25 10:36 fgetln.c
 -rw-r--r--  1 root  wheel    2928 Aug 23  2004 findenv.c
 -rw-r--r--  1 root  wheel    5874 Aug 23  2004 fnmatch.c
 -rw-r--r--  1 root  wheel    5749 Nov 25 10:36 fparseln.c
 -rw-r--r--  1 root  wheel    4168 Mar 31  2003 ftpglob.h
 -rw-r--r--  1 root  wheel     216 Aug 23  2004 fts.c
 -rw-r--r--  1 root  wheel    5447 Mar 31  2003 fts.h
 -rw-r--r--  1 root  wheel    3442 Nov 25 10:36 getenv.c
 -rw-r--r--  1 root  wheel   11153 Mar 31  2003 getid.c
 -rw-r--r--  1 root  wheel    2913 Jun 23  2003 getopt.h
 -rw-r--r--  1 root  wheel   13204 Nov 25 10:36 getopt_long.c
 -rw-r--r--  1 root  wheel    4577 Aug 23  2004 gettemp.c
 -rw-r--r--  1 root  wheel     218 Nov 25 10:36 glob.c
 -rwxr-xr-x  1 root  wheel    5598 Mar 31  2003 install-sh
 -rw-r--r--  1 root  wheel    2356 Nov 25 10:36 isblank.c
 -rw-r--r--  1 root  wheel    2391 Nov 25 10:36 lchflags.c
 -rw-r--r--  1 root  wheel    2379 Nov 25 10:36 lchmod.c
 -rw-r--r--  1 root  wheel    2400 Nov 25 10:36 lchown.c
 -rw-r--r--  1 root  wheel    2401 Nov 25 10:36 lutimes.c
 -rw-r--r--  1 root  wheel     233 Mar 31  2003 malloc.c
 -rw-r--r--  1 root  wheel    1836 Mar 31  2003 md5.h
 -rw-r--r--  1 root  wheel   10897 Nov 25 10:36 md5c.c
 -rw-r--r--  1 root  wheel     367 Nov 25 10:36 md5hl.c
 -rw-r--r--  1 root  wheel    2114 Aug 23  2004 mdXhl.c
 -rw-r--r--  1 root  wheel    6712 Mar 31  2003 misc.c
 -rw-r--r--  1 root  wheel    2602 Nov 25 10:36 mkdtemp.c
 -rw-r--r--  1 root  wheel    2589 Nov 25 10:36 mkstemp.c
 -rw-r--r--  1 root  wheel    5271 Mar 31  2003 mtree.h
 drwxrwxr-x  3 root  wheel    1024 Nov 25 10:36 nbcompat
 -rw-r--r--  1 root  wheel     379 Aug 21  2004 nbcompat.awk
 -rw-r--r--  1 root  wheel    3869 Nov 25 10:36 nbcompat.h
 -rw-r--r--  1 root  wheel    8581 Mar 31  2003 pack_dev.c
 -rw-r--r--  1 root  wheel    2176 Mar 31  2003 pack_dev.h
 -rw-r--r--  1 root  wheel    3363 Nov 25 10:36 poll.c
 drwxr-xr-x  3 root  wheel     512 Nov 25 10:36 private
 -rw-r--r--  1 root  wheel   16756 Nov 25 10:36 pwcache.c
 -rw-r--r--  1 root  wheel   43863 Aug 23  2004 regcomp.c
 -rw-r--r--  1 root  wheel    7677 Aug 23  2004 regerror.c
 -rw-r--r--  1 root  wheel    8632 Aug 23  2004 regexec.c
 -rw-r--r--  1 root  wheel    4920 Aug 23  2004 regfree.c
 -rw-r--r--  1 root  wheel   15283 Nov 25 10:36 rmd160.c
 -rw-r--r--  1 root  wheel    1339 Mar 31  2003 rmd160.h
 -rw-r--r--  1 root  wheel    2485 Nov 25 10:36 rmd160hl.c
 -rw-r--r--  1 root  wheel    4329 Nov 25 10:36 setenv.c
 -rw-r--r--  1 root  wheel    2136 Aug 23  2004 setgroupent.c
 -rw-r--r--  1 root  wheel   11634 Nov 25 10:36 setmode.c
 -rw-r--r--  1 root  wheel    2134 Aug 23  2004 setpassent.c
 -rw-r--r--  1 root  wheel    2747 Nov 25 10:36 setprogname.c
 -rw-r--r--  1 root  wheel    9700 Nov 25 10:36 sha1.c
 -rw-r--r--  1 root  wheel     725 Mar 31  2003 sha1.h
 -rw-r--r--  1 root  wheel    2587 Nov 25 10:36 sha1hl.c
 -rw-r--r--  1 root  wheel   29717 Mar 31  2003 sha2.c
 -rw-r--r--  1 root  wheel    5168 Mar 31  2003 sha2.h
 -rw-r--r--  1 root  wheel    6492 Mar 31  2003 sha2hl.c
 -rw-r--r--  1 root  wheel   17484 Nov 25 10:36 snprintf.c
 -rw-r--r--  1 root  wheel   16032 Mar 31  2003 spec.c
 -rwxr-xr-x  1 root  wheel    5229 Mar  1 09:54 src2nbcompat
 -rw-r--r--  1 root  wheel    5209 Mar 31  2003 stat_flags.c
 -rw-r--r--  1 root  wheel    2042 Mar 31  2003 stat_flags.h
 -rw-r--r--  1 root  wheel    3866 Aug 23  2004 statvfs.c
 -rw-r--r--  1 root  wheel    2376 Nov 25 10:36 strdup.c
 -rw-r--r--  1 root  wheel     378 Nov 25 10:36 strerror.c
 -rw-r--r--  1 root  wheel    2361 Nov 25 10:36 strlcat.c
 -rw-r--r--  1 root  wheel    2249 Nov 25 10:36 strlcpy.c
 -rw-r--r--  1 root  wheel    4045 Nov 25 10:36 strmode.c
 -rw-r--r--  1 root  wheel    3019 Nov 25 10:36 strsep.c
 -rw-r--r--  1 root  wheel    5199 Nov 25 10:36 strtoll.c
 -rw-r--r--  1 root  wheel     218 Aug 23  2004 unsetenv.c
 -rw-r--r--  1 root  wheel    7317 Mar  1 09:54 unvis.c
 -rw-r--r--  1 root  wheel    2213 Nov 25 10:36 usleep.c
 -rw-r--r--  1 root  wheel    4098 Mar 31  2003 util.h
 -rw-r--r--  1 root  wheel    2330 Aug 23  2004 utimes.c
 -rw-r--r--  1 root  wheel   11425 Nov 25 10:36 vis.c
 -rw-r--r--  1 root  wheel    3832 Mar 31  2003 vis.h
 -rw-r--r--  1 root  wheel    3175 Aug 23  2004 warn.c
 
 # pwd
 /usr/pkgsrc/pkgtools/libnbcompat/files/nbcompat
 # ls -l
 total 124
 drwxrwxr-x  2 root  wheel    512 Nov 25 10:36 CVS
 -rw-r--r--  1 root  wheel   2279 Aug 23  2004 assert.h
 -rw-r--r--  1 root  wheel   3360 Sep 11 20:01 cdefs.h
 -rw-r--r--  1 root  wheel  13913 Nov 25 10:36 config.h.in
 -rw-r--r--  1 root  wheel   2249 Aug 23  2004 ctype.h
 -rw-r--r--  1 root  wheel   2452 Aug 23  2004 dirent.h
 -rw-r--r--  1 root  wheel   2753 Aug 23  2004 endian.h
 -rw-r--r--  1 root  wheel   2426 Nov 25 10:36 err.h
 -rw-r--r--  1 root  wheel   2333 Aug 10  2004 fnmatch.h
 -rw-r--r--  1 root  wheel   5235 Nov 25 10:36 fts.h
 -rw-r--r--  1 root  wheel   2781 Nov 25 10:36 getopt.h
 -rw-r--r--  1 root  wheel   3949 Nov 25 10:36 glob.h
 -rw-r--r--  1 root  wheel   2381 Aug 10  2004 grp.h
 -rw-r--r--  1 root  wheel   2860 Aug 23  2004 limits.h
 -rw-r--r--  1 root  wheel   1859 Nov 25 10:36 md5.h
 -rw-r--r--  1 root  wheel   2366 Aug 23  2004 param.h
 -rw-r--r--  1 root  wheel   2479 Aug 10  2004 paths.h
 -rw-r--r--  1 root  wheel   2683 Nov 25 10:36 poll.h
 -rw-r--r--  1 root  wheel   2375 Aug 10  2004 pwd.h
 -rw-r--r--  1 root  wheel   5430 Aug 10  2004 queue.h
 -rw-r--r--  1 root  wheel   5637 Aug 23  2004 regex.h
 -rw-r--r--  1 root  wheel   1361 Nov 25 10:36 rmd160.h
 -rw-r--r--  1 root  wheel    747 Nov 25 10:36 sha1.h
 -rw-r--r--  1 root  wheel   2604 Aug 23  2004 stat.h
 -rw-r--r--  1 root  wheel   4469 Aug 23  2004 statvfs.h
 -rw-r--r--  1 root  wheel   2432 Aug 10  2004 stdio.h
 -rw-r--r--  1 root  wheel   2672 Aug 23  2004 stdlib.h
 -rw-r--r--  1 root  wheel   2600 Aug 10  2004 string.h
 -rw-r--r--  1 root  wheel   2506 Aug 23  2004 termcap.h
 -rw-r--r--  1 root  wheel   2716 Aug 10  2004 time.h
 -rw-r--r--  1 root  wheel   2369 Aug 23  2004 types.h
 -rw-r--r--  1 root  wheel   2636 Aug 10  2004 tzfile.h
 -rw-r--r--  1 root  wheel   2764 Aug 23  2004 unistd.h
 -rw-r--r--  1 root  wheel   2514 Aug 10  2004 util.h
 -rw-r--r--  1 root  wheel   3737 Nov 25 10:36 vis.h
 
 It looks like /usr/pkgsrc/pkgtools/libnbcompat/files and
 /usr/pkgsrc/pkgtools/libnbcompat/files/nbcompat contain
 a lot of similar files. maybe something has gone wrong with
 my cvs update - I guess you have rather fewer files - perhaps
 you could confirm this. I can blow away the pkgsrc tree and
 refetch it from scratch if neccessary to try and pin down the
 problem.
 
 Regards,
 Dave
 
 --
 =====================================================================
 Computing Services Dept         Phone/Fax: 0151-794-3731/3759
 The University of Liverpool     Email: dtyson%liv.ac.uk@localhost
 Chadwick Tower, Peach Street    WWW:   http://www.liv.ac.uk/~dtyson
 Liverpool L69 7ZF               Open Source O/S: www.netbsd.org
 =====================================================================
 



Home | Main Index | Thread Index | Old Index