Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947335 - app-emulation/virtualbox-kvm-7.1.4_pre20241220[python] fails in src_prepare()
Summary: app-emulation/virtualbox-kvm-7.1.4_pre20241220[python] fails in src_prepare()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-01 22:17 UTC by Tamas Jantvik
Modified: 2025-01-02 10:22 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,19.39 KB, text/plain)
2025-01-02 08:55 UTC, Tamas Jantvik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tamas Jantvik 2025-01-01 22:17:47 UTC
>>> Emerging (1 of 2) app-emulation/virtualbox-kvm-7.1.4_pre20241220::gentoo
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:                                                                                                           
 * tail -f /var/log/emerge-fetch.log           
 * virtualbox-patches-7.1.0.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                      [ ok ]
 * virtualbox-kvm-20241220.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                        [ ok ]
 * VirtualBox-7.1.4.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                              [ ok ]
 * virtualbox-help-7.1.4.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                          [ ok ]
 * Using: openjdk-8                                  
 * Using python3.11 to build                  
>>> Unpacking source...                            
>>> Unpacking virtualbox-patches-7.1.0.tar.bz2 to /tmp/portage/app-emulation/virtualbox-kvm-7.1.4_pre20241220/work
>>> Unpacking virtualbox-kvm-20241220.tar.gz to /tmp/portage/app-emulation/virtualbox-kvm-7.1.4_pre20241220/work
>>> Unpacking VirtualBox-7.1.4.tar.bz2 to /tmp/portage/app-emulation/virtualbox-kvm-7.1.4_pre20241220/work
>>> Unpacking virtualbox-help-7.1.4.tar.xz to /tmp/portage/app-emulation/virtualbox-kvm-7.1.4_pre20241220/work
>>> Source unpacked in /tmp/portage/app-emulation/virtualbox-kvm-7.1.4_pre20241220/work
>>> Preparing source in /tmp/portage/app-emulation/virtualbox-kvm-7.1.4_pre20241220/work/VirtualBox-7.1.4 ...
 * Applying patches from /tmp/portage/app-emulation/virtualbox-kvm-7.1.4_pre20241220/work/virtualbox-patches-7.1.0/patches ...
 *   001_virtualbox-5.0.16-mesa-check.patch ...                                                                                                                                                                                                                                                                      [ ok ]
 *   002_virtualbox-5.2.16-remove-configure-checks.patch ...                                                                                                                                                                                                                                                         [ ok ]
 *   003_virtualbox-7.0.8-restore_old_machines_dir.patch ...                                                                                                                                                                                                                                                         [ ok ]
 *   005_virtualbox-7.0.8-asneeded.patch ...                                                                                                                                                                                                                                                                         [ ok ]
 *   006_virtualbox-4.2.18-vboxwebsrv_fix.patch ...                                                                                                                                                                                                                                                                  [ ok ]
 *   011_virtualbox-6.0.0_beta2-xpcom_const.patch ...                                                                                                         
patching file src/libs/xpcom18a4/python/src/ErrorUtils.cpp
Hunk #1 succeeded at 54 with fuzz 2 (offset -1 lines).
Hunk #2 succeeded at 351 (offset -7 lines).
Hunk #3 succeeded at 431 (offset -7 lines).                                                                                                                                                                                                                                                                          [ ok ]
 *   016_virtualbox-6.1.34-r3-python.patch ...                                                                                                                                                                                                                                                                       [ ok ]
 *   017_virtualbox-6.1.36-fcf-protection.patch ...
patching file src/VBox/Devices/PC/ipxe/Makefile.kmk
Hunk #1 succeeded at 196 with fuzz 2 (offset 20 lines).                                                                                                                                                                                                                                                              [ ok ]
 *   018_virtualbox-7.0.0-fix-compilation-clang.patch ...                                                                                                                                                                                                                                                            [ ok ]
 *   019_virtualbox-7.0.10-fix-binutils-hardened.patch ...                                                                                                                                                                                                                                                           [ ok ]
 *   021_virtualbox-7.0.16-libxml2-2.12.5.patch ...                                                                                                                                                                                                                                                                  [ ok ]
 *   023_virtualbox-7.0.6-gcc-13.patch ...                                                                                                                                                                                                                                                                           [ ok ]
 *   024_virtualbox-7.0.8-mtune-keep-size.patch ...                                                                                                                                                                                                                                                                  [ ok ]
 *   025_virtualbox-7.1.0_pre1-configure-include-qt6-path.patch ...                                                                                                                                                                                                                                                  [ ok ]
 *   026_virtualbox-7.1.0_pre1-python.patch ...                                                                                                                                                                                                                                                                      [ ok ]
 *   027_virtualbox-7.1.0-link-with-mold.patch ...                                                                                                                                                                                                                                                                   [ ok ]
 *   028_virtualbox-7.1.0-use-system-dita-ot.patch ...                                                                                                                                                                                                                                                               [ ok ]
 * Applying patches from /tmp/portage/app-emulation/virtualbox-kvm-7.1.4_pre20241220/work/virtualbox-kvm-dev-20241220/patches ...
 *   0001-NEM-Implement-KVM-backend.patch ...                                                                                                                                                                                                                                                                        [ ok ]
 *   0002-pci-passthrough-add-VFIO-implementation.patch ...                                                                                                                                                                                                                                                          [ ok ]
cp: cannot stat '/tmp/portage/app-emulation/virtualbox-kvm-7.1.4_pre20241220/files/test_python.py': No such file or directory
find: ‘test/test_python.py’: No such file or directory
 * ERROR: app-emulation/virtualbox-kvm-7.1.4_pre20241220::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_prepare
 *   environment, line 5644:  Called python_fix_shebang 'test/test_python.py'
 *   environment, line 4971:  Called die
 * The specific snippet of code:
 *       for path in "$@";
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-kvm-7.1.4_pre20241220::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-kvm-7.1.4_pre20241220::gentoo'`.


Reproducible: Always
Comment 1 Greg Kubaryk 2025-01-01 23:17:49 UTC
could you please comment with the output from 'emerge --info' for the record?
Comment 2 Tamas Jantvik 2025-01-02 08:55:49 UTC
Created attachment 915732 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2025-01-02 10:22:28 UTC
The bug has been closed via the following commit(s):

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

commit cad4692301c1c91ba83e64817f93aef6ef4197ce
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2025-01-02 10:20:50 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2025-01-02 10:22:18 +0000

    app-emulation/virtualbox-kvm: add missing test file
    
    I forgot to add this when updating to branch 7.1.
    
    Closes: https://bugs.gentoo.org/947335
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 app-emulation/virtualbox-kvm/files/test_python.py | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)