Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##THE SCRIPT I HAVE FOUND AND MODIFIED FOR PREPARATION IS THE FOLLOWING:##
- #!/bin/sh
- VERSION="`sed -n '1 s/^.*(\(.*\)).*/\1/p' debian/changelog`"
- make mrproper
- echo "Building kernel source package version $VERSION"
- # remove extraneous files
- git checkout -f
- git ls-files --others | xargs rm -rf
- # get key ID of signer rather than relying on a string match from the signer-name
- # since the gpg key comment can cause failed matches
- KEYID="`gpg --list-keys ${DEBEMAIL} | sed -n 's,^pub.*/\([^ ]*\).*,\1,p'`"
- if [ ! -z ${KEYID:-} ]; then
- #rm -rf ../linux* include/config .config
- rm -rf include/config .config
- rm -f ../linux_${VERSION}*
- skipabi=true
- skipmodule=true
- dpkg-buildpackage -S -nc -sa -k${KEYID} -rfakeroot -I.git -I.gitignore -i'\.git.*'
- RET=$?
- if [ -f ../linux_${VERSION}_source.changes ]; then
- echo "Source package \"linux_${VERSION}_source.changes\" is available in the parent directory"
- else
- echo "Package failed to build"
- fi
- else
- echo "No GPG Key ID found for \"$DEBEMAIL\""
- RET=1
- fi
- # clean up marker file
- echo "Exit code: $RET"
- exit $RET
- ##THE SCRIPT EXITS WITHOUT ERRORS BUT WITH SOME WARNINGS AS FOLLOWING:##
- Building kernel source package version 3.16.0-230.31
- dpkg-buildpackage: source package linux
- dpkg-buildpackage: source version 3.16.0-230.31
- dpkg-buildpackage: source distribution utopic
- dpkg-buildpackage: source changed by Nik Th <----------------->
- dpkg-source -I.git -I.gitignore -i\.git.* --before-build ubuntu-utopic
- dpkg-checkbuilddeps: Unmet build dependencies: dh-systemd makedumpfile libelf-dev libnewt-dev libiberty-dev libdw-dev libpci-dev flex bison libunwind8-dev libaudit-dev python-dev libudev-dev autoconf automake libtool
- dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
- dpkg-buildpackage: warning: (Use -d flag to override.)
- dpkg-buildpackage: warning: this is currently a non-fatal warning with -S, but will probably become fatal in the future
- dpkg-buildpackage: warning: building a source package without cleaning up as you asked; it might contain undesired files
- dpkg-source -I.git -I.gitignore -i\.git.* -b ubuntu-utopic
- dpkg-source: info: using source format `1.0'
- dpkg-source: warning: source directory 'ubuntu-utopic' is not <sourcepackage>-<upstreamversion> 'linux-3.16.0'
- dpkg-source: info: building linux in linux_3.16.0-230.31.tar.gz
- dpkg-source: info: building linux in linux_3.16.0-230.31.dsc
- dpkg-genchanges -S -sa >../linux_3.16.0-230.31_source.changes
- dpkg-genchanges: including full source code in upload
- dpkg-source -I.git -I.gitignore -i\.git.* --after-build ubuntu-utopic
- dpkg-buildpackage: source-only upload: Debian-native package
- signfile linux_3.16.0-230.31.dsc
- You need a passphrase to unlock the secret key for
- user: "NikTh <---------------->"
- 2048-bit RSA key, ID A461D3A3, created 2013-05-19
- signfile linux_3.16.0-230.31_source.changes
- You need a passphrase to unlock the secret key for
- user: "NikTh <------------------->"
- 2048-bit RSA key, ID A461D3A3, created 2013-05-19
- Source package "linux_3.16.0-230.31_source.changes" is available in the parent directory
- Exit code: 0
- ##WHEN I INVOKE ~$ sudo pbuilder build linux_3.16.0-230.31.dsc##
- I: Copying source file
- I: copying [linux_3.16.0-230.31.dsc]
- I: copying [./linux_3.16.0-230.31.tar.gz]
- I: Extracting source
- gpgv: Signature made Fri Oct 31 12:24:46 2014 UTC using RSA key ID A461D3A3
- gpgv: Can't check signature: public key not found
- dpkg-source: warning: failed to verify signature on ./linux_3.16.0-230.31.dsc
- dpkg-source: info: extracting linux in linux-3.16.0
- dpkg-source: info: unpacking linux_3.16.0-230.31.tar.gz
- I: Building the package
- I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc -rfakeroot
- dpkg-buildpackage: source package linux
- dpkg-buildpackage: source version 3.16.0-230.31
- dpkg-buildpackage: source distribution utopic
- dpkg-buildpackage: source changed by Nik Th <----------------->
- dpkg-buildpackage: host architecture amd64
- dpkg-source --before-build linux-3.16.0
- fakeroot debian/rules clean
- for i in debian.master/d-i/kernel-versions.in debian.master/control.stub.in; do \
- new=`echo $i | sed 's/\.in$//'`; \
- cat $i | sed -e 's/PKGVER/3.16.0/g' \
- -e 's/ABINUM/230/g' \
- -e 's/SRCPKGNAME/linux/g' \
- -e 's/=HUMAN=/64 bit x86/g' \
- > $new; \
- done
- flavours="debian.master/control.d/vars.lowlatency debian.master/control.d/vars.powerpc64-emb debian.master/control.d/vars.generic debian.master/control.d/vars.powerpc-e500mc debian.master/control.d/vars.powerpc64-smp debian.master/control.d/vars.powerpc-smp debian.master/control.d/vars.generic-lpae";\
- for i in $flavours; do \
- /bin/bash -e debian/scripts/control-create $i | \
- sed -e 's/PKGVER/3.16.0/g' \
- -e 's/ABINUM/230/g' \
- -e 's/SRCPKGNAME/linux/g' \
- -e 's/=HUMAN=/64 bit x86/g' \
- >> debian.master/control.stub; \
- done
- cp debian.master/control.stub debian.master/control
- rm -rf /tmp/buildd/linux-3.16.0/debian/build/modules /tmp/buildd/linux-3.16.0/debian/build/firmware \
- /tmp/buildd/linux-3.16.0/debian/build/kernel-versions /tmp/buildd/linux-3.16.0/debian/build/package-list \
- /tmp/buildd/linux-3.16.0/debian/build/debian.master
- mkdir -p /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/
- cp debian.master/d-i/modules/* /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/
- mkdir -p /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/
- cp debian.master/d-i/firmware/* /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/
- cp debian.master/d-i/package-list debian.master/d-i/kernel-versions /tmp/buildd/linux-3.16.0/debian/build/
- touch /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/kernel-image
- # kernel-wedge needs to poke around in debian.master/
- ln -nsf /tmp/buildd/linux-3.16.0/debian /tmp/buildd/linux-3.16.0/debian/build/debian
- # Some files may need to differ between architectures
- if [ -d debian.master/d-i/modules-amd64 ]; then \
- cp debian.master/d-i/modules-amd64/* \
- /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/; \
- fi
- if [ -d debian.master/d-i/firmware-amd64 ]; then \
- cp debian.master/d-i/firmware-amd64/* \
- /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/; \
- fi
- # Remove unwanted stuff for this architecture
- if [ -r "debian.master/d-i/exclude-modules.amd64" ]; then \
- (cat debian.master/d-i/exclude-modules.amd64; \
- ls /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/) | sort | uniq -d | \
- (cd /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/; xargs rm -f); \
- fi
- if [ -r "debian.master/d-i/exclude-firmware.amd64" ]; then \
- (cat debian.master/d-i/exclude-firmware.amd64; \
- ls /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/) | sort | uniq -d | \
- (cd /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/; xargs rm -f); \
- fi
- # Per flavour module lists
- flavour_modules=`ls debian.master/d-i/modules.amd64-* 2>/dev/null` \
- || true; \
- if [ "$flavour_modules" != "" ]; then \
- for flav in $flavour_modules; do \
- name=`echo $flav | sed 's/.*\/modules.amd64-//'`; \
- mkdir /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name; \
- (cd /tmp/buildd/linux-3.16.0/debian/build/modules/; tar cf - `cat ../$flav`) | \
- (cd /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name/; tar xf -); \
- touch /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name/kernel-image; \
- done; \
- fi
- flavour_firmware=`ls debian.master/d-i/firmware.amd64-* 2>/dev/null` \
- || true; \
- if [ "$flavour_firmware" != "" ]; then \
- for flav in $flavour_firmware; do \
- name=`echo $flav | sed 's/.*\/firmware.amd64-//'`; \
- mkdir /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name; \
- (cd /tmp/buildd/linux-3.16.0/debian/build/firmware/; tar cf - `cat ../$flav`) | \
- (cd /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name/; tar xf -);\
- touch /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name/kernel-image; \
- done; \
- fi
- # Some files may need to differ between flavours
- flavour_module_dirs=`ls -d debian.master/d-i/modules-amd64-* 2>/dev/null`\
- || true; \
- if [ "$flavour_module_dirs" ]; then \
- for flav in $flavour_module_dirs; do \
- name=`echo $flav | sed 's/.*\/modules-amd64-//'`; \
- [ -d /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name ] || \
- cp -a /tmp/buildd/linux-3.16.0/debian/build/modules/amd64 \
- modules/amd64-$name; \
- cp $flav/* /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name/; \
- done; \
- fi
- flavour_firmware_dirs=`ls -d debian.master/d-i/firmware-amd64-* 2>/dev/null`\
- || true; \
- if [ "$flavour_firmware_dirs" ]; then \
- for flav in $flavour_firmware_dirs; do \
- name=`echo $flav | sed 's/.*\/firmware-amd64-//'`; \
- [ -d /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name ] || \
- cp -a /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64 \
- firmware/amd64-$name; \
- cp $flav/* /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name/; \
- done; \
- fi
- # Remove unwanted stuff for each flavour
- flavour_exclude=`ls debian.master/d-i/exclude-modules.amd64-* 2>/dev/null`\
- || true; \
- if [ "$flavour_exclude" ]; then \
- for flav in $flavour_exclude; do \
- name=`echo $flav | sed 's/.*\/exclude-modules.amd64-//'`;\
- [ -d /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name ] || \
- cp -a /tmp/buildd/linux-3.16.0/debian/build/modules/amd64 \
- /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name; \
- (cat $flav; \
- ls /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name) | \
- sort | uniq -d | \
- (cd /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name/; \
- xargs rm -f); \
- done; \
- fi
- flavour_exclude=`ls debian.master/d-i/exclude-firmware.amd64-* 2>/dev/null`\
- || true; \
- if [ "$flavour_exclude" ]; then \
- for flav in $flavour_exclude; do \
- name=`echo $flav | sed 's/.*\/exclude-firmware.amd64-//'`;\
- [ -d /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name ] || \
- cp -a /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64 \
- /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name; \
- (cat $flav; \
- ls /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name) | \
- sort | uniq -d | \
- (cd /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name/; \
- xargs rm -f); \
- done; \
- fi
- if [ ! -d /tmp/buildd/linux-3.16.0/debian/build/modules/x86_64 ]; then \
- mkdir -p /tmp/buildd/linux-3.16.0/debian/build/modules/x86_64; \
- cp /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/* \
- /tmp/buildd/linux-3.16.0/debian/build/modules/x86_64; \
- fi
- if [ ! -d /tmp/buildd/linux-3.16.0/debian/build/firmware/x86_64 ]; then \
- mkdir -p /tmp/buildd/linux-3.16.0/debian/build/firmware/x86_64; \
- cp /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/* \
- /tmp/buildd/linux-3.16.0/debian/build/firmware/x86_64; \
- fi
- cp debian.master/control.stub debian/control.stub
- cd /tmp/buildd/linux-3.16.0/debian/build && kernel-wedge gen-control > /tmp/buildd/linux-3.16.0/debian/control
- Use of uninitialized value $builddep in string ne at /usr/share/kernel-wedge/commands/gen-control line 43, <KVERS> line 6.
- Use of uninitialized value $builddep in split at /usr/share/kernel-wedge/commands/gen-control line 44, <KVERS> line 6.
- Use of uninitialized value $builddep in string ne at /usr/share/kernel-wedge/commands/gen-control line 43, <KVERS> line 8.
- Use of uninitialized value $builddep in split at /usr/share/kernel-wedge/commands/gen-control line 44, <KVERS> line 8.
- Use of uninitialized value $builddep in string ne at /usr/share/kernel-wedge/commands/gen-control line 43, <KVERS> line 10.
- Use of uninitialized value $builddep in split at /usr/share/kernel-wedge/commands/gen-control line 44, <KVERS> line 10.
- Use of uninitialized value $builddep in string ne at /usr/share/kernel-wedge/commands/gen-control line 43, <KVERS> line 12.
- Use of uninitialized value $builddep in split at /usr/share/kernel-wedge/commands/gen-control line 44, <KVERS> line 12.
- dh_testdir
- dh_testroot
- dh_clean
- # d-i stuff
- rm -rf debian.master/d-i-amd64
- # Generated on the fly.
- rm -f debian.master/d-i/firmware/kernel-image
- # normal build junk
- rm -rf debian.master/abi/3.16.0-230.31
- rm -rf /tmp/buildd/linux-3.16.0/debian/build
- rm -f /tmp/buildd/linux-3.16.0/debian/stamps/stamp-*
- rm -rf debian.master/linux-*
- # This gets rid of the d-i packages in control
- cp -f debian.master/control.stub debian.master/control
- cp debian.master/changelog debian/changelog
- # Install the copyright information.
- cp debian.master/copyright debian/copyright
- dpkg-source -b linux-3.16.0
- dpkg-source: info: using source format `1.0'
- dpkg-source: info: building linux in linux_3.16.0-230.31.tar.gz
- dpkg-source: info: building linux in linux_3.16.0-230.31.dsc
- debian/rules build
- Debug: /tmp/buildd/linux-3.16.0/debian/stamps/stamp-prepare-tree-generic
- install -d /tmp/buildd/linux-3.16.0/debian/build/build-generic
- touch /tmp/buildd/linux-3.16.0/debian/build/build-generic/ubuntu-build
- [ "false" != 'true' ] && true || \
- rsync -a --exclude debian --exclude debian.master --exclude debian.master * /tmp/buildd/linux-3.16.0/debian/build/build-generic
- cat /tmp/buildd/linux-3.16.0/debian.master/config/config.common.ubuntu /tmp/buildd/linux-3.16.0/debian.master/config/amd64/config.common.amd64 /tmp/buildd/linux-3.16.0/debian.master/config/amd64/config.flavour.generic | sed -e 's/.*CONFIG_VERSION_SIGNATURE.*/CONFIG_VERSION_SIGNATURE="Ubuntu 3.16.0-230.31-generic 3.16.4"/' > /tmp/buildd/linux-3.16.0/debian/build/build-generic/.config
- find /tmp/buildd/linux-3.16.0/debian/build/build-generic -name "*.ko" | xargs rm -f
- make ARCH=x86_64 CROSS_COMPILE= KERNELVERSION=3.16.0-230-generic CONFIG_DEBUG_SECTION_MISMATCH=y KBUILD_BUILD_VERSION="31" LOCALVERSION= localver-extra= CFLAGS_MODULE="-DPKG_ABI=230" O=/tmp/buildd/linux-3.16.0/debian/build/build-generic -j1 silentoldconfig prepare scripts
- make[1]: Entering directory '/tmp/buildd/linux-3.16.0'
- make[1]: Entering directory `/tmp/buildd/linux-3.16.0/debian/build/build-generic'
- HOSTCC scripts/basic/fixdep
- GEN ./Makefile
- HOSTCC scripts/kconfig/conf.o
- SHIPPED scripts/kconfig/zconf.tab.c
- SHIPPED scripts/kconfig/zconf.lex.c
- SHIPPED scripts/kconfig/zconf.hash.c
- HOSTCC scripts/kconfig/zconf.tab.o
- In file included from scripts/kconfig/zconf.tab.c:2537:0:
- /tmp/buildd/linux-3.16.0/scripts/kconfig/menu.c: In function 'get_symbol_str':
- /tmp/buildd/linux-3.16.0/scripts/kconfig/menu.c:590:18: warning: 'jump' may be used uninitialized in this function [-Wmaybe-uninitialized]
- jump->offset = strlen(r->s);
- ^
- /tmp/buildd/linux-3.16.0/scripts/kconfig/menu.c:551:19: note: 'jump' was declared here
- struct jump_key *jump;
- ^
- HOSTLD scripts/kconfig/conf
- scripts/kconfig/conf --silentoldconfig Kconfig
- .config:3744:warning: override: M686 changes choice state
- .config:7126:warning: override: TREE_RCU changes choice state
- .config:8204:warning: override: MUSB_PIO_ONLY changes choice state
- #
- # configuration written to .config
- #
- SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
- SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
- SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h
- SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_64.h
- SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
- SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
- SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
- HOSTCC arch/x86/tools/relocs_32.o
- HOSTCC arch/x86/tools/relocs_64.o
- HOSTCC arch/x86/tools/relocs_common.o
- HOSTLD arch/x86/tools/relocs
- CHK include/config/kernel.release
- UPD include/config/kernel.release
- Using /tmp/buildd/linux-3.16.0 as source for kernel
- GEN ./Makefile
- WRAP arch/x86/include/generated/asm/clkdev.h
- WRAP arch/x86/include/generated/asm/early_ioremap.h
- WRAP arch/x86/include/generated/asm/cputime.h
- WRAP arch/x86/include/generated/asm/mcs_spinlock.h
- CHK include/generated/uapi/linux/version.h
- UPD include/generated/uapi/linux/version.h
- CHK include/generated/utsrelease.h
- UPD include/generated/utsrelease.h
- CC kernel/bounds.s
- GEN include/generated/bounds.h
- CC arch/x86/kernel/asm-offsets.s
- GEN include/generated/asm-offsets.h
- CALL /tmp/buildd/linux-3.16.0/scripts/checksyscalls.sh
- HOSTCC scripts/genksyms/genksyms.o
- SHIPPED scripts/genksyms/lex.lex.c
- SHIPPED scripts/genksyms/keywords.hash.c
- SHIPPED scripts/genksyms/parse.tab.h
- HOSTCC scripts/genksyms/lex.lex.o
- SHIPPED scripts/genksyms/parse.tab.c
- HOSTCC scripts/genksyms/parse.tab.o
- HOSTLD scripts/genksyms/genksyms
- CC scripts/mod/empty.o
- HOSTCC scripts/mod/mk_elfconfig
- MKELF scripts/mod/elfconfig.h
- CC scripts/mod/devicetable-offsets.s
- GEN scripts/mod/devicetable-offsets.h
- HOSTCC scripts/mod/file2alias.o
- HOSTCC scripts/mod/modpost.o
- HOSTCC scripts/mod/sumversion.o
- HOSTLD scripts/mod/modpost
- HOSTCC scripts/selinux/genheaders/genheaders
- HOSTCC scripts/selinux/mdp/mdp
- HOSTCC scripts/kallsyms
- HOSTCC scripts/conmakehash
- HOSTCC scripts/recordmcount
- HOSTCC scripts/sortextable
- In file included from /tmp/buildd/linux-3.16.0/scripts/sortextable.c:194:0:
- /tmp/buildd/linux-3.16.0/scripts/sortextable.c: In function 'main':
- /tmp/buildd/linux-3.16.0/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
- memset(relocs, 0, relocs_size);
- ^
- /tmp/buildd/linux-3.16.0/scripts/sortextable.h:106:6: note: 'relocs_size' was declared here
- int relocs_size;
- ^
- In file included from /tmp/buildd/linux-3.16.0/scripts/sortextable.c:192:0:
- /tmp/buildd/linux-3.16.0/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
- memset(relocs, 0, relocs_size);
- ^
- /tmp/buildd/linux-3.16.0/scripts/sortextable.h:106:6: note: 'relocs_size' was declared here
- int relocs_size;
- ^
- HOSTCC scripts/asn1_compiler
- make[1]: Leaving directory '/tmp/buildd/linux-3.16.0'
- touch /tmp/buildd/linux-3.16.0/debian/stamps/stamp-prepare-tree-generic
- Debug: config-prepare-check-generic
- check-config: /tmp/buildd/linux-3.16.0/debian/build/build-generic/.config: loading config
- check-config: /tmp/buildd/linux-3.16.0/debian.master/config/enforce: loading checks
- check-config: 47/47 checks passed -- exit 0
- Debug: /tmp/buildd/linux-3.16.0/debian/stamps/stamp-prepare-generic
- Debug: /tmp/buildd/linux-3.16.0/debian/stamps/stamp-build-generic build_image bzImage bldimg bzImage
- make ARCH=x86_64 CROSS_COMPILE= KERNELVERSION=3.16.0-230-generic CONFIG_DEBUG_SECTION_MISMATCH=y KBUILD_BUILD_VERSION="31" LOCALVERSION= localver-extra= CFLAGS_MODULE="-DPKG_ABI=230" O=/tmp/buildd/linux-3.16.0/debian/build/build-generic -j4 bzImage modules
- make[1]: Entering directory '/tmp/buildd/linux-3.16.0'
- make[1]: Entering directory `/tmp/buildd/linux-3.16.0/debian/build/build-generic'
- CHK include/config/kernel.release
- GEN ./Makefile
- CHK include/generated/uapi/linux/version.h
- Using /tmp/buildd/linux-3.16.0 as source for kernel
- CHK include/generated/utsrelease.h
- CALL /tmp/buildd/linux-3.16.0/scripts/checksyscalls.sh
- CC init/main.o
- CHK include/generated/compile.h
- CC init/do_mounts.o
- UPD include/generated/compile.h
- CC init/do_mounts_rd.o
- CC init/do_mounts_initrd.o
- CC init/do_mounts_md.o
- CC init/initramfs.o
- CC init/calibrate.o
- ##IT CONTINUES TO BUILDING MODULES AND DRIVERS WITH SOME MAYBE UNRELATED ERRORS LIKE:##
- CC arch/x86/kernel/ioport.o
- CC arch/x86/kernel/ldt.o
- /tmp/buildd/linux-3.16.0/fs/namespace.c: In function 'SyS_mount':
- /tmp/buildd/linux-3.16.0/fs/namespace.c:2746:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
- ret = do_mount(kernel_dev, kernel_dir->name, kernel_type, flags,
- ^
- /tmp/buildd/linux-3.16.0/fs/namespace.c:2725:8: note: 'kernel_dev' was declared here
- char *kernel_dev;
- ^
- /tmp/buildd/linux-3.16.0/fs/namespace.c:2746:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
- ret = do_mount(kernel_dev, kernel_dir->name, kernel_type, flags,
- ^
- /tmp/buildd/linux-3.16.0/fs/namespace.c:2723:8: note: 'kernel_type' was declared here
- char *kernel_type;
- ^
- CC kernel/task_work.o
- CC mm/compaction.o
- IT CONTINUES TO BUILDING MODULES AND DRIVERS WITH SOME EXTRA ERRORS LIKE:
- CC [M] sound/soc/soc-compress.o
- CC [M] net/atm/atm_sysfs.o
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c: In function 'soc_compr_open_fe':
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:102:1: error: expected expression before '<<' token
- <<<<<<< HEAD
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:109:9: error: invalid suffix "d1419f..." on integer constant
- >>>>>>> 7d1419f... Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:109:33: warning: character constant too long for its type
- >>>>>>> 7d1419f... Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:612:11: error: 'soc_compr_free_fe' undeclared (first use in this function)
- .free = soc_compr_free_fe,
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:612:11: note: each undeclared identifier is reported only once for each function it appears in
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:613:16: error: 'soc_compr_set_params_fe' undeclared (first use in this function)
- .set_params = soc_compr_set_params_fe,
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:614:16: error: 'soc_compr_get_params' undeclared (first use in this function)
- .get_params = soc_compr_get_params,
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:615:20: error: 'soc_compr_set_metadata' undeclared (first use in this function)
- .set_metadata = soc_compr_set_metadata,
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:616:18: error: 'soc_compr_get_metadata' undeclared (first use in this function)
- .get_metadata = soc_compr_get_metadata,
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:617:13: error: 'soc_compr_trigger_fe' undeclared (first use in this function)
- .trigger = soc_compr_trigger_fe,
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:618:13: error: 'soc_compr_pointer' undeclared (first use in this function)
- .pointer = soc_compr_pointer,
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:619:10: error: 'soc_compr_ack' undeclared (first use in this function)
- .ack = soc_compr_ack,
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:620:14: error: 'soc_compr_get_caps' undeclared (first use in this function)
- .get_caps = soc_compr_get_caps,
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:621:20: error: 'soc_compr_get_codec_caps' undeclared (first use in this function)
- .get_codec_caps = soc_compr_get_codec_caps
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:610:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static struct snd_compr_ops soc_compr_dyn_ops = {
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c: In function 'soc_new_compress':
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:653:51: error: 'soc_compr_ops' undeclared (first use in this function)
- compr->ops = devm_kzalloc(rtd->card->dev, sizeof(soc_compr_ops),
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:683:22: error: 'soc_compr_copy' undeclared (first use in this function)
- compr->ops->copy = soc_compr_copy;
- ^
- In file included from /tmp/buildd/linux-3.16.0/include/linux/srcu.h:34:0,
- from /tmp/buildd/linux-3.16.0/include/linux/notifier.h:15,
- from /tmp/buildd/linux-3.16.0/include/linux/memory_hotplug.h:6,
- from /tmp/buildd/linux-3.16.0/include/linux/mmzone.h:826,
- from /tmp/buildd/linux-3.16.0/include/linux/gfp.h:5,
- from /tmp/buildd/linux-3.16.0/include/linux/slab.h:14,
- from /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:20:
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:694:40: error: 'close_delayed_work' undeclared (first use in this function)
- INIT_DELAYED_WORK(&rtd->delayed_work, close_delayed_work);
- ^
- /tmp/buildd/linux-3.16.0/include/linux/workqueue.h:218:20: note: in definition of macro '__INIT_WORK'
- (_work)->func = (_func); \
- ^
- /tmp/buildd/linux-3.16.0/include/linux/workqueue.h:234:3: note: in expansion of macro 'INIT_WORK'
- INIT_WORK(&(_work)->work, (_func)); \
- ^
- /tmp/buildd/linux-3.16.0/include/linux/workqueue.h:250:2: note: in expansion of macro '__INIT_DELAYED_WORK'
- __INIT_DELAYED_WORK(_work, _func, 0)
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:694:2: note: in expansion of macro 'INIT_DELAYED_WORK'
- INIT_DELAYED_WORK(&rtd->delayed_work, close_delayed_work);
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c: In function 'soc_compr_open_fe':
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:706:1: error: expected declaration or statement at end of input
- }
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:96:4: error: label 'machine_err' used but not defined
- goto machine_err;
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:88:4: error: label 'out' used but not defined
- goto out;
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:73:35: warning: unused variable 'list' [-Wunused-variable]
- struct snd_soc_dapm_widget_list *list;
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:72:23: warning: unused variable 'dpcm' [-Wunused-variable]
- struct snd_soc_dpcm *dpcm;
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:706:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c: At top level:
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:29:12: warning: 'soc_compr_open' defined but not used [-Wunused-function]
- static int soc_compr_open(struct snd_compr_stream *cstream)
- ^
- /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:67:12: warning: 'soc_compr_open_fe' defined but not used [-Wunused-function]
- static int soc_compr_open_fe(struct snd_compr_stream *cstream)
- ^
- /tmp/buildd/linux-3.16.0/scripts/Makefile.build:257: recipe for target 'sound/soc/soc-compress.o' failed
- make[4]: *** [sound/soc/soc-compress.o] Error 1
- /tmp/buildd/linux-3.16.0/scripts/Makefile.build:404: recipe for target 'sound/soc' failed
- make[3]: *** [sound/soc] Error 2
- /tmp/buildd/linux-3.16.0/Makefile:911: recipe for target 'sound' failed
- make[2]: *** [sound] Error 2
- make[2]: *** Waiting for unfinished jobs....
- CC [M] net/atm/proc.o
- CC drivers/cpuidle/governor.o
- ##IT CONTINUES TO BUILDING MODULES AND DRIVERS, AND SOME OTHER ERRORS APPEAR:##
- CC [M] fs/xfs/xfs_super.o
- CC [M] drivers/hwmon/adt7410.o
- /tmp/buildd/linux-3.16.0/drivers/gpu/drm/nouveau/nouveau_chan.c: In function 'nouveau_channel_init':
- /tmp/buildd/linux-3.16.0/drivers/gpu/drm/nouveau/nouveau_chan.c:371:9: error: 'cli' undeclared (first use in this function)
- save = cli->base.super;
- ^
- /tmp/buildd/linux-3.16.0/drivers/gpu/drm/nouveau/nouveau_chan.c:371:9: note: each undeclared identifier is reported only once for each function it appears in
- /tmp/buildd/linux-3.16.0/scripts/Makefile.build:257: recipe for target 'drivers/gpu/drm/nouveau/nouveau_chan.o' failed
- make[6]: *** [drivers/gpu/drm/nouveau/nouveau_chan.o] Error 1
- /tmp/buildd/linux-3.16.0/scripts/Makefile.build:404: recipe for target 'drivers/gpu/drm/nouveau' failed
- make[5]: *** [drivers/gpu/drm/nouveau] Error 2
- /tmp/buildd/linux-3.16.0/scripts/Makefile.build:404: recipe for target 'drivers/gpu/drm' failed
- make[4]: *** [drivers/gpu/drm] Error 2
- /tmp/buildd/linux-3.16.0/scripts/Makefile.build:404: recipe for target 'drivers/gpu' failed
- make[3]: *** [drivers/gpu] Error 2
- make[3]: *** Waiting for unfinished jobs....
- CC [M] drivers/hwmon/adt7411.o
- CC [M] net/ipv4/netfilter/nf_nat_snmp_basic.o
- ##BUT IT CONTINUES TO BUILDING MODULES AND DRIVERS, UNTIL EVENTUALLY FAILS IN FOLLOWING:##
- CC [M] net/netfilter/ipvs/ip_vs_pe_sip.o
- LD [M] net/netfilter/ipvs/ip_vs.o
- LD net/built-in.o
- Makefile:181: recipe for target 'sub-make' failed
- make[1]: *** [sub-make] Error 2
- make[1]: Leaving directory '/tmp/buildd/linux-3.16.0'
- debian/rules.d/2-binary-arch.mk:45: recipe for target '/tmp/buildd/linux-3.16.0/debian/stamps/stamp-build-generic' failed
- make: *** [/tmp/buildd/linux-3.16.0/debian/stamps/stamp-build-generic] Error 2
- dpkg-buildpackage: error: debian/rules build gave error exit status 2
- E: Failed autobuilding of package
- I: unmounting dev/pts filesystem
- I: unmounting run/shm filesystem
- I: unmounting proc filesystem
- I: cleaning the build env
- I: removing directory /var/cache/pbuilder/build//12659 and its subdirectories
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement