Bug 1109589 - compile with -fPIC (required by zathura-pdf-mupdf)
Summary: compile with -fPIC (required by zathura-pdf-mupdf)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mupdf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Zhukov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1095455
TreeView+ depends on / blocked
 
Reported: 2014-06-15 18:42 UTC by Pablo Rodríguez
Modified: 2014-08-30 21:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-30 21:05:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pablo Rodríguez 2014-06-15 18:42:30 UTC
Pavel,

as explained at http://pwmt.org/projects/zathura-pdf-mupdf/, the Zathura mupdf plugin requires mupdf to be compiled with the -fPIC flag.

Would it be possible to add this flag to mupdf?

Many thanks for your help,

Pablo

Comment 1 Pavel Zhukov 2014-06-15 18:52:04 UTC
http://bugs.ghostscript.com/show_bug.cgi?id=691887 

Does it really make sense to use -fPIC with static libraries?

Comment 2 Pablo Rodríguez 2014-06-15 20:36:04 UTC
(In reply to Pavel Zhukov from comment #1)
> http://bugs.ghostscript.com/show_bug.cgi?id=691887 
> 
> Does it really make sense to use -fPIC with static libraries?

Pavel, I must confess that this is all Greek to me.

All I can do is to contact the plugin developers and ask them this question.

Comment 3 Pablo Rodríguez 2014-06-18 17:41:08 UTC
(In reply to Pavel Zhukov from comment #1)
> http://bugs.ghostscript.com/show_bug.cgi?id=691887 
> 
> Does it really make sense to use -fPIC with static libraries?

This is the reply I received to the question I posted in the mailing
list (http://lists.pwmt.org/archive/zathura/2014-June/001378.html):

   Yes, compiling mupdf with -fPIC is necesary. Otherwise building
   zathura-pdf-mupdf will fail while linking with something like
   "symbol xyz can not be rellocated, recompile with -fPIC."

I’m afraid that this is all Greek to me. But it seems to be a must.

Many thanks for your help,


Pablo

Comment 4 Pavel Zhukov 2014-07-04 19:47:05 UTC
Please test new build in rawhide

Comment 5 Pablo Rodríguez 2014-08-30 21:05:40 UTC
Many thanks for your help, Pavel.

I’m closing this bug myself, since zathura-pdf-mupdf might take a while to be built.


Note You need to log in before you can comment on or make changes to this bug.