Package Details: openorienteering-mapper 0.9.4-1

Git Clone URL: https://aur.archlinux.org/openorienteering-mapper.git (read-only, click to copy)
Package Base: openorienteering-mapper
Description: Map drawing program from OpenOrienteering
Upstream URL: https://www.openorienteering.org/apps/mapper/
Keywords: GIS Qt5
Licenses: GPL3
Conflicts: openorienteering-mapper-git
Provides: openorienteering-mapper
Submitter: sikmir
Maintainer: sikmir
Last Packager: sikmir
Votes: 4
Popularity: 0.000003
First Submitted: 2015-04-18 00:15 (UTC)
Last Updated: 2020-10-12 19:32 (UTC)

Latest Comments

nonZero commented on 2020-12-17 08:04 (UTC) (edited on 2020-12-17 08:04 (UTC) by nonZero)

Fails building 0.9.4:

105506 warnings and 1 error generated.
Error while processing /home/xxxx/.cache/yay/openorienteering-mapper/src/mapper-0.9.4/3rd-party/cove/app/mainform.cpp.
Suppressed 105498 warnings (105494 in non-user code, 4 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
make[2]: *** [3rd-party/cove/CMakeFiles/cove.dir/build.make:134: 3rd-party/cove/CMakeFiles/cove.dir/app/mainform.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2481: 3rd-party/cove/CMakeFiles/cove.dir/all] Error 2
make: *** [Makefile:160: all] Error 2

bparmentier commented on 2020-10-12 21:13 (UTC)

@liborw This error was fixed in 0.9.4 (https://github.com/OpenOrienteering/mapper/commit/af650a5300d79077568fe239ec2c6df0c067fe27)

liborw commented on 2020-07-29 15:38 (UTC)

Hi, I have problem building this:

/home/wagnelib/.cache/yay/openorienteering-mapper/src/mapper-0.9.3/src/gui/print_tool.cpp: In member function ‘virtual void OpenOrienteering::PrintTool::draw(QPainter*, OpenOrienteering::MapWidget*)’:
/home/wagnelib/.cache/yay/openorienteering-mapper/src/mapper-0.9.3/src/gui/print_tool.cpp:144:15: error: aggregate ‘QPainterPath outside_path’ has incomplete type and cannot be defined
  144 |  QPainterPath outside_path;
      |               ^~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/Mapper_Common.dir/build.make:976: src/CMakeFiles/Mapper_Common.dir/gui/print_tool.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3176: src/CMakeFiles/Mapper_Common.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
==> ERROR: A failure occurred in build().
     Aborting...
error making: %!s(func() string=0x563180e59bb0)

sikmir commented on 2019-12-08 23:42 (UTC)

@Exargon Thanks for figuring that out! Added qt5-imageformats to checkdepends.

Exargon commented on 2019-12-08 23:23 (UTC)

Did some digging myself. The test tries to open a tiff file, and fails. Mapper checks with QImageReader::supportedImageFormats for supported formats, which does not contain tiff by default. Installing the qt5-imageformats package fixes the issue. Should either be added as a make/hard dependency, or test should not be run during package check.

luhou commented on 2019-12-07 23:01 (UTC)

The problem in the template test persists in this new release. I've been digging a little bit and found that there is a template that cannot be loaded in mapper. I suspect that there is a problem with the encoding of the inner strings in the file, but not sure 100%. Anyway, I think these tests are relevant to the continuous integration development process, and not so much to the final build process. So, skipping tests is a reasonable option for now.

luhou commented on 2019-10-29 19:11 (UTC)

Skipping tests worked. Thanks.

sikmir commented on 2019-10-28 19:56 (UTC)

@luhou Disable tests for now (makepkg --nocheck). I guess it will be fixed in the next release 0.9.1: https://github.com/OpenOrienteering/mapper/pull/1399/files

luhou commented on 2019-10-28 19:09 (UTC)

Today I did a full system upgrade and checked my locale (UTF-8). Rebuilding the package got the same test error in template_t test.

sikmir commented on 2019-10-26 20:43 (UTC)

@luhou It looks like your system locale is not UTF-8, see https://github.com/OpenOrienteering/mapper/pull/1399.

sikmir commented on 2019-10-26 09:07 (UTC)

@luhou Are you sure that your system is up to date? I cannot reproduce the problem, all tests passed OK.

luhou commented on 2019-10-25 22:46 (UTC)

Final running tests fail:

The following tests FAILED: 18 - template_t (Failed) Errors while running CTest make: *** [Makefile:130: test] Error 8 ==> ERROR: A failure occurred in check(). Aborting...

neilg commented on 2019-09-27 17:52 (UTC)

That works now. Many thanks.

sikmir commented on 2019-09-27 07:34 (UTC)

@neilg Thanks for the report! Build fixed, it should be OK now, try again.

neilg commented on 2019-09-26 20:00 (UTC) (edited on 2019-09-26 20:04 (UTC) by neilg)

I can't get this to build. It fails with:

In file included from /home/neil/development/aur/openorienteering-mapper/src/mapper-0.8.4/src/core/georeferencing.cpp:42:
/usr/include/proj_api.h:37:2: error: #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
   37 | #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
      |  ^~~~~
make[2]: *** [src/CMakeFiles/Mapper_Common.dir/build.make:279: src/CMakeFiles/Mapper_Common.dir/core/georeferencing.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1532: src/CMakeFiles/Mapper_Common.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Is there something I need to do?

sikmir commented on 2017-06-08 06:06 (UTC)

@jtojnar: Done.

jtojnar commented on 2017-06-08 05:30 (UTC)

Could you add -DLICENSING_PROVIDER=arch to make build work on Arch derivatives like Manjaro? https://github.com/OpenOrienteering/mapper/issues/886#issuecomment-307002286

sikmir commented on 2015-10-03 00:14 (UTC)

@kabads Thanks for report! Build fixed, it should be OK now, try again.

kabads commented on 2015-10-02 17:14 (UTC)

Getting errors when trying to compile. Creating collection file... [ 10%] Built target Mapper_manual Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...