You are not logged in.

#1 2024-12-16 21:44:35

afader
Member
Registered: 2013-09-12
Posts: 176

[SOLVED] Python-pefile for ukify

Upgraded latest testing repo and I get an error about python-pefile when building a unified kernel image in mkinitcpio. If I ignorepkg python and downgrade all is fine, so it's not a problem with the 6.12.5 build.

Last edited by afader (2024-12-16 23:11:40)

Offline

#2 2024-12-16 22:01:50

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 907
Website

Re: [SOLVED] Python-pefile for ukify

Which exact error are you getting with all packages up to date (and python unignored)? The package should have been rebuilt for python 3.13, so this should either be reported or fixed on your system.
Also please post the output of "pacman -Qm" to check for possible interference with AUR packages.

Offline

#3 2024-12-16 22:36:07

afader
Member
Registered: 2013-09-12
Posts: 176

Re: [SOLVED] Python-pefile for ukify

Edit: I should say that the only thing i need to downgrade to make it work again is ` -> python-pefile: ignoring package upgrade (2023.2.7-2 => 2023.2.7-3)`

==> Initcpio image generation successful
==> Creating unified kernel image: '/efi/EFI/Linux/arch-linux.efi'
  -> Using ukify to build UKI
  -> Using cmdline file: '/etc/kernel/cmdline'
Traceback (most recent call last):
  File "/usr/bin/ukify", line 61, in <module>
    import pefile  # type: ignore
    ^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pefile'
==> ERROR: Unified kernel image generation FAILED
pacman -Qm
adplay-git 1:1.8.1.25.g497f3ac-1
adplug 2.3.3-1
adwaita-solarized-qt5 1.4.1.r32.ge9bd7b6-1
adwaita-solarized-qt6 1.4.1.r32.ge9bd7b6-1
afick 3.8.0-1
agetpkg 4-1
alhp-keyring 20240426-2
anyrun-git r196.d2017f2-1
arch-sign-modules 0.7.7-2
asdf-vm-git 0.14.1.10.g14a590a-1
bitwig-studio-earlyaccess 5.3b2-1
brother-hll2395dw 4.0.0-2
brother-mfc-j880dw 1.0.0-0
brscan4 0.4.11_1-2
bzflag 2.4.26-1
ca-certificates-blacklist-anti-china 3.90-1
ca-certificates-blacklist-cnnic 3.30.1-1
ca-certificates-blacklist-startcom 3.30.1-1
ca-certificates-blacklist-wosign 3.30.1-1
cachyos-ananicy-rules-git 20241207.r453.g08777c3-1
chkboot 1.3-1
chkrootkit 0.58b-1
chowkick-bin 1.1.1-1
cleanerml-git r735.2b8c706-1
clementine-git 1.4.1.r17.g4ea9d473a.0.g4ea9d473a-1
codecs64 20071007-1
coppwr 1.6.1-1
corsix-th-git 0.68.0.r108.gb6ec763b-1
cpulimit 1:0.2-3
cylon 6.3-4
dosbox-x-sdl2-git 3:2024.12.04.r78.g4a3e039f0-1
doukutsu 1.2-7
dxvk-bin 2.5.1-1
findbrokenpkgs 1.1-1
firefox-beta-bin 134.0b10-1
fluidplug-git r37.8457f10-1
font-config-info-git r33.b63cacb-1
fortune-mod-archlinux 1-3
fortune-mod-calvin 0.3-1
fortune-mod-futurama 0.2-4
fortune-mod-hitchhiker 20050611-4
fortune-mod-starwars 0-1
fortune-mod-xfiles 0-3
freepats-legacy 20060219-1
getrid-git 0.2.1.r1.g869c071-1
gnome-defaults-list 47.0.1-1
gnome-icon-theme 3.12.0-7
gnome-icon-theme-extras 3.12.0-6
gnome-icon-theme-symbolic 3.12.0-6
gnome-radio 48.0-2
google-chrome-beta 132.0.6834.46-1
google-earth-pro 7.3.6.9796-1
green-recorder 3.2.10-1
gruvbox-plus-icon-theme-git 6.0.2.r102.g2013dab-1
helm-synth-common 0.9.0-11
helm-synth-lv2 0.9.0-11
helm-synth-standalone 0.9.0-11
helm-synth-vst 0.9.0-11
heroku-cli-bin 9.5.0-1
hfsprogs 540.1.linux3-4
ibm-tss 1:2.4.0-1
intel-ipsec-mb 2.0-1
ir.lv2 1.3.4-4
lexend-fonts-git 1:r114.7894f02-2
lib32-libstdc++5 3.3.6-9
lib32-obs-vkcapture-git r317.553fbb1-1
lib7zip 3.0.0_17.04-3
libancient 2.2.0-1
libbinio 1.5-1
libestr 0.1.11-1
libfastjson 1.2304.0-1
liblogging 1.0.6-3
librelp 1.10.0-1
libva-nvidia-driver-git 0.0.13.r7.g9c4a3c7-1
lkrg-dkms-git r618.54da909-1
localepurge 0.7.3.11-1
lynis-git 3.1.3.3790.f08cde63-1
maldet 1.6.5-2
memavaild 0.6-2
meterbridge 0.9.3-3
moar 1.30.0-1
munt 2.7.0-6
nohang 0.2.0-1
nootka 2.0.2-2
nvidia-sdk 12.2.72-1
obs-gnome-screencast-git v0.2.0.r2.7034ee9-1
ocp 0.2.109-2
oomox-qt6-styleplugin-git 1.4.2.1.r5.gf545549-1
opensnitch-ebpf-module 1.6.6-1
opensnitch-git 1.6.3.r202.dc2c6959-1
otf-san-francisco 1:2-2
ov-bin 0.37.0-1
pacgraph 20110629-10
pacman-cleanup-hook 1.1-1
pacman-fix-permissions 1.1.2-1
pkgcacheclean 1.9.0-3
prelockd 0.9-3
projectm-presets-classic-git 2.g14a6244.2.gff8edf2-2
projectm-presets-cream-of-the-crop 2.4e0bf9f-2
pxtone-collage 0925-3
python-fangfrisch 1.9.0-4
qgnomeplatform-solarized-qt5 0.9.0-10
qgnomeplatform-solarized-qt6 0.9.0-10
qt5-styleplugins 5.0.0.20170311-35
realsr-ncnn-vulkan 20220728-1
rsyslog 8.2412.0-1
rua 0.19.10-1
safe-rm 1.1.0-3
samsung-unified-driver 1.00.39-7
samsung-unified-driver-common 1.00.39-7
samsung-unified-driver-printer 1.00.39-7
samsung-unified-driver-scanner 1.00.39-7
sbkeys 1.1.0-2
scalpel-git r31.35e1367-1
shim-signed 15.8+ubuntu+1.59-1
smaug 0.5.1-1
solfege 3.23.4-11
soundfont-arachno 1.0-1
soundfont-ensembles 0.0.3-1
soundfont-fatboy 0.790-2
soundfont-generaluser 1.471-1
soundfont-jeux 2.4-4
soundfont-opl3-fm-128m 1.0-1
soundfont-personalcopy 5.1f-2
soundfont-realfont 2.3-1
soundfont-sgm 2.01-1
soundfont-sunshine-perc 1-1
soundfont-titanic 1.2-3
soundfont-unison 1.00-3
soundfont-zelda3sf2 20040819-1
soundfont-zeldamcsf2 20050118-1
srmd-ncnn-vulkan 20220728-1
systemd-boot-pacman-hook 3-1
tap-plugins 1.0.1-3
tiger 3.2.3-4
trizen 1:1.68-1
ttf-cheapskate 2.0-20
ttf-ms-win11-auto 10.0.22621.525-1
ttf-ms-win11-japanese 10.0.22621.1848-1
ttf-ms-win11-korean 10.0.22621.1848-1
ttf-ms-win11-other 10.0.22621.1848-1
ttf-ms-win11-sea 10.0.22621.1848-1
ttf-ms-win11-thai 10.0.22621.1848-1
ttf-ms-win11-zh_cn 10.0.22621.1848-1
ttf-ms-win11-zh_tw 10.0.22621.1848-1
ttf-rubik 1.0-1
tumbler-extra-thumbnailers 5.1-1
uresourced 0.5.4-1
vkd3d-proton-bin 2.14-1
vulkan-caps-viewer-wayland 1:4.00-1
yabridgectl-git 5.1.1.r7.gca534308-1
youtube-dl 2021.12.17-3
zzz 0.1.1-3

Last edited by afader (2024-12-16 22:43:37)

Offline

#4 2024-12-16 22:56:05

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 907
Website

Re: [SOLVED] Python-pefile for ukify

Whats the output of "pacman -Q python"?

Offline

#5 2024-12-16 23:11:21

afader
Member
Registered: 2013-09-12
Posts: 176

Re: [SOLVED] Python-pefile for ukify

Ah yeah that seems to be the problem.

❯ pacman -Q python
python 3.12.7-2

I'll mark the thread as solved as it was my system's problem and not the package. Thanks for helping debug.

Offline

Board footer

Powered by FluxBB