Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882091 - app-emulation/virtualbox-7.0.4: sed: can't read AutoConfig.kmk: No such file or directory
Summary: app-emulation/virtualbox-7.0.4: sed: can't read AutoConfig.kmk: No such file ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-11-20 09:02 UTC by Perfect Gentleman
Modified: 2022-11-20 10:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2022-11-20 09:02:16 UTC
----------------------------------------------------------
sed: can't read AutoConfig.kmk: No such file or directory
 * ERROR: app-emulation/virtualbox-7.0.4::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 122:  Called src_configure
 *   environment, line 5679:  Called die
 * The specific snippet of code:
 *       sed -i -e '/VBOX_WITH_PYTHON.*=/d' -e '/VBOX_PATH_PYTHON_INC.*=/d' -e '/VBOX_LIB_PYTHON.*=/d' AutoConfig.kmk || die;
 * 
----------------------------------------------
also
Unrecognized option "--disable-libopus"
---------------------------------------



Reproducible: Always




r ~ $ sudo cat /tmp/portage/app-emulation/virtualbox-7.0.4/temp/build.log
 * Package:    app-emulation/virtualbox-7.0.4:0/7.0
 * Repository: gentoo
 * Maintainer: ceamac@gentoo.org
 * USE:        abi_x86_64 alsa amd64 dbus elibc_glibc gui kernel_linux opengl pam pch python_single_target_python3_11 udev userland_GNU
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
 * Using python3.11 to build
>>> Unpacking source...
>>> Unpacking VirtualBox-7.0.4.tar.bz2 to /tmp/portage/app-emulation/virtualbox-7.0.4/work
>>> Unpacking virtualbox-patches-6.1.36.tar.bz2 to /tmp/portage/app-emulation/virtualbox-7.0.4/work
>>> Source unpacked in /tmp/portage/app-emulation/virtualbox-7.0.4/work
>>> Preparing source in /tmp/portage/app-emulation/virtualbox-7.0.4/work/VirtualBox-7.0.4 ...
 * Applying virtualbox-6.1.26-configure-include-qt5-path.patch ...
 [ ok ]
 * Applying virtualbox-6.1.34-r3-python.patch ...
 [ ok ]
 * Applying virtualbox-6.1.36-fcf-protection.patch ...
patching file src/VBox/Devices/PC/ipxe/Makefile.kmk
Hunk #1 succeeded at 198 with fuzz 2 (offset 22 lines).
 [ ok ]
 * Applying virtualbox-7.0.4-fix-compilation.patch ...
 [ ok ]
 * Applying virtualbox-7.0.0-fix-compilation-clang.patch ...
 [ ok ]
 * Applying virtualbox-7.0.0-python3_11.patch ...
 [ ok ]
 * Applying patches from /tmp/portage/app-emulation/virtualbox-7.0.4/work/virtualbox-patches-6.1.36/patches ...
 *   001_virtualbox-5.0.16-mesa-check.patch ...
 [ ok ]
 *   002_virtualbox-5.2.16-remove-configure-checks.patch ...
 [ ok ]
 *   003_virtualbox-4.0.2-restore_old_machines_dir.patch ...
patching file src/VBox/Main/src-server/SystemPropertiesImpl.cpp
Hunk #1 succeeded at 2176 with fuzz 2 (offset 1141 lines).
 [ ok ]
 *   005_virtualbox-4.2.26-asneeded.patch ...
 [ ok ]
 *   006_virtualbox-4.2.18-vboxwebsrv_fix.patch ...
 [ ok ]
 *   009-virtualbox-5.1.0-add_missing_gl_header.patch ...
patching file include/VBox/VBoxGL2D.h
Hunk #1 succeeded at 42 with fuzz 1 (offset 14 lines).
 [ ok ]
 *   011_virtualbox-6.0.0_beta2-xpcom_const.patch ...
 [ ok ]
 *   012_virtualbox-6.1.0-include_opengl_headers.patch ...
patching file src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp
Hunk #1 succeeded at 64 with fuzz 2 (offset 15 lines).
 [ ok ]
 *   014_virtualbox-6.0.14-Glsizeiptr.patch ...
 [ ok ]
 * =========================================================================================================================================================
 * Applying user patches from /etc/portage/patches ...
 * Applying virtualbox-6.1.32-python3.11.patch ...
 [ ok ]
 * User patches applied.
 * =========================================================================================================================================================
>>> Source prepared.
>>> Configuring source in /tmp/portage/app-emulation/virtualbox-7.0.4/work/VirtualBox-7.0.4 ...
 * ./configure --with-gcc=x86_64-pc-linux-gnu-gcc --with-g++=x86_64-pc-linux-gnu-g++ --disable-kmods --disable-docs --disable-java --disable-devmapper --disable-libopus --disable-pulse --disable-python --disable-sdl --disable-vmmraw

Unrecognized option "--disable-libopus"

Usage: ./configure [OPTIONS]...

Configuration:
  -h, --help               display this help and exit
  --nofatal                don't abort on errors
  --disable-xpcom          disable XPCOM and related stuff
  --disable-python         disable python bindings
  --disable-vmmraw         disable VMM raw mode (VT-x/AMD-V mandatory!)
  --disable-sdl-ttf        disable SDL_ttf detection
  --disable-qt             disable Qt detection
  --disable-alsa           disable the ALSA sound backend
  --disable-pulse          disable the PulseAudio backend
  --disable-dbus           don't use DBus and hal for hardware detection
  --disable-opengl         disable OpenGL support (2D & 3D)
  --enable-vnc             enable the VNC server
  --disable-libvpx         don't use libvpx for video capturing
  --enable-libvorbis       enable system libvorbis
  --enable-libogg          enable system libogg
  --disable-libtpms        don't use libtpms for TPM emulation
  --enable-vde             enable VDE networking
  --disable-udptunnel      disable UDP tunnel networking
  --disable-devmapper      disable device mapper library access
  --disable-hardening      don't be strict about /dev/vboxdrv access
  --build-libxml2          build libxml2 from sources
  --build-libssl           build openssl from sources
  --build-libtpms          build libtpms from sources
  --setup-wine             setup a Wine directory and register the hhc hack
  --only-additions         only build the Guest Additions

Paths:
  --with-gcc=PATH          location of the gcc compiler [x86_64-pc-linux-gnu-gcc]
  --with-g++=PATH          location of the g++ compiler [x86_64-pc-linux-gnu-g++]
  --with-kbuild=DIR        kbuild directory [/tmp/portage/app-emulation/virtualbox-7.0.4/work/VirtualBox-7.0.4/kBuild]
  --with-iasl=PATH         location of the iasl compiler [iasl]
  --with-yasm=PATH         location of the iasl compiler [yasm]
  --with-makeself=PATH     location of makeself [makeself]
  --with-linux=DIR         Linux kernel source directory [/lib/modules/6.0.9-gentoo/build]
  --with-qt-dir=DIR        directory for Qt headers/libraries [pkgconfig]
  --with-gsoap-dir=PATH    directory for gSOAP compiler/headers/libraries
                           (soapcpp2 and wsdl2h, soapstd2.h, libgsoap++.a/so)
  --with-gsoap-import=PATH directory for gSOAP import files (stlvector.h)
  --with-openssl-dir=DIR   directory for OpenSSL headers/libraries
  --with-ow-dir=DIR        directory where Open Watcom can be found []
  --out-base-dir=DIR       directory where configuration and build output
                           should go, in subdirectory out

Build type:
  -d, --build-debug        build with debugging symbols and assertions
  --build-profile          build with profiling support
  --build-headless         build headless (without any GUI frontend)
sed: can't read AutoConfig.kmk: No such file or directory
 * ERROR: app-emulation/virtualbox-7.0.4::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 122:  Called src_configure
 *   environment, line 5679:  Called die
 * The specific snippet of code:
 *       sed -i -e '/VBOX_WITH_PYTHON.*=/d' -e '/VBOX_PATH_PYTHON_INC.*=/d' -e '/VBOX_LIB_PYTHON.*=/d' AutoConfig.kmk || die;
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-7.0.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-7.0.4::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =virtualbox-7.0.4
 * The complete build log is located at '/tmp/portage/app-emulation/virtualbox-7.0.4/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/app-emulation/virtualbox-7.0.4/temp/environment'.
 * Working directory: '/tmp/portage/app-emulation/virtualbox-7.0.4/work/VirtualBox-7.0.4'
 * S: '/tmp/portage/app-emulation/virtualbox-7.0.4/work/VirtualBox-7.0.4'
Comment 1 Larry the Git Cow gentoo-dev 2022-11-20 10:13:20 UTC
The bug has been closed via the following commit(s):

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

commit ff692d5bc9fec01c5bb1318f86b9988ffd29afab
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2022-11-20 09:57:35 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2022-11-20 10:12:40 +0000

    app-emulation/virtualbox: drop `opus` flag
    
    Dropped by upstream
    
    Closes: https://bugs.gentoo.org/882091
    Closes: https://github.com/gentoo/gentoo/pull/28347
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 app-emulation/virtualbox/virtualbox-7.0.4.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)