I would like to rebuild the whole elrepo with custom compiler flags for
personal use.
Can you please suggest, how the rpms are being build right now?
When I'm trying to rpmbuild from spec files, there are no sources in
When I'm trying to build kernel-ml, there is no config file.

Am I supposed to fetch somewhere sources for every package manually?
How is kernel-ml built right now? What config file do you use?
Does elrepo have any kind of CI that re-builds rpms regularly?

Thank you!

# pwd

# rpmbuild -v -bb --clean ./primus.spec
error: File /home/user/rpmbuild/SOURCES/primus-master.zip: No such file or

# cp /boot/config-4.18.5-1.el7.elrepo.x86_64
# pwd

# rpmbuild -v -bb --clean ./kernel-ml-4.14.spec
                            Executing(%prep): /bin/sh -e

+ umask 022
+ cd /home/user/rpmbuild/BUILD
+ cd /home/user/rpmbuild/BUILD
+ rm -rf kernel-ml-4.14.13
+ /usr/bin/mkdir -p kernel-ml-4.14.13
+ cd kernel-ml-4.14.13
+ /usr/bin/xz -dc /home/user/rpmbuild/SOURCES/linux-4.14.13.tar.xz
+ /usr/bin/tar -xf -
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/mv linux-4.14.13 linux-4.14.13-1.el7.centos.x86_64
+ pushd linux-4.14.13-1.el7.centos.x86_64
+ /usr/bin/cp /home/user/rpmbuild/SOURCES/config-4.14.13-x86_64 .
+ for C in 'config-*-x86_64*'
+ /usr/bin/cp config-4.14.13-x86_64 .config
+ /usr/bin/make -s ARCH=x86_64 listnewconfig
+ grep -E '^CONFIG_'
.config:3876:warning: symbol value 'm' invalid for GPIO_MB86S7X
.config:4764:warning: symbol value 'm' invalid for RADIO_SI470X
.config:6643:warning: symbol value 'm' invalid for INTEL_PMC_CORE
+ '[' -s .newoptions ']'
+ cat .newoptions
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.XNqCuM (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.XNqCuM (%prep)
elrepo mailing list

Reply via email to