Skip Menu |

This queue is for tickets about the Device-BCM2835 CPAN distribution.

Report information
The Basics
Id: 86104
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: Device-BCM2835

People
Owner: MIKEM [...] cpan.org
Requestors: BlueT [...] BlueT.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.8
Fixed in: (no value)



Subject: FTBFS (make test hangs)
root@raspberrypi:/home/pi/Device-BCM2835-1.8# perl ./Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Device::BCM2835 Writing MYMETA.yml root@raspberrypi:/home/pi/Device-BCM2835-1.8# make cp lib/Device/BCM2835.pm blib/lib/Device/BCM2835.pm AutoSplitting blib/lib/Device/BCM2835.pm (blib/lib/auto/Device/BCM2835) /usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.14/ExtUtils/typemap -typemap typemap BCM2835.xs > BCM2835.xsc && mv BCM2835.xsc BCM2835.c Please specify prototyping behavior for BCM2835.xs (see perlxs manual) cc -c -I/usr/local/projects/bcm2835/src -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.8\" -DXS_VERSION=\"1.8\" -fPIC "-I/usr/lib/perl/5.14/CORE" BCM2835.c Running Mkbootstrap for Device::BCM2835 () chmod 644 BCM2835.bs rm -f blib/arch/auto/Device/BCM2835/BCM2835.so cc -shared -L/usr/local/lib -fstack-protector BCM2835.o -o blib/arch/auto/Device/BCM2835/BCM2835.so \ -lbcm2835 -lrt \ chmod 755 blib/arch/auto/Device/BCM2835/BCM2835.so cp BCM2835.bs blib/arch/auto/Device/BCM2835/BCM2835.bs chmod 644 blib/arch/auto/Device/BCM2835/BCM2835.bs Manifying blib/man3/Device::BCM2835.3pm root@raspberrypi:/home/pi/Device-BCM2835-1.8# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Device-BCM2835.t .. 1/5 # And hangs forever, with high CPU usage (97.8%) pi@raspberrypi ~/Device-BCM2835-1.8 $ ps aux|grep perl|grep MM|grep Devi root 14576 97.8 1.3 10736 6724 pts/1 R+ 10:15 0:44 /usr/bin/perl -MExtUtils::Command::MM -e test_harness(0, 'blib/lib', 'blib/arch') t/Device-BCM2835.t Env: pi@raspberrypi ~ $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.0 (wheezy) Release: 7.0 Codename: wheezy pi@raspberrypi ~ $ uname -a Linux raspberrypi 3.6.11+ #456 PREEMPT Mon May 20 17:42:15 BST 2013 armv6l GNU/Linux root@raspberrypi:/home/pi/Device-BCM2835-1.8# perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for arm-linux-gnueabihf-thread-multi-64int (with 80 registered patches, see perl -V for more detail) Copyright 1987-2011, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. pi@raspberrypi ~ $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf Thread model: posix gcc version 4.6.3 (Debian 4.6.3-14+rpi1) pi@raspberrypi ~ $ dpkg -L bcm2835 /. /usr /usr/local /usr/local/include /usr/local/include/bcm2835.h /usr/local/lib /usr/local/lib/libbcm2835.a /usr/share /usr/share/doc /usr/share/doc/bcm2835 /usr/share/doc/bcm2835/doc /usr/share/doc/bcm2835/doc/Makefile.am /usr/share/doc/bcm2835/doc/Makefile /usr/share/doc/bcm2835/doc/Makefile.in /usr/share/doc/bcm2835/doc/Doxyfile.in /usr/share/doc/bcm2835/INSTALL /usr/share/doc/bcm2835/COPYING /usr/share/doc/bcm2835/README /usr/share/doc/bcm2835/ChangeLog /usr/share/doc/bcm2835/NEWS /usr/share/doc/bcm2835/AUTHORS # I installed your bcm2835 with checkinstall, so I can search it Hope these info helps.... Best wishes, BlueT
Subject: Re: [rt.cpan.org #86104] FTBFS (make test hangs)
Date: Thu, 13 Jun 2013 15:53:02 +1000
To: bug-Device-BCM2835 [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Hello, thanks for reporting this. This was due to some tests that did not work correctly when run as an ordinary user on RPi. I have now uploaded a new version 1.9 that should fix this problem. Cheers. On Wednesday, June 12, 2013 10:19:01 PM you wrote: Show quoted text
> Wed Jun 12 22:19:01 2013: Request 86104 was acted upon. > Transaction: Ticket created by BLUET > Queue: Device-BCM2835 > Subject: FTBFS (make test hangs) > Broken in: 1.8 > Severity: Critical > Owner: Nobody > Requestors: BlueT@BlueT.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=86104 > > > > root@raspberrypi:/home/pi/Device-BCM2835-1.8# perl ./Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for Device::BCM2835 > Writing MYMETA.yml > root@raspberrypi:/home/pi/Device-BCM2835-1.8# make > cp lib/Device/BCM2835.pm blib/lib/Device/BCM2835.pm > AutoSplitting blib/lib/Device/BCM2835.pm (blib/lib/auto/Device/BCM2835) > /usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap > /usr/share/perl/5.14/ExtUtils/typemap -typemap typemap BCM2835.xs > > BCM2835.xsc && mv BCM2835.xsc BCM2835.c Please specify prototyping behavior > for BCM2835.xs (see perlxs manual) cc -c -I/usr/local/projects/bcm2835/src > -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing > -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 > -g -DVERSION=\"1.8\" -DXS_VERSION=\"1.8\" -fPIC > "-I/usr/lib/perl/5.14/CORE" BCM2835.c Running Mkbootstrap for > Device::BCM2835 () > chmod 644 BCM2835.bs > rm -f blib/arch/auto/Device/BCM2835/BCM2835.so > cc -shared -L/usr/local/lib -fstack-protector BCM2835.o -o > blib/arch/auto/Device/BCM2835/BCM2835.so \ -lbcm2835 -lrt \ > > chmod 755 blib/arch/auto/Device/BCM2835/BCM2835.so > cp BCM2835.bs blib/arch/auto/Device/BCM2835/BCM2835.bs > chmod 644 blib/arch/auto/Device/BCM2835/BCM2835.bs > Manifying blib/man3/Device::BCM2835.3pm > root@raspberrypi:/home/pi/Device-BCM2835-1.8# make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Device-BCM2835.t .. 1/5 > > # And hangs forever, with high CPU usage (97.8%) > pi@raspberrypi ~/Device-BCM2835-1.8 $ ps aux|grep perl|grep MM|grep Devi > root 14576 97.8 1.3 10736 6724 pts/1 R+ 10:15 0:44 > /usr/bin/perl -MExtUtils::Command::MM -e test_harness(0, 'blib/lib', > 'blib/arch') t/Device-BCM2835.t > > > > > Env: > > pi@raspberrypi ~ $ lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 7.0 (wheezy) > Release: 7.0 > Codename: wheezy > pi@raspberrypi ~ $ uname -a > Linux raspberrypi 3.6.11+ #456 PREEMPT Mon May 20 17:42:15 BST 2013 armv6l > GNU/Linux root@raspberrypi:/home/pi/Device-BCM2835-1.8# perl -v > > This is perl 5, version 14, subversion 2 (v5.14.2) built for > arm-linux-gnueabihf-thread-multi-64int (with 80 registered patches, see > perl -V for more detail) > > Copyright 1987-2011, Larry Wall > > Perl may be copied only under the terms of either the Artistic License or > the GNU General Public License, which may be found in the Perl 5 source > kit. > > Complete documentation for Perl, including FAQ lists, should be found on > this system using "man perl" or "perldoc perl". If you have access to the > Internet, point your browser at http://www.perl.org/, the Perl Home Page. > > pi@raspberrypi ~ $ gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper > Target: arm-linux-gnueabihf > Configured with: ../src/configure -v --with-pkgversion='Debian > 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs > --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr > --program-suffix=-4.6 --enable-shared --enable-linker-build-id > --with-system-zlib --libexecdir=/usr/lib --without-included-gettext > --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 > --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu > --enable-libstdcxx-debug --enable-libstdcxx-time=yes > --enable-gnu-unique-object --enable-plugin --enable-objc-gc > --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp > --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf > --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf Thread model: posix > gcc version 4.6.3 (Debian 4.6.3-14+rpi1) > pi@raspberrypi ~ $ dpkg -L bcm2835 > /. > /usr > /usr/local > /usr/local/include > /usr/local/include/bcm2835.h > /usr/local/lib > /usr/local/lib/libbcm2835.a > /usr/share > /usr/share/doc > /usr/share/doc/bcm2835 > /usr/share/doc/bcm2835/doc > /usr/share/doc/bcm2835/doc/Makefile.am > /usr/share/doc/bcm2835/doc/Makefile > /usr/share/doc/bcm2835/doc/Makefile.in > /usr/share/doc/bcm2835/doc/Doxyfile.in > /usr/share/doc/bcm2835/INSTALL > /usr/share/doc/bcm2835/COPYING > /usr/share/doc/bcm2835/README > /usr/share/doc/bcm2835/ChangeLog > /usr/share/doc/bcm2835/NEWS > /usr/share/doc/bcm2835/AUTHORS > > # I installed your bcm2835 with checkinstall, so I can search it > > > > Hope these info helps.... > > > Best wishes, > BlueT
-- Mike McCauley mikem@airspayce.com Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474 Fax +61 7 5598-7070