See <https://builder.linuxtv.org/job/media-build/2960/display/redirect?page=changes> Changes: [hverkuil-cisco] Fix i2c_new_secondary_device compat code. ------------------------------------------ [...truncated 3.24 KB...] HTTP request sent, awaiting response... 200 OK Length: 105 [application/x-bzip2] Saving to: ‘linux-media.tar.bz2.md5.tmp’ 0K 100% 175M=0s 2020-02-07 12:18:23 (175 MB/s) - ‘linux-media.tar.bz2.md5.tmp’ saved [105/105] make: Leaving directory '<https://builder.linuxtv.org/job/media-build/ws/linux'> make: Entering directory '<https://builder.linuxtv.org/job/media-build/ws/linux'> tar xfj linux-media.tar.bz2 rm -f .patches_applied .linked_dir .git_log.md5 make: Leaving directory '<https://builder.linuxtv.org/job/media-build/ws/linux'> ********************************************************** * Downloading firmwares from linuxtv.org. * ********************************************************** firmware/dvb-usb-vp702x-01.fw firmware/dvb-usb-vp7045-01.fw firmware/dvb-fe-bcm3510-01.fw firmware/as102_data2_st.hex firmware/dvb-usb-terratec-h7-drxk.fw firmware/isdbt_nova_12mhz.inp firmware/Boot.S firmware/dvb_nova_12mhz_b0.inp firmware/dvb-fe-xc4000-1.4.1.fw firmware/sms1xxx-hcw-55xxx-isdbt-02.fw firmware/sms1xxx-nova-a-dvbt-01.fw firmware/dvb-usb-avertv-a800-02.fw firmware/cmmb_venice_12mhz.inp firmware/dvb-fe-xc5000c-4.1.30.7.fw firmware/v4l-cx23418-cpu.fw firmware/v4l-cx23885-enc-broken.fw firmware/dvb-fe-drxj-mc-vsb-1.0.8.fw firmware/dvb_nova_12mhz.inp firmware/dvb-usb-dib0700-1.20.fw firmware/tdmb_nova_12mhz.inp firmware/as102_data1_st.hex firmware/dvb-fe-or51132-vsb.fw firmware/dvb-usb-it9135-02.fw firmware/v4l-cx23418-apu.fw firmware/dvb-ttpci-01.fw-261f firmware/v4l-cx23418-dig.fw firmware/dvb-ttpci-01.fw-261c firmware/dvb-usb-bluebird-01.fw firmware/dvb-fe-or51211.fw firmware/dvb-fe-or51132-qam.fw firmware/sms1xxx-stellar-dvbt-01.fw firmware/dvb-usb-dibusb-5.0.0.11.fw firmware/dvb-fe-drxj-mc-vsb-qam-1.0.8.fw firmware/dvb-usb-terratec-h5-drxk.fw firmware/dvb-usb-wt220u-02.fw firmware/v4l-cx23885-enc.fw firmware/dvb-ttpci-01.fw-2622 firmware/dvb-usb-wt220u-01.fw firmware/v4l-cx25840.fw firmware/dvb-fe-drxj-mc-1.0.8.fw firmware/v4l-cx231xx-avcore-01.fw firmware/dvb-usb-dtt200u-01.fw firmware/dvb-usb-dibusb-6.0.0.8.fw firmware/sms1xxx-nova-b-dvbt-01.fw firmware/dvb-fe-xc5000-1.6.114.fw firmware/cmmb_vega_12mhz.inp firmware/dvb-usb-it9135-01.fw firmware/isdbt_nova_12mhz_b0.inp firmware/dvb-ttpci-01.fw-261a firmware/dvb-ttpci-01.fw-261b firmware/dvb-ttpci-01.fw-261d firmware/README firmware/isdbt_rio.inp firmware/dvb-usb-umt-010-02.fw firmware/sms1xxx-hcw-55xxx-dvbt-02.fw firmware/dvb-usb-terratec-h7-az6007.fw firmware/v4l-cx23885-avcore-01.fw ****************** * Start building * ****************** make -C <https://builder.linuxtv.org/job/media-build/ws/v4l> allyesconfig make[1]: Entering directory '<https://builder.linuxtv.org/job/media-build/ws/v4l'> make[2]: Entering directory '<https://builder.linuxtv.org/job/media-build/ws/linux'> Applying patches for kernel 4.19.0-5-amd64 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/v5.5_alsa_pcm_api_updates.patch patch -s -f -N -p1 -i ../backports/v5.1_vm_map_pages.patch patch -s -f -N -p1 -i ../backports/v5.1_devm_i2c_new_dummy_device.patch patch -s -f -N -p1 -i ../backports/v5.0_ipu3-cio2.patch patch -s -f -N -p1 -i ../backports/v5.0_time32.patch patch -s -f -N -p1 -i ../backports/v4.20_access_ok.patch Patched drivers/media/dvb-core/dvbdev.c Patched drivers/media/v4l2-core/v4l2-dev.c Patched drivers/media/rc/rc-main.c make[2]: Leaving directory '<https://builder.linuxtv.org/job/media-build/ws/linux'> ./scripts/make_kconfig.pl /lib/modules/4.19.0-5-amd64/build /lib/modules/4.19.0-5-amd64/source 1 Preparing to compile for kernel version 4.19.0 ***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_IPU3_CIO2: Requires at least kernel 9.255.255 VIDEO_OMAP3: Requires at least kernel 9.255.255 VIDEO_DW9714: 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 '<https://builder.linuxtv.org/job/media-build/ws/v4l'> make -C <https://builder.linuxtv.org/job/media-build/ws/v4l> make[1]: Entering directory '<https://builder.linuxtv.org/job/media-build/ws/v4l'> ./scripts/make_myconfig.pl [ ! -f "./config-mycompat.h" ] && echo "/* empty config-mycompat.h */" > "./config-mycompat.h" || true perl scripts/make_config_compat.pl /lib/modules/4.19.0-5-amd64/source ./.myconfig ./config-compat.h creating symbolic links... Kernel build directory is /lib/modules/4.19.0-5-amd64/build make -C ../linux apply_patches make[2]: Entering directory '<https://builder.linuxtv.org/job/media-build/ws/linux'> Patches for 4.19.0-5-amd64 already applied. make[2]: Leaving directory '<https://builder.linuxtv.org/job/media-build/ws/linux'> make -C /lib/modules/4.19.0-5-amd64/build M=<https://builder.linuxtv.org/job/media-build/ws/v4l> modules make[2]: Entering directory '/usr/src/linux-headers-4.19.0-5-amd64' CC [M] <https://builder.linuxtv.org/job/media-build/ws/v4l/msp3400-driver.o> CC [M] <https://builder.linuxtv.org/job/media-build/ws/v4l/msp3400-kthreads.o> CC [M] <https://builder.linuxtv.org/job/media-build/ws/v4l/smiapp-core.o> CC [M] <https://builder.linuxtv.org/job/media-build/ws/v4l/smiapp-regs.o> CC [M] <https://builder.linuxtv.org/job/media-build/ws/v4l/smiapp-quirk.o> CC [M] <https://builder.linuxtv.org/job/media-build/ws/v4l/smiapp-limits.o> CC [M] <https://builder.linuxtv.org/job/media-build/ws/v4l/et8ek8_mode.o> CC [M] <https://builder.linuxtv.org/job/media-build/ws/v4l/et8ek8_driver.o> CC [M] <https://builder.linuxtv.org/job/media-build/ws/v4l/cx25840-core.o> In file included from <command-line>: <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2731:34: error: static declaration of 'i2c_new_secondary_device' follows non-static declaration static inline struct i2c_client *i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2729, from <command-line>: /usr/src/linux-headers-4.19.0-5-common/include/linux/i2c.h:472:1: note: previous declaration of 'i2c_new_secondary_device' was here i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:308: <https://builder.linuxtv.org/job/media-build/ws/v4l/et8ek8_mode.o]> Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from <command-line>: <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2731:34: error: static declaration of 'i2c_new_secondary_device' follows non-static declaration static inline struct i2c_client *i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2729, from <command-line>: /usr/src/linux-headers-4.19.0-5-common/include/linux/i2c.h:472:1: note: previous declaration of 'i2c_new_secondary_device' was here i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:308: <https://builder.linuxtv.org/job/media-build/ws/v4l/smiapp-regs.o]> Error 1 In file included from <command-line>: <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2731:34: error: static declaration of 'i2c_new_secondary_device' follows non-static declaration static inline struct i2c_client *i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2729, from <command-line>: /usr/src/linux-headers-4.19.0-5-common/include/linux/i2c.h:472:1: note: previous declaration of 'i2c_new_secondary_device' was here i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:308: <https://builder.linuxtv.org/job/media-build/ws/v4l/msp3400-kthreads.o]> Error 1 In file included from <command-line>: <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2731:34: error: static declaration of 'i2c_new_secondary_device' follows non-static declaration static inline struct i2c_client *i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2729, from <command-line>: /usr/src/linux-headers-4.19.0-5-common/include/linux/i2c.h:472:1: note: previous declaration of 'i2c_new_secondary_device' was here i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:308: <https://builder.linuxtv.org/job/media-build/ws/v4l/msp3400-driver.o]> Error 1 In file included from <command-line>: <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2731:34: error: static declaration of 'i2c_new_secondary_device' follows non-static declaration static inline struct i2c_client *i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2729, from <command-line>: /usr/src/linux-headers-4.19.0-5-common/include/linux/i2c.h:472:1: note: previous declaration of 'i2c_new_secondary_device' was here i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2731:34: error: static declaration of 'i2c_new_secondary_device' follows non-static declaration static inline struct i2c_client *i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2729, from <command-line>: /usr/src/linux-headers-4.19.0-5-common/include/linux/i2c.h:472:1: note: previous declaration of 'i2c_new_secondary_device' was here i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:308: <https://builder.linuxtv.org/job/media-build/ws/v4l/smiapp-limits.o]> Error 1 make[5]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:308: <https://builder.linuxtv.org/job/media-build/ws/v4l/smiapp-quirk.o]> Error 1 In file included from <command-line>: <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2731:34: error: static declaration of 'i2c_new_secondary_device' follows non-static declaration static inline struct i2c_client *i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2729, from <command-line>: /usr/src/linux-headers-4.19.0-5-common/include/linux/i2c.h:472:1: note: previous declaration of 'i2c_new_secondary_device' was here i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:308: <https://builder.linuxtv.org/job/media-build/ws/v4l/smiapp-core.o]> Error 1 In file included from <command-line>: <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2731:34: error: static declaration of 'i2c_new_secondary_device' follows non-static declaration static inline struct i2c_client *i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2729, from <command-line>: /usr/src/linux-headers-4.19.0-5-common/include/linux/i2c.h:472:1: note: previous declaration of 'i2c_new_secondary_device' was here i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2731:34: error: static declaration of 'i2c_new_secondary_device' follows non-static declaration static inline struct i2c_client *i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from <https://builder.linuxtv.org/job/media-build/ws/v4l/compat.h>:2729, from <command-line>: /usr/src/linux-headers-4.19.0-5-common/include/linux/i2c.h:472:1: note: previous declaration of 'i2c_new_secondary_device' was here i2c_new_secondary_device(struct i2c_client *client, ^~~~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:308: <https://builder.linuxtv.org/job/media-build/ws/v4l/et8ek8_driver.o]> Error 1 make[5]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:308: <https://builder.linuxtv.org/job/media-build/ws/v4l/cx25840-core.o]> Error 1 make[4]: *** [/usr/src/linux-headers-4.19.0-5-common/Makefile:1539: _module_<https://builder.linuxtv.org/job/media-build/ws/v4l]> Error 2 make[3]: *** [Makefile:146: sub-make] Error 2 make[2]: *** [Makefile:8: all] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-5-amd64' make[1]: *** [Makefile:53: default] Error 2 make[1]: Leaving directory '<https://builder.linuxtv.org/job/media-build/ws/v4l'> make: *** [Makefile:26: all] Error 2 build failed at ./build line 526 Build step 'Execute shell' marked build as failure