Skip to content

1.7.0 has compile error when compiling from source #6465

@PMaff

Description

@PMaff

MMEX version:

  • 1.6.4
  • 1.7.0
  • 1.7.1
  • 1.7.2
  • 1.7.1-Beta.1

Note: bug reporters are expected to have verified the bug still exists
either in the last stable version of MMEX or on updated development code
(master branch).

Operating System:

  • Windows
  • Mac OSX
  • Linux

Description of the bug

Sources via :
git clone --recursive https://github.com/moneymanagerex/moneymanagerex -b v1.7.0

Compilation as described in https://github.com/moneymanagerex/moneymanagerex/blob/master/BUILD.md#linux

Error:

...
/home/pmaff/Technical/MMEX/1_7_0stable/moneymanagerex/po/ar_SA.po:8579: duplicate message definition...
/home/pmaff/Technical/MMEX/1_7_0stable/moneymanagerex/po/ar_SA.po:8468: ...this is the location of the first definition
/usr/bin/msgfmt: found 37 fatal errors
gmake[2]: *** [po/CMakeFiles/Translations.dir/build.make:109: po/ar_SA.mo] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:314: po/CMakeFiles/Translations.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 29%] Linking CXX static library libHTML-template.a
[ 29%] Built target HTML-template
[ 30%] Linking C static library libSQLite3.a
[ 30%] Built target SQLite3

Please describe your issue with details.
Add screenshot or other files if needed.

Reproduction

Is the bug reproducible?

  • Always
  • Randomly
  • Happened only once

Reproduction steps:
Simple compile from sources.

-- MMEX configuration summary
-- ==========================
-- Version        : 1.7.0
-- Commit         : b38049357 (2023-12-26)
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 6.6.11-1-default
-- openSUSE.20240112
-- openSUSE.Tumbleweed
-- CMake 3.28.1
-- GNU Make 4.4.1
-- ccache
-- GNU 13.2.1
-- wxWidgets 3.2.4
-- wxSQLite3 4.9.1
-- Lua 5.4.6
-- curl 8.5.0
-- gettext 0.21.1
-- ------------------ 8< -----------------
-- Configuring done (0.7s)
-- Generating done (0.0s)

Expected result:
Compilation creates rpm package on Suse Tumbleweed.

Actual result:
Compilation fails.

Bug also exists for

-- Version        : 1.7.1-Beta.1
-- Commit         : b0f9a671e (2024-01-14)

Metadata

Metadata

Assignees

Labels

bugfixedlinuxrelated to Linux platforms

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions