Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] "test-flags-CXX: command not found"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jroth
n00b
n00b


Joined: 08 Aug 2017
Posts: 50

PostPosted: Tue Nov 13, 2018 8:29 pm    Post subject: [SOLVED] "test-flags-CXX: command not found" Reply with quote

Just tried emerging the latest version of slic3r and the build fails immediately:
Code:
Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests
>>> Running pre-merge checks for media-gfx/slic3r-1.3.0-r1
 * Checking for -std=c++11 support in compiler
/usr/portage/media-gfx/slic3r/slic3r-1.3.0-r1.ebuild: line 70: test-flags-CXX: command not found
 * ERROR: media-gfx/slic3r-1.3.0-r1::gentoo failed (pretend phase):
 *   (no error message)
 *
 * Call stack:
 *                ebuild.sh, line 124:  Called pkg_pretend
 *   slic3r-1.3.0-r1.ebuild, line  70:  Called die
 * The specific snippet of code:
 *      test-flags-CXX -std=c++11 > /dev/null || die
 *
 * If you need support, post the output of `emerge --info '=media-gfx/slic3r-1.3.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/slic3r-1.3.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/slic3r-1.3.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/slic3r-1.3.0-r1/temp/die.env'.
 * Working directory: '/var/tmp/portage/media-gfx/slic3r-1.3.0-r1/homedir'
 * S: '/var/tmp/portage/media-gfx/slic3r-1.3.0-r1/work/Slic3r-1.3.0/xs'


what is test-flags-CXX and why do I apparently not have it? I tried searching the portage packages for it but there doesn't seem to be a test-flags package or anything...


Last edited by jroth on Thu Nov 15, 2018 8:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 20120
Location: here

PostPosted: Tue Nov 13, 2018 8:41 pm    Post subject: Reply with quote

test-flags-CXX is contained in flag-o-matic.eclass but isn't inherit in ebuild.
slic3r-1.3.0-r1.ebuild:
...
inherit eutils perl-module
...

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
jroth
n00b
n00b


Joined: 08 Aug 2017
Posts: 50

PostPosted: Thu Nov 15, 2018 8:58 pm    Post subject: Reply with quote

fedeliallalinea wrote:
test-flags-CXX is contained in flag-o-matic.eclass but isn't inherit in ebuild.
slic3r-1.3.0-r1.ebuild:
...
inherit eutils perl-module
...


Looks like the ebuild maintainer just fixed this. It works now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum