[regression] Build failure on ubuntu 16.04 LTS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"

$ uname -a
Linux testbox 4.8.0-53-generic #56~16.04.1-Ubuntu SMP Tue May 16
01:18:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ git remote -v
origin  git://linuxtv.org/media_build.git (fetch)
origin  git://linuxtv.org/media_build.git (push)

$ git log -1
commit c8dfc17d6d049d79497c78737625f6ea3b08c456
Author: Hans Verkuil <hans.verkuil@xxxxxxxxx>
Date:   Mon May 22 09:11:11 2017 +0200

    Don't build atomisp crap

    Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>

The attached log file has the failure. This build was done with a
fresh git clone.  I did a quick grep of the tree and the only place I
find cec_devnode_register is in the module that fails to build,
cec-core.c.

Any advice welcome.
Vince
******************
* Start building *
******************
make -C /home/me/git/clones/media_build/v4l allyesconfig
make[1]: Entering directory '/home/me/git/clones/media_build/v4l'
No version yet, using 4.8.0-53-generic
make[2]: Entering directory '/home/me/git/clones/media_build/linux'
Syncing with dir ../media/
Applying patches for kernel 4.8.0-53-generic
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/v4.10_sched_signal.patch
patch -s -f -N -p1 -i ../backports/v4.10_fault_page.patch
patch -s -f -N -p1 -i ../backports/v4.10_refcount.patch
patch -s -f -N -p1 -i ../backports/v4.9_mm_address.patch
patch -s -f -N -p1 -i ../backports/v4.9_dvb_net_max_mtu.patch
patch -s -f -N -p1 -i ../backports/v4.9_ktime_cleanups.patch
patch -s -f -N -p1 -i ../backports/v4.8_user_pages_flag.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/me/git/clones/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/4.8.0-53-generic/build /lib/modules/4.8.0-53-generic/build 1
Preparing to compile for kernel version 4.8.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.
INTEL_ATOMISP: Requires at least kernel 9.255.255
Created default (all yes) .config file
./scripts/fix_kconfig.pl
make[1]: Leaving directory '/home/me/git/clones/media_build/v4l'
make -C /home/me/git/clones/media_build/v4l 
make[1]: Entering directory '/home/me/git/clones/media_build/v4l'
scripts/make_makefile.pl
Can't handle includes! In ../linux/drivers/staging/media/atomisp/pci/atomisp2/css2400/Makefile at scripts/make_makefile.pl line 109, <GEN152> line 4.
./scripts/make_myconfig.pl
perl scripts/make_config_compat.pl /lib/modules/4.8.0-53-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory '/home/me/git/clones/media_build/v4l/firmware'
make[2]: Leaving directory '/home/me/git/clones/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory '/home/me/git/clones/media_build/v4l/firmware'
  CC  ihex2fw
Generating vicam/firmware.fw
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory '/home/me/git/clones/media_build/v4l/firmware'
Kernel build directory is /lib/modules/4.8.0-53-generic/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/me/git/clones/media_build/linux'
Syncing with dir ../media/
Patches for 4.8.0-53-generic already applied.
make[2]: Leaving directory '/home/me/git/clones/media_build/linux'
make -C /lib/modules/4.8.0-53-generic/build SUBDIRS=/home/me/git/clones/media_build/v4l  modules
make[2]: Entering directory '/usr/src/linux-headers-4.8.0-53-generic'
  CC [M]  /home/me/git/clones/media_build/v4l/cec-core.o
/home/me/git/clones/media_build/v4l/cec-core.c: In function 'cec_devnode_register':
/home/me/git/clones/media_build/v4l/cec-core.c:142:8: error: implicit declaration of function 'cdev_device_add' [-Werror=implicit-function-declaration]
  ret = cdev_device_add(&devnode->cdev, &devnode->dev);
        ^
/home/me/git/clones/media_build/v4l/cec-core.c: In function 'cec_devnode_unregister':
/home/me/git/clones/media_build/v4l/cec-core.c:186:2: error: implicit declaration of function 'cdev_device_del' [-Werror=implicit-function-declaration]
  cdev_device_del(&devnode->cdev, &devnode->dev);
  ^
cc1: some warnings being treated as errors
scripts/Makefile.build:289: recipe for target '/home/me/git/clones/media_build/v4l/cec-core.o' failed
make[3]: *** [/home/me/git/clones/media_build/v4l/cec-core.o] Error 1
Makefile:1491: recipe for target '_module_/home/me/git/clones/media_build/v4l' failed
make[2]: *** [_module_/home/me/git/clones/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.8.0-53-generic'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/home/me/git/clones/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2
build failed at ./build line 502.

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux