Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

sys-apps/pkgcore: wheel build failed [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
audiodef
Watchman
Watchman
User avatar
Posts: 6656
Joined: Wed Jul 06, 2005 1:02 pm
Location: The soundosphere
Contact:
Contact audiodef
Website

sys-apps/pkgcore: wheel build failed [SOLVED]

  • Quote

Post by audiodef » Sat Mar 25, 2023 9:22 pm

This happens while building catalyst stage1.

Code: Select all

 * Package:    sys-apps/pkgcore-0.12.20:0
 * Repository: gentoo
 * Maintainer: pkgcore@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Build system packages:
 *   dev-python/gpep517            : 13
 *   dev-python/installer          : 0.6.0
 * python3_10: running distutils-r1_run_phase distutils-r1_python_compile
 *   Building the wheel for pkgcore-0.12.20 via py_build
gpep517 build-wheel --backend py_build --output-fd 3 --wheel-dir /var/tmp/portage/sys-apps/pkgcore-0.12.20/work/pkgcore-0.12.20-python3_10/wheel
2023-03-25 19:32:45,042 gpep517 INFO Building wheel via backend py_build
generating version info: /var/tmp/portage/sys-apps/pkgcore-0.12.20/work/pkgcore-0.12.20/src/pkgcore/_verinfo.py
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.10/gpep517", line 4, in <module>
    sys.exit(main())
  File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 406, in main
    return func(args)
  File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 202, in build_wheel
    print(build_wheel_impl(args, args.wheel_dir), file=out)
  File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 194, in build_wheel_impl
    wheel_name = backend.build_wheel(str(wheel_dir), args.config_json)
  File "/var/tmp/portage/sys-apps/pkgcore-0.12.20/work/pkgcore-0.12.20/./py_build.py", line 94, in build_wheel
    return prepare_pkgcore(callback, consts=True)
  File "/var/tmp/portage/sys-apps/pkgcore-0.12.20/work/pkgcore-0.12.20/./py_build.py", line 62, in prepare_pkgcore
    write_verinfo(cleanup_files)
  File "/var/tmp/portage/sys-apps/pkgcore-0.12.20/work/pkgcore-0.12.20/./py_build.py", line 53, in write_verinfo
    from snakeoil.version import get_git_version
ModuleNotFoundError: No module named 'snakeoil'
 * ERROR: sys-apps/pkgcore-0.12.20::gentoo failed (compile phase):
 *   Wheel build failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3494:  Called distutils-r1_src_compile
 *   environment, line 1628:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  786:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3188:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2685:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2683:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1118:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1610:  Called distutils-r1_python_compile
 *   environment, line 1435:  Called distutils_pep517_install '/var/tmp/portage/sys-apps/pkgcore-0.12.20/work/pkgcore-0.12.20-python3_10/install'
 *   environment, line 1951:  Called die
 * The specific snippet of code:
 *       [[ -n ${wheel} ]] || die "No wheel name returned";
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/pkgcore-0.12.20::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/pkgcore-0.12.20::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/pkgcore-0.12.20/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/pkgcore-0.12.20/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/pkgcore-0.12.20/work/pkgcore-0.12.20'
 * S: '/var/tmp/portage/sys-apps/pkgcore-0.12.20/work/pkgcore-0.12.20'
Last edited by audiodef on Mon Mar 27, 2023 10:52 pm, edited 2 times in total.
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Mar 25, 2023 9:38 pm

audiodef,

Code: Select all

ModuleNotFoundError: No module named 'snakeoil'
Is dev-python/snakeoil available?
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
audiodef
Watchman
Watchman
User avatar
Posts: 6656
Joined: Wed Jul 06, 2005 1:02 pm
Location: The soundosphere
Contact:
Contact audiodef
Website

  • Quote

Post by audiodef » Sat Mar 25, 2023 11:08 pm

I would guess not. Now I'm curious as to what changed, since this is a new issue. Does pkgcore or maybe something else need snakeoil as a dependency?

EDIT:

Oh, it already is:

Code: Select all

RDEPEND="
        >=app-shells/bash-5.0
        dev-python/lxml[${PYTHON_USEDEP}]
"
if [[ ${PV} == *9999 ]]; then
        RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
else
        RDEPEND+=" >=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]"
fi
So why wouldn't it find snakeoil?
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Mar 26, 2023 5:28 am

What return emerge -pv sys-apps/pkgcore dev-python/snakeoil command?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
audiodef
Watchman
Watchman
User avatar
Posts: 6656
Joined: Wed Jul 06, 2005 1:02 pm
Location: The soundosphere
Contact:
Contact audiodef
Website

  • Quote

Post by audiodef » Sun Mar 26, 2023 3:05 pm

Interesting. Snakeoil is already installed. (I chrooted into the stage1 tmpdir.)

Code: Select all

GStudioCatalyst / # emerge -pv sys-apps/pkgcore dev-python/snakeoil

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 1.22 s.

[ebuild   R    ] dev-python/snakeoil-0.10.5::gentoo to /tmp/stage1root/ USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_9 -python3_11" 180 KiB
[ebuild  N     ] sys-apps/pkgcore-0.12.20::gentoo to /tmp/stage1root/ USE="-test" PYTHON_TARGETS="python3_10 -python3_9 -python3_11" 615 KiB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 794 KiB
EDIT:

On a hunch, I put

Code: Select all

*/* PYTHON_TARGETS: python3_11
in package.use and this problem went away.
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic