Package Details: openorienteering-mapper 0.9.5-3

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 mapper openorienteering Qt5
Licenses: GPL3
Conflicts: openorienteering-mapper-git
Provides: openorienteering-mapper
Submitter: sikmir
Maintainer: None
Last Packager: Mr.Smith1974
Votes: 7
Popularity: 0.001683
First Submitted: 2015-04-18 00:15 (UTC)
Last Updated: 2023-09-03 12:49 (UTC)

Latest Comments

1 2 3 Next › Last »

TomFryers commented on 2024-02-03 21:36 (UTC) (edited on 2024-02-03 21:36 (UTC) by TomFryers)

The build seems to hang for me at this point, until I kill it. The same happens with the openorienteering-mapper-git package.

/tmp/makepkg/openorienteering-mapper/src/mapper-0.9.5/src/util/xml_stream_util.cpp:308:13: warning: backward branch (while loop) is ID-dependent due to variable reference to 'text' and may cause performance degradation [altera-id-dependent-backward-branch]
                                        while (text.length())
                                               ^
/tmp/makepkg/openorienteering-mapper/src/mapper-0.9.5/src/util/xml_stream_util.cpp:362:2: warning: kernel performance could be improved by unrolling this loop with a '#pragma unroll' directive [altera-unroll-loops]
        while (xml.readNextStartElement())
        ^
^Cmake[2]: *** [src/CMakeFiles/Mapper_Common.dir/build.make:531: src/CMakeFiles/Mapper_Common.dir/core/objects/object.cpp.o] Interrupt
make[1]: *** [CMakeFiles/Makefile2:3346: src/CMakeFiles/Mapper_Common.dir/all] Interrupt
make: *** [Makefile:146: all] Interrupt

cucullus commented on 2023-09-03 12:22 (UTC)

qt5-serialport is mandatory

cucullus commented on 2023-08-09 12:53 (UTC) (edited on 2023-08-09 12:56 (UTC) by cucullus)

Build fails:

CMake Error at doc/licensing/CMakeLists.txt:240 (message): No license file for gdal (/usr/share/licenses/gdal*/LICENSE)

In Arch file is actually named /usr/share/licenses/gdal/LICENSE.TXT

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.