Package Details: perl-mojolicious 9.26-1

Git Clone URL: https://aur.archlinux.org/perl-mojolicious.git (read-only, click to copy)
Package Base: perl-mojolicious
Description: Real-time web framework
Upstream URL: https://metacpan.org/release/Mojolicious
Licenses: GPL, PerlArtistic
Submitter: Athaba
Maintainer: CommodoreCrunch
Last Packager: CommodoreCrunch
Votes: 54
Popularity: 0.015753
First Submitted: 2010-07-15 08:25 (UTC)
Last Updated: 2022-05-28 19:55 (UTC)

Latest Comments

CommodoreCrunch commented on 2022-06-09 21:37 (UTC)

Yeah, I don't think it makes sense to bump the pkgrel to force a rebuild on an AUR package, especially several days after the fact when many have already rebuilt it. Pacman complains about it on every update. Anyone who needs to know already knows.

willemw commented on 2022-06-09 07:19 (UTC)

@mgd:

This is "solved" by a pacman hook, that tells you which Perl packages are out-of-date.

This is not "solved" yet for Python packages, last time I checked.

For out-of-date .so files, there is the lddd tool. But you have to run that yourself and then check its log files.

mgd commented on 2022-06-09 07:11 (UTC)

This package had been flagged outdated because of a new perl version. I don't think that's the proper way to deal with new perl versions (require new version to force a rebuild). A simple rebuild (e.g. in yay just add --rebuild) solves the issue just nicely.

Therefor please unflag the package.

micwoj92 commented on 2021-03-10 01:39 (UTC)

Thanks, I am usually building packages on my local machine and not in chroot and I have plenty of perl- packages installed so I might have missed some. Worth testing if it skips any other tests and then add these packages as opt/check depends.

CommodoreCrunch commented on 2021-03-10 01:32 (UTC)

@micwoj92 Good catch. Adding it as an optdepend because Mojo's changelog listed it as optional when it was added back in version 7.87. It apparently increases performance in Mojo::JSON while breaking a couple Unicode whitespace characters.

micwoj92 commented on 2021-03-10 01:11 (UTC)

Could you add perl-cpanel-json-xs to checkdepends? It skips one check

t/mojo/json_xs.t ........................... skipped: Cpanel::JSON::XS 4.09+ required for this test!

Martchus commented on 2020-11-14 20:46 (UTC) (edited on 2020-11-14 20:46 (UTC) by Martchus)

Please keep the tests. Upstream might test against different versions of dependencies so it is best to run tests after building the package. Tests can be easily skipped via makepkg's --nocheck flag if they are not wanted.

The build time of this package is actually not very long, even with the checks. But if you really want to avoid it, my binary repo contains this package: https://martchus.no-ip.biz/repo/arch/ownstuff

realh commented on 2020-11-14 20:30 (UTC)

Is there any chance you could skip the tests in the package build? They take far more time than all the other stages in upgrading the package put together, and it gets updated fairly often. I would have thought the tests should be unnecessary for end users as long as they've passed upstream and the package dependencies etc are correct.

zebulon commented on 2018-03-18 07:36 (UTC)

Well this is bizarre, this morning the package has compiled fine. The tst wich failed yesterday t/mojo/ioloop.t is now succeeding.

zebulon commented on 2018-03-17 20:24 (UTC) (edited on 2018-03-17 20:26 (UTC) by zebulon)

Test fails on my machine:

t/mojo/ioloop.t ............................ 32/?

Failed test 'stream has been resumed'
at t/mojo/ioloop.t line 246.
Failed test 'full message has been written'
at t/mojo/ioloop.t line 248.
got: undef
expected: 'works!'
Looks like you failed 2 tests of 50.
Test Summary Report

t/mojo/ioloop.t (Wstat: 512 Tests: 50 Failed: 2) Failed tests: 33, 35 Non-zero exit status: 2 Files=97, Tests=10890, 27 wallclock secs ( 0.69 usr 0.03 sys + 20.43 cusr 0.99 csys = 22.14 CPU) Result: FAIL Failed 1/97 test programs. 2/10890 subtests failed.

Anyone else sees that?

dracorp commented on 2017-09-25 19:54 (UTC)

https://gist.githubusercontent.com/dracorp/b4ad81e047c584c866b1345e94fd4381/raw/6e32a24d37909597b048af835b4dc557d8cfb398/PKGBUILD.perl-mojolicious

magnade commented on 2017-08-26 01:50 (UTC)

so some tips to save some time in the package updating you can replace the below 2 lines and then only have to update the pkgver and the hashs could also drop the md5sum and just use sha512 and again save some update time other than that works fine with version 7.43 source=('http://search.cpan.org/CPAN/authors/id/S/SR/SRI/Mojolicious-$pkgver.tar.gz') _distdir="Mojolicious-$pkgver"

jnbek commented on 2017-08-09 15:18 (UTC)

@all, I apologize regarding the status of this pkgbuild. My build server suffered a serious drive failure and has been out of commission. I have a temporary build server nearly ready and will update this and the others of my packages soon(tm)

Yurashina commented on 2017-08-08 10:44 (UTC)

Current version is 7.39, it's still work with the PKGBUILD of the 7.31 pkgver='7.39' source=('http://search.cpan.org/CPAN/authors/id/S/SR/SRI/Mojolicious-7.39.tar.gz') md5sums=('1c12d80f55ffef9d3ae01fe85839843e') sha512sums=('cbfaafb5b8356ee7ee1c6cbd2f370a59d61a27df7aad76a81ea5bfd9fb99fd01d86f1e583af381deac6b19d38a1970b678de4efe308ac0a19d1cba310d350b9d') _distdir="Mojolicious-7.39"

kyndair commented on 2017-07-31 15:40 (UTC)

current version is 7.37 the following changes in PKGBUIILD will work pkgver='7.37' source=('http://search.cpan.org/CPAN/authors/id/S/SR/SRI/Mojolicious-7.37.tar.gz') md5sums=('3c4ad17338465e9edc463f18619f15d8') sha256sums=('f73278c359e2eb3f8f5415e0e5dce418d5ef73adee96d53ae331ba876e360eea') _distdir="Mojolicious-7.37"

zebulon commented on 2017-05-07 21:56 (UTC)

Hi, Mojolicious has been updated to 7.31. 7.30 is not available anymore, leading to this PKGBUILD not to build.

jnbek commented on 2017-05-05 17:40 (UTC)

My build server threw 2 drives from its raid10. The new build server is almost ready. As for using metacpan it is not geo dns load balanced,but cpan is.

mhussain commented on 2017-05-02 20:45 (UTC)

the pkg build fails to work, download error: could someone fix?

Flubbadub commented on 2017-05-01 08:24 (UTC) (edited on 2017-05-01 08:24 (UTC) by Flubbadub)

This PKGBUILD works for me with version 7.31 (just updated the location & hashes): # Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> # Generator : CPANPLUS::Dist::Arch 1.32 pkgname='perl-mojolicious' pkgver='7.31' pkgrel='1' pkgdesc="Real-time web framework" arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') depends=('perl>=5.10.1') makedepends=() url='https://metacpan.org/release/Mojolicious' source=('http://search.cpan.org/CPAN/authors/id/S/SR/SRI/Mojolicious-7.31.tar.gz') md5sums=('6586909c37d344669575ad4e0f61dcc5') sha512sums=('2ba4eb664c2e21e3b2b73ecd18931bb39e1de9e8b0998bc723044abcb77d489ec9099de3d2b87d13f3cbd08adb829031e6746059df3657d5d2378374b4f98966') _distdir="Mojolicious-7.31" build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ PERL_AUTOINSTALL=--skipdeps \ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ MODULEBUILDRC=/dev/null cd "$srcdir/$_distdir" /usr/bin/perl Makefile.PL make ) } check() { cd "$srcdir/$_distdir" ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" make test ) } package() { cd "$srcdir/$_distdir" make install find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } # Local Variables: # mode: shell-script # sh-basic-offset: 2 # End: # vim:set ts=2 sw=2 et:

Manifest0 commented on 2017-01-08 11:52 (UTC)

PKGBUILD for 7.14: # Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> # Generator : CPANPLUS::Dist::Arch 1.32 pkgname='perl-mojolicious' pkgver='7.14' pkgrel='1' pkgdesc="Real-time web framework" arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') depends=('perl>=5.10.1') makedepends=() url='https://metacpan.org/release/Mojolicious' source=("http://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-$pkgver.tar.gz") sha512sums=('da65782734664161338a502174c1f778a48e0b4e47498f9ed298a1728ba58bc56f86ab08b88c0076518afdcdb9e0723cee4af9d3ed1213cef6446a90eaae36b6') _distdir="Mojolicious-$pkgver" build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ PERL_AUTOINSTALL=--skipdeps \ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ MODULEBUILDRC=/dev/null cd "$srcdir/$_distdir" /usr/bin/perl Makefile.PL make ) } check() { cd "$srcdir/$_distdir" ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" make test ) } package() { cd "$srcdir/$_distdir" make install find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } # Local Variables: # mode: shell-script # sh-basic-offset: 2 # End: # vim:set ts=2 sw=2 et:

Manifest0 commented on 2017-01-08 08:57 (UTC)

the latest 7.14 version location: https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-7.14.tar.gz

jnbek commented on 2016-07-22 16:55 (UTC)

Before I update the PKGBUILD, I want to give everyone a heads up. A few changes have been made to some of the core modules/plugins shipped with the Mojolicious distribution. Please review and update your code to prepare for these changes. Please review the URL below for suggestions and other assorted warnings. I'll ask that you read this before commenting install errors or mark it out of date, etc. https://github.com/kraih/mojo/wiki/Upgrading

bidulock commented on 2016-03-19 20:37 (UTC)

6.56 is available at: https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-6.56.tar.gz

Manifest0 commented on 2016-02-18 21:45 (UTC)

For the latest version change the following in the PKGBUILD: pkgver='6.46' source=('http://search.cpan.org/CPAN/authors/id/S/SR/SRI/Mojolicious-6.46.tar.gz') md5sums=('d392b2a86790ef6f0208a5e33be50078') sha512sums=('da333534f7fa77bacf751741002e441348ad75512490ed0e8729f2f65dd92a8e27e633259406baf12c6ba1f6894456aee137a31bfe1abb243aad6dda87704fa6') _distdir="Mojolicious-6.46" Regards

bidulock commented on 2015-12-22 05:30 (UTC)

6.38 is available.

jnbek commented on 2015-12-08 16:13 (UTC)

naw, it's just out of date

cgirard commented on 2015-12-08 09:43 (UTC)

The download link is giving a 404. Maybe you should use metacpan for downloading as well.

jnbek commented on 2014-10-08 19:58 (UTC)

@Mad_Dud: thanks, my apologies for not being on top of this, I usually get this updated within an hour of the release, but I've been dealing with some health problems this week. I work directly with the devs to ensure this package is 'the' bleeding edge available to any and all distros. Sadly most of my time spent is while I'm at work during slow times. When I am forced to miss work, I fail to get this updated as quickly. Again thanks for the bump.

Mad_Dud commented on 2014-10-08 10:12 (UTC)

Sebastian published new version 5.48 on 2014-10-07. One of the changes is related to security vulnerability: - Emergency release for a serious security issue that can result in parameter injection attacks, everybody should update! Breaking change: Methods that previously worked differently in scalar than in list context now always assume scalar context, and new methods have been added to cover the list context functionality. https://github.com/kraih/mojo/blob/master/Changes#L4 Regards, Mad

gdamjan commented on 2013-08-21 19:46 (UTC)

# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com> # Generator : CPANPLUS::Dist::Arch 1.25 pkgname='perl-mojolicious' pkgver='4.26' pkgrel='1' pkgdesc="Real-time web framework" arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') depends=('perl') makedepends=() url='http://search.cpan.org/dist/Mojolicious' source=("http://search.cpan.org/CPAN/authors/id/A/AM/AMS/Mojolicious-${pkgver}.tar.gz") md5sums=('82ec57b12df4000838054d1cc844fda3') sha512sums=('deb4c6d623ddd91a8caee812bf802b4577228d7c8e77c57c02373913d99ad21397abb7001641fc8c08c153f312605be8e2c22ac1eb41bc84b5441892fd9c7ec7') _distdir="Mojolicious-${pkgver}" build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ PERL_AUTOINSTALL=--skipdeps \ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ MODULEBUILDRC=/dev/null cd "$srcdir/$_distdir" /usr/bin/perl Makefile.PL make ) } check() { cd "$srcdir/$_distdir" ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" make test ) } package() { cd "$srcdir/$_distdir" make install find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } # Local Variables: # mode: shell-script # sh-basic-offset: 2 # End: # vim:set ts=2 sw=2 et:

commented on 2013-05-01 21:39 (UTC)

The package is broken. # yaourt -S perl-mojolicious ... curl: (22) The requested URL returned error: 404 Not Found ==> ERROR: Failure while downloading Mojolicious-3.96.tar.gz Aborting... ==> ERROR: Makepkg was unable to build perl-mojolicious.

cdown commented on 2013-04-11 05:41 (UTC)

This package seems broken: ==> Extracting sources... -> Extracting Mojolicious-3.65.tar.gz with bsdtar ==> Starting build()... /tmp/yaourt-tmp-chris/aur-perl-mojolicious/./PKGBUILD: line 25: cd: /Mojolicious-3.65: No such file or directory ==> ERROR: A failure occurred in build(). Aborting... The offending line

commented on 2013-03-15 07:21 (UTC)

Mojolicious-3.90 released on 14th of March, 2013. Maybe let's go to update it here?

Athaba commented on 2013-01-09 14:02 (UTC)

I don't have time to maintain this package anymore.

commented on 2012-03-22 17:07 (UTC)

Anyone knows why this happens to me while test phase? t/mojolicious/lite_app.t ................... 1/730 # Failed test 'content is similar' # at t/mojolicious/lite_app.t line 906. # 'http://localhost:39685/0-192.168.0.1-0' # doesn't match '(?^:http\://localhost\:\d+/0\-127.0.0.1\-0)' # Failed test 'content is similar' # at t/mojolicious/lite_app.t line 918. # 'http://localhost:39685/0-192.168.0.1-0' # doesn't match '(?^:http\://localhost\:\d+/0\-127.0.0.1\-0)' # Failed test 'exact match for content' # at t/mojolicious/lite_app.t line 924. # got: 'http://mojolicio.us:8080/0-192.168.0.1-0' # expected: 'http://mojolicio.us:8080/0-127.0.0.1-0' # Failed test 'content is similar' # at t/mojolicious/lite_app.t line 929. # 'http://localhost:39685/0-192.168.0.1-0' # doesn't match '(?^:http\://localhost\:\d+/0\-127.0.0.1\-0)' # Failed test 'exact match for content' # at t/mojolicious/lite_app.t line 936. # got: 'https://mojolicio.us/0-192.168.0.1-0' # expected: 'https://mojolicio.us/0-127.0.0.1-0' t/mojolicious/lite_app.t ................... 423/730 # Looks like you failed 5 tests of 730. t/mojolicious/lite_app.t ................... Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/730 subtests t/mojolicious/longpolling_lite_app.t ....... ok t/mojolicious/multipath_lite_app.t ......... ok t/mojolicious/ojo.t ........................ ok t/mojolicious/pattern.t .................... ok t/mojolicious/pod_renderer_lite_app.t ...... ok t/mojolicious/production_app.t ............. ok t/mojolicious/rebased_lite_app.t ........... ok t/mojolicious/renderer.t ................... ok t/mojolicious/restful_lite_app.t ........... ok t/mojolicious/routes.t ..................... ok t/mojolicious/tag_helper_lite_app.t ........ ok t/mojolicious/testing_app.t ................ ok t/mojolicious/tls_lite_app.t ............... skipped: set TEST_TLS to enable this test (developer only!) t/mojolicious/twinkle_lite_app.t ........... ok t/mojolicious/types.t ...................... ok t/mojolicious/upload_lite_app.t ............ ok t/mojolicious/upload_stream_lite_app.t ..... ok t/mojolicious/websocket_lite_app.t ......... ok t/pod.t .................................... skipped: Test::Pod 1.14 required for this test! t/pod_coverage.t ........................... skipped: Test::Pod::Coverage 1.04 required for this test!

wiliam commented on 2012-02-10 09:56 (UTC)

Hello, may I ask to enable Mojolicious test while building the package? cpan2aur can be used to generate PKGBUILD with some nice defaults, e.g.: http://pastie.org/3353634

Athaba commented on 2011-12-22 13:02 (UTC)

This means something like that would happen with all modules. Maybe you should bring this up on the mailing list so the /usr/share/pacman/PKGBUILD-perl.proto will also be fixed.

wiliam commented on 2011-12-22 10:25 (UTC)

I install perl-mojolicious using yaourt executed under a non-privileged user account (yaourt -Syua).

Athaba commented on 2011-11-09 20:16 (UTC)

This shouldn't happen. Are you maybe using something like perbrew, local::lib or something similar?

wiliam commented on 2011-11-09 19:50 (UTC)

Version 2.25 wrongly installed itself into user home directory. Changing build options fixes the issue: build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ PERL_AUTOINSTALL=--skipdeps \ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ MODULEBUILDRC=/dev/null cd "$_distdir" /usr/bin/perl Makefile.PL make ) } [https://gist.github.com/1352726]