Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568792 - games-emulation/vbam-2.0.0_pre1507 fails to build with libsigc++-2.6
Summary: games-emulation/vbam-2.0.0_pre1507 fails to build with libsigc++-2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libsigc++-2.6
  Show dependency tree
 
Reported: 2015-12-19 16:00 UTC by Pacho Ramos
Modified: 2016-01-01 13:28 UTC (History)
0 users

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


Attachments
build.log.gz (vbam-2.0.0_pre1507:20151219-155645.log.gz,15.74 KB, application/gzip)
2015-12-19 16:00 UTC, Pacho Ramos
Details
cxx11.patch (vbam-2.0.0_pre1507-cxx11.patch,2.52 KB, patch)
2015-12-25 16:45 UTC, Pacho Ramos
Details | Diff
updated ebuild (vbam-2.0.0_pre1507.ebuild,2.82 KB, text/plain)
2015-12-25 16:47 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2015-12-19 16:00:50 UTC
Created attachment 419822 [details]
build.log.gz

Appending 
append-cxxflags -std=c++11

Makes it progress more... but it fails a bit later as seen in build.log
Comment 1 Pacho Ramos gentoo-dev 2015-12-25 16:45:50 UTC
Created attachment 420782 [details, diff]
cxx11.patch

This patch is being applied in ArchLinux, and they also need to append "-fpermisive" to cxxflags
Comment 2 Pacho Ramos gentoo-dev 2015-12-25 16:47:12 UTC
Created attachment 420784 [details]
updated ebuild
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2015-12-31 20:52:09 UTC
what issue does the patch to the assembly fix?
Comment 4 Pacho Ramos gentoo-dev 2015-12-31 21:31:08 UTC
Well, as the patch was included with:
https://projects.archlinux.org/svntogit/community.git/commit/trunk?h=packages/vbam&id=b3ffe81d2bbd3baf93376b441bc49724cccbbe5e

I thought it was also for making it friendly with cxx11... but looks like appending -fpermissive is enough to make it build :/

Using flag-o-matic and adding:
append-cxxflags -std=c++11 -fpermissive

will make it build... but I am unsure about how to test it works ok (vbam command only shows the help output and I don't know what file do I need to invoke it and see if it at least keep working for the basic functionality)
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2016-01-01 07:22:31 UTC
ok, added the append-cxxflags call.
Comment 6 Pacho Ramos gentoo-dev 2016-01-01 13:28:59 UTC
Thanks a lot Mr. Bones! :)