Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905835 - media-libs/opencv-4.6.0-r4 failed to merge on no-multilib profile after py3.10 -> py3.11
Summary: media-libs/opencv-4.6.0-r4 failed to merge on no-multilib profile after py3.1...
Status: RESOLVED DUPLICATE of bug 883375
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-06 15:42 UTC by dearfl
Modified: 2023-05-09 13:00 UTC (History)
0 users

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


Attachments
emerge --info (emerge_info,7.75 KB, text/plain)
2023-05-06 15:42 UTC, dearfl
Details
environment (environment,234.48 KB, text/plain)
2023-05-06 15:42 UTC, dearfl
Details
build log (build.log,997.21 KB, text/x-log)
2023-05-06 15:43 UTC, dearfl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dearfl 2023-05-06 15:42:03 UTC
Part of emerge output:
...
-- Up-to-date: /var/tmp/portage/media-libs/opencv-4.6.0-r4/image/usr/share/opencv4/lbpcascades/lbpcascade_profileface.xml
-- Up-to-date: /var/tmp/portage/media-libs/opencv-4.6.0-r4/image/usr/share/opencv4/lbpcascades/lbpcascade_silverware.xml
rm: cannot remove 'modules/python3': No such file or directory
 * ERROR: media-libs/opencv-4.6.0-r4::gentoo failed (install phase):
 *   rm failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_install
 *   environment, line 5558:  Called cmake-multilib_src_install
 *   environment, line 1466:  Called multilib-minimal_src_install
 *   environment, line 4393:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 4623:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 4305:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 4303:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  735:  Called multilib-minimal_abi_src_install
 *   environment, line 4383:  Called multilib_src_install
 *   environment, line 4877:  Called python_foreach_impl 'python_module_compile'
 *   environment, line 5162:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'python_module_compile'
 *   environment, line 4305:  Called _multibuild_run '_python_multibuild_wrapper' 'python_module_compile'
 *   environment, line 4303:  Called _python_multibuild_wrapper 'python_module_compile'
 *   environment, line  970:  Called python_module_compile
 *   environment, line 5303:  Called die
 * The specific snippet of code:
 *       rm -r modules/python3 || die "rm failed";
 *
 * If you need support, post the output of `emerge --info '=media-libs/opencv-4.6.0-r4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/opencv-4.6.0-r4::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 =opencv-4.6.0
 * The complete build log is located at '/var/tmp/portage/media-libs/opencv-4.6.0-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/opencv-4.6.0-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/opencv-4.6.0-r4/work/opencv-4.6.0_build-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-libs/opencv-4.6.0-r4/work/opencv-4.6.0'

 * Messages for package media-libs/opencv-4.6.0-r4:

 * ERROR: media-libs/opencv-4.6.0-r4::gentoo failed (install phase):
 *   rm failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_install
 *   environment, line 5558:  Called cmake-multilib_src_install
 *   environment, line 1466:  Called multilib-minimal_src_install
 *   environment, line 4393:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 4623:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 4305:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 4303:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  735:  Called multilib-minimal_abi_src_install
 *   environment, line 4383:  Called multilib_src_install
 *   environment, line 4877:  Called python_foreach_impl 'python_module_compile'
 *   environment, line 5162:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'python_module_compile'
 *   environment, line 4305:  Called _multibuild_run '_python_multibuild_wrapper' 'python_module_compile'
 *   environment, line 4303:  Called _python_multibuild_wrapper 'python_module_compile'
 *   environment, line  970:  Called python_module_compile
 *   environment, line 5303:  Called die
 * The specific snippet of code:
 *       rm -r modules/python3 || die "rm failed";
 *
 * If you need support, post the output of `emerge --info '=media-libs/opencv-4.6.0-r4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/opencv-4.6.0-r4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/opencv-4.6.0-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/opencv-4.6.0-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/opencv-4.6.0-r4/work/opencv-4.6.0_build-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-libs/opencv-4.6.0-r4/work/opencv-4.6.0'


it emerges fine without the python use.

emerge --info output: https://fars.ee/jQX1
build log: https://fars.ee/tZzw
environment: https://fars.ee/b1n7
Comment 1 dearfl 2023-05-06 15:42:28 UTC
Created attachment 861239 [details]
emerge --info
Comment 2 dearfl 2023-05-06 15:42:52 UTC
Created attachment 861240 [details]
environment
Comment 3 dearfl 2023-05-06 15:43:15 UTC
Created attachment 861241 [details]
build log
Comment 4 dearfl 2023-05-06 15:48:08 UTC
FYI: the build log in url is incompleted, i've uploaded a attachment.
My profile is combine of amd64/no-multilib/systemd/merged-usr and amd64/desktop
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-09 13:00:27 UTC

*** This bug has been marked as a duplicate of bug 883375 ***