nvu seems to depend on the "printproto" package, even with the -xprint USE-Flag set. emerging printproto and nvu afterwards worked. x11-base/xorg-x11-7.0.0_rc3 is the X version I use. Reproducible: Always Steps to Reproduce: 1. emerge nvu actual error message: gmake[5]: Leaving directory `/var/tmp/portage/nvu-1.0-r2/work/mozilla/gfx/src/xlibrgb' gmake[5]: Entering directory `/var/tmp/portage/nvu-1.0-r2/work/mozilla/gfx/src/xprintutil' xprintutil.c gcc -o xprintutil.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DUSE_MOZILLA_TYPES -DUSE_XPRINT -I../../../dist/include/xprintutil -I../../../dist/include -I/var/tmp/portage/nvu-1.0-r2/work/mozilla/dist/include/nspr -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -march=k8 -pipe -fomit-frame-pointer -ftracer -pthread -pipe -DNDEBUG -DTRIMMED -O2 -include ../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/xprintutil.pp xprintutil.c In file included from xprintutil.c:34: xprintutil.h:42:34: X11/extensions/Print.h: No such file or directory In file included from xprintutil.c:34: xprintutil.h:141: error: parse error before "XPContext" xprintutil.h:142: error: parse error before "XPContext" xprintutil.h:145: error: parse error before "XPContext" xprintutil.h:147: error: parse error before "XPContext" xprintutil.h:149: error: parse error before "XPContext" xprintutil.h:150: error: parse error before "XPContext" xprintutil.h:151: error: parse error before "XPContext" xprintutil.h:158: error: parse error before "XpuGetPrinterList" xprintutil.h:158: warning: type defaults to `int' in declaration of `XpuGetPrinterList' xprintutil.h:158: warning: data definition has no type or storage class xprintutil.h:159: error: parse error before "list" xprintutil.h:162: error: parse error before "XPContext" xprintutil.h:165: error: parse error before "XPContext" xprintutil.h:167: error: parse error before "XPContext" xprintutil.h:168: error: parse error before "XPContext" xprintutil.h:180: error: parse error before "XPContext" xprintutil.h:182: error: parse error before "XPContext" xprintutil.h:183: error: parse error before "XPContext" xprintutil.h:184: error: parse error before "XPContext" xprintutil.h:188: error: parse error before "XPContext" xprintutil.h:192: error: parse error before "XPContext" xprintutil.h:193: error: parse error before "XPContext" xprintutil.h:196: error: parse error before "XPContext" xprintutil.h:199: error: parse error before "XPContext" xprintutil.h:200: error: parse error before "XPContext" xprintutil.h:204: error: parse error before "XPContext" xprintutil.h:205: error: parse error before "XpuWaitForPrintFileChild" xprintutil.h:205: warning: type defaults to `int' in declaration of `XpuWaitForPrintFileChild' xprintutil.h:205: warning: data definition has no type or storage class xprintutil.h:208: error: parse error before "XPContext" xprintutil.h:209: error: parse error before "XPContext" xprintutil.h:210: error: parse error before "XPContext" xprintutil.c:68: error: parse error before "XPContext" xprintutil.c: In function `XpuCheckExtension': xprintutil.c:86: warning: implicit declaration of function `XpQueryVersion' xprintutil.c: At top level: xprintutil.c:170: error: parse error before "XPContext" xprintutil.c: In function `XpuGetPrinter2': xprintutil.c:173: error: `XPContext' undeclared (first use in this function) xprintutil.c:173: error: (Each undeclared identifier is reported only once xprintutil.c:173: error: for each function it appears in.) xprintutil.c:173: error: parse error before "pcontext" xprintutil.c:177: error: `display' undeclared (first use in this function) xprintutil.c:181: error: `XPPrinterList' undeclared (first use in this function) xprintutil.c:181: error: parse error before "list" xprintutil.c:185: error: `list' undeclared (first use in this function) xprintutil.c:185: warning: implicit declaration of function `XpGetPrinterList' xprintutil.c:185: error: `printer' undeclared (first use in this function) xprintutil.c:186: warning: implicit declaration of function `XpFreePrinterList' xprintutil.c:191: error: `pcontext' undeclared (first use in this function) xprintutil.c:191: warning: implicit declaration of function `XpCreateContext' xprintutil.c:193: error: `pdpyptr' undeclared (first use in this function) xprintutil.c:194: error: `pcontextptr' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:218: error: parse error before "XPContext" xprintutil.c: In function `XpuGetPrinter': xprintutil.c:221: error: `XPContext' undeclared (first use in this function) xprintutil.c:221: error: parse error before "pcontext" xprintutil.c:226: error: `pdpyptr' undeclared (first use in this function) xprintutil.c:227: error: `pcontextptr' undeclared (first use in this function) xprintutil.c:232: error: `arg_printername' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:281: error: parse error before "XPContext" xprintutil.c: In function `XpuClosePrinterDisplay': xprintutil.c:283: error: `pdpy' undeclared (first use in this function) xprintutil.c:285: error: `pcontext' undeclared (first use in this function) xprintutil.c:286: warning: implicit declaration of function `XpDestroyContext' xprintutil.c: At top level: xprintutil.c:292: error: parse error before "XPContext" xprintutil.c: In function `XpuSetOneAttribute': xprintutil.c:296: error: `attribute_name' undeclared (first use in this function) xprintutil.c:296: error: `value' undeclared (first use in this function) xprintutil.c:301: warning: implicit declaration of function `XpSetAttributes' xprintutil.c:301: error: `pdpy' undeclared (first use in this function) xprintutil.c:301: error: `pcontext' undeclared (first use in this function) xprintutil.c:301: error: `type' undeclared (first use in this function) xprintutil.c:301: error: `replacement_rule' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:306: error: parse error before "XPContext" xprintutil.c: In function `XpuSetOneLongAttribute': xprintutil.c:310: error: `attribute_name' undeclared (first use in this function) xprintutil.c:314: error: `value' undeclared (first use in this function) xprintutil.c:315: error: `pdpy' undeclared (first use in this function) xprintutil.c:315: error: `pcontext' undeclared (first use in this function) xprintutil.c:315: error: `type' undeclared (first use in this function) xprintutil.c:315: error: `replacement_rule' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:324: error: parse error before "XPContext" xprintutil.c: In function `XpuCheckSupported': xprintutil.c:329: error: `attribute_name' undeclared (first use in this function) xprintutil.c:333: warning: implicit declaration of function `XpGetOneAttribute' xprintutil.c:333: error: `pdpy' undeclared (first use in this function) xprintutil.c:333: error: `pcontext' undeclared (first use in this function) xprintutil.c:333: error: `type' undeclared (first use in this function) xprintutil.c:333: warning: assignment makes pointer from integer without a cast xprintutil.c:346: error: `query' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:362: error: parse error before "XPContext" xprintutil.c: In function `XpuSetJobTitle': xprintutil.c:364: error: `pdpy' undeclared (first use in this function) xprintutil.c:364: error: `pcontext' undeclared (first use in this function) xprintutil.c:366: error: `XPJobAttr' undeclared (first use in this function) xprintutil.c:366: error: `title' undeclared (first use in this function) xprintutil.c:366: error: `XPAttrMerge' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:376: error: parse error before "XPContext" xprintutil.c: In function `XpuGetOneLongAttribute': xprintutil.c:380: error: `attribute_name' undeclared (first use in this function) xprintutil.c:383: error: `pdpy' undeclared (first use in this function) xprintutil.c:383: error: `pcontext' undeclared (first use in this function) xprintutil.c:383: error: `type' undeclared (first use in this function) xprintutil.c:383: warning: assignment makes pointer from integer without a cast xprintutil.c:396: error: `result' undeclared (first use in this function) xprintutil.c: In function `IsXpNotifyEvent': xprintutil.c:441: error: `XPPrintEvent' undeclared (first use in this function) xprintutil.c:441: error: `pev' undeclared (first use in this function) xprintutil.c:441: error: parse error before ')' token xprintutil.c:443: error: `XPPrintNotify' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:748: error: parse error before "XPContext" xprintutil.c: In function `XpuEnumerateMediumSourceSizes': xprintutil.c:757: error: `pdpy' undeclared (first use in this function) xprintutil.c:757: error: `pcontext' undeclared (first use in this function) xprintutil.c:759: error: `XPPrinterAttr' undeclared (first use in this function) xprintutil.c:759: warning: assignment makes pointer from integer without a cast xprintutil.c:766: error: `vcptr' undeclared (first use in this function) xprintutil.c:779: error: `medium_name' undeclared (first use in this function) xprintutil.c:779: error: `mbool' undeclared (first use in this function) xprintutil.c:780: error: `ma1' undeclared (first use in this function) xprintutil.c:780: error: `ma2' undeclared (first use in this function) xprintutil.c:780: error: `ma3' undeclared (first use in this function) xprintutil.c:780: error: `ma4' undeclared (first use in this function) xprintutil.c:782: error: `tray_name' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:804: error: parse error before "XpuGetPrinterList" xprintutil.c:805: warning: return type defaults to `int' xprintutil.c: In function `XpuGetPrinterList': xprintutil.c:806: error: `XPPrinterRec' undeclared (first use in this function) xprintutil.c:806: error: `rec' undeclared (first use in this function) xprintutil.c:814: warning: return makes integer from pointer without a cast xprintutil.c:832: error: `XPPrinterList' undeclared (first use in this function) xprintutil.c:832: error: parse error before "list" xprintutil.c:837: error: `list' undeclared (first use in this function) xprintutil.c:856: error: parse error before ')' token xprintutil.c:910: error: parse error before "tmp" xprintutil.c:911: error: `tmp' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:922: error: parse error before "list" xprintutil.c: In function `XpuFreePrinterList': xprintutil.c:924: error: `list' undeclared (first use in this function) xprintutil.c:926: error: `XPPrinterRec' undeclared (first use in this function) xprintutil.c:926: error: `curr' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:943: error: parse error before "XPContext" xprintutil.c: In function `XpuSetDocumentCopies': xprintutil.c:945: error: `pdpy' undeclared (first use in this function) xprintutil.c:945: error: `pcontext' undeclared (first use in this function) xprintutil.c:947: error: `XPDocAttr' undeclared (first use in this function) xprintutil.c:947: error: `num_copies' undeclared (first use in this function) xprintutil.c:947: error: `XPAttrMerge' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:959: error: parse error before "XPContext" xprintutil.c: In function `XpuGetMediumSourceSizeList': xprintutil.c:978: error: `pdpy' undeclared (first use in this function) xprintutil.c:978: error: `pcontext' undeclared (first use in this function) xprintutil.c:978: error: `XPDocAttr' undeclared (first use in this function) xprintutil.c:978: warning: assignment makes pointer from integer without a cast xprintutil.c:984: warning: assignment makes pointer from integer without a cast xprintutil.c:1045: error: `numEntriesPtr' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1070: error: parse error before "XPContext" xprintutil.c: In function `XpuSetMediumSourceSize': xprintutil.c:1075: error: `medium_spec' undeclared (first use in this function) xprintutil.c:1077: error: `pdpy' undeclared (first use in this function) xprintutil.c:1077: error: `pcontext' undeclared (first use in this function) xprintutil.c:1077: error: `type' undeclared (first use in this function) xprintutil.c:1077: error: `XPAttrMerge' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1085: error: parse error before "XPContext" xprintutil.c: In function `XpuSetDocMediumSourceSize': xprintutil.c:1089: error: `pdpy' undeclared (first use in this function) xprintutil.c:1089: error: `pcontext' undeclared (first use in this function) xprintutil.c:1094: error: `medium_spec' undeclared (first use in this function) xprintutil.c:1100: error: `XPDocAttr' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1104: error: parse error before "XPContext" xprintutil.c: In function `XpuSetPageMediumSourceSize': xprintutil.c:1108: error: `pdpy' undeclared (first use in this function) xprintutil.c:1108: error: `pcontext' undeclared (first use in this function) xprintutil.c:1113: error: `medium_spec' undeclared (first use in this function) xprintutil.c:1119: error: `XPPageAttr' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1191: error: parse error before "XPContext" xprintutil.c: In function `XpuGetResolutionList': xprintutil.c:1203: error: `pdpy' undeclared (first use in this function) xprintutil.c:1203: error: `pcontext' undeclared (first use in this function) xprintutil.c:1203: error: `XPDocAttr' undeclared (first use in this function) xprintutil.c:1208: error: `XPPrinterAttr' undeclared (first use in this function) xprintutil.c:1208: warning: assignment makes pointer from integer without a cast xprintutil.c:1272: error: `numEntriesPtr' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1334: error: parse error before "XPContext" xprintutil.c: In function `XpuGetResolution': xprintutil.c:1337: error: `pdpy' undeclared (first use in this function) xprintutil.c:1337: error: `pcontext' undeclared (first use in this function) xprintutil.c:1337: error: `XPPageAttr' undeclared (first use in this function) xprintutil.c:1337: error: `dpi_ptr' undeclared (first use in this function) xprintutil.c:1343: error: `XPDocAttr' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1352: error: parse error before "XPContext" xprintutil.c: In function `XpuSetResolution': xprintutil.c:1354: error: `pdpy' undeclared (first use in this function) xprintutil.c:1354: error: `pcontext' undeclared (first use in this function) xprintutil.c:1354: error: `type' undeclared (first use in this function) xprintutil.c:1354: error: `rec' undeclared (first use in this function) xprintutil.c:1354: error: `XPAttrMerge' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1361: error: parse error before "XPContext" xprintutil.c: In function `XpuSetDocResolution': xprintutil.c:1363: error: `pdpy' undeclared (first use in this function) xprintutil.c:1363: error: `pcontext' undeclared (first use in this function) xprintutil.c:1366: error: `XPDocAttr' undeclared (first use in this function) xprintutil.c:1366: error: `rec' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1373: error: parse error before "XPContext" xprintutil.c: In function `XpuSetPageResolution': xprintutil.c:1375: error: `pdpy' undeclared (first use in this function) xprintutil.c:1375: error: `pcontext' undeclared (first use in this function) xprintutil.c:1378: error: `XPPageAttr' undeclared (first use in this function) xprintutil.c:1378: error: `rec' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1381: error: parse error before "XPContext" xprintutil.c: In function `XpuGetOrientationList': xprintutil.c:1393: error: `pdpy' undeclared (first use in this function) xprintutil.c:1393: error: `pcontext' undeclared (first use in this function) xprintutil.c:1393: error: `XPDocAttr' undeclared (first use in this function) xprintutil.c:1393: warning: assignment makes pointer from integer without a cast xprintutil.c:1400: error: `XPPrinterAttr' undeclared (first use in this function) xprintutil.c:1400: warning: assignment makes pointer from integer without a cast xprintutil.c:1451: error: `numEntriesPtr' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1488: error: parse error before "XPContext" xprintutil.c: In function `XpuSetOrientation': xprintutil.c:1490: error: `pdpy' undeclared (first use in this function) xprintutil.c:1490: error: `pcontext' undeclared (first use in this function) xprintutil.c:1490: error: `type' undeclared (first use in this function) xprintutil.c:1490: error: `rec' undeclared (first use in this function) xprintutil.c:1490: error: `XPAttrMerge' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1497: error: parse error before "XPContext" xprintutil.c: In function `XpuSetDocOrientation': xprintutil.c:1499: error: `pdpy' undeclared (first use in this function) xprintutil.c:1499: error: `pcontext' undeclared (first use in this function) xprintutil.c:1502: error: `XPDocAttr' undeclared (first use in this function) xprintutil.c:1502: error: `rec' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1509: error: parse error before "XPContext" xprintutil.c: In function `XpuSetPageOrientation': xprintutil.c:1511: error: `pdpy' undeclared (first use in this function) xprintutil.c:1511: error: `pcontext' undeclared (first use in this function) xprintutil.c:1514: error: `XPPageAttr' undeclared (first use in this function) xprintutil.c:1514: error: `rec' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1517: error: parse error before "XPContext" xprintutil.c: In function `XpuGetPlexList': xprintutil.c:1529: error: `pdpy' undeclared (first use in this function) xprintutil.c:1529: error: `pcontext' undeclared (first use in this function) xprintutil.c:1529: error: `XPDocAttr' undeclared (first use in this function) xprintutil.c:1529: warning: assignment makes pointer from integer without a cast xprintutil.c:1536: error: `XPPrinterAttr' undeclared (first use in this function) xprintutil.c:1536: warning: assignment makes pointer from integer without a cast xprintutil.c:1587: error: `numEntriesPtr' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1624: error: parse error before "XPContext" xprintutil.c: In function `XpuSetContentPlex': xprintutil.c:1626: error: `pdpy' undeclared (first use in this function) xprintutil.c:1626: error: `pcontext' undeclared (first use in this function) xprintutil.c:1626: error: `type' undeclared (first use in this function) xprintutil.c:1626: error: `rec' undeclared (first use in this function) xprintutil.c:1626: error: `XPAttrMerge' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1633: error: parse error before "XPContext" xprintutil.c: In function `XpuSetDocPlex': xprintutil.c:1635: error: `pdpy' undeclared (first use in this function) xprintutil.c:1635: error: `pcontext' undeclared (first use in this function) xprintutil.c:1638: error: `XPDocAttr' undeclared (first use in this function) xprintutil.c:1638: error: `rec' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1645: error: parse error before "XPContext" xprintutil.c: In function `XpuSetPagePlex': xprintutil.c:1647: error: `pdpy' undeclared (first use in this function) xprintutil.c:1647: error: `pcontext' undeclared (first use in this function) xprintutil.c:1650: error: `XPPageAttr' undeclared (first use in this function) xprintutil.c:1650: error: `rec' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1656: error: parse error before "XPContext" xprintutil.c: In function `XpuGetSupportedAttributes': xprintutil.c:1662: error: `attribute_name' undeclared (first use in this function) xprintutil.c:1666: error: `pdpy' undeclared (first use in this function) xprintutil.c:1666: error: `pcontext' undeclared (first use in this function) xprintutil.c:1666: error: `type' undeclared (first use in this function) xprintutil.c:1666: warning: assignment makes pointer from integer without a cast xprintutil.c: At top level: xprintutil.c:1695: error: parse error before "XPContext" xprintutil.c: In function `XpuGetSupportedJobAttributes': xprintutil.c:1697: error: `pdpy' undeclared (first use in this function) xprintutil.c:1697: error: `pcontext' undeclared (first use in this function) xprintutil.c:1697: error: `XPPrinterAttr' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1700: error: parse error before "XPContext" xprintutil.c: In function `XpuGetSupportedDocAttributes': xprintutil.c:1702: error: `pdpy' undeclared (first use in this function) xprintutil.c:1702: error: `pcontext' undeclared (first use in this function) xprintutil.c:1702: error: `XPPrinterAttr' undeclared (first use in this function) xprintutil.c: At top level: xprintutil.c:1705: error: parse error before "XPContext" xprintutil.c: In function `XpuGetSupportedPageAttributes': xprintutil.c:1707: error: `pdpy' undeclared (first use in this function) xprintutil.c:1707: error: `pcontext' undeclared (first use in this function) xprintutil.c:1707: error: `XPPrinterAttr' undeclared (first use in this function) gmake[5]: *** [xprintutil.o] Error 1 gmake[5]: Leaving directory `/var/tmp/portage/nvu-1.0-r2/work/mozilla/gfx/src/xprintutil' gmake[4]: *** [libs] Error 2 gmake[4]: Leaving directory `/var/tmp/portage/nvu-1.0-r2/work/mozilla/gfx/src' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/var/tmp/portage/nvu-1.0-r2/work/mozilla/gfx' gmake[2]: *** [tier_9] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/nvu-1.0-r2/work/mozilla' make[1]: *** [default] Error 2 make[1]: Leaving directory `/var/tmp/portage/nvu-1.0-r2/work/mozilla' make: *** [build] Error 2 !!! ERROR: app-editors/nvu-1.0-r2 failed. !!! Function src_compile, Line 63, Exitcode 2 !!! Make failed !!! If you need support, post the topmost build error, NOT this status message.
I have updated the depends. If nothing happens soon upstream nvu will be removed from tree based on dead upstream.