Subject: Re: ttmkfdir2 failing?
To: None <tech-pkg@netbsd.org>
From: Perry E. Metzger <perry@piermont.com>
List: tech-pkg
Date: 08/07/2005 14:05:34
"Perry E. Metzger" <perry@piermont.com> writes:
> "Perry E. Metzger" <perry@piermont.com> writes:
>> Cleaning a few things up and building by hand, I get this. Anyone have
>> any idea how to fix it?:
>
> FYI, as near as I can tell, this is broken because of some hacks
> Christos made to the lex skeleton in in src/usr.bin/lex/
And indeed, reverting to v1.20 of src/usr.bin/lex/flex.skl makes the
package build again. Christos, any ideas here??
Perry
>> lex -i -8 -oparser.cpp encoding.l
>> libtool --mode=compile c++ -I/usr/include -I/usr/pkg/include/freetype2 -O2 -I/usr/include -I/usr/pkg/include/freetype2 `/usr/pkg/bin/freetype-config --cflags` -o parser.o -c parser.cpp
>> c++ -I/usr/pkgsrc/fonts/ttmkfdir2/work.hackworth/.buildlink/include/freetype2 -O2 -I/usr/pkgsrc/fonts/ttmkfdir2/work.hackworth/.buildlink/include -c parser.cpp -fPIC -DPIC -o .libs/parser.o
>> parser.cpp: In function `yy_buffer_state* yy_scan_bytes(const char*, int)':
>> parser.cpp:1682: error: invalid conversion from `const char*' to `char*'
>> parser.cpp:1682: error: initializing argument 1 of `yy_buffer_state*
>> yy_scan_buffer(char*, unsigned int)'
>> gmake: *** [parser.o] Error 1
>> *** Error code 2
>>
>> Stop.
>> make: stopped in /usr/pkgsrc/fonts/ttmkfdir2
>> ===>
>> ===> There was an error during the ``build'' phase.
>> ===> Please investigate the following for more information:
>> ===> * log of the build
>> ===> * /usr/pkgsrc/fonts/ttmkfdir2/work.hackworth/.work.log
>> ===>
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/pkgsrc/fonts/ttmkfdir2