Bug 1397342

Summary: provide a pstoedit version for epel 7
Product: [Fedora] Fedora EPEL Reporter: Marco Giunta <giun7a>
Component: pstoeditAssignee: Sebastian Kisela <skisela>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: epel7CC: branto, extras-orphan, jpopelka, w.hoelzl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: pstoedit-3.73-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-14 21:13:19 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:
Attachments:
Description Flags
SRPM EPEL6 -> EPEL7 none

Description Marco Giunta 2016-11-22 10:51:53 UTC
Description of problem:

Hi,
could you please provide us with a pstoedit 64bit version for epel 7 ?

Thank you
  Marco

Comment 1 Sebastian Kisela 2018-07-19 07:14:40 UTC
*** Bug 1598395 has been marked as a duplicate of this bug. ***

Comment 2 Sebastian Kisela 2018-07-19 07:16:31 UTC
Epel7 branch has been created, but I got stuck on some dependency issues.

Once I will have a bit more spare time, I will get back into it.

Comment 3 Werner Hoelzl 2018-07-19 15:54:22 UTC
Created attachment 1460860 [details]
SRPM EPEL6 -> EPEL7

Comment 5 Sebastian Kisela 2018-07-19 16:09:55 UTC
Thanks, but can I ask you to elaborate on your comments?

Between versions 3.45 and 3.73 quite a lot happened. I am not sure if what you are suggesting is, that I should use 3.45 as the starting point, instead of the current rawhide with tweaking to make it build against epel7.

Comment 6 Werner Hoelzl 2018-07-19 22:39:28 UTC
Version EPEL6 3.45 is a workaround to get the program running in CentOS 7.

https://sourceforge.net/projects/pstoedit/files/pstoedit/3.71/pstoedit-3.71.tar.gz
compiles without problems. (./configure; make)

Version 3.73 fails with
dynload.h:35:46: error: ‘nullptr’ was not declared in this scope

Comment 7 Sebastian Kisela 2018-07-24 08:10:15 UTC
You are right with the errors, I get the same.

I was able to create a successful pstoedit 3.71 scratch build for epel7. However, since the libEMF and plotutils are not available, I would have to build it without the support for plotutils and libEMF.

If that is sufficient, I will push the changes and build.

Comment 8 Werner Hoelzl 2018-07-24 08:41:34 UTC
Please build with plotutils.

http://li.nux.ro/download/nux/dextop/el7/SRPMS/plotutils-2.6-10.el7.nux.src.rpm
builds without changes.

You can omit libEMF.

Comment 9 Sebastian Kisela 2018-07-24 09:54:13 UTC
(In reply to Werner Hoelzl from comment #8)
> Please build with plotutils.
> 
> http://li.nux.ro/download/nux/dextop/el7/SRPMS/plotutils-2.6-10.el7.nux.src.
> rpm
> builds without changes.

I am sorry the build cannot depend on a repository outside of epel.

However I just tried a local mock build of the latest fedora plotutils branch with epel7 config and it looks like, it might not have to be too problematic to make it available.

I am setting "needinfo" on the main maintainer of plotutils in Fedora.
 
> You can omit libEMF.

This is actually my package as well, so in future, it could be added to epel7 too if necessary.

Comment 10 Sebastian Kisela 2018-07-27 06:03:58 UTC
I was added as a co-maintainer of plotutils and produced a build[1]. After it is released, I do not expect any complications with building pstoedit-3.73(with plotutils, without libEMF)

The problem with 3.73 that you mentioned:
"dynload.h:35:46: error: ‘nullptr’ was not declared in this scope"
was caused by implicit usage of c++98. Switching to c++11(where nullpointer was introduced) made the build successful.

[1] https://bodhi.fedoraproject.org/updates/plotutils-2.6-22.el7

Comment 11 Fedora Update System 2018-08-27 12:51:42 UTC
pstoedit-3.73-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-9877d4efe3

Comment 12 Fedora Update System 2018-08-28 11:15:14 UTC
pstoedit-3.73-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-9877d4efe3

Comment 13 Fedora Update System 2018-09-14 21:13:19 UTC
pstoedit-3.73-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.