Ok, when I try to compile CUPS-1.2.4 the following occurs: testlpd.c: In function `print_job': testlpd.c:302: aviso: se ignora Error interno del compilador: Error al reportar rutinas reentradas. Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Compiling testmime.c... Preprocessed source stored into /home/portage/portage/net-print/cups-1.2.4/temp/ccmCBQqs.out file, please attach this to your bugreport. make[1]: *** [testlpd.o] Error 1 make[1]: *** Se espera a que terminen otras tareas.... make: *** [all] Error 1 Translated, it's something like: testlpd.c: In function `print_job': testlpd.c:302: warning: ignored Internal compiler error: Error reporting reentered routines Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Compiling testmime.c... Preprocessed source stored into /home/portage/portage/net-print/cups-1.2.4/temp/ccmCBQqs.out file, please attach this to your bugreport. make[1]: *** [testlpd.o] Error 1 make[1]: *** Se espera a que terminen otras tareas.... make: *** [all] Error 1 The strangest thing happened. Because I have es_MX locale, the messages appear in spanish, so I tried LC_ALL="en_US" emerge cups just to get the output error in english so I could google for it. To my surprise, CUPS COMPILED!! :).. hehe.. I'm happy for that, but I'm sure it's still a bug. BTW, I did a emerge --deep --update cups so every dependency got updated to latest (I even noticed glibc and glib updating so I thought maybe that was the problem, but upon updating the problem persisted) Thanks!
Uhm, try one more time w/ es_MX please, if case it fails at *exactly* the same place, post emerge --info and attached the preprocessed source to the bug as the message told you. Thanks.
Created attachment 99978 [details] Preprocessed source
Created attachment 99979 [details] emerge --info
Damn!! Sorry for that, man... I swear I was going to attach that info but I just missed it.. You'll notice that I'm ussing --as-needed, but I tried disabling it and the problem stayed.. Anything else I can help with?? And sorry for wasting your time so badly the first time..
OK, please upgrade to latest stable gcc and see if you can reproduce it. http://www.gentoo.org/doc/en/gcc-upgrading.xml
Ok, thanks! It Worked!! I'll keep the gcc upgrading thing on my list of TODO's next time I have trouble with some package... Will this be marked as a dependancy on CUPS? (just for further reference so if I encounter another problem like this I will report it)
Not sure what you mean, this is a gcc-3.4.x bug, not a cups one. So cups depending on gcc-4* wouldn't make sense and it wouldn't ensure that people are actually using gcc-4 anyway, as they won't get switched automatically. Thanks for reporting back, closing.
Ok, what I meant was: will a dependancy of >gcc-3.4.4 be added to the cups ebuild?? (I upgraded from 3.4.4 to 3.4.6-r2) If so, that means that if I encounter the same error (one fixed by upgrading gcc), I should report here at bugzilla so the dependancy can be added.. If not, then I would just fix it and not report anything... (This just for setting my personal guidelines on reporting 'bugs')
No, we won't be adding dependencies on gcc, as it wouldn't solve anything as explained above.