Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722900 - dev-games/simgear with >=dev-libs/boost-1.73.0: simgear-2019.1.1/version:1:1: error: too many decimal points in number
Summary: dev-games/simgear with >=dev-libs/boost-1.73.0: simgear-2019.1.1/version:1:1:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL: https://sourceforge.net/p/flightgear/...
Whiteboard:
Keywords:
: 722008 (view as bug list)
Depends on:
Blocks: boost-1.74
  Show dependency tree
 
Reported: 2020-05-14 07:08 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2020-09-27 00:32 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,27.64 KB, text/plain)
2020-05-14 07:08 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-05-14 07:08:00 UTC
Created attachment 638684 [details]
build.log

[  6%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/debug/logstream.cxx.o                                                                             
cd /var/tmp/portage/dev-games/simgear-2019.1.1/work/simgear-2019.1.1_build/simgear && /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DHAVE_INTTYPES_H -DSimGearCore_EXPORTS -I/var/tmp/portage/dev-games/simgear-2019.1.1/work/simgear-2019.1.1 -I/var/tmp/portage/dev-games/simgear-2019.1.1/work/simgear-2019.1.1_build/simgear -I/var/tmp/portage/dev-games/simgear-2019.1.1/work/simgear-2019.1.1_build   -DNDEBUG -march=native -mtune=native -O2 -pipe -msse2 -mfpmath=sse -fopenmp  -Wall -fPIC -Wno-unused-local-typedefs  -DBOOST_BIMAP_DISABLE_SERIALIZATION -fPIC   -std=gnu++11 -o CMakeFiles/SimGearCore.dir/debug/logstream.cxx.o -c /var/tmp/portage/dev-games/simgear-2019.1.1/work/simgear-2019.1.1/simgear/debug/logstream.cxx
In file included from /usr/include/boost/config/detail/select_stdlib_config.hpp:24,
                 from /usr/include/boost/config.hpp:44,
                 from /usr/include/boost/foreach.hpp:30,
                 from /var/tmp/portage/dev-games/simgear-2019.1.1/work/simgear-2019.1.1/simgear/debug/logstream.cxx:32:
/var/tmp/portage/dev-games/simgear-2019.1.1/work/simgear-2019.1.1/version:1:1: error: too many decimal points in number
    1 | 2019.1.1
      | ^~~~~~~~
In file included from /usr/include/boost/config/detail/select_stdlib_config.hpp:24,
                 from /usr/include/boost/config.hpp:44,
                 from /usr/include/boost/foreach.hpp:30,
                 from /var/tmp/portage/dev-games/simgear-2019.1.1/work/simgear-2019.1.1/simgear/debug/logstream.cxx:32:
/var/tmp/portage/dev-games/simgear-2019.1.1/work/simgear-2019.1.1/version:1:1: error: expected unqualified-id before numeric constant
make[2]: *** [simgear/CMakeFiles/SimGearCore.dir/build.make:304: simgear/CMakeFiles/SimGearCore.dir/debug/logstream.cxx.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-games/simgear-2019.1.1/work/simgear-2019.1.1_build'
make[1]: *** [CMakeFiles/Makefile2:938: simgear/CMakeFiles/SimGearCore.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-games/simgear-2019.1.1/work/simgear-2019.1.1_build'
make: *** [Makefile:172: all] Error 2
 * ERROR: dev-games/simgear-2019.1.1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Andreas Sturmlechner gentoo-dev 2020-05-23 12:55:58 UTC
*** Bug 722008 has been marked as a duplicate of this bug. ***
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-05-30 19:59:23 UTC
Fix available. See URL.
Comment 3 Stephen Cavilia 2020-08-05 16:07:44 UTC
Same issue is present in 2020.1.2 but applying that patch solved it. Looks like flightgear needs a similar patch too though
Comment 4 Larry the Git Cow gentoo-dev 2020-09-27 00:32:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66544855b91f4862cad89525c1956f15ca1a3561

commit 66544855b91f4862cad89525c1956f15ca1a3561
Author:     Maciej Mrozowski <reavertm@gentoo.org>
AuthorDate: 2020-09-27 00:25:40 +0000
Commit:     Maciej Mrozowski <reavertm@gentoo.org>
CommitDate: 2020-09-27 00:31:05 +0000

    dev-games/simgear: fix compilation against >boost-1.73
    
    Closes: https://bugs.gentoo.org/722900
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>

 dev-games/simgear/files/simgear-2020.1.2-boost.patch | 11 +++++++++++
 dev-games/simgear/simgear-2020.1.2.ebuild            |  1 +
 2 files changed, 12 insertions(+)