Subject: print-build-depends-list problems
To: None <tech-pkg@netbsd.org>
From: Jake Maciejewski <maciejej@msoe.edu>
List: tech-pkg
Date: 10/05/2005 14:58:52
"bmake print-build-depends-list" is dumping the contents of Makefiles
instead of printing depends lists for a few packages, including but not
necessarily limited to meta-pkgs/kde3, meta-pkgs/gnome-base, and
meta-pkgs/xfce4. meta-pkgs/xorg and every non-meta package I've tried
work as expected. I'm using a pkgsrc tarball from 2005-10-01 on SchilliX
(SunOS 5.11, i386). Here's a sample of the output (the "could not parse
version number" errors are unrelated):
-bash-3.00$ bmake print-build-depends-list 2>&1 | head -n 100
This package requires package(s) "warning: could not parse version
number in output of:
cc -V 2>&1
warning: could not parse version number in output of:
CC -V 2>&1
Read MAKEFLAGS: ' DIGEST=/usr/pkg/bin/digest DIGEST_VERSION=20050731
LOWER_OPSYS=solaris OPSYS=SunOS OS_VERSION=5.11
PKGTOOLS_VERSION=20050718 _CC=/usr/sfw/bin/gcc _MAKE=/usr/pkg/bin/bmake
_PATH_ORIG=/usr/bin:/usr/pkg/bin:/usr/pkg/xorg/bin:/usr/sfw/bin
_PKGSRCDIR=/export/home/pkgsrc'
MAKEFLAGS value: '-DDDdeiknprsStWw'
Reading file '-' in line 1 of '(NULL POINTER)'
Parsing file 'Standard in'
>>>>>>>>>>>>>>>> Reading makefile 'Standard in'
all ::
.SUFFIXES : .i
XORG_VERSION_CURRENT = (((6) * 10000000) + ((8) * 100000) + ((2) *
1000) + 0)
RELEASE_VERSION = RELEASE-1
AFB_DEFS = -DUSE_AFB
DRIVERSDKDIR = $(USRLIBDIR)/Server
DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules
DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include
XF86SRC = $(SERVERSRC)/hw/xfree86
XF86COMSRC = $(XF86SRC)/common
XF86PARSERSRC = $(XF86SRC)/parser
XF86OSSRC = $(XF86SRC)/os-support
XF86DRIVERSRC = $(XF86SRC)/drivers
DRIVERSRC = $(XF86DRIVERSRC)
XFREE86DOCDIR = $(DOCDIR)
XFREE86PSDOCDIR = $(DOCPSDIR)
XFREE86PDFDOCDIR = $(DOCPDFDIR)
XFREE86HTMLDOCDIR = $(DOCHTMLDIR)
XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
X_BYTE_ORDER = X_LITTLE_ENDIAN
GLIDE2INCDIR =
GLIDE3INCDIR =
GLIDE3LIBNAME =
TKLIBNAME =
TKLIBDIR =
TCLLIBNAME =
TCLIBDIR =
PATHSEP = /
SHELL = /bin/sh
TOP = .
CURRENT_DIR = .
IMAKE = imake
DEPEND = gccmakedep
MKDIRHIER = mkdir -p
REVPATH = revpath
EXPORTLISTGEN = exportlistgen
RMAN = rman
RMANBASENAME = rman
RMANOPTIONS = -f HTML
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/util
INCROOT = /usr/pkg/xorg/include
USRLIBDIR = /usr/pkg/xorg/lib
VARDIR = /var
VARLIBDIR = $(VARDIR)/lib
SYSTEMUSRLIBDIR = /usr/lib
SYSTEMUSRINCDIR = /usr/include
SHLIBDIR = /usr/pkg/xorg/lib
LINTLIBDIR = $(USRLIBDIR)/lint
MANPATH = /usr/pkg/xorg/man
MANSOURCEPATH = $(MANPATH)/man
MANDIR = $(MANSOURCEPATH)1
LIBMANDIR = $(MANSOURCEPATH)3
FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSUFFIX)
MISCMANDIR = $(MANSOURCEPATH)$(MISCMANSUFFIX)
DRIVERMANDIR = $(MANSOURCEPATH)$(DRIVERMANSUFFIX)
LOGDIRECTORY = $(VARDIR)/log
AR = /usr/ccs/bin/ar cqs
BOOTSTRAPCFLAGS =
CC = gcc
AS = gcc -c -x assembler
.SUFFIXES : .cc
CXX = g++
CXXFILT = c++filt
CXXLIBDIR = /usr/local/lib
CXXLIB = -L$(CXXLIBDIR) -lstdc++
CXXDEBUGFLAGS = -O2 -fno-strength-reduce
CXXDEPENDINCLUDES =
CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
CXXSTD_DEFINES = -Dsun -Di386 -DSVR4 -D__EXTENSIONS__ -D__i386
$(CXXPROJECT_DEFINES)
CXXOPTIONS =
CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES)
$(DEFINES) $(CXXEXTRA_DEFINES)
CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS)
$(CXXDEFINES)
COMPRESS = compress
GZIPCMD = gzip
CPP = /usr/ccs/lib/cpp $(STD_CPP_DEFINES)
RAWCPP = /usr/ccs/lib/cpp -undef $(STD_CPP_OPTIONS)
PREPROCESSCMD = gcc -E $(STD_CPP_DEFINES)
INSTALL = /usr/ucb/install
INSTALLFLAGS = -c
LD = /usr/ccs/bin/ld
LEX = /usr/ccs/bin/lex
M4 = m4
M4FLAGS =
LEXLIB = -ll
YACC = /usr/ccs/bin/yacc
CCYACC = /usr/ccs/bin/yacc
LINT = lint
--
Jake Maciejewski <maciejej@msoe.edu>