By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1301 - Build issue: kghostview fails to compile in parallel mode e.g. -j2
Summary: Build issue: kghostview fails to compile in parallel mode e.g. -j2
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdegraphics (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: All All
: P5 normal
Assignee: Alexander Golubev (Fat-Zer)
URL:
Depends on:
Blocks: 1300
  Show dependency treegraph
 
Reported: 2012-10-31 09:12 CDT by Alexander Golubev (Fat-Zer)
Modified: 2013-01-05 09:15 CST (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
the patch to fix the issue (980 bytes, patch)
2012-10-31 09:15 CDT, Alexander Golubev (Fat-Zer)
Details | Diff
this is the right patch (694 bytes, patch)
2012-10-31 09:36 CDT, Alexander Golubev (Fat-Zer)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Golubev (Fat-Zer) 2012-10-31 09:12:26 CDT
kghostview fails to compile in parallel mode with next message:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ldscparse-static
collect2: выполнение ld завершилось с кодом возврата 1
make[2]: *** [kghostview/libkghostviewlib.so.0.0.0] Ошибка 1
make[1]: *** [kghostview/CMakeFiles/kghostviewlib-shared.dir/all] Ошибка 2
make: *** [all] Ошибка 2

here is a patch to fix it.

I've tried it and it appears to work fine. I've tried different combinations of -DBUILD_KGHOSTVIEW=ON and -DBUILD_KFILE_PLUGINS=ON. 
But I'll be sure that it works if somebody else will test it in addition.
Comment 1 Alexander Golubev (Fat-Zer) 2012-10-31 09:15:01 CDT
Created attachment 947 [details]
the patch to fix the issue
Comment 2 Alexander Golubev (Fat-Zer) 2012-10-31 09:36:19 CDT
Created attachment 948 [details]
this is the right patch
Comment 3 Darrell 2012-10-31 14:04:13 CDT
I'm updating the summary to "Build issue:" because that is what we have configured in our search links. :)
Comment 4 Darrell 2012-10-31 16:18:56 CDT
I tested this patch only from the perspective of watching for problems when building the full package rather than trying to build separate component packages. No problems found during the build.

I have not looked for or tested any possible usability issues.

I would like Slavek or Tim to provide additional testing before pushing to GIT.
Comment 5 Slávek Banko 2013-01-05 09:15:30 CST
Fixed in GIT hash 923dc595