Skip Menu |

This queue is for tickets about the Alien-CMake CPAN distribution.

Report information
The Basics
Id: 125247
Status: open
Priority: 0/
Queue: Alien-CMake

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.11
Fixed in: (no value)



Subject: Prebuilt binary does not work for freebsd 11+12
When building on newer freebsd systems (11 or 12), then the only options are: You have the following options: [1] Binaries FreeBSD/i386 CMake-2.6.4 [2] Quit installation However, the prebuilt binary does not work. The test suite fails with no useful diagnostics: t/001_load.t .... 1/1 # Testing Alien::CMake 0.11, Perl 5.027011, /usr/perl5.27.11p/bin/perl5.27.11 # Build type: use_prebuilt_binaries # Build option used: # Binaries FreeBSD/i386 CMake-2.6.4 # URL: http://froggs.de/cmake/cmake-2.6.4-freebsd-i386.tar.gz # SHA1: b6160a8a7a657bf933b6f87d06bc195b7cc9705a t/001_load.t .... ok t/002_config.t .. 1/3 # BIN=/home/cpansand/.cpan/build/2018050106/Alien-CMake-0.11-0/blib/lib/auto/share/dist/Alien-CMake/0.11_53aedbc1/bin # SHARE=/home/cpansand/.cpan/build/2018050106/Alien-CMake-0.11-0/blib/lib/auto/share/dist/Alien-CMake/0.11_53aedbc1/share t/002_config.t .. ok t/003_run.t ..... 1/1 # Failed test 'cmake version is ' # at t/003_run.t line 12. # Looks like you failed 1 test of 1. t/003_run.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Trying out the cmake binary shows the problem: ./build_src/cmake-2.6.4-freebsd-i386/bin/cmake Shared object "libcrypto.so.6" not found, required by "cmake" I am aware that authors should prefer Alien::cmake3 over this module. However, I encounter Alien::CMake fails in my regular smoker runs, which probably means that there are still freshly released CPAN distributions using Alien::CMake.
Yeah, unfortunately I think the CMake project is unlikely to start building FreeBSD binaries again. I may be able to update the logic to detect FreeBSD 11 or better and exclude the binary install as a choice. Then you would need to have the system cmake in order to install this module. At one point I considered re-writing Alien::CMake as a layer over Alien::cmake3 and include it as part of Alien-cmake3, but I doubt I will have the time (and even if I did have time, I would like to get the agreement of the other Alien::CMake contributors, since I am not first-come on this dist). So I think it would be better to get the few authors who are still using this module to switch if possible. https://metacpan.org/requires/distribution/Alien-CMake?sort=[[2,1]] I know a couple of the developers on this list I will see if I can ping some of them.
On Tue May 01 02:35:22 2018, SREZIC wrote: Show quoted text
> When building on newer freebsd systems (11 or 12), then the only > options are: > > You have the following options: > [1] Binaries FreeBSD/i386 CMake-2.6.4 > [2] Quit installation > > However, the prebuilt binary does not work. The test suite fails with > no useful diagnostics: > > t/001_load.t .... 1/1 # Testing Alien::CMake 0.11, Perl 5.027011, > /usr/perl5.27.11p/bin/perl5.27.11 > # Build type: use_prebuilt_binaries > # Build option used: > # Binaries FreeBSD/i386 CMake-2.6.4 > # URL: http://froggs.de/cmake/cmake-2.6.4-freebsd-i386.tar.gz > # SHA1: b6160a8a7a657bf933b6f87d06bc195b7cc9705a > t/001_load.t .... ok > t/002_config.t .. 1/3 # > BIN=/home/cpansand/.cpan/build/2018050106/Alien-CMake-0.11- > 0/blib/lib/auto/share/dist/Alien-CMake/0.11_53aedbc1/bin > # SHARE=/home/cpansand/.cpan/build/2018050106/Alien-CMake-0.11- > 0/blib/lib/auto/share/dist/Alien-CMake/0.11_53aedbc1/share > t/002_config.t .. ok > t/003_run.t ..... 1/1 > # Failed test 'cmake version is ' > # at t/003_run.t line 12. > # Looks like you failed 1 test of 1. > t/003_run.t ..... Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests > > Trying out the cmake binary shows the problem: > > ./build_src/cmake-2.6.4-freebsd-i386/bin/cmake > Shared object "libcrypto.so.6" not found, required by "cmake" > > > I am aware that authors should prefer Alien::cmake3 over this module. > However, I encounter Alien::CMake fails in my regular smoker runs, > which probably means that there are still freshly released CPAN > distributions using Alien::CMake.
I, too, encountered this problem while attempting to install this module against perl-5.27.11 on FreeBSD-11.1. Here is an excerpt from the cpanm build.log ##### Building and testing Alien-CMake-0.11 Building Alien-CMake Fetching 'http://froggs.de/cmake/cmake-2.6.4-freebsd-i386.tar.gz'... Checking checksum for 'download/cmake-2.6.4-freebsd-i386.tar.gz'... Extracting download/cmake-2.6.4-freebsd-i386.tar.gz... # Testing Alien::CMake 0.11, Perl 5.027011, /usr/home/jkeenan/var/tad/testing/perl-5.27.11/bin/perl5.27.11 # Build type: use_prebuilt_binaries # Build option used: # Binaries FreeBSD/i386 CMake-2.6.4 # URL: http://froggs.de/cmake/cmake-2.6.4-freebsd-i386.tar.gz # SHA1: b6160a8a7a657bf933b6f87d06bc195b7cc9705a t/001_load.t .... ok # BIN=/usr/home/jkeenan/var/tad/testing/perl-5.27.11/.cpanm/work/1526780934.94229/Alien-CMake-0.11/blib/lib/auto/share/dist/Alien-CMake/0.11_53aedbc1/bin # SHARE=/usr/home/jkeenan/var/tad/testing/perl-5.27.11/.cpanm/work/1526780934.94229/Alien-CMake-0.11/blib/lib/auto/share/dist/Alien-CMake/0.11_53aedbc1/share t/002_config.t .. ok # Failed test 'cmake version is ' # at t/003_run.t line 12. # Looks like you failed 1 test of 1. t/003_run.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- t/003_run.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=3, Tests=5, 0 wallclock secs ( 0.01 usr 0.02 sys + 0.21 cusr 0.05 csys = 0.29 CPU) Result: FAIL Failed 1/3 test programs. 1/5 subtests failed. -> FAIL Installing Alien::CMake failed. See /usr/home/jkeenan/var/tad/testing/perl-5.27.11/.cpanm/work/1526780934.94229/build.log for details. Retry with --force to force install it. #####