Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1277637

Summary: CopasiUI executable file is NOT PIE
Product: [Fedora] Fedora Reporter: Antonio T. (sagitter) <anto.trande>
Component: COPASIAssignee: Antonio T. (sagitter) <anto.trande>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: than
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 19:21:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1199775    

Description Antonio T. (sagitter) 2015-11-03 17:21:08 UTC
Description of problem:
CopasiUI (like CopasiSE) in the COPASI package is not PIE; i tried to rebuild by adding '-pie' flag but CopasiUI's linking process is failed (http://koji.fedoraproject.org/koji/getfile?taskID=11688734&name=build.log&offset=-4000) with

/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../../lib64/libqtmmlwidget.a(qtmmlwidget.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC

in the meantime PIE is enabled in CopasiSE (copasi's command-line version that is not linked against static libqtmmlwidget librariy).

The compilation is complete if i use -fPIE but in this case we have -fPIC/-fPIE in same command (packaging guidelines violation).

Version-Release number of selected component (if applicable):
COPASI-4.16-0.16.20150817git3bc4e9

How reproducible:
Build with -pie flag

Comment 1 Antonio T. (sagitter) 2015-11-06 14:49:05 UTC
This issue seems limited to Fedora 22/21.

Comment 2 Fedora End Of Life 2016-07-19 19:21:46 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.