| Summary: | dev-libs/expat-2.0.0 fails during test phase | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sandro Bonazzola (RETIRED) <sanchan> |
| Component: | Current packages | Assignee: | Emanuele Giaquinta (RETIRED) <exg> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | squinky86, tcltk |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
portage log
expat-2.0.0-includes.patch |
||
|
Description
Sandro Bonazzola (RETIRED)
2006-03-30 10:51:38 UTC
Created attachment 83449 [details]
portage log
Full portage log.
without the "test" USE flag, expat-2 installs. This causes other applications to fail to build: lilypond: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib64/libfontconfig.so, not found (try using -rpath or -rpath-link) /usr/lib64/libfontconfig.so: undefined reference to `XML_SetElementHandler' /usr/lib64/libfontconfig.so: undefined reference to `XML_SetDoctypeDeclHandler' /usr/lib64/libfontconfig.so: undefined reference to `XML_ParserFree' /usr/lib64/libfontconfig.so: undefined reference to `XML_SetCharacterDataHandler' /usr/lib64/libfontconfig.so: undefined reference to `XML_ErrorString' /usr/lib64/libfontconfig.so: undefined reference to `XML_ParseBuffer' /usr/lib64/libfontconfig.so: undefined reference to `XML_ParserCreate' /usr/lib64/libfontconfig.so: undefined reference to `XML_SetUserData' /usr/lib64/libfontconfig.so: undefined reference to `XML_GetErrorCode' /usr/lib64/libfontconfig.so: undefined reference to `XML_GetBuffer' /usr/lib64/libfontconfig.so: undefined reference to `XML_GetCurrentLineNumber' collect2: ld returned 1 exit status make[1]: *** [out/lilypond] Error 1 make[1]: Leaving directory `/var/tmp/portage/lilypond-2.8.0-r1/work/lilypond-2.8.0/lily' make: *** [all] Error 2 and existing applications to fail to run: $ thunderbird No running windows found /usr/lib64/mozilla-thunderbird/thunderbird-bin: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory thunderbird-bin exited with non-zero status (127) Downgrading to expat 1.9.x fixes the problem. I apologize, my issue was unrelated in not using revdep-rebuild. Created attachment 84563 [details, diff]
expat-2.0.0-includes.patch
Okay this patch should make use of the right compile line when building C++ sources, thus solving this issue (that becomes visible only when there's no expat or a 1.x expat installed).
(In reply to comment #4) > Created an attachment (id=84563) [edit] > expat-2.0.0-includes.patch The patch works for me. fixed, thanks. |