Advertisement
NikTh

Build Failed Ubuntu Kernel Git

Oct 31st, 2014
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 29.52 KB | None | 0 0
  1. ##THE SCRIPT I HAVE FOUND AND MODIFIED FOR PREPARATION IS THE FOLLOWING:##
  2.  
  3. #!/bin/sh
  4. VERSION="`sed -n '1 s/^.*(\(.*\)).*/\1/p' debian/changelog`"
  5. make mrproper
  6.  
  7. echo "Building kernel source package version $VERSION"
  8.  
  9. # remove extraneous files
  10. git checkout -f
  11. git ls-files --others | xargs rm -rf
  12.  
  13. # get key ID of signer rather than relying on a string match from the signer-name
  14. # since the gpg key comment can cause failed matches
  15. KEYID="`gpg --list-keys ${DEBEMAIL} | sed -n 's,^pub.*/\([^ ]*\).*,\1,p'`"
  16.  
  17. if [ ! -z ${KEYID:-} ]; then
  18.     #rm -rf ../linux* include/config .config
  19.     rm -rf include/config .config
  20.     rm -f ../linux_${VERSION}*
  21.     skipabi=true
  22.     skipmodule=true
  23.     dpkg-buildpackage -S -nc -sa -k${KEYID} -rfakeroot -I.git -I.gitignore -i'\.git.*'
  24.     RET=$?
  25.     if [ -f ../linux_${VERSION}_source.changes ]; then
  26.         echo "Source package \"linux_${VERSION}_source.changes\" is available in the parent directory"
  27.     else
  28.         echo "Package failed to build"
  29.     fi
  30. else
  31.     echo "No GPG Key ID found for \"$DEBEMAIL\""
  32.     RET=1
  33. fi
  34.  
  35. # clean up marker file
  36. echo "Exit code: $RET"
  37. exit $RET
  38.  
  39. ##THE SCRIPT EXITS WITHOUT ERRORS BUT WITH SOME WARNINGS AS FOLLOWING:##
  40.  
  41. Building kernel source package version 3.16.0-230.31
  42. dpkg-buildpackage: source package linux
  43. dpkg-buildpackage: source version 3.16.0-230.31
  44. dpkg-buildpackage: source distribution utopic
  45. dpkg-buildpackage: source changed by Nik Th <----------------->
  46.  dpkg-source -I.git -I.gitignore -i\.git.* --before-build ubuntu-utopic
  47. 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
  48. dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
  49. dpkg-buildpackage: warning: (Use -d flag to override.)
  50. dpkg-buildpackage: warning: this is currently a non-fatal warning with -S, but will probably become fatal in the future
  51. dpkg-buildpackage: warning: building a source package without cleaning up as you asked; it might contain undesired files
  52.  dpkg-source -I.git -I.gitignore -i\.git.* -b ubuntu-utopic
  53. dpkg-source: info: using source format `1.0'
  54. dpkg-source: warning: source directory 'ubuntu-utopic' is not <sourcepackage>-<upstreamversion> 'linux-3.16.0'
  55. dpkg-source: info: building linux in linux_3.16.0-230.31.tar.gz
  56. dpkg-source: info: building linux in linux_3.16.0-230.31.dsc
  57. dpkg-genchanges -S -sa >../linux_3.16.0-230.31_source.changes
  58. dpkg-genchanges: including full source code in upload
  59. dpkg-source -I.git -I.gitignore -i\.git.* --after-build ubuntu-utopic
  60. dpkg-buildpackage: source-only upload: Debian-native package
  61. signfile linux_3.16.0-230.31.dsc
  62.  
  63. You need a passphrase to unlock the secret key for
  64. user: "NikTh <---------------->"
  65. 2048-bit RSA key, ID A461D3A3, created 2013-05-19
  66.  
  67.  
  68. signfile linux_3.16.0-230.31_source.changes
  69.  
  70. You need a passphrase to unlock the secret key for
  71. user: "NikTh <------------------->"
  72. 2048-bit RSA key, ID A461D3A3, created 2013-05-19
  73.  
  74.  
  75. Source package "linux_3.16.0-230.31_source.changes" is available in the parent directory
  76. Exit code: 0
  77.  
  78.  
  79. ##WHEN I INVOKE ~$ sudo pbuilder build linux_3.16.0-230.31.dsc##
  80.  
  81. I: Copying source file
  82. I: copying [linux_3.16.0-230.31.dsc]
  83. I: copying [./linux_3.16.0-230.31.tar.gz]
  84. I: Extracting source
  85. gpgv: Signature made Fri Oct 31 12:24:46 2014 UTC using RSA key ID A461D3A3
  86. gpgv: Can't check signature: public key not found
  87. dpkg-source: warning: failed to verify signature on ./linux_3.16.0-230.31.dsc
  88. dpkg-source: info: extracting linux in linux-3.16.0
  89. dpkg-source: info: unpacking linux_3.16.0-230.31.tar.gz
  90. I: Building the package
  91. I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc  -rfakeroot
  92. dpkg-buildpackage: source package linux
  93. dpkg-buildpackage: source version 3.16.0-230.31
  94. dpkg-buildpackage: source distribution utopic
  95. dpkg-buildpackage: source changed by Nik Th <----------------->
  96. dpkg-buildpackage: host architecture amd64
  97.  dpkg-source --before-build linux-3.16.0
  98.  fakeroot debian/rules clean
  99. for i in debian.master/d-i/kernel-versions.in debian.master/control.stub.in; do \
  100.   new=`echo $i | sed 's/\.in$//'`;                  \
  101.   cat $i | sed -e 's/PKGVER/3.16.0/g'                              \
  102.         -e 's/ABINUM/230/g'                                       \
  103.     -e 's/SRCPKGNAME/linux/g'                             \
  104.     -e 's/=HUMAN=/64 bit x86/g'                                    \
  105.   > $new;                               \
  106. done
  107. 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";\
  108. for i in $flavours; do                          \
  109.   /bin/bash -e debian/scripts/control-create $i |               \
  110.     sed -e 's/PKGVER/3.16.0/g'                                  \
  111.     -e 's/ABINUM/230/g'                                       \
  112.     -e 's/SRCPKGNAME/linux/g'                             \
  113.     -e 's/=HUMAN=/64 bit x86/g'                                    \
  114.     >> debian.master/control.stub;                      \
  115. done
  116. cp debian.master/control.stub debian.master/control
  117. rm -rf /tmp/buildd/linux-3.16.0/debian/build/modules /tmp/buildd/linux-3.16.0/debian/build/firmware         \
  118.     /tmp/buildd/linux-3.16.0/debian/build/kernel-versions /tmp/buildd/linux-3.16.0/debian/build/package-list    \
  119.     /tmp/buildd/linux-3.16.0/debian/build/debian.master
  120. mkdir -p /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/
  121. cp debian.master/d-i/modules/* /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/
  122. mkdir -p /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/
  123. cp debian.master/d-i/firmware/* /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/
  124. cp debian.master/d-i/package-list debian.master/d-i/kernel-versions /tmp/buildd/linux-3.16.0/debian/build/
  125. touch /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/kernel-image
  126. # kernel-wedge needs to poke around in debian.master/
  127. ln -nsf /tmp/buildd/linux-3.16.0/debian /tmp/buildd/linux-3.16.0/debian/build/debian
  128. # Some files may need to differ between architectures
  129. if [ -d debian.master/d-i/modules-amd64 ]; then         \
  130.     cp debian.master/d-i/modules-amd64/* \
  131.     /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/;               \
  132. fi
  133. if [ -d debian.master/d-i/firmware-amd64 ]; then            \
  134.     cp debian.master/d-i/firmware-amd64/* \
  135.     /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/;              \
  136. fi
  137. # Remove unwanted stuff for this architecture
  138. if [ -r "debian.master/d-i/exclude-modules.amd64" ]; then       \
  139.     (cat debian.master/d-i/exclude-modules.amd64;           \
  140.      ls /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/) | sort | uniq -d |    \
  141.     (cd /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/; xargs rm -f);     \
  142. fi
  143. if [ -r "debian.master/d-i/exclude-firmware.amd64" ]; then      \
  144.     (cat debian.master/d-i/exclude-firmware.amd64;          \
  145.      ls /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/) | sort | uniq -d |   \
  146.     (cd /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/; xargs rm -f);    \
  147. fi
  148. # Per flavour module lists
  149. flavour_modules=`ls debian.master/d-i/modules.amd64-* 2>/dev/null`  \
  150.     || true;                        \
  151. if [ "$flavour_modules" != "" ]; then               \
  152.     for flav in $flavour_modules; do                \
  153.     name=`echo $flav | sed 's/.*\/modules.amd64-//'`;   \
  154.     mkdir /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name;        \
  155.     (cd /tmp/buildd/linux-3.16.0/debian/build/modules/; tar cf - `cat ../$flav`) |  \
  156.         (cd /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name/; tar xf -);  \
  157.     touch /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name/kernel-image;   \
  158.     done;                           \
  159. fi
  160. flavour_firmware=`ls debian.master/d-i/firmware.amd64-* 2>/dev/null`    \
  161.     || true;                        \
  162. if [ "$flavour_firmware" != "" ]; then              \
  163.     for flav in $flavour_firmware; do               \
  164.     name=`echo $flav | sed 's/.*\/firmware.amd64-//'`;  \
  165.     mkdir /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name;       \
  166.     (cd /tmp/buildd/linux-3.16.0/debian/build/firmware/; tar cf - `cat ../$flav`) | \
  167.         (cd /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name/; tar xf -);\
  168.     touch /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name/kernel-image;  \
  169.     done;                           \
  170. fi
  171. # Some files may need to differ between flavours
  172. flavour_module_dirs=`ls -d debian.master/d-i/modules-amd64-* 2>/dev/null`\
  173.     || true;                        \
  174. if [ "$flavour_module_dirs" ]; then             \
  175.     for flav in $flavour_module_dirs; do            \
  176.     name=`echo $flav | sed 's/.*\/modules-amd64-//'`;   \
  177.     [ -d /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name ] ||     \
  178.         cp -a /tmp/buildd/linux-3.16.0/debian/build/modules/amd64           \
  179.         modules/amd64-$name;                \
  180.     cp $flav/* /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name/;  \
  181.     done;                           \
  182. fi
  183. flavour_firmware_dirs=`ls -d debian.master/d-i/firmware-amd64-* 2>/dev/null`\
  184.     || true;                        \
  185. if [ "$flavour_firmware_dirs" ]; then               \
  186.     for flav in $flavour_firmware_dirs; do          \
  187.     name=`echo $flav | sed 's/.*\/firmware-amd64-//'`;  \
  188.     [ -d /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name ] ||        \
  189.         cp -a /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64          \
  190.         firmware/amd64-$name;           \
  191.     cp $flav/* /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name/; \
  192.     done;                           \
  193. fi
  194. # Remove unwanted stuff for each flavour
  195. flavour_exclude=`ls debian.master/d-i/exclude-modules.amd64-* 2>/dev/null`\
  196.     || true;                        \
  197. if [ "$flavour_exclude" ]; then             \
  198.     for flav in $flavour_exclude; do                \
  199.     name=`echo $flav | sed 's/.*\/exclude-modules.amd64-//'`;\
  200.     [ -d /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name ] ||     \
  201.         cp -a /tmp/buildd/linux-3.16.0/debian/build/modules/amd64           \
  202.         /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name;      \
  203.     (cat $flav;                     \
  204.      ls /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name) |        \
  205.      sort | uniq -d |                   \
  206.         (cd /tmp/buildd/linux-3.16.0/debian/build/modules/amd64-$name/;     \
  207.          xargs rm -f);                  \
  208.     done;                           \
  209. fi
  210. flavour_exclude=`ls debian.master/d-i/exclude-firmware.amd64-* 2>/dev/null`\
  211.     || true;                        \
  212. if [ "$flavour_exclude" ]; then             \
  213.     for flav in $flavour_exclude; do                \
  214.     name=`echo $flav | sed 's/.*\/exclude-firmware.amd64-//'`;\
  215.     [ -d /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name ] ||        \
  216.         cp -a /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64          \
  217.         /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name;     \
  218.     (cat $flav;                     \
  219.      ls /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name) |       \
  220.      sort | uniq -d |                   \
  221.         (cd /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64-$name/;        \
  222.          xargs rm -f);                  \
  223.     done;                           \
  224. fi
  225. if [ ! -d /tmp/buildd/linux-3.16.0/debian/build/modules/x86_64 ]; then      \
  226.     mkdir -p /tmp/buildd/linux-3.16.0/debian/build/modules/x86_64;      \
  227.     cp /tmp/buildd/linux-3.16.0/debian/build/modules/amd64/*            \
  228.         /tmp/buildd/linux-3.16.0/debian/build/modules/x86_64;       \
  229. fi
  230. if [ ! -d /tmp/buildd/linux-3.16.0/debian/build/firmware/x86_64 ]; then     \
  231.     mkdir -p /tmp/buildd/linux-3.16.0/debian/build/firmware/x86_64;     \
  232.     cp /tmp/buildd/linux-3.16.0/debian/build/firmware/amd64/*           \
  233.         /tmp/buildd/linux-3.16.0/debian/build/firmware/x86_64;      \
  234. fi
  235. cp debian.master/control.stub debian/control.stub
  236. cd /tmp/buildd/linux-3.16.0/debian/build && kernel-wedge gen-control > /tmp/buildd/linux-3.16.0/debian/control
  237. Use of uninitialized value $builddep in string ne at /usr/share/kernel-wedge/commands/gen-control line 43, <KVERS> line 6.
  238. Use of uninitialized value $builddep in split at /usr/share/kernel-wedge/commands/gen-control line 44, <KVERS> line 6.
  239. Use of uninitialized value $builddep in string ne at /usr/share/kernel-wedge/commands/gen-control line 43, <KVERS> line 8.
  240. Use of uninitialized value $builddep in split at /usr/share/kernel-wedge/commands/gen-control line 44, <KVERS> line 8.
  241. Use of uninitialized value $builddep in string ne at /usr/share/kernel-wedge/commands/gen-control line 43, <KVERS> line 10.
  242. Use of uninitialized value $builddep in split at /usr/share/kernel-wedge/commands/gen-control line 44, <KVERS> line 10.
  243. Use of uninitialized value $builddep in string ne at /usr/share/kernel-wedge/commands/gen-control line 43, <KVERS> line 12.
  244. Use of uninitialized value $builddep in split at /usr/share/kernel-wedge/commands/gen-control line 44, <KVERS> line 12.
  245. dh_testdir
  246. dh_testroot
  247. dh_clean
  248. # d-i stuff
  249. rm -rf debian.master/d-i-amd64
  250. # Generated on the fly.
  251. rm -f debian.master/d-i/firmware/kernel-image
  252. # normal build junk
  253. rm -rf debian.master/abi/3.16.0-230.31
  254. rm -rf /tmp/buildd/linux-3.16.0/debian/build
  255. rm -f /tmp/buildd/linux-3.16.0/debian/stamps/stamp-*
  256. rm -rf debian.master/linux-*
  257. # This gets rid of the d-i packages in control
  258. cp -f debian.master/control.stub debian.master/control
  259. cp debian.master/changelog debian/changelog
  260. # Install the copyright information.
  261. cp debian.master/copyright debian/copyright
  262.  dpkg-source -b linux-3.16.0
  263. dpkg-source: info: using source format `1.0'
  264. dpkg-source: info: building linux in linux_3.16.0-230.31.tar.gz
  265. dpkg-source: info: building linux in linux_3.16.0-230.31.dsc
  266. debian/rules build
  267. Debug: /tmp/buildd/linux-3.16.0/debian/stamps/stamp-prepare-tree-generic
  268. install -d /tmp/buildd/linux-3.16.0/debian/build/build-generic
  269. touch /tmp/buildd/linux-3.16.0/debian/build/build-generic/ubuntu-build
  270. [ "false" != 'true' ] && true || \
  271.     rsync -a --exclude debian --exclude debian.master --exclude debian.master * /tmp/buildd/linux-3.16.0/debian/build/build-generic
  272. 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
  273. find /tmp/buildd/linux-3.16.0/debian/build/build-generic -name "*.ko" | xargs rm -f
  274. 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
  275. make[1]: Entering directory '/tmp/buildd/linux-3.16.0'
  276. make[1]: Entering directory `/tmp/buildd/linux-3.16.0/debian/build/build-generic'
  277.   HOSTCC  scripts/basic/fixdep
  278.   GEN     ./Makefile
  279.   HOSTCC  scripts/kconfig/conf.o
  280.   SHIPPED scripts/kconfig/zconf.tab.c
  281.   SHIPPED scripts/kconfig/zconf.lex.c
  282.   SHIPPED scripts/kconfig/zconf.hash.c
  283.   HOSTCC  scripts/kconfig/zconf.tab.o
  284. In file included from scripts/kconfig/zconf.tab.c:2537:0:
  285. /tmp/buildd/linux-3.16.0/scripts/kconfig/menu.c: In function 'get_symbol_str':
  286. /tmp/buildd/linux-3.16.0/scripts/kconfig/menu.c:590:18: warning: 'jump' may be used uninitialized in this function [-Wmaybe-uninitialized]
  287.      jump->offset = strlen(r->s);
  288.                   ^
  289. /tmp/buildd/linux-3.16.0/scripts/kconfig/menu.c:551:19: note: 'jump' was declared here
  290.   struct jump_key *jump;
  291.                    ^
  292.   HOSTLD  scripts/kconfig/conf
  293. scripts/kconfig/conf --silentoldconfig Kconfig
  294. .config:3744:warning: override: M686 changes choice state
  295. .config:7126:warning: override: TREE_RCU changes choice state
  296. .config:8204:warning: override: MUSB_PIO_ONLY changes choice state
  297. #
  298. # configuration written to .config
  299. #
  300.   SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
  301.   SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
  302.   SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h
  303.   SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_64.h
  304.   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
  305.   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
  306.   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
  307.   HOSTCC  arch/x86/tools/relocs_32.o
  308.   HOSTCC  arch/x86/tools/relocs_64.o
  309.   HOSTCC  arch/x86/tools/relocs_common.o
  310.   HOSTLD  arch/x86/tools/relocs
  311.   CHK     include/config/kernel.release
  312.   UPD     include/config/kernel.release
  313.   Using /tmp/buildd/linux-3.16.0 as source for kernel
  314.   GEN     ./Makefile
  315.   WRAP    arch/x86/include/generated/asm/clkdev.h
  316.   WRAP    arch/x86/include/generated/asm/early_ioremap.h
  317.   WRAP    arch/x86/include/generated/asm/cputime.h
  318.   WRAP    arch/x86/include/generated/asm/mcs_spinlock.h
  319.   CHK     include/generated/uapi/linux/version.h
  320.   UPD     include/generated/uapi/linux/version.h
  321.   CHK     include/generated/utsrelease.h
  322.   UPD     include/generated/utsrelease.h
  323.   CC      kernel/bounds.s
  324.   GEN     include/generated/bounds.h
  325.   CC      arch/x86/kernel/asm-offsets.s
  326.   GEN     include/generated/asm-offsets.h
  327.   CALL    /tmp/buildd/linux-3.16.0/scripts/checksyscalls.sh
  328.   HOSTCC  scripts/genksyms/genksyms.o
  329.   SHIPPED scripts/genksyms/lex.lex.c
  330.   SHIPPED scripts/genksyms/keywords.hash.c
  331.   SHIPPED scripts/genksyms/parse.tab.h
  332.   HOSTCC  scripts/genksyms/lex.lex.o
  333.   SHIPPED scripts/genksyms/parse.tab.c
  334.   HOSTCC  scripts/genksyms/parse.tab.o
  335.   HOSTLD  scripts/genksyms/genksyms
  336.   CC      scripts/mod/empty.o
  337.   HOSTCC  scripts/mod/mk_elfconfig
  338.   MKELF   scripts/mod/elfconfig.h
  339.   CC      scripts/mod/devicetable-offsets.s
  340.   GEN     scripts/mod/devicetable-offsets.h
  341.   HOSTCC  scripts/mod/file2alias.o
  342.   HOSTCC  scripts/mod/modpost.o
  343.   HOSTCC  scripts/mod/sumversion.o
  344.   HOSTLD  scripts/mod/modpost
  345.   HOSTCC  scripts/selinux/genheaders/genheaders
  346.   HOSTCC  scripts/selinux/mdp/mdp
  347.   HOSTCC  scripts/kallsyms
  348.   HOSTCC  scripts/conmakehash
  349.   HOSTCC  scripts/recordmcount
  350.   HOSTCC  scripts/sortextable
  351. In file included from /tmp/buildd/linux-3.16.0/scripts/sortextable.c:194:0:
  352. /tmp/buildd/linux-3.16.0/scripts/sortextable.c: In function 'main':
  353. /tmp/buildd/linux-3.16.0/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
  354.    memset(relocs, 0, relocs_size);
  355.    ^
  356. /tmp/buildd/linux-3.16.0/scripts/sortextable.h:106:6: note: 'relocs_size' was declared here
  357.   int relocs_size;
  358.       ^
  359. In file included from /tmp/buildd/linux-3.16.0/scripts/sortextable.c:192:0:
  360. /tmp/buildd/linux-3.16.0/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
  361.    memset(relocs, 0, relocs_size);
  362.    ^
  363. /tmp/buildd/linux-3.16.0/scripts/sortextable.h:106:6: note: 'relocs_size' was declared here
  364.   int relocs_size;
  365.       ^
  366.   HOSTCC  scripts/asn1_compiler
  367. make[1]: Leaving directory '/tmp/buildd/linux-3.16.0'
  368. touch /tmp/buildd/linux-3.16.0/debian/stamps/stamp-prepare-tree-generic
  369. Debug: config-prepare-check-generic
  370. check-config: /tmp/buildd/linux-3.16.0/debian/build/build-generic/.config: loading config
  371. check-config: /tmp/buildd/linux-3.16.0/debian.master/config/enforce: loading checks
  372. check-config: 47/47 checks passed -- exit 0
  373. Debug: /tmp/buildd/linux-3.16.0/debian/stamps/stamp-prepare-generic
  374. Debug: /tmp/buildd/linux-3.16.0/debian/stamps/stamp-build-generic build_image bzImage bldimg bzImage
  375. 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
  376. make[1]: Entering directory '/tmp/buildd/linux-3.16.0'
  377. make[1]: Entering directory `/tmp/buildd/linux-3.16.0/debian/build/build-generic'
  378.  CHK     include/config/kernel.release
  379.  GEN     ./Makefile
  380.  CHK     include/generated/uapi/linux/version.h
  381.  Using /tmp/buildd/linux-3.16.0 as source for kernel
  382.  CHK     include/generated/utsrelease.h
  383.  CALL    /tmp/buildd/linux-3.16.0/scripts/checksyscalls.sh
  384.  CC      init/main.o
  385.  CHK     include/generated/compile.h
  386.  CC      init/do_mounts.o
  387.  UPD     include/generated/compile.h
  388.  CC      init/do_mounts_rd.o
  389.  CC      init/do_mounts_initrd.o
  390.  CC      init/do_mounts_md.o
  391.  CC      init/initramfs.o
  392.  CC      init/calibrate.o
  393.  
  394. ##IT CONTINUES TO BUILDING MODULES AND DRIVERS WITH SOME MAYBE UNRELATED ERRORS LIKE:##
  395.  
  396.  
  397.  CC      arch/x86/kernel/ioport.o
  398.  CC      arch/x86/kernel/ldt.o
  399. /tmp/buildd/linux-3.16.0/fs/namespace.c: In function 'SyS_mount':
  400. /tmp/buildd/linux-3.16.0/fs/namespace.c:2746:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
  401.  ret = do_mount(kernel_dev, kernel_dir->name, kernel_type, flags,
  402.        ^
  403. /tmp/buildd/linux-3.16.0/fs/namespace.c:2725:8: note: 'kernel_dev' was declared here
  404.  char *kernel_dev;
  405.        ^
  406. /tmp/buildd/linux-3.16.0/fs/namespace.c:2746:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
  407.  ret = do_mount(kernel_dev, kernel_dir->name, kernel_type, flags,
  408.        ^
  409. /tmp/buildd/linux-3.16.0/fs/namespace.c:2723:8: note: 'kernel_type' was declared here
  410.  char *kernel_type;
  411.        ^
  412.  CC      kernel/task_work.o
  413.  CC      mm/compaction.o
  414.  
  415. IT CONTINUES TO BUILDING MODULES AND DRIVERS WITH SOME EXTRA ERRORS LIKE:
  416.  
  417.  CC [M]  sound/soc/soc-compress.o
  418.  CC [M]  net/atm/atm_sysfs.o
  419. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c: In function 'soc_compr_open_fe':
  420. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:102:1: error: expected expression before '<<' token
  421. <<<<<<< HEAD
  422. ^
  423. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:109:9: error: invalid suffix "d1419f..." on integer constant
  424. >>>>>>> 7d1419f... Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6
  425.         ^
  426. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:109:33: warning: character constant too long for its type
  427. >>>>>>> 7d1419f... Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6
  428.                                 ^
  429. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:612:11: error: 'soc_compr_free_fe' undeclared (first use in this function)
  430.  .free  = soc_compr_free_fe,
  431.           ^
  432. /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
  433. /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)
  434.  .set_params = soc_compr_set_params_fe,
  435.                ^
  436. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:614:16: error: 'soc_compr_get_params' undeclared (first use in this function)
  437.  .get_params = soc_compr_get_params,
  438.                ^
  439. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:615:20: error: 'soc_compr_set_metadata' undeclared (first use in this function)
  440.  .set_metadata   = soc_compr_set_metadata,
  441.                    ^
  442. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:616:18: error: 'soc_compr_get_metadata' undeclared (first use in this function)
  443.  .get_metadata = soc_compr_get_metadata,
  444.                  ^
  445. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:617:13: error: 'soc_compr_trigger_fe' undeclared (first use in this function)
  446.  .trigger = soc_compr_trigger_fe,
  447.             ^
  448. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:618:13: error: 'soc_compr_pointer' undeclared (first use in this function)
  449.  .pointer = soc_compr_pointer,
  450.             ^
  451. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:619:10: error: 'soc_compr_ack' undeclared (first use in this function)
  452.  .ack  = soc_compr_ack,
  453.          ^
  454. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:620:14: error: 'soc_compr_get_caps' undeclared (first use in this function)
  455.  .get_caps = soc_compr_get_caps,
  456.              ^
  457. /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)
  458.  .get_codec_caps = soc_compr_get_codec_caps
  459.                    ^
  460. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:610:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  461. static struct snd_compr_ops soc_compr_dyn_ops = {
  462. ^
  463. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c: In function 'soc_new_compress':
  464. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:653:51: error: 'soc_compr_ops' undeclared (first use in this function)
  465.  compr->ops = devm_kzalloc(rtd->card->dev, sizeof(soc_compr_ops),
  466.                                                   ^
  467. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:683:22: error: 'soc_compr_copy' undeclared (first use in this function)
  468.   compr->ops->copy = soc_compr_copy;
  469.                      ^
  470. In file included from /tmp/buildd/linux-3.16.0/include/linux/srcu.h:34:0,
  471.                 from /tmp/buildd/linux-3.16.0/include/linux/notifier.h:15,
  472.                 from /tmp/buildd/linux-3.16.0/include/linux/memory_hotplug.h:6,
  473.                 from /tmp/buildd/linux-3.16.0/include/linux/mmzone.h:826,
  474.                 from /tmp/buildd/linux-3.16.0/include/linux/gfp.h:5,
  475.                 from /tmp/buildd/linux-3.16.0/include/linux/slab.h:14,
  476.                 from /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:20:
  477. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:694:40: error: 'close_delayed_work' undeclared (first use in this function)
  478.  INIT_DELAYED_WORK(&rtd->delayed_work, close_delayed_work);
  479.                                        ^
  480. /tmp/buildd/linux-3.16.0/include/linux/workqueue.h:218:20: note: in definition of macro '__INIT_WORK'
  481.   (_work)->func = (_func);    \
  482.                    ^
  483. /tmp/buildd/linux-3.16.0/include/linux/workqueue.h:234:3: note: in expansion of macro 'INIT_WORK'
  484.   INIT_WORK(&(_work)->work, (_func));   \
  485.   ^
  486. /tmp/buildd/linux-3.16.0/include/linux/workqueue.h:250:2: note: in expansion of macro '__INIT_DELAYED_WORK'
  487.  __INIT_DELAYED_WORK(_work, _func, 0)
  488.  ^
  489. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:694:2: note: in expansion of macro 'INIT_DELAYED_WORK'
  490.  INIT_DELAYED_WORK(&rtd->delayed_work, close_delayed_work);
  491.  ^
  492. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c: In function 'soc_compr_open_fe':
  493. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:706:1: error: expected declaration or statement at end of input
  494. }
  495. ^
  496. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:96:4: error: label 'machine_err' used but not defined
  497.    goto machine_err;
  498.    ^
  499. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:88:4: error: label 'out' used but not defined
  500.    goto out;
  501.    ^
  502. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:73:35: warning: unused variable 'list' [-Wunused-variable]
  503.  struct snd_soc_dapm_widget_list *list;
  504.                                   ^
  505. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:72:23: warning: unused variable 'dpcm' [-Wunused-variable]
  506.  struct snd_soc_dpcm *dpcm;
  507.                       ^
  508. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:706:1: warning: no return statement in function returning non-void [-Wreturn-type]
  509. }
  510. ^
  511. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c: At top level:
  512. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:29:12: warning: 'soc_compr_open' defined but not used [-Wunused-function]
  513. static int soc_compr_open(struct snd_compr_stream *cstream)
  514.            ^
  515. /tmp/buildd/linux-3.16.0/sound/soc/soc-compress.c:67:12: warning: 'soc_compr_open_fe' defined but not used [-Wunused-function]
  516. static int soc_compr_open_fe(struct snd_compr_stream *cstream)
  517.            ^
  518. /tmp/buildd/linux-3.16.0/scripts/Makefile.build:257: recipe for target 'sound/soc/soc-compress.o' failed
  519. make[4]: *** [sound/soc/soc-compress.o] Error 1
  520. /tmp/buildd/linux-3.16.0/scripts/Makefile.build:404: recipe for target 'sound/soc' failed
  521. make[3]: *** [sound/soc] Error 2
  522. /tmp/buildd/linux-3.16.0/Makefile:911: recipe for target 'sound' failed
  523. make[2]: *** [sound] Error 2
  524. make[2]: *** Waiting for unfinished jobs....
  525.  CC [M]  net/atm/proc.o
  526.  CC      drivers/cpuidle/governor.o
  527.  
  528.  
  529. ##IT CONTINUES TO BUILDING MODULES AND DRIVERS, AND SOME OTHER ERRORS APPEAR:##
  530.  
  531. CC [M]  fs/xfs/xfs_super.o
  532.  CC [M]  drivers/hwmon/adt7410.o
  533. /tmp/buildd/linux-3.16.0/drivers/gpu/drm/nouveau/nouveau_chan.c: In function 'nouveau_channel_init':
  534. /tmp/buildd/linux-3.16.0/drivers/gpu/drm/nouveau/nouveau_chan.c:371:9: error: 'cli' undeclared (first use in this function)
  535.  save = cli->base.super;
  536.         ^
  537. /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
  538. /tmp/buildd/linux-3.16.0/scripts/Makefile.build:257: recipe for target 'drivers/gpu/drm/nouveau/nouveau_chan.o' failed
  539. make[6]: *** [drivers/gpu/drm/nouveau/nouveau_chan.o] Error 1
  540. /tmp/buildd/linux-3.16.0/scripts/Makefile.build:404: recipe for target 'drivers/gpu/drm/nouveau' failed
  541. make[5]: *** [drivers/gpu/drm/nouveau] Error 2
  542. /tmp/buildd/linux-3.16.0/scripts/Makefile.build:404: recipe for target 'drivers/gpu/drm' failed
  543. make[4]: *** [drivers/gpu/drm] Error 2
  544. /tmp/buildd/linux-3.16.0/scripts/Makefile.build:404: recipe for target 'drivers/gpu' failed
  545. make[3]: *** [drivers/gpu] Error 2
  546. make[3]: *** Waiting for unfinished jobs....
  547.  CC [M]  drivers/hwmon/adt7411.o
  548.  CC [M]  net/ipv4/netfilter/nf_nat_snmp_basic.o
  549.  
  550. ##BUT IT CONTINUES TO BUILDING MODULES AND DRIVERS, UNTIL EVENTUALLY FAILS IN FOLLOWING:##
  551.  
  552.  CC [M]  net/netfilter/ipvs/ip_vs_pe_sip.o
  553.  LD [M]  net/netfilter/ipvs/ip_vs.o
  554.  LD      net/built-in.o
  555. Makefile:181: recipe for target 'sub-make' failed
  556. make[1]: *** [sub-make] Error 2
  557. make[1]: Leaving directory '/tmp/buildd/linux-3.16.0'
  558. debian/rules.d/2-binary-arch.mk:45: recipe for target '/tmp/buildd/linux-3.16.0/debian/stamps/stamp-build-generic' failed
  559. make: *** [/tmp/buildd/linux-3.16.0/debian/stamps/stamp-build-generic] Error 2
  560. dpkg-buildpackage: error: debian/rules build gave error exit status 2
  561. E: Failed autobuilding of package
  562. I: unmounting dev/pts filesystem
  563. I: unmounting run/shm filesystem
  564. I: unmounting proc filesystem
  565. I: cleaning the build env
  566. I: removing directory /var/cache/pbuilder/build//12659 and its subdirectories
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement