Bug#814556: nvidia-modprobe: Can not build nvidia-modprobe_358.09-1 on Wheezy

Wylda wylda at volny.cz
Fri Feb 12 23:04:28 UTC 2016


Package: nvidia-modprobe
Version: 358.09-1
Severity: normal

Dear Maintainer,
i have a problem with source package nvidia-modprobe. I own
Nvidia GTX 970 and i already built nvidia-driver including all
its dependecies. The last one, which can not be built cleanly
is nvidia-modprobe. It _probably_ fails somewhere in MANPAGE.

I somehow rip that part from Makefile and it built finaly.
But i don't know what i was doing ;) and i would appreciate
a clean build. There is the problem:


$ dpkg-buildpackage -b -tc -us -uc

dpkg-buildpackage: source package nvidia-modprobe
dpkg-buildpackage: source version 358.09-1
dpkg-buildpackage: source changed by Andreas Beckmann <anbe at debian.org>
 dpkg-source --before-build nvidia-modprobe-358.09
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh clean
dpkg-parsechangelog: unknown option `-S'

   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/build/nvidia/nvidia-modprobe-358.09'
dh_auto_clean
dpkg-parsechangelog: unknown option `-S'

make[2]: Entering directory `/build/nvidia/nvidia-modprobe-358.09'
rm -rf _out/Linux_x86/nvidia-modprobe _out/Linux_x86/nvidia-modprobe.1.gz *~ _out/Linux_x86/g_stamp.c \
          _out/Linux_x86/*.o _out/Linux_x86/*.d \
          /build/nvidia/nvidia-modprobe-358.09/_out/Linux_x86/gen-manpage-opts _out/Linux_x86/options.1.inc
make[2]: Leaving directory `/build/nvidia/nvidia-modprobe-358.09'
rm -f -r _out */_out
make[1]: Leaving directory `/build/nvidia/nvidia-modprobe-358.09'
   dh_clean
 debian/rules build
dh build
dpkg-parsechangelog: unknown option `-S'

   dh_testdir
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory `/build/nvidia/nvidia-modprobe-358.09'
CC_ONLY_CFLAGS="-D_FORTIFY_SOURCE=2" dh_auto_build -O--parallel
dpkg-parsechangelog: unknown option `-S'

make[2]: Entering directory `/build/nvidia/nvidia-modprobe-358.09'
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -c nvidia-modprobe.c -o _out/Linux_x86/nvidia-modprobe.o && cc -MM -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic nvidia-modprobe.c | sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^nvidia-modprobe.o: ; _out/Linux_x86/nvidia-modprobe.o: ;" > _out/Linux_x86/nvidia-modprobe.d
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -c common-utils/nvgetopt.c -o _out/Linux_x86/nvgetopt.o && cc -MM -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic common-utils/nvgetopt.c | sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^nvgetopt.o: ; _out/Linux_x86/nvgetopt.o: ;" > _out/Linux_x86/nvgetopt.d
common-utils/nvgetopt.c: In function ‘nvgetopt’:
common-utils/nvgetopt.c:219:19: warning: ignoring return value of ‘strtol’, declared with attribute warn_unused_result [-Wunused-result]
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -c common-utils/common-utils.c -o _out/Linux_x86/common-utils.o && cc -MM -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic common-utils/common-utils.c | sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^common-utils.o: ; _out/Linux_x86/common-utils.o: ;" > _out/Linux_x86/common-utils.d
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -c common-utils/msg.c -o _out/Linux_x86/msg.o && cc -MM -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic common-utils/msg.c | sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^msg.o: ; _out/Linux_x86/msg.o: ;" > _out/Linux_x86/msg.d
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -c modprobe-utils/nvidia-modprobe-utils.c -o _out/Linux_x86/nvidia-modprobe-utils.o && cc -MM -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic modprobe-utils/nvidia-modprobe-utils.c | sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^nvidia-modprobe-utils.o: ; _out/Linux_x86/nvidia-modprobe-utils.o: ;" > _out/Linux_x86/nvidia-modprobe-utils.d
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -c modprobe-utils/pci-sysfs.c -o _out/Linux_x86/pci-sysfs.o && cc -MM -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic modprobe-utils/pci-sysfs.c | sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^pci-sysfs.o: ; _out/Linux_x86/pci-sysfs.o: ;" > _out/Linux_x86/pci-sysfs.d
/bin/sh: 1: Syntax error: "(" unexpected
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -c _out/Linux_x86/g_stamp.c -o _out/Linux_x86/g_stamp.o && cc -MM -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic _out/Linux_x86/g_stamp.c | sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^g_stamp.o: ; _out/Linux_x86/g_stamp.o: ;" > _out/Linux_x86/g_stamp.d
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -Wl,-z,relro _out/Linux_x86/nvidia-modprobe.o _out/Linux_x86/g_stamp.o _out/Linux_x86/nvgetopt.o _out/Linux_x86/common-utils.o _out/Linux_x86/msg.o _out/Linux_x86/nvidia-modprobe-utils.o _out/Linux_x86/pci-sysfs.o -o _out/Linux_x86/nvidia-modprobe \
          
strip _out/Linux_x86/nvidia-modprobe
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -Wno-unused-parameter -Wno-format-zero-length -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -c gen-manpage-opts.c -o _out/Linux_x86/gen-manpage-opts.o && cc -MM -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -Wno-unused-parameter -Wno-format-zero-length -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic gen-manpage-opts.c | sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^gen-manpage-opts.o: ; _out/Linux_x86/gen-manpage-opts.o: ;" > _out/Linux_x86/gen-manpage-opts.d
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -Wno-unused-parameter -Wno-format-zero-length -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -c common-utils/gen-manpage-opts-helper.c -o _out/Linux_x86/gen-manpage-opts-helper.o && cc -MM -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -Wno-unused-parameter -Wno-format-zero-length -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic common-utils/gen-manpage-opts-helper.c | sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^gen-manpage-opts-helper.o: ; _out/Linux_x86/gen-manpage-opts-helper.o: ;" > _out/Linux_x86/gen-manpage-opts-helper.d
cc \
            -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86 -DNV_ARCH_BITS=32 -D_FORTIFY_SOURCE=2 -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -Wno-unused-parameter -Wno-format-zero-length -I _out/Linux_x86 -I common-utils -I modprobe-utils -DPROGRAM_NAME=\""nvidia-modprobe"\" -D_BSD_SOURCE -ansi -pedantic -Wl,-z,relro  _out/Linux_x86/gen-manpage-opts.o _out/Linux_x86/gen-manpage-opts-helper.o -o /build/nvidia/nvidia-modprobe-358.09/_out/Linux_x86/gen-manpage-opts
m4 -D__HEADER__=".\\\" WARNING: THIS FILE IS AUTO-GENERATED!  Edit nvidia-modprobe.1.m4 instead." -I _out/Linux_x86 \
          -D__VERSION__=358.09 \
          -D__DATE__="`Usage: dpkg-parsechangelog [<option>...]  Options:   -l<changelog-file>       get per-version info from this file.   -F<changelog-format>     force changelog format.   -L<libdir>               look for changelog parsers in <libdir>.   -?, --help               show this help message.       --version            show the version.  Parser options:     --format <output-format>    see man page for list of available                                 output formats, defaults to 'dpkg'                                 for compatibility with dpkg-dev     --since <version>,          include all changes later than version       -s<version>, -v<version>     --until <version>,          include all changes earlier than version       -u<version>     --from <version>,           include all changes equal or later       -f<version>               than version     --to <version>, -t<version> include all changes up to or equal                                 than version     --count <number>,           include <number> entries from the top       -c<number>, -n<number>    (or the tail if <number> is lower than 0)     --offset <number>,          change the starting point for --count,       -o<number>                counted from the top (or the tail if                                 <number> is lower than 0)     --all                       include all changes +%F`" \
          -D__BUILD_OS__=Linux \
          nvidia-modprobe.1.m4 > _out/Linux_x86/nvidia-modprobe.1
/bin/sh: 1: Syntax error: "(" unexpected
make[2]: *** [_out/Linux_x86/nvidia-modprobe.1] Error 2
make[2]: Leaving directory `/build/nvidia/nvidia-modprobe-358.09'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/nvidia/nvidia-modprobe-358.09'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

 



-- System Information:
Debian Release: 7.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nvidia-modprobe depends on:
ii  libc6  2.13-38+deb7u8

nvidia-modprobe recommends no packages.

nvidia-modprobe suggests no packages.

-- no debconf information



More information about the pkg-nvidia-devel mailing list