Skip to content

Failing to build on Fedora 43 Kernel 6.18.10-200 #420

Description

@gbirchley

Build fails after upgrading to Fedora 43
Afraid I have not got the skills to work out what is causing the problem :(

~/Downloads/media_build$ make allyesconfig
make -C /home/mythtv/Downloads/media_build/v4l allyesconfig
make[1]: Entering directory '/home/mythtv/Downloads/media_build/v4l'
No version yet, using 6.18.10-200.fc43.x86_64
make[2]: Entering directory '/home/mythtv/Downloads/media_build/linux'
Syncing with dir ../../media
Applying patches for kernel 6.18.10-200.fc43.x86_64
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/debug.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
patch -s -f -N -p1 -i ../backports/ccs.patch
patch -s -f -N -p1 -i ../backports/rc-cec.patch
Patched drivers/media/dvb-core/dvbdev.c
Patched drivers/media/v4l2-core/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
Syncing with dir ../../media
make[2]: Leaving directory '/home/mythtv/Downloads/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/6.18.10-200.fc43.x86_64/build /lib/modules/6.18.10-200.fc43.x86_64/source 1
Preparing to compile for kernel version 6.18.10

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

WARNING: This is the V4L/DVB backport tree, with experimental drivers
         backported to run on legacy kernels from the development tree at:
                http://git.linuxtv.org/media-tree.git.
         It is generally safe to use it for testing a new driver or
         feature, but its usage on production environments is risky.
         Don't use it in production. You've been warned.
VIDEO_ROCKCHIP_ISP1: Requires at least kernel 9.255.255
VIDEO_XILINX: Requires at least kernel 9.255.255
VIDEO_OV772X: Requires at least kernel 9.255.255
VIDEO_OV9650: Requires at least kernel 9.255.255
VIDEO_TC358746: Requires at least kernel 9.255.255
INTEL_ATOMISP: Requires at least kernel 9.255.255
VIDEO_IPU3_IMGU: Requires at least kernel 9.255.255
Created default (all yes) .config file
./scripts/fix_kconfig.pl
make[1]: Leaving directory '/home/mythtv/Downloads/media_build/v4l'
~/Downloads/media_build$ sed -i -r 's/(^CONFIG.*_RC.*=)./\1n/g' v4l/.config
~/Downloads/media_build$ sed -i -r 's/(^CONFIG.*_IR.*=)./\1n/g' v4l/.config
~/Downloads/media_build$ make
make -C /home/mythtv/Downloads/media_build/v4l 
make[1]: Entering directory '/home/mythtv/Downloads/media_build/v4l'
./scripts/make_myconfig.pl
scripts/make_makefile.pl
[ ! -f "./config-mycompat.h" ] && echo "/* empty config-mycompat.h */" > "./config-mycompat.h" || true
perl scripts/make_config_compat.pl /lib/modules/6.18.10-200.fc43.x86_64/source ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory '/home/mythtv/Downloads/media_build/v4l/firmware'
make[2]: Nothing to be done for 'prep'.
make[2]: Leaving directory '/home/mythtv/Downloads/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory '/home/mythtv/Downloads/media_build/v4l/firmware'
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/home/mythtv/Downloads/media_build/v4l/firmware'
Kernel build directory is /lib/modules/6.18.10-200.fc43.x86_64/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/mythtv/Downloads/media_build/linux'
Syncing with dir ../../media
Patches for 6.18.10-200.fc43.x86_64 already applied.
make[2]: Leaving directory '/home/mythtv/Downloads/media_build/linux'
make -C /lib/modules/6.18.10-200.fc43.x86_64/build M=/home/mythtv/Downloads/media_build/v4l  modules
make[2]: Entering directory '/usr/src/kernels/6.18.10-200.fc43.x86_64'
make[3]: Entering directory '/home/mythtv/Downloads/media_build/v4l'
  CC [M]  max2175.o
  CC [M]  ad5820.o
  CC [M]  adp1653.o
  CC [M]  adv7170.o
  CC [M]  adv7175.o
  CC [M]  adv7180.o
  CC [M]  adv7183.o
  CC [M]  adv7343.o
  CC [M]  adv7393.o
  CC [M]  adv7511-v4l2.o
  CC [M]  adv7604.o
  CC [M]  adv7842.o
  CC [M]  ak7375.o
  CC [M]  ak881x.o
  CC [M]  aptina-pll.o
  CC [M]  ar0521.o
  CC [M]  bt819.o
  CC [M]  bt856.o
  CC [M]  bt866.o
  CC [M]  ccs-core.o
  CC [M]  ccs-reg-access.o
  CC [M]  ccs-quirk.o
  CC [M]  ccs-limits.o
  CC [M]  ccs-data.o
  LD [M]  ccs.o
  CC [M]  ccs-pll.o
  CC [M]  cs3308.o
  CC [M]  cs5345.o
  CC [M]  cs53l32a.o
  CC [M]  cx25840-core.o
  CC [M]  cx25840-audio.o
In file included from cx25840-audio.c:6:
/home/mythtv/Downloads/media_build/v4l/../linux/include/uapi/linux/videodev2.h:2539:41: error: field 'timestamp' has incomplete type
 2539 |         struct __kernel_timespec        timestamp;
      |                                         ^~~~~~~~~
make[5]: *** [/usr/src/kernels/6.18.10-200.fc43.x86_64/scripts/Makefile.build:287: cx25840-audio.o] Error 1
make[4]: *** [/usr/src/kernels/6.18.10-200.fc43.x86_64/Makefile:2047: .] Error 2
make[3]: *** [/usr/src/kernels/6.18.10-200.fc43.x86_64/Makefile:248: __sub-make] Error 2
make[3]: Leaving directory '/home/mythtv/Downloads/media_build/v4l'
make[2]: *** [Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/kernels/6.18.10-200.fc43.x86_64'
make[1]: *** [Makefile:53: default] Error 2
make[1]: Leaving directory '/home/mythtv/Downloads/media_build/v4l'
make: *** [Makefile:26: all] Error 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions