Bug 1212471

Summary: Build on IBS Devel:Kenrel:ALP-current:Submit fails
Product: [SUSE ALP - SUSE Adaptable Linux Platform] Granite Reporter: Takashi Iwai <tiwai>
Component: KernelAssignee: Kernel Bugs <kernel-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: Normal    
Priority: P5 - None CC: msuchanek
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Takashi Iwai 2023-06-17 10:57:49 UTC
The builds of kernel packages on IBS Devel:Kernel:ALP-current:Submit fails while the very same contents can be built on OBS Devel:Kernel:ALP-current.

[ 2423s]   INSTALL /home/abuild/rpmbuild/BUILDROOT/kernel-default-6.3.8-1.1.g877
6f16.x86_64/usr/lib/modules/6.3.8-1.g8776f16-default/kernel/net/qrtr/qrtr-smd.ko
[ 2423s]   INSTALL /home/abuild/rpmbuild/BUILDROOT/kernel-default-6.3.8-1.1.g877
6f16.x86_64/usr/lib/modules/6.3.8-1.g8776f16-default/kernel/net/qrtr/qrtr-mhi.ko
[ 2423s]   DEPMOD  /home/abuild/rpmbuild/BUILDROOT/kernel-default-6.3.8-1.1.g877
6f16.x86_64/usr/lib/modules/6.3.8-1.g8776f16-default
[ 2423s] depmod: ERROR: could not open directory /home/abuild/rpmbuild/BUILDROOT
/kernel-default-6.3.8-1.1.g8776f16.x86_64/lib/modules/99.98.6.3.8-1.g8776f16-def
ault: No such file or directory
[ 2423s] depmod: FATAL: could not search modules: No such file or directory
[ 2423s] make: *** [../Makefile:1970: modules_install] Error 1
[ 2423s] error: Bad exit status from /var/tmp/rpm-tmp.Jn5xdT (%install)
[ 2423s] 

Somehow a wrong kernel version is specified in the sub-project?
Comment 1 Michal Suchanek 2023-06-19 09:42:25 UTC
The required kmod version is in SUSE:ALP:Source:Standard:1.0 but it's not what the project is built against.

In fact I have no idea what would be the correct project after the IBS migration of ALP.
Comment 2 Takashi Iwai 2023-06-20 08:39:19 UTC
Indeed, when I change the repo to SUSE:ALP:Source:Standard:Core:1.0:Build, it builds fine.  Still it's puzzling why the same setup works for Devel:Kernel:ALP-current, though...

I'll update config.sh accordingly.

Along with it, the Bugzilla product entry in config.sh should be updated to ALP, too.
Comment 3 Michal Suchanek 2023-06-20 09:53:30 UTC
That's not particularly mysterious, the updated kmod package is linked to the project.
Comment 4 Takashi Iwai 2023-06-20 11:41:19 UTC
(In reply to Michal Suchanek from comment #3)
> That's not particularly mysterious, the updated kmod package is linked to
> the project.

Argh, I didn't know it!  That explains all.

The fix has been merged to ALP-current branch now.  Let's close.
Comment 5 Michal Suchanek 2023-06-22 07:21:45 UTC
It's been accepted into Factory now so this problem should be resolved there as well.