Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476410 - =x11-drivers/xf86-video-virtualbox-4.2.16 FEATURES=distcc - g++: error: missing filename after '-o'
Summary: =x11-drivers/xf86-video-virtualbox-4.2.16 FEATURES=distcc - g++: error: missi...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
: 602488 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-10 16:58 UTC by Anthony Mendez
Modified: 2019-04-29 00:47 UTC (History)
7 users (show)

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


Attachments
emerge --info (emerge-info,5.63 KB, text/plain)
2013-07-10 16:58 UTC, Anthony Mendez
Details
build.log (build.log,25.08 KB, text/plain)
2013-07-10 17:00 UTC, Anthony Mendez
Details
build.log for app-emulation/virtualbox-5.0.12 (build.log,42.21 KB, text/plain)
2015-12-22 01:52 UTC, Kalin KOZHUHAROV
Details
emerge --info =virtualbox-5.0.12 (emerge.info,6.05 KB, application/x-info)
2015-12-22 01:53 UTC, Kalin KOZHUHAROV
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Mendez 2013-07-10 16:58:51 UTC
Created attachment 353018 [details]
emerge --info

Just ran an emerge --sync and tried updating to the latest version of x11-drivers/xf86-video-virtualbox. The compile is failing with "g++: error: missing filename after '-o'".
Comment 1 Anthony Mendez 2013-07-10 17:00:06 UTC
Created attachment 353020 [details]
build.log
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-10 17:06:21 UTC
>distcc[17259] (dcc_set_trace_from_env) ERROR: failed to open logfile /var/log/distcc.log: Permission denied [enabled]

Why do you get this error in `emerge --info`?

Your g++ is odd, there is a file name behind the -o each time; CC-ing hardened.
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-10 17:06:21 UTC
>distcc[17259] (dcc_set_trace_from_env) ERROR: failed to open logfile /var/log/distcc.log: Permission denied [enabled]

Why do you get this error in `emerge --info`?

Your g++ is odd, there is a file name behind the -o each time; CC-ing hardened.
Comment 4 Anthony Mendez 2013-07-10 21:05:13 UTC
The distcc error message is there because I didn't run `emerge --info` as root. If I run it as root the line where the distcc error is instead says "distcc 3.1 x86_64-pc-linux-gnu". Otherwise the output of `emerge --info` is identical.

I ran emerge with `FEATURES="-distcc"` and the compile succeded! It seems the ebuild or one of the makescripts aren't setup to work with distcc or the package is just incompatable with distcc.
Comment 5 Magnus Granberg gentoo-dev 2014-10-25 10:48:16 UTC
Don't look as a hardened problem. The bugreporter is not on the hardened profile.
Comment 6 Kobboi 2015-03-04 14:59:43 UTC
(In reply to Magnus Granberg from comment #5)
> Don't look as a hardened problem. The bugreporter is not on the hardened
> profile.

Observing the same running with FEATURES=distcc. Can't we just override the FEATURE in the ebuild?
Comment 7 Mick Semb Wever 2015-10-13 04:07:58 UTC
Same problem with FEATURES="distcc" against both kbuild.
(A dependency required by virtualbox).
Comment 8 Kalin KOZHUHAROV 2015-12-22 01:52:29 UTC
Created attachment 420136 [details]
build.log for app-emulation/virtualbox-5.0.12

This resurficed with app-emulation/virtualbox-5.0.12 :-|
Looks to me like the same bug, someone pleas update (broaden) the bug subject.

!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""

The interesting thing is that this doesn't even hit distcc, I had enabled debug log both on local machine and the (only one) remote, but no messages appeared.
Comment 9 Kalin KOZHUHAROV 2015-12-22 01:53:07 UTC
Created attachment 420138 [details]
emerge --info =virtualbox-5.0.12
Comment 10 Eric "me262" Mason 2016-11-08 20:57:32 UTC
Still happening all the way up to the latest virtualbox driver (5.1.8).
I've worked around this by turning off distcc and set makeopts to one thread.
FEATURES="-distcc" MAKEOPTS="-j1" emerge xf86-video-virtualbox
Comment 11 Ben Kohler gentoo-dev 2017-08-31 18:41:47 UTC
*** Bug 602488 has been marked as a duplicate of this bug. ***
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-29 00:47:28 UTC
Package has been removed from the tree.