Skip to content

Instantly share code, notes, and snippets.

View autarch's full-sized avatar

Dave Rolsky autarch

View GitHub Profile
use strict;
use warnings;
use v5.20;
{
package RoleA;
use Moose::Role;
requires 'foo';
autarch@houseabsolute:~/work/libmaxminddb (ubuntu-ppa $=)$ dput ppa:maxmind/ppa ../libmaxminddb_1.1.3-0+maxmind1~wily_source.changes
Checking signature on .changes
gpg: Signature made Tue 05 Jan 2016 04:55:55 PM CST using RSA key ID 9440606A
gpg: Good signature from "Dave Rolsky (MaxMind, Inc.) <drolsky@maxmind.com>"
Good signature on ../libmaxminddb_1.1.3-0+maxmind1~wily_source.changes.
Checking signature on .dsc
gpg: Signature made Tue 05 Jan 2016 04:55:42 PM CST using RSA key ID 9440606A
gpg: Good signature from "Dave Rolsky (MaxMind, Inc.) <drolsky@maxmind.com>"
Good signature on ../libmaxminddb_1.1.3-0+maxmind1~wily.dsc.
Package includes an .orig.tar.gz file although the debian revision suggests
autarch@houseabsolute:~/work/libmaxminddb (ubuntu-ppa $>)$
autarch@houseabsolute:~/work/libmaxminddb (ubuntu-ppa $>)$ gbp buildpackage -S
dpkg-buildpackage -rfakeroot -d -us -uc -i -I -S
dpkg-buildpackage: source package libmaxminddb
dpkg-buildpackage: source version 1.1.3-0+maxmind1~wily
dpkg-buildpackage: source distribution wily
dpkg-buildpackage: source changed by Dave Rolsky (MaxMind, Inc.) <drolsky@maxmind.com>
dpkg-source -i -I --before-build libmaxminddb
fakeroot debian/rules clean
dh clean --with autoreconf
use v6;
use File::Find;
use Config::INI;
sub find-classes {
my @classes = gather {
my @inspect = GLOBAL::.values;
while @inspect.shift -> $c {
Cannot call magic_buffer(File::LibMagic::Cookie, NativeCall::Types::CArray[uint8], int); none of these signatures match:
(File::LibMagic::Cookie, NativeCall::Types::CArray[uint8], int --> Str)
in method magic-buffer at /home/autarch/projects/perl6/File-LibMagic/lib/File/LibMagic.pm6 line 62
in method info-using at /home/autarch/projects/perl6/File-LibMagic/lib/File/LibMagic.pm6 line 129
in method from-buffer at /home/autarch/projects/perl6/File-LibMagic/lib/File/LibMagic.pm6 line 120
in block at t/basic.t line 45
in sub subtest at /home/autarch/.rakudobrew/moar-nom/install/share/perl6/sources/86C5CAEAA0B9F3B591D5F0072DF4FDF9D01FD952 line 296
in sub test-flm at t/basic.t line 35
in block at t/basic.t line 29
in block <unit> at t/basic.t line 7
Bytecode validation error at offset 104, instruction 16:
operand type 32 does not match register type 24
in block <unit> at t/basic.t line 7
use v6;
use NativeCall;
unit class File::LibMagic;
my @flags = <
MAGIC_APPLE
MAGIC_CHECK
MAGIC_COMPRESS
MAGIC_CONTINUE
Package Pod::TreeWalker is insufficiently type-like to qualify a variable
at /home/autarch/projects/perl6/perl6-advent-2015-article/./bin/pod-treewalker.p6:7
------> has Pod::TreeWalker $!walker⏏ = Pod::TreeWalker.new( :listener(self)
expecting any of:
constraint
===SORRY!=== Error while compiling /home/autarch/projects/perl6/perl6-advent-2015-article/./bin/pod-treewalker.p6
Package Pod::TreeWalker is insufficiently type-like to qualify a variable
at /home/autarch/projects/perl6/perl6-advent-2015-article/./bin/pod-treewalker.p6:7
------> has Pod::TreeWalker $!walker⏏ = Pod::TreeWalker.new( :listener(self)
expecting any of:
constraint
my $items = (1..20);
my $i = 0;
my $s = $items.Supply.throttle( 3,
{
say "$*THREAD.id(): start $_";
},
);
$s.wait