virtualbox 6.1.0-1 (znver1;x86_64) 2020-10123
0

Status rejected
Submitter benbullard79 [@T] cox.net
Platform 4.0
Repository main
URL https://abf.openmandriva.org/build_lists/669570
Packages
virtualbox-6.1.0-1.znver1.binary
virtualbox-6.1.0-1.znver1.source
virtualbox-debuginfo-6.1.0-1.znver1.debuginfo
virtualbox-guest-additions-6.1.0-1.znver1.binary
virtualbox-guest-additions-debuginfo-6.1.0-1.znver1.debuginfo
virtualbox-guest-kernel-module-sources-6.1.0-1.znver1.binary
virtualbox-kernel-module-sources-6.1.0-1.znver1.binary
x11-driver-video-vboxvideo-6.1.0-1.znver1.binary
virtualbox-6.1.0-1.x86_64.binary
virtualbox-6.1.0-1.x86_64.source
virtualbox-debuginfo-6.1.0-1.x86_64.debuginfo
virtualbox-guest-additions-6.1.0-1.x86_64.binary
virtualbox-guest-additions-debuginfo-6.1.0-1.x86_64.debuginfo
virtualbox-guest-kernel-module-sources-6.1.0-1.x86_64.binary
virtualbox-kernel-module-sources-6.1.0-1.x86_64.binary
x11-driver-video-vboxvideo-6.1.0-1.x86_64.binary
Build Date 2020-01-08 05:11:33 +0000 UTC
Last Updated 2020-01-12 17:58:12.906986707 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 3037cb59298b95eacc8e2eb2e82248ebb2dbb281

commit 3037cb59298b95eacc8e2eb2e82248ebb2dbb281
Author:     tpgxyz <tpgxyz@gmail.com>
AuthorDate: Fri Dec 20 13:55:58 2019 +0100
Commit:     tpgxyz <tpgxyz@gmail.com>
CommitDate: Fri Dec 20 13:55:58 2019 +0100

    looks like Vbox decided to kill ix86
---
 virtualbox.spec | 23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)

diff --git a/virtualbox.spec b/virtualbox.spec
index 99063e1..da6bc17 100644
--- a/virtualbox.spec
+++ b/virtualbox.spec
@@ -1,11 +1,3 @@
-%ifarch %{ix86}
-# This is bogus, but at normal optimization levels, gcc
-# tries to allocate more memory than 32-bit address space
-# can hold :/
-%global optflags %{optflags} -g0 -fno-lto -fuse-ld=bfd -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
-%global ldflags %{ldflags} -g0 -fno-lto -fuse-ld=bfd -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
-%endif
-
 %bcond_with java
 
 %define kname vboxdrv
@@ -20,9 +12,6 @@
 %bcond_without additions
 %bcond_with docs
 
-%ifarch %{ix86}
-%define vbox_platform linux.x86
-%endif
 %ifarch %{x86_64}
 %define vbox_platform linux.amd64
 %endif
@@ -96,15 +85,13 @@ Patch200:	VirtualBox-add-support-for-OpenMandriva.patch
 # (tpg) do not crash on Wayland
 Patch201:	VirtualBox-5.2.16-use-xcb-on-wayland.patch
 Patch202:	vbox-6.0.6-find-java-modules.patch
-ExclusiveArch:	%{ix86} %{x86_64}
+ExclusiveArch:	%{x86_64}
 # (tpg) 2019-10-16 vbox is not ready for LLVM/clang
 BuildRequires:	gcc-c++
 BuildRequires:	systemd-macros
 BuildRequires:	dev86
 BuildRequires:	gawk
-%ifnarch %{ix86}
 BuildRequires:	gsoap
-%endif
 BuildRequires:	acpica
 BuildRequires:	yasm
 %if %{with java}
@@ -340,9 +327,7 @@ export LIBPATH_LIB="%{_lib}"
 
 # remove fPIC to avoid causing issues
 echo VBOX_GCC_OPT="$(echo %{optflags} $(pkg-config --cflags pixman-1) | sed -e 's/-fPIC//' -e 's/-Werror=format-security//')" >> LocalConfig.kmk
-#ifarch %{ix86}
 %global ldflags %{ldflags} -fuse-ld=bfd
-#endif
 echo TOOL_GCC_LDFLAGS="%{ldflags}" >> LocalConfig.kmk
 
 %if %{with additions}
@@ -361,8 +346,6 @@ mkdir -p %{buildroot}%{vboxlibdir} %{buildroot}%{vboxdatadir}
 
 (cd out/%{vbox_platform}/release/bin && tar cf - --exclude=additions .) | \
 (cd %{buildroot}%{vboxlibdir} && tar xf -)
-# (tpg) looks like these are not available on ix86
-%ifnarch %{ix86}
 # move noarch files to vboxdatadir
 mv %{buildroot}%{vboxlibdir}/{VBox*.sh,nls,*.png} %{buildroot}%{vboxdatadir}
 
@@ -371,7 +354,6 @@ mkdir -p %{buildroot}%{_datadir}/applications/
 mv %{buildroot}%{vboxlibdir}/*.desktop %{buildroot}%{_datadir}/applications/
 # Fix bogus space between file:// and filename
 sed -i -e 's,file:// /,file:///,' %{buildroot}%{_datadir}/applications/virtualbox.desktop
-%endif
 
 # install wrappers
 mkdir -p %{buildroot}%{_sysconfdir}/vbox
@@ -414,10 +396,7 @@ make -C vboxnetflt KERN_DIR=\$1
 make -C vboxnetadp KERN_DIR=\$1
 EOF
 install -m 0755 vboxbuild %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}
-# (tpg) looks like these are not available on ix86
-%ifnarch %{ix86}
 mv %{buildroot}%{vboxlibdir}/src/* %{buildroot}%{_usr}/src/%{name}-%{version}-%{release}/
-%endif
 
 # install udev rules
 mkdir -p %{buildroot}%{_udevrulesdir}
Not Available

benbullard79 [@T] cox.netNo Comment.1779d 06hrs