pkgsrc-Users archive

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

tools broken? [was Re: devel/ncurses does not build]



[I'm adding current-users@ since the issue might be related to awk/sed & co.]

lib_gen.c (generated using awk and sed) looks really strange...

Excerpt:

#undef i
* i * n * t * * a * d * d * c * h * (* c * o * n * s * t * * c * h * t
* y * p * e * z)
*
{
        T((T_CALLED("i(%p)"), z)); returnCode(i(z));
}

(amd64-current system updated using sources from yesterday).

Pouya

On 10 February 2011 09:28, Pouya D. Tafti <pouya%san-serriffe.org@localhost> 
wrote:
> Trying to build devel/ncurses on amd64-current updated yesterday:
>
> .
> .
> .
> /pkg_comp/obj/pkgsrc/devel/ncurses/default/.wrapper/bin/libtool
> --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../ncurses -I. -I.
> -I../include Â-DNDEBUG -I/usr/pkg/include/ncurses -O2 -msse3
> -mfpmath=sse Â--param max-inline-insns-single=1200 -c
> ../ncurses/lib_gen.c -o ../obj_lo/lib_gen.lo
> libtool: compile: Âcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include
> -DNDEBUG 
> -I/pkg_comp/obj/pkgsrc/devel/ncurses/default/.buildlink/include/ncurses
> -O2 -msse3 -mfpmath=sse --param max-inline-insns-single=1200 -c
> ../ncurses/lib_gen.c Â-fPIC -DPIC -o ../obj_lo/.libs/lib_gen.o
> ../ncurses/lib_gen.c:19: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:26: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:33: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:40: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:47: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:54: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:61: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:68: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:75: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:82: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:89: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:96: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:103: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:110: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:117: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:124: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:131: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:159: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:166: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:187: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:201: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:215: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:222: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:229: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:243: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:250: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:257: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:264: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:271: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:285: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:292: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:299: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:306: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:313: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:320: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:327: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:334: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:341: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:348: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:355: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:362: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:369: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:376: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:383: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:390: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:397: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:404: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:411: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:418: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:425: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:432: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:439: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:446: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:453: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:460: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:467: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:474: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:481: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:488: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:495: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:502: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:509: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:516: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:523: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:530: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:537: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:544: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:551: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:558: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:565: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:572: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:579: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:586: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:593: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:600: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:614: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:621: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:628: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:667: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:674: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:681: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:688: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:695: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:702: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:709: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:716: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:723: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:730: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:737: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:744: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:751: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:758: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:765: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:772: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:779: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:786: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:793: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:800: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:807: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:814: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:821: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:828: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:835: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:842: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:849: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:856: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:863: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:870: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:877: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:884: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:891: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:898: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:905: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:912: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:919: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:926: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:933: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:940: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:947: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:954: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:961: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> ../ncurses/lib_gen.c:968: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> *** Error code 1
>
> Stop.
> make: stopped in 
> /pkg_comp/obj/pkgsrc/devel/ncurses/default/ncurses-5.7/ncurses
> *** Error code 1
>
> Stop.
> make: stopped in /pkg_comp/obj/pkgsrc/devel/ncurses/default/ncurses-5.7
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/devel/ncurses
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/devel/ncurses
>


Home | Main Index | Thread Index | Old Index