From: Jarod Wilson on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3870#note_2557400129

Latest revision looks like solid progress to me, I'm getting a mostly sane
looking srpm just using `make AUTOMOTIVE_BUILD=1 dist-srpm`, but the resulting
srpm isn't buildable:

```shell
$ rpmbuild --rebuild redhat/rpm/SRPMS/kernel-
automotive-6.16.0-0.rc1.aef17cb3d3c43.18.test.el10iv.src.rpm
...
kernel.spec:2001: Copy additional source files into buildroot
+ cp /home/jwilson/rpmbuild/SOURCES/kernel-automotive-aarch64-debug-
rhel.config /home/jwilson/rpmbuild/SOURCES/kernel-automotive-
aarch64-rhel.config /home/jwilson/rpmbuild/SOURCES/kernel-
automotive-x86_64-debug-rhel.config /home/jwilson/rpmbuild/SOURCES/kernel-
automotive-x86_64-rhel.config .
+ cp /home/jwilson/rpmbuild/SOURCES/generate_all_configs.sh .
+ cp /home/jwilson/rpmbuild/SOURCES/merge.py .
+ cp /home/jwilson/rpmbuild/SOURCES/kernel-local partial-kernel-local-
snip.config
+ cp /home/jwilson/rpmbuild/SOURCES/kernel-local partial-kernel-local-debug-
snip.config
+ FLAVOR=fedora
+ SPECPACKAGE_NAME=kernel-automotive
+ SPECVERSION=6.16.0
+ SPECRPMVERSION=6.16.0
+ ./generate_all_configs.sh 1
mv: cannot stat 'kernel-automotive*-fedora.config': No such file or directory
kernel.spec:2013: Collect custom defined config options
+ PARTIAL_CONFIGS=
+ PARTIAL_CONFIGS=' partial-kernel-local-snip.config partial-kernel-local-
debug-snip.config'
kernel.spec:2040: Merge in any user-provided local config option changes
+ for i in kernel-automotive-6.16.0-*.config
++ GetArch 'kernel-automotive-6.16.0-*.config'
++ case "$1" in
++ echo ''
+ kern_arch=
++ echo 'kernel-automotive-6.16.0-*.config'
++ grep -q debug
++ echo ''
+ kern_debug=
+ for j in $PARTIAL_CONFIGS
++ GetArch partial-kernel-local-snip.config
++ case "$1" in
++ echo ''
+ part_arch=
++ echo partial-kernel-local-snip.config
++ grep -q debug
++ echo ''
+ part_debug=
+ '[' '' == '' -o '' == '' ']'
+ '[' '' == '' ']'
+ mv 'kernel-automotive-6.16.0-*.config' 'kernel-
automotive-6.16.0-*.config.tmp'
mv: cannot stat 'kernel-automotive-6.16.0-*.config': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.66Wwlh (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.66Wwlh (%prep)
```

In my local SOURCES dir, I see the unversioned kernel-automotive-*.config
files, but not versioned ones, so I think there may be one little piece still
missing here?

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to