Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674256 - app-emulation/virtualbox-guest-additions-5.2.22 FEATURES=distcc - g++: error: missing filename after ‘-o’
Summary: app-emulation/virtualbox-guest-additions-5.2.22 FEATURES=distcc - g++: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-01 11:34 UTC by Guillaume Seren
Modified: 2019-04-29 07:30 UTC (History)
0 users

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


Attachments
environment (environment,111.00 KB, text/plain)
2019-01-05 17:29 UTC, Guillaume Seren
Details
build.log (build.log,64.25 KB, text/x-log)
2019-01-05 17:30 UTC, Guillaume Seren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Seren 2019-01-01 11:34:31 UTC
Hey there,
I have been working on a distcc setup and this package, fail to compile with it,
but compile well without it, as it is only one to fail I don't think it come from my setup but it is possible.

Here my log:
g++ -c -O2 -g -pipe -pedantic -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter     -Wlogical-op   -Wno-variadic-macros -Wno-long-long -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter  -Wno-overloaded-virtual -Wno-variadic-macros  -O2 -fno-omit-frame-pointer -fno-strict-aliasing -m64 -I/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/src/VBox/Runtime/include -I/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/src/libs/liblzf-3.4 -I/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/src/libs/kStuff/kStuff/include -I/usr/include/libxml2 -I/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/include -I/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM -DVBOX_WITH_RAW_MODE -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/opt/VirtualBox\" -DRTPATH_APP_PRIVATE_ARCH=\"/opt/VirtualBox\" -DRTPATH_SHARED_LIBS=\"/opt/VirtualBox\" -DRTPATH_APP_DOCS=\"/opt/VirtualBox\" -D_REENTRANT -DIN_RING3 -DLOG_DISABLED -DIN_BLD_PROG -DIN_RT_R3 -DIN_ADV_BLD_PROG -DIN_RT_R3 -DLDR_WITH_NATIVE -DLDR_WITH_ELF32 -DLDR_WITH_PE -DRT_WITH_VBOX -DRT_NO_GIP -DRT_WITHOUT_NOCRT_WRAPPERS -DIPRT_WITH_OPENSSL -DNOFILEID -DLDR_WITH_KLDR -DRT_WITH_ICONV_CACHE -DIPRT_WITHOUT_LDR_VERIFY -DRT_NO_GIP -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/RuntimeBldProg/common/alloc/alloc.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/RuntimeBldProg/common/alloc/alloc.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/RuntimeBldProg/common/alloc/alloc.o /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/src/VBox/Runtime/common/alloc/alloc.cpp
g++: error: missing filename after ‘-o’
g++: fatal error: no input files
compilation terminated.
distcc[5914] ERROR: compile (null) on localhost failed
g++: error: missing filename after ‘-o’
g++: error: missing filename after ‘-o’
g++: fatal error: no input files
compilation terminated.
g++: fatal error: no input files
distcc[5911] ERROR: compile (null) on localhost failed
kmk: *** [/usr/share/kBuild/footer-pass2-compiling-targets.kmk:226: /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/VBoxCmp/VBoxCmp.o] Error 1                                                                                                            
kmk: *** Waiting for unfinished jobs....
kmk: *** [/usr/share/kBuild/footer-pass2-compiling-targets.kmk:226: /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/filesplitter/filesplitter.o] Error 1                                                                                                  
compilation terminated.
distcc[5915] ERROR: compile (null) on localhost failed
kmk: *** [/usr/share/kBuild/footer-pass2-compiling-targets.kmk:226: /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/VBoxDef2LazyLoad/VBoxDef2LazyLoad.o] Error 1                                                                                          
g++: error: missing filename after ‘-o’
g++: fatal error: no input files
compilation terminated.
distcc[5917] ERROR: compile (null) on localhost failed
kmk: *** [/usr/share/kBuild/footer-pass2-compiling-targets.kmk:226: /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/RuntimeBldProg/common/alloc/alloc.o] Error 1                                                                                          
kmk: *** [/usr/share/kBuild/footer-pass2-compiling-targets.kmk:221: /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/bin2c/bin2c.o] Segmentation fault (core dumped)                                                                                       
The failing command:
gcc -c -O2 -g -pipe -pedantic -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter     -Wlogical-op   -Wno-variadic-macros -Wno-long-long -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Werror-implicit-function-declaration -Wno-variadic-macros  -O2 -fno-omit-frame-pointer -fno-strict-aliasing -m64 -I/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/include -I/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM -DVBOX_WITH_RAW_MODE -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/opt/VirtualBox\" -DRTPATH_APP_PRIVATE_ARCH=\"/opt/VirtualBox\" -DRTPATH_SHARED_LIBS=\"/opt/VirtualBox\" -DRTPATH_APP_DOCS=\"/opt/VirtualBox\" -DIN_RING3 -DLOG_DISABLED -DIN_BLD_PROG -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/bin2c/bin2c.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/bin2c/bin2c.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/bin2c/bin2c.o /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/src/bldprogs/bin2c.c
kmk: *** [/usr/share/kBuild/footer-pass2-compiling-targets.kmk:221: /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/biossums/biossums.o] Segmentation fault (core dumped)                                                                                 
The failing command:
gcc -c -O2 -g -pipe -pedantic -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter     -Wlogical-op   -Wno-variadic-macros -Wno-long-long -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Werror-implicit-function-declaration -Wno-variadic-macros  -O2 -fno-omit-frame-pointer -fno-strict-aliasing -m64 -I/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/include -I/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM -DVBOX_WITH_RAW_MODE -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/opt/VirtualBox\" -DRTPATH_APP_PRIVATE_ARCH=\"/opt/VirtualBox\" -DRTPATH_SHARED_LIBS=\"/opt/VirtualBox\" -DRTPATH_APP_DOCS=\"/opt/VirtualBox\" -DIN_RING3 -DLOG_DISABLED -DIN_BLD_PROG -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/biossums/biossums.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/biossums/biossums.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/out/linux.amd64/release/obj/biossums/biossums.o /var/tmp/portage/app-emulation/virtualbox-guest-additions-5.2.22/work/VirtualBox-5.2.22/src/bldprogs/biossums.c
kmk: *** Exiting with status 2


Guillaume
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-01-01 14:50:24 UTC
Please attach the entire build log to this bug report.
Please attach the environment file to this bug report.
Comment 2 Guillaume Seren 2019-01-05 17:29:49 UTC
Created attachment 560024 [details]
environment
Comment 3 Guillaume Seren 2019-01-05 17:30:17 UTC
Created attachment 560026 [details]
build.log
Comment 4 Larry the Git Cow gentoo-dev 2019-04-29 07:30:30 UTC
The bug has been closed via the following commit(s):

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

commit f34554ea9edb9437fb030d897c9376e24bc2f471
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-04-29 07:29:59 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-04-29 07:30:23 +0000

    app-emulation/virtualbox-guest-additions: Don't build with distcc
    
    Closes: https://bugs.gentoo.org/674256
    Package-Manager: Portage-2.3.65, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../virtualbox-guest-additions-5.2.22.ebuild                           | 3 ++-
 .../virtualbox-guest-additions-5.2.26.ebuild                           | 1 +
 .../virtualbox-guest-additions-5.2.28.ebuild                           | 1 +
 .../virtualbox-guest-additions/virtualbox-guest-additions-6.0.4.ebuild | 1 +
 .../virtualbox-guest-additions/virtualbox-guest-additions-6.0.6.ebuild | 1 +
 5 files changed, 6 insertions(+), 1 deletion(-)