Subject: | Does not build with AB 0.005 |
There was a change in Alien::Base 0.005 which affects some packages that do no use autotools but uses an autotools style configure script. Alien::ffmpeg is one of those affected (the only one that I could find on CPAN). Please see attached log for details. There is a very easy, one line fix that would correct this, which has been made into a pull request here:
https://github.com/Getty/p5-alien-ffmpeg/pull/1
Please let me know if you have any questions, comments or concerns about this change.
Subject: | foo.log |
iscah% cpanm Alien::ffmpeg
Alien::ffmpeg is up to date. (0.101)
iscah% cpanm Alien::ffmpeg --reinstall
--> Working on Alien::ffmpeg
Fetching file:///home/ollisg/minicpan/authors/id/G/GE/GETTY/Alien-ffmpeg-0.101.tar.gz ... OK
Configuring Alien-ffmpeg-0.101 ... OK
Building and testing Alien-ffmpeg-0.101 ... ^C
iscah% cpanm Alien::ffmpeg --reinstall -v
cpanm (App::cpanminus) 1.7009 on perl 5.018002 built for x86_64-linux
Work directory is /home/ollisg/.cpanm/work/1411405656.1679
You have make /usr/bin/make
You have LWP 6.08
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (6.98)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.68)
Searching Alien::ffmpeg on mirror file:///home/ollisg/minicpan ...
Downloading index file file:///home/ollisg/minicpan/modules/02packages.details.txt.gz ...
Uncompressing index file...
--> Working on Alien::ffmpeg
Fetching file:///home/ollisg/minicpan/authors/id/G/GE/GETTY/Alien-ffmpeg-0.101.tar.gz ... OK
Unpacking Alien-ffmpeg-0.101.tar.gz
Alien-ffmpeg-0.101
Alien-ffmpeg-0.101/README
Alien-ffmpeg-0.101/LICENSE
Alien-ffmpeg-0.101/Changes
Alien-ffmpeg-0.101/dist.ini
Alien-ffmpeg-0.101/t
Alien-ffmpeg-0.101/t/load.t
Alien-ffmpeg-0.101/META.yml
Alien-ffmpeg-0.101/MANIFEST
Alien-ffmpeg-0.101/Build.PL
Alien-ffmpeg-0.101/META.json
Alien-ffmpeg-0.101/bin
Alien-ffmpeg-0.101/bin/ffmpeg
Alien-ffmpeg-0.101/bin/ffprobe
Alien-ffmpeg-0.101/bin/ffserver
Alien-ffmpeg-0.101/lib/Alien
Alien-ffmpeg-0.101/lib/Alien/ffmpeg.pm
Alien-ffmpeg-0.101/t/release-pod-syntax.t
Entering Alien-ffmpeg-0.101
Checking configure dependencies from META.json
Checking if you have Path::Class 0.013 ... Yes (0.34)
Checking if you have File::ShareDir 1.03 ... Yes (1.102)
Checking if you have Alien::Base 0.002 ... Yes (0.005)
Running Build.PL
Configuring Alien-ffmpeg-0.101 ... Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Alien-ffmpeg' version '0.101'
OK
Checking dependencies from MYMETA.json ...
Checking if you have Path::Class 0.013 ... Yes (0.34)
Checking if you have Test::More 0.96 ... Yes (1.001006)
Checking if you have File::ShareDir 1.03 ... Yes (1.102)
Checking if you have Alien::Base 0.002 ... Yes (0.005)
Checking if you have Test::LoadAllModules 0.021 ... Yes (0.022)
Building and testing Alien-ffmpeg-0.101 ... Building Alien-ffmpeg
Downloading File: ffmpeg-2.4.1.tar.gz ... Done
Extracting Archive ... Done
Building library ... Unknown option "--with-pic".
See ./configure --help for available options.
External command (./configure --with-pic --prefix=/home/ollisg/.perlbrew/libs/perl-5.18.2c34@dev/lib/perl5/auto/share/dist/Alien-ffmpeg) failed! Error: 256
at ./Build line 61.
Failed
Build not completed at ./Build line 61.
FAIL
! Installing Alien::ffmpeg failed. See /home/ollisg/.cpanm/work/1411405656.1679/build.log for details. Retry with --force to force install it.