Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 151882

Summary: CUPS 1.2.4 can't compile on LC_ALL="es_MX"
Product: Gentoo Linux Reporter: Jose Medellin <jfmc3>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED NEEDINFO    
Severity: normal CC: jfmc3
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Preprocessed source
emerge --info

Description Jose Medellin 2006-10-18 15:50:24 UTC
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!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-18 15:54:16 UTC
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.
Comment 2 Jose Medellin 2006-10-18 16:03:46 UTC
Created attachment 99978 [details]
Preprocessed source
Comment 3 Jose Medellin 2006-10-18 16:04:49 UTC
Created attachment 99979 [details]
emerge --info
Comment 4 Jose Medellin 2006-10-18 16:06:01 UTC
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..
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-18 16:20:38 UTC
OK, please upgrade to latest stable gcc and see if you can reproduce it. 

http://www.gentoo.org/doc/en/gcc-upgrading.xml
Comment 6 Jose Medellin 2006-10-18 17:13:53 UTC
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)
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-10-19 00:36:30 UTC
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.
Comment 8 Jose Medellin 2006-10-19 06:36:47 UTC
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')
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-10-19 07:33:55 UTC
No, we won't be adding dependencies on gcc, as it wouldn't solve anything as explained above.