sys-libs/pam utilizes the yywrap function (and various other yy* stuff) that is provided by source-highlight, however, pam does not depend on source-highlight Reproducible: Always Steps to Reproduce: 1. emerge -C source-highlight 2. emerge pam 3. Actual Results: arm-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -mcpu=arm9 -Os -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -c pam_conv_y.c pam_conv_l.c: In function 'yy_get_next_buffer': pam_conv_l.c:995: warning: comparison between signed and unsigned pam_conv_l.c: At top level: pam_conv_l.c:1579: warning: no previous prototype for 'yyget_in' pam_conv_l.c:1587: warning: no previous prototype for 'yyget_out' pam_conv_l.c:1595: warning: no previous prototype for 'yyget_leng' pam_conv_l.c:1604: warning: no previous prototype for 'yyget_text' pam_conv_l.c:1615: warning: no previous prototype for 'yyset_in' pam_conv_l.c:1620: warning: no previous prototype for 'yyset_out' pam_conv_l.c:1625: warning: no previous prototype for 'yyget_debug' pam_conv_l.c:1630: warning: no previous prototype for 'yyset_debug' pam_conv_l.c:1664: warning: no previous prototype for 'yylex_destroy' pam_conv_l.c:1087: warning: 'yyunput' defined but not used /bin/sh ../../libtool --tag=CC --mode=link arm-unknown-linux-gnu-gcc -mcpu=arm9 -Os -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -Wl,--as-needed -Wl,-O1 -o pam_conv1 pam_conv_l.o pam_conv_y.o mkdir .libs arm-unknown-linux-gnu-gcc -mcpu=arm9 -Os -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -Wl,--as-needed -Wl,-O1 -o pam_conv1 pam_conv_l.o pam_conv_y.o pam_conv_l.o: In function `yylex': pam_conv_l.c:(.text+0xfb8): undefined reference to `yywrap' collect2: ld returned 1 exit status make[4]: *** [pam_conv1] Error 1 make[4]: Leaving directory `/var/tmp/portage/sys-libs/pam-0.99.8.1-r1/work/Linux-PAM-0.99.8.1/conf/pam_conv1' Expected Results: pam compiles and installs
No, it seriously shouldn't; your flex is broken.
(In reply to comment #1) > No, it seriously shouldn't; your flex is broken. > Then there's a bug with cross-compiling pam, wrt flex. Can I report that, or would it just be considered invalid - i.e. is crossdev/xmerge and the use thereof supported officially?