Subject: pkg/33032: devel/cxref doe snot compile
To: None <,,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 03/08/2006 13:55:01
>Number:         33032
>Category:       pkg
>Synopsis:       devel/cxref doe snot compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 08 13:55:01 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15 (pkgsrc current as of 5-6 hours ago)
	Prince of Songkla University
System: NetBSD 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 i386
	Compiling using pkg_comp and libkver with NetBSD 3.0 release sets
Architecture: i386
Machine: i386
	devel/cxref fails to compile corretly, looks to be a makefile
	problem, as cc (gcc) complains "gcc: no input files"/

	Attempt to build devel/cxref.
	I don't know if using NetBSD 3.0 is required for this,
	or whether the use of pkg_comp is related.

	but what i see is ... (lots oc make output, then)

Created parse-lex.c
[ ! "bison -y" = "bison" ] || bison -y -d ./parse.y
[   "bison -y" = "bison" ] || bison -y -d  ./parse.y
conflicts: 18 shift/reduce
Created parse-yacc.c
Created parse-yacc.h
cc -c -O2 parse-lex.c -o parse-lex.o -I. -I.
cc -c -O2 parse-yacc.c -o parse-yacc.o -I. -I.
cc -Wl,-R/usr/pkg/lib cxref.o func.o type.o var.o preproc.o comment.o file.o  slist.o memory.o  xref.o  warn-raw.o latex.o latex-style.o html.o html-style.o rtf.o sgml.o  parse-lex.o parse-yacc.o -o cxref 
[ ! -f ../cpp/cxref-cpp ] || cc -c -O2  -o cxref-inst.o -I. -I. '-DCXREF_CPP="cxref-cpp -lang-c -C -dD -dI"'
gcc: no input files
*** Error code 1

	No big surprise that last cc fails, there's no .c file given.