Bug 125533 - sys-app/groff-1.18.1.1 compilation failed with gcc-4.1.0
Bug#: 125533 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cjk@gentoo.org Reported By: hiyuh.root@gmail.com
Component: GCC Porting
URL: 
Summary: sys-app/groff-1.18.1.1 compilation failed with gcc-4.1.0
Keywords:  
Status Whiteboard: 
Opened: 2006-03-08 14:24 0000
Description:   Opened: 2006-03-08 14:24 0000
It seems one of C++ extra qualification errors.
(I know sys-apps/groff-1.18.1.1 was blamed GLSA 200411-15.
 But some non-English (like Japanese) man-pages require
 <sys-apps/groff-1.19 still now, IIRC.)

------- Comment #1 From KIMURA Masaru / hiyuh 2006-03-08 14:25:37 0000 -------
Created an attachment (id=81728) [details]
emerge --info output

------- Comment #2 From KIMURA Masaru / hiyuh 2006-03-08 14:26:49 0000 -------
Created an attachment (id=81729) [details]
A error massage when compiling sys-apps/groff-1.18.1.1 in official portage tree

------- Comment #3 From KIMURA Masaru / hiyuh 2006-03-08 14:30:32 0000 -------
Created an attachment (id=81730) [details]
A patch for sys-apps/groff-1.18.1.1 with gcc-4.1.0

Plus, additional removing hard-coded 0 as NULL pointer
nearby essential fixing for this compilation error.

------- Comment #4 From KIMURA Masaru / hiyuh 2006-03-08 14:31:46 0000 -------
Created an attachment (id=81732) [details]
A new ebuild for sys-apps/groff-1.18.1.1.

------- Comment #5 From KIMURA Masaru / hiyuh 2006-03-08 14:35:01 0000 -------
And then, I've tried to emerge with -O3, -O2, -O0 instead of -Os.
But any -O? can't help this error.
So, to filter flags without this patch won't resolve, IMHO. 

------- Comment #6 From SpanKY 2006-03-08 15:19:19 0000 -------
base-system doesnt support the 1.18.x versions anymore

------- Comment #7 From Mark Loeser 2006-03-08 18:56:45 0000 -------
*** Bug 125559 has been marked as a duplicate of this bug. ***

------- Comment #8 From KIMURA Masaru / hiyuh 2006-03-08 19:44:16 0000 -------
(In reply to comment #6)
> base-system doesnt support the 1.18.x versions anymore
I didn't know that.
It means non-English man-pages are not available at the moment?

Anyway, this patch can help to work-around this compilation problem, IMHO.
"man man" outputs seems O.K.
On the other hand, it means I've not completely test it, though.

------- Comment #9 From Chris White (RETIRED) 2006-03-09 21:04:35 0000 -------
*** Bug 125660 has been marked as a duplicate of this bug. ***

------- Comment #10 From Mark Loeser 2006-04-13 21:35:50 0000 -------
Fixed, thanks.