Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142586 - mozilla-firefox-1.5.0.5 won't compile with xprint
Summary: mozilla-firefox-1.5.0.5 won't compile with xprint
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-02 15:06 UTC by A. Person
Modified: 2006-09-30 16:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Person 2006-08-02 15:06:38 UTC
Trying to emerge mozilla-firefox-1.5.0.5 with +xprint results in:

xprintutil.c: At top level:
xprintutil.c:1915: error: syntax error before "XPContext"
xprintutil.c: In function `XpuGetSupportedPageAttributes':
xprintutil.c:1917: error: `pdpy' undeclared (first use in this function)
xprintutil.c:1917: error: `pcontext' undeclared (first use in this function)
xprintutil.c:1917: error: `XPPrinterAttr' undeclared (first use in this function)
gmake[4]: *** [xprintutil.o] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.5/work/mozilla/gfx/src/xprintutil'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.5/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.5/work/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.5/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.5.0.5 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mozilla-firefox-1.5.0.5.ebuild, line 179:   Called die
Comment 1 Bryan Østergaard (RETIRED) gentoo-dev 2006-08-04 23:56:32 UTC
Do you have x11-libs/libXaw compiled with USE=xprint? That solved the problem on my laptop.
Comment 2 A. Person 2006-08-05 07:57:18 UTC
I have libXaw compiled with +xprint, but I when I emerged it again it failed with:

PrintShell.c: In function `XawAttributesNotify':
PrintShell.c:743: error: `XPAttributeEvent' undeclared (first use in this function)
PrintShell.c:743: error: `xpevp' undeclared (first use in this function)
PrintShell.c:743: error: syntax error before ')' token
make[2]: *** [libXaw8_la-PrintShell.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libXaw-1.0.2/work/libXaw-1.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libXaw-1.0.2/work/libXaw-1.0.2'
make: *** [all] Error 2

!!! ERROR: x11-libs/libXaw-1.0.2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called x-modular_src_compile
  x-modular.eclass, line 330:   Called x-modular_src_make
  x-modular.eclass, line 325:   Called die

There are a long list of errors above this portion too.  Does anyone recognize this?
Comment 3 A. Person 2006-08-19 10:42:41 UTC
Is this a stumper?
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-19 10:59:12 UTC
Interesting would be the first error. Looking at the problem I assume you are missing some header files form modular Xorg. You can create a full log with PORT_LOGDIR="/var/log/portage" in make.conf. It will then show up in /var/log/portage/www-client...
Comment 5 A. Person 2006-08-19 12:12:05 UTC
I think this is it:

In file included from xprintutil.c:38:
xprintutil.h:46:34: X11/extensions/Print.h: No such file or directory
In file included from xprintutil.c:38:
xprintutil.h:155: error: syntax error before "XPContext"
xprintutil.h:156: error: syntax error before "XPContext"
xprintutil.h:159: error: syntax error before "XPContext"
xprintutil.h:161: error: syntax error before "XPContext"
xprintutil.h:163: error: syntax error before "XPContext"
xprintutil.h:164: error: syntax error before "XPContext"
xprintutil.h:165: error: syntax error before "XPContext"
xprintutil.h:172: error: syntax error before "XpuGetPrinterList"
xprintutil.h:173: error: syntax error before "list"
xprintutil.h:176: error: syntax error before "XPContext"
xprintutil.h:179: error: syntax error before "XPContext"
xprintutil.h:181: error: syntax error before "XPContext"
xprintutil.h:182: error: syntax error before "XPContext"
xprintutil.h:194: error: syntax error before "XPContext"
xprintutil.h:196: error: syntax error before "XPContext"
xprintutil.h:197: error: syntax error before "XPContext"
xprintutil.h:198: error: syntax error before "XPContext"
xprintutil.h:202: error: syntax error before "XPContext"
xprintutil.h:206: error: syntax error before "XPContext"
xprintutil.h:207: error: syntax error before "XPContext"
xprintutil.h:210: error: syntax error before "XPContext"
xprintutil.h:213: error: syntax error before "XPContext"
xprintutil.h:214: error: syntax error before "XPContext"
xprintutil.h:217: error: syntax error before "XPContext"
xprintutil.h:218: error: syntax error before "XPContext"
xprintutil.h:221: error: syntax error before "XPContext"
xprintutil.h:227: error: syntax error before "XPContext"
xprintutil.h:228: error: syntax error before "XpuWaitForPrintFileChild"
xprintutil.h:231: error: syntax error before "XPContext"
xprintutil.h:232: error: syntax error before "XPContext"
xprintutil.h:233: error: syntax error before "XPContext"
xprintutil.c:72: error: syntax error before "XPContext"
xprintutil.c:174: error: syntax error before "XPContext"
xprintutil.c: In function `XpuGetPrinter2':
xprintutil.c:177: error: `XPContext' undeclared (first use in this function)
xprintutil.c:177: error: (Each undeclared identifier is reported only once
xprintutil.c:177: error: for each function it appears in.)
xprintutil.c:177: error: syntax error before "pcontext"
xprintutil.c:181: error: `display' undeclared (first use in this function)
Comment 6 A. Person 2006-08-22 13:37:46 UTC
Let me know if there is anything else I can post that would be useful.
Comment 7 A. Person 2006-09-30 16:11:43 UTC
I can't remember the details now, but I fixed this a little while back by looking at the errors, using equery belongs, and emerging packages again.