| Summary: | x11-libs/motif-config-0.10-r2 needs to set a valid profile in pkg_postinst | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Hans Halvorson <hhalvors> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | toralf |
| Priority: | High | Keywords: | InVCS |
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | complete build log | ||
Everything was OK until I upgraded to openmotif 2.3.0. Then xpdf broke, and re-emerge fails. Attach a complete emerge log here. Created attachment 143418 [details]
complete build log
Run motif-config -s and try again. *** Bug 209976 has been marked as a duplicate of this bug. *** Well, this happens when motif-config gets upgraded *after* openmotif.
<snip>
--- motif-config-0.10-r2.ebuild 2008-02-12 15:18:24.000000000 +0100
+++ motif-config-0.10-r2.ebuild 2008-02-13 13:06:52.000000000 +0100
@@ -74,3 +74,10 @@
fi
done
}
+
+pkg_postinst() {
+ # when emerged after openmotif, then we need to set to a valid
+ # profile since we nuked the symlinks in pkg_preinst (Bug 209982)
+ # this sucky stuff can go away once openmotif is moved to SLOT=0
+ has_version x11-libs/openmotif && motif-config -s
+}
</snip>
The above is in CVS -> FIXED.
*** Bug 209988 has been marked as a duplicate of this bug. *** |
XPDFApp.cc:404: error: 'XChangeProperty' was not declared in this scope XPDFApp.cc:405: error: 'XFlush' was not declared in this scope XPDFApp.cc: In member function 'void XPDFApp::remoteQuit()': XPDFApp.cc:409: error: 'display' was not declared in this scope XPDFApp.cc:409: error: 'remoteXWin' was not declared in this scope XPDFApp.cc:409: error: 'remoteAtom' was not declared in this scope XPDFApp.cc:410: error: 'PropModeReplace' was not declared in this scope XPDFApp.cc:410: error: 'XChangeProperty' was not declared in this scope XPDFApp.cc:411: error: 'XFlush' was not declared in this scope XPDFApp.cc: At global scope: XPDFApp.cc:414: error: variable or field 'remoteMsgCbk' declared void XPDFApp.cc:414: error: 'int XPDFApp::remoteMsgCbk' is not a static member of 'class XPDFApp' XPDFApp.cc:414: error: 'Widget' was not declared in this scope XPDFApp.cc:414: error: 'XtPointer' was not declared in this scope XPDFApp.cc:415: error: 'XEvent' was not declared in this scope XPDFApp.cc:415: error: 'event' was not declared in this scope XPDFApp.cc:415: error: 'Boolean' was not declared in this scope XPDFApp.cc:415: error: 'cont' was not declared in this scope XPDFApp.cc:415: error: initializer expression list treated as compound expression XPDFApp.cc:415: error: expected ',' or ';' before '{' token make: *** [XPDFApp.o] Error 1 * * ERROR: app-text/xpdf-3.02-r1 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 711: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-text/xpdf-3.02-r1/temp/build.log'. * * unmounting tmpfs ... Reproducible: Always Steps to Reproduce: 1. emerge xpdf