Package Details: perl-extutils-xspp 0.18-2

Git Clone URL: https://aur.archlinux.org/perl-extutils-xspp.git (read-only)
Package Base: perl-extutils-xspp
Description: ExtUtils::XSpp - XS for C++
Upstream URL: http://search.cpan.org/dist/ExtUtils-XSpp/
Licenses: GPL, PerlArtistic
Provides: perl-extutils-xspp-cmd, perl-extutils-xspp-driver, perl-extutils-xspp-exception, perl-extutils-xspp-exception-code, perl-extutils-xspp-exception-object, perl-extutils-xspp-exception-perlcode, perl-extutils-xspp-exception-simple, perl-extutils-xspp-exception-stdmessage, perl-extutils-xspp-exception-unknown, perl-extutils-xspp-grammar, perl-extutils-xspp-grammar-yappdriver, perl-extutils-xspp-lexer, perl-extutils-xspp-node, perl-extutils-xspp-node-access, perl-extutils-xspp-node-argument, perl-extutils-xspp-node-class, perl-extutils-xspp-node-comment, perl-extutils-xspp-node-constructor, perl-extutils-xspp-node-destructor, perl-extutils-xspp-node-enum, perl-extutils-xspp-node-enumvalue, perl-extutils-xspp-node-file, perl-extutils-xspp-node-function, perl-extutils-xspp-node-member, perl-extutils-xspp-node-method, perl-extutils-xspp-node-module, perl-extutils-xspp-node-package, perl-extutils-xspp-node-percany, perl-extutils-xspp-node-preprocessor, perl-extutils-xspp-node-raw, perl-extutils-xspp-node-type, perl-extutils-xspp-parser, perl-extutils-xspp-plugin-feature-default_xs_typemap, perl-extutils-xspp-typemap, perl-extutils-xspp-typemap-parsed, perl-extutils-xspp-typemap-reference, perl-extutils-xspp-typemap-simple, perl-extutils-xspp-typemap-wrapper
Submitter: None
Maintainer: dracorp
Last Packager: dracorp
Votes: 52
Popularity: 1.066064
First Submitted: 2010-03-06 06:30
Last Updated: 2015-10-19 18:44

Latest Comments

saez0pub commented on 2015-10-18 19:07

Hello,


can you add makedepends (perl-module-build) ?

If you don't, you have the following error :
Base class package "Module::Build" is empty.

fusion809 commented on 2015-07-23 23:33

I just got the error:

==> Starting build()...
Base class package "Module::Build" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains: inc /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .).
at inc/My/Build.pm line 5.
BEGIN failed--compilation aborted at inc/My/Build.pm line 5.
Compilation failed in require at Build.PL line 7.
BEGIN failed--compilation aborted at Build.PL line 7.
==> ERROR: A failure occurred in build().
Aborting...

tfla commented on 2014-07-05 15:10

The url http://cpan.metacpan.org/authors/id/S/SM/SMUELLER/ExtUtils-XSpp-0.18.tar.gz seems to work better for me (the one in the PKGBUILD doesn't download anything at all).

dracorp commented on 2014-01-16 11:30

Upgraded and fixed PKGBUILD. Moved perl-test-* to checkdepends.

emq commented on 2014-01-16 02:47

Had to change pkgver to 0.18 in order to get it to work properly.

swiftgeek commented on 2013-07-06 19:39

package(){
cd "$srcdir"/$_perlmod-$pkgver
chmod 644 ./lib/ExtUtils/XSpp/Grammar.pm

seems to work out fine

swiftgeek commented on 2013-07-06 19:11

0.17 is needed for slic3r :(

perl-parse-yapp might be needed

then i get a wtf issue:
Cannot open lib/ExtUtils/XSpp/Grammar.pm for writing.
Could not open file 'lib/ExtUtils/XSpp/Grammar.pm' for rw: Permission denied at inc/My/Build.pm line 22.

dracorp commented on 2013-03-26 18:58

I'm sorry, that was my mistake. I have added 'perl-module-build>=0.40' to makedepends.
Perl provides perl-module-build but in version 0.39.

nickoe commented on 2013-03-26 15:26

This does not build on my mates machine, very likely a deped issue or?
==> Validating source files with md5sums...
ExtUtils-XSpp-0.1603.tar.gz ... Passed
==> Extracting Sources...
-> Extracting ExtUtils-XSpp-0.1603.tar.gz with bsdtar
==> Starting build()...
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'ExtUtils-XSpp' version '0.1603'
Module::Build version 0.40 required--this is only version 0.3901 at Build line 41.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build perl-extutils-xspp.

dracorp commented on 2013-03-18 13:11

@xoan Do you have https://www.archlinux.org/packages/extra/any/perl-module-build/?
$ perl -MCwd=realpath -le 'print for grep { -f }
map { realpath "$_/Module/Build.pm" }
@INC' | xargs pacman -Qo

/usr/share/perl5/vendor_perl/Module/Build.pm is owned by perl-module-build 0.4003-1
/usr/share/perl5/core_perl/Module/Build.pm is owned by perl 5.16.2-4

But there is perl-module-build in makedepends.

xoan commented on 2013-03-16 13:07

Module::Build version 0.40 required--this is only version 0.3901 at Build line 41.

nickoe commented on 2013-03-14 17:57

@dracorp, the problem seems to be fixed now.

dracorp commented on 2013-03-14 11:36

@swiftgeek: added.

swiftgeek commented on 2013-03-14 10:03

Add perl-module-build as makedep

dracorp commented on 2013-03-13 19:09

@nickoe What are you talking about? What ~?

During building version '0 .1700 'I get this error:
==> Starting package()...
Building ExtUtils-XSpp
Can't exec "yapp": No such file or directory at /usr/share/perl5/vendor_perl/Module/Build/Base.pm line 5561.
Could not open file 'lib/ExtUtils/XSpp/Grammar.pm' for rw: Permission denied at inc/My/Build.pm line 22.
==> ERROR: A failure occurred in package().

But:
$ cd src/ExtUtils-XSpp-0.1700/
$ perl Build install
Building ExtUtils-XSpp
Installing /AUR/perl/perl-extutils-xspp/pkg/usr/share/man/man1/xspp.1p
...
Installing /AUR/perl/perl-extutils-xspp/pkg/usr/bin/vendor_perl/xspp
$ echo $?
0

nickoe commented on 2013-03-08 17:34

This installs into ~ that is bad. Please consider using this template [1], especially the section witht the exports.

[1] https://wiki.archlinux.org/index.php/Perl_Package_Guidelines#Hardened_Example

dracorp commented on 2013-01-11 22:16

Fixed source for 0.1602. For 0.1603 we must wait(?) for new version of perl with Module::Build 0.40.

PPvG commented on 2013-01-10 14:42

Won't build at the moment, because the source file is no longer available (404). I tried the newer version[1] as well (0.1603), but the build step fails:

Module::Build version 0.40 required--this is only version 0.3901 at Build line 41.

The same version from another source[2] does work.

[1]: http://search.cpan.org/~smueller/ExtUtils-XSpp-0.1603/lib/ExtUtils/XSpp.pod
[2]: http://pkgs.fedoraproject.org/repo/pkgs/perl-ExtUtils-XSpp/ExtUtils-XSpp-0.1602.tar.gz/449c8c6d1c2fdd8fd06eb671f94faf4d/ExtUtils-XSpp-0.1602.tar.gz



Anonymous comment on 2011-04-15 11:16

new PKGBUILD (version 1601):
http://paste.pocoo.org/show/372101/

Anonymous comment on 2011-03-06 20:18

Please update the PKGBUILD to use the source tarball which is at version >=0.15

Anonymous comment on 2011-01-16 22:55

Please use PKGBUILD below:

# Contributor: DarkHeart luke<at>archlinux.us
pkgname=perl-extutils-xspp
pkgver=0.15
pkgrel=1
pkgdesc="ExtUtils::XSpp - XS for C++"
arch=('any')
url="http://search.cpan.org/~mbarbon/ExtUtils-XSpp-0.15/"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=(http://search.cpan.org/CPAN/authors/id/M/MB/MBARBON/ExtUtils-XSpp-0.15.tar.gz)
md5sums=('72a9335b700fdcd11afc378a22f439c1')

build() {
cd "$srcdir/ExtUtils-XSpp-$pkgver"

perl Build.PL installdirs=vendor destdir="$pkgdir/"
perl Build
perl Build install
}