View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011161 | Scribus | Build System | public | 2012-11-09 17:12 | 2012-11-13 20:19 |
Reporter | jlpoole | Assigned To | cbradney | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | AMD 64 | OS | Gentoo | OS Version | 3.3.4 |
Product Version | 1.5.0svn | ||||
Fixed in Version | 1.5.0svn | ||||
Summary | 0011161: CMake Fails After Linking importidml (svn rev. 17865) | ||||
Description | Linking CXX shared module libimportidml.so fails with output: [31m[1mLinking CXX shared module libimportidml.so [0mcd /var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/plugins/import/idml && /usr/bin/cmake -E cmake_link_script CMakeFiles/importidml.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libimportidml.so -o libimportidml.so CMakeFiles/importidml.dir/importidml.cpp.o CMakeFiles/importidml.dir/importidmlplugin.cpp.o CMakeFiles/importidml.dir/moc_importidml.cxx.o CMakeFiles/importidml.dir/moc_importidmlplugin.cxx.o -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/colormgmt -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/desaxe -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/fonts -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/styles -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/text -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/wpg -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/pgf -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/lib2geom -L/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/scribus/third_party/cairo /usr/lib64/qt4/libQtCore.so /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtXml.so -lxml2 -lz -Wl,-rpath,:::::::::::::: make[2]: Leaving directory `/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build/CMakeFiles [ 95%] Built target importidml make[1]: Leaving directory `/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build' make: *** [all] Error 2 [31;01m*[0m ERROR: app-office/scribus-9999 failed (compile phase): [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=app-office/scribus-9999'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=app-office/scribus-9999'`. [31;01m*[0m The complete build log is located at '/var/tmp/portage/app-office/scribus-9999/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-office/scribus-9999/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/app-office/scribus-9999/work/scribus-9999_build' [31;01m*[0m S: '/var/tmp/portage/app-office/scribus-9999/work/scribus-9999' | ||||
Steps To Reproduce | emerge scribus | ||||
Additional Information | I'll add the build log. | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
|
|
I had successfully built the SVN version in August, 2012, on this machine so something since then may be causing the failure. |
|
Hmm, nothing has changed since August in the idml importer, so the change might be on your side. |
|
Is there something in CMAKE that I can activate that might provide more information on the failure? All I'm seeing is it tried to link and there is an "Error 2" the meaning of which I do not know. Can the import idml be skipped so perhaps I can move forward and isolate this problem. |
|
more include issues: /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp: In member function 'LinkAction* SlaOutputDev::SC_getAdditionalAction(const char*, AnnotWidget*)': /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp:279:43: warning: deprecated conversion from string constant to 'char*' /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp:284:62: error: invalid conversion from 'const char*' to 'char*' /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp:284:62: error: initializing argument 1 of 'Object* Object::dictLookup(char*, Object*, std::set<int>*)' /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp: In member function 'bool SlaOutputDev::handleWidgetAnnot(Annot*, double, double, double, double)': /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp:558:38: error: 'class Annot' has no member named 'getAppearStreams' /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp: In member function 'virtual void SlaOutputDev::startPage(int, GfxState*)': /var/tmp/portage/app-office/scribus-9999/work/scribus-9999/scribus/plugins/import/pdf/slaoutput.cpp:1071:59: error: no matching function for call to 'Page::getFormWidgets()' /usr/include/poppler/Page.h:187:20: note: candidate is: FormPageWidgets* Page::getFormWidgets(Catalog*) |
|
I'm going to stage scribus under /usr/local/src and build it manually, first going back to the version which did successfully compile on 9/4/2012 and then, if successfull, work forward on the versions until I find the version that breaks the build (for me). |
|
I tried another machine (themis), also an AMD64, and I was able to successfully build today's HEAD. Linux 3.3.8-gentoo. Therefore, the problem is my environment. I'll try to determine what caused the problem(s) (found another problem with the unzip headers) so they can be better reported or tested for. |
|
I have changed the includes to be <poppler/...> not just <...> to avoid conflicts with other libraries. |
|
I fixed another issue caused by patched zlib headers in gentoo. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-09 17:12 | jlpoole | New Issue | |
2012-11-09 17:15 | jlpoole | File Added: build.log | |
2012-11-09 17:39 | jlpoole | Note Added: 0029175 | |
2012-11-09 20:50 | fschmid | Note Added: 0029177 | |
2012-11-09 20:50 | fschmid | Note Edited: 0029177 | |
2012-11-09 21:01 | jlpoole | Note Added: 0029180 | |
2012-11-09 21:10 | cbradney | Note Added: 0029181 | |
2012-11-09 21:12 | jlpoole | Note Added: 0029182 | |
2012-11-09 23:02 | jlpoole | Note Added: 0029184 | |
2012-11-10 14:23 | cbradney | Note Added: 0029185 | |
2012-11-10 14:24 | cbradney | Status | new => resolved |
2012-11-10 14:24 | cbradney | Fixed in Version | => 1.5.0svn |
2012-11-10 14:24 | cbradney | Resolution | open => fixed |
2012-11-10 14:24 | cbradney | Assigned To | => cbradney |
2012-11-10 14:55 | jghali | Note Added: 0029186 | |
2012-11-10 15:05 | jghali | Note Edited: 0029186 | |
2012-11-13 20:19 | cbradney | Status | resolved => closed |