Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646538 - dev-games/ode-0.14-r1: ISO C++ forbids comparison between pointer and integer
Summary: dev-games/ode-0.14-r1: ISO C++ forbids comparison between pointer and integer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-7
  Show dependency tree
 
Reported: 2018-02-04 01:45 UTC by Andrius Štikonas
Modified: 2018-04-14 16:19 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,8.89 KB, application/x-xz)
2018-02-04 01:45 UTC, Andrius Štikonas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius Štikonas 2018-02-04 01:45:16 UTC
Fails to compile with GCC 7.3.0 here

Reproducible: Always
Comment 1 Andrius Štikonas 2018-02-04 01:45:35 UTC
Created attachment 517718 [details]
build.log.xz
Comment 2 lekto 2018-02-04 13:56:45 UTC
I just checked this and looks like "examples" flag cause this.
Comment 3 Alexander Tsoy 2018-02-26 22:25:18 UTC
With USE=examples, the ebuild compiles all demos and puts binaries into /usr/share/doc/${PF}/examples. This doesn't make any sense imo.
Comment 4 Peter Levine 2018-03-25 05:50:34 UTC
PR: https://github.com/gentoo/gentoo/pull/7605
Comment 5 Larry the Git Cow gentoo-dev 2018-04-14 16:19:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e72f270aaaaed1ce09b77b1b5f724bc76d77644

commit 7e72f270aaaaed1ce09b77b1b5f724bc76d77644
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2018-03-25 05:47:01 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-04-14 16:18:27 +0000

    dev-games/ode: Fix building with GCC-7
    
    Bug: https://bugs.gentoo.org/646538
    Package-Manager: Portage-2.3.16, Repoman-2.3.6
    Closes: https://bugs.gentoo.org/646538
    Closes: https://github.com/gentoo/gentoo/pull/7605

 dev-games/ode/files/ode-0.14-gcc7.patch | 52 +++++++++++++++++++++++++++++++++
 dev-games/ode/ode-0.14-r1.ebuild        |  4 ++-
 2 files changed, 55 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e72f270aaaaed1ce09b77b1b5f724bc76d77644

commit 7e72f270aaaaed1ce09b77b1b5f724bc76d77644
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2018-03-25 05:47:01 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-04-14 16:18:27 +0000

    dev-games/ode: Fix building with GCC-7
    
    Bug: https://bugs.gentoo.org/646538
    Package-Manager: Portage-2.3.16, Repoman-2.3.6
    Closes: https://bugs.gentoo.org/646538
    Closes: https://github.com/gentoo/gentoo/pull/7605

 dev-games/ode/files/ode-0.14-gcc7.patch | 52 +++++++++++++++++++++++++++++++++
 dev-games/ode/ode-0.14-r1.ebuild        |  4 ++-
 2 files changed, 55 insertions(+), 1 deletion(-)}