On 06/25/2018 10:11 AM, Christof Hanke wrote:
Hi,
I encounter a strange error building 3rd party KMP rpms. If you look at the x86_64 build :
https://build.opensuse.org/package/live_build_log/openSUSE:Factory/openafs/s...
everything if fine. Using the same spec the 32bit i586 build fails in the actual packaging step:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory/openafs/s...
... """ [ 2373s] Processing files: openafs-kmp-default-1.8.0_krpmbuild-1.19.i586 [ 2373s] error: File must begin with "/": * [ 2373s] error: File must begin with "/": Restart [ 2373s] error: File must begin with "/": config... [ 2373s] error: File must begin with "/": * [ 2373s] error: File must begin with "/": * [ 2373s] error: File must begin with "/": * [ 2373s] error: File must begin with "/": Linux/x86 [ 2373s] error: File must begin with "/": 4.17.1 [ 2373s] error: File must begin with "/": Kernel [ 2373s] error: File must begin with "/": Configuration [ 2373s] error: File must begin with "/": * [ 2373s] error: File must begin with "/": 64-bit [ 2373s] error: File must begin with "/": kernel [ 2373s] error: File must begin with "/": (64BIT) [ 2373s] error: File must begin with "/": [Y/n/?] [ 2373s] error: File must begin with "/": (NEW) [ 2373s] error: File must begin with "/": * """...
Apparently, for the i586-case the automatically created file-list for the KMP is overwritten by the output of the kernel-configuration.
Any ideas how to debug this ?
For VirtualBox, the fix was to add the %{?linux_make_arch} macro to the make line. Thus, it became make -j2 -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor %{?linux_make_arch}\ modules M=$PWD/modules_build_dir/$flavor/$module_name Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org