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 992224

Summary: merkaartor: FTBFS in rawhide(arm)
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: merkaartorAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kevin, opensource, rdieter, sven
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: merkaartor-0.18.1-8.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-14 03:22:52 UTC Type: ---
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: 245418, 991858    

Description Dennis Gilmore 2013-08-05 03:33:18 UTC
Your package merkaartor failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=5712991

Build logs:
root.log: http://kojipkgs.fedoraproject.org/work/tasks/2991/5712991/root.log
build.log: http://kojipkgs.fedoraproject.org/work/tasks/2991/5712991/build.log
state.log: http://kojipkgs.fedoraproject.org/work/tasks/2991/5712991/state.log
NOTE: build logs are cleaned up after 1 week

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

Comment 1 Fedora End Of Life 2013-09-16 15:19:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 2 Rex Dieter 2013-12-03 17:15:45 UTC
Usual culprit here is the assumption that qreal = double (which is not true on arm)

Comment 3 Kevin Kofler 2013-12-03 17:37:30 UTC
common/Projection.cpp:154:70: error: cannot convert 'qreal* {aka float*}' to 'double*' …
So, yes, it's a qreal issue.

Debian has some fixes for it, but patch-tracker.debian.org (the most convenient way to get at them) is not responding right now.

Comment 5 Fedora Update System 2013-12-03 20:57:46 UTC
merkaartor-0.18.1-7.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/merkaartor-0.18.1-7.fc20

Comment 6 Kevin Kofler 2013-12-03 21:01:16 UTC
That fix from Debian is not correct. You can't just cast a qreal * to (double *). It will make it compile, but it will crash or compute nonsense.

Comment 7 Rex Dieter 2013-12-03 21:06:42 UTC
ok, update revoked, until we have something better.

Comment 8 Sven Lankes 2013-12-04 10:37:36 UTC
Just - FYI - unfortunately merkaartor is pretty much dead upstream so I'm thinking about retiring it.

Comment 9 Kevin Kofler 2013-12-04 11:14:47 UTC
Please don't retire it! The package is working fine (except on ARM, and we're looking into that) and is IMHO still the nicest OSM editor out there. Sure, JOSM has more features, but it's also a heavy Java app that's not as nice to use as the Qt-based Merkaartor, and there are also some features Merkaartor has that JOSM doesn't have.

Comment 10 Kevin Kofler 2013-12-04 11:26:19 UTC
(If you really don't want to maintain it, orphan it and let somebody else pick it up. But it's not that much work to keep things running especially when there aren't any new releases to worry about.)

For the qreal * vs. double * issue, we need to look at what pointers the callers are actually passing. The easiest fix might be to just change the functions to take double * pointers and making sure the callers are really passing pointers to double, not qreal. If that's impractical, then the conversion has to be made in the projTransform* wrapper functions.

Comment 13 Fedora Update System 2013-12-04 18:52:14 UTC
merkaartor-0.18.1-8.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/merkaartor-0.18.1-8.fc20

Comment 14 Fedora Update System 2013-12-05 00:42:47 UTC
Package merkaartor-0.18.1-8.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing merkaartor-0.18.1-8.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-22755/merkaartor-0.18.1-8.fc20
then log in and leave karma (feedback).

Comment 15 Fedora Update System 2013-12-14 03:22:52 UTC
merkaartor-0.18.1-8.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.