pkgsrc-Bugs archive

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

pkg/42509: lang/intercal wants to refer to yylineno which no longer exists



>Number:         42509
>Category:       pkg
>Synopsis:       lang/intercal wants to refer to yylineno which no longer exists
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 23 17:40:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   (pkgsrc current of 2009-12-22)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        Linking lang/intercal fails with (many) references to yylineno
        (undefined symbol).

>How-To-Repeat:
        I use pkg_comp with NetBSD 4.0 release sets installed, and
        X11_TYPE=modular (no x* sets).   I doubt any of that is relevant.

        Building (attempting to build) lang/intercal results in ...

===> Building for intercal-0.24
/usr/bin/yacc -d -d ick.y
mv y.tab.c ick.c
cc -O2 -DICKINCLUDEDIR=\"/usr/pkg/include/intercal-0.24\" 
-DICKLIBDIR=\"/usr/pkg/share/intercal-0.24\" -DYYDEBUG -D_POSIX_SOURCE -DUSG  
-c ick.c
/usr/bin/lex  lexer.l
mv lex.yy.c lexer.c
cc -O2 -DICKINCLUDEDIR=\"/usr/pkg/include/intercal-0.24\" 
-DICKLIBDIR=\"/usr/pkg/share/intercal-0.24\" -DYYDEBUG -D_POSIX_SOURCE -DUSG  
-c lexer.c
  [....]
cc -O2 -DICKINCLUDEDIR=\"/usr/pkg/include/intercal-0.24\" 
-DICKLIBDIR=\"/usr/pkg/share/intercal-0.24\" -DYYDEBUG -D_POSIX_SOURCE -DUSG  
-c perpetrate.c
cc perpetrate.o ick.o lexer.o feh.o lose.o fiddle.o -Wl,-R/usr/pkg/lib -o ick
perpetrate.o: In function `abend':
perpetrate.c:(.text+0xa): undefined reference to `yylineno'
perpetrate.o: In function `main':
perpetrate.c:(.text+0x813): undefined reference to `yylineno'
perpetrate.c:(.text+0xaae): undefined reference to `yylineno'
perpetrate.c:(.text+0xd06): undefined reference to `yylineno'
ick.o: In function `yyparse':
ick.c:(.text+0x395): undefined reference to `yylineno'
ick.o:ick.c:(.text+0xa59): more undefined references to `yylineno' follow
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/lang/intercal/4x/intercal-0.24
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/intercal

>Fix:
        ??   Would yylineno return if bison replaced yacc?
        Or is there some other way to get it back?  Or is this
        some simpler problem (missing include in perpetrate.c or something) ??



Home | Main Index | Thread Index | Old Index