Package Details: xmltv 1.3.0-1

Git Clone URL: https://aur.archlinux.org/xmltv.git (read-only, click to copy)
Package Base: xmltv
Description: Set of utilities to download tv listings and format them in xml
Upstream URL: http://xmltv.org/wiki/
Licenses: GPL
Submitter: haawda
Maintainer: blueowl
Last Packager: blueowl
Votes: 63
Popularity: 0.000001
First Submitted: 2011-03-12 19:56 (UTC)
Last Updated: 2024-07-11 09:42 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

khampf commented on 2017-09-04 19:56 (UTC)

@blueowl: thanks! Commiting your prepare() as is shortly. Get back to me with your real name if you want it to appear in the PKGBUILD :)

blueowl commented on 2017-09-04 11:19 (UTC)

As noted previously, xmltv package does not build with Perl 5.26. Please add this prepare() function to PKGBUILD to fix it: prepare() { # To build corectly with Perl 5.26 # see https://sourceforge.net/p/xmltv/mailman/message/36001436/ # and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865045 sed "s/use POSIX 'tmpnam';//" -i "$pkgname-$pkgver"/filter/tv_to_latex sed "s/use POSIX 'tmpnam';//" -i "$pkgname-$pkgver"/filter/tv_to_text sed "s/\(lib\/set_share_dir.pl';\)/.\/\1/" -i "$pkgname-$pkgver"/grab/it/tv_grab_it.PL sed "s/\(filter\/Grep.pm';\)/.\/\1/" -i "$pkgname-$pkgver"/filter/tv_grep.PL sed "s/\(lib\/XMLTV.pm.in';\)/.\/\1/" -i "$pkgname-$pkgver"/lib/XMLTV.pm.PL sed "s/\(lib\/Ask\/Term.pm';\)/.\/\1/" -i "$pkgname-$pkgver"/Makefile.PL }

ArnaudNux commented on 2017-09-03 14:20 (UTC)

==> Building and installing package ==> Making package: xmltv 0.5.69-1 (Sun Sep 3 16:18:20 CEST 2017) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading xmltv-0.5.69.tar.bz2... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 372 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 353 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1243k 100 1243k 0 0 621k 0 0:00:02 0:00:02 --:--:-- 1377k ==> Validating source files with md5sums... xmltv-0.5.69.tar.bz2 ... Passed ==> Extracting sources... -> Extracting xmltv-0.5.69.tar.bz2 with bsdtar ==> Starting build()... Can't locate lib/Ask/Term.pm in @INC (you may need to install the lib::Ask::Term module) (@INC contains: /usr/lib/perl5/5.26/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.26/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.26/core_perl /usr/share/perl5/core_perl) at Makefile.PL line 254. ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build xmltv. ==> Restart building xmltv ? [y/N]

hamelg commented on 2017-09-03 10:18 (UTC) (edited on 2017-09-03 10:19 (UTC) by hamelg)

build fails with this error : ==> Starting build()... Can't locate lib/Ask/Term.pm in @INC (you may need to install the lib::Ask::Term module) (@INC contains: /usr/lib/perl5/5.26/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.26/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.26/core_perl /usr/share/perl5/core_perl) at Makefile.PL line 254. ==> ERROR: A failure occurred in build(). Aborting... Please, fix it.

gmelchett commented on 2017-08-09 18:10 (UTC)

I had to add PERL5LIB=`pwd` as well as remove "make test" because some testcases uses tmpnam which has been removed in newer perl versions. See: http://perldoc.perl.org/perl5260delta.html#POSIX%3a%3atmpnam()-has-been-removed

Evils commented on 2017-07-19 15:29 (UTC)

I kept getting Can't locate lib/Ask/Term.pm in @INC and other errors until I've explicitly set PERL5LIB=`pwd` and it worked!

khampf commented on 2016-09-15 13:31 (UTC)

@weedfreak I just now did a clean x86_64 installation of Arch in VirtualBox and xmltv and its dependencies built cleanly from AUR on a fresh installation. I have a log and also a list of installed packages if you want to look at them but if you get segfaults on perl with a dumped core - your problem lies within perl and you should maybe analyse the coredump further if you are able to.

weedfreak commented on 2016-09-15 08:35 (UTC) (edited on 2016-09-15 09:26 (UTC) by weedfreak)

I have reinstalled perl, 'just in case' all dependencies are marked as installed but I still get the error. Is there a dependency missing from the list perhaps? Any pointers to what I should try to fix this would be very much appreciated. I tried buiding from the source file manually and while I get to answer the options questions I still get a segfault. Problem reported on Sourceforge.

khampf commented on 2016-09-11 18:55 (UTC)

@weedfreak I am able to rebuild cleanly. Your problem seems to be higher up in the chain, perl should not inexplicably segfault on any makefile.

weedfreak commented on 2016-09-10 08:33 (UTC)

Build fail PKGBUILD: line 26: 8470 Broken pipe yes 8471 Segmentation fault (core dumped) | /usr/bin/perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build xmltv.