Skip Menu |

This queue is for tickets about the Cairo CPAN distribution.

Report information
The Basics
Id: 125014
Status: resolved
Priority: 0/
Queue: Cairo

People
Owner: XAOC [...] cpan.org
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

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



Subject: Test failures on FreeBSD-11.0 with perl-5.27.10
As part of preparations for the upcoming release of perl-5.28.0, I have been testing a selected subset of CPAN distributions against the latest Perl monthly development release on FreeBSD-11.0, using 'cpanm' as the installer. The Cairo distribution incurs failures in two test files. Please find attached two files: one with data from the build.log for that attempt, the other with the relevant 'perl -V' output. There are many other CPAN distributions with a dependency upon Cairo. Until we can get Cairo to PASS all its tests and be installed, we cannot assess the perl-5.28.0-readiness of those other distributions. For that reason, your prompt attention to this problem will be very appreciated. Thank you very much. Jim Keenan
Subject: XAOC.Cairo-1.106.log.txt

Message body is not shown because it is too large.

Subject: freebsd-11.0.perl-5.27.10_V.txt
Summary of my perl5 (revision 5 version 27 subversion 10) configuration: Platform: osname=freebsd osvers=11.0-release-p1 archname=amd64-freebsd-thread-multi uname='freebsd kid51-freebsd-11-install-3 11.0-release-p1 freebsd 11.0-release-p1 #0 r306420: thu sep 29 01:43:23 utc 2016 root@releng2.nyi.freebsd.org:usrobjusrsrcsysgeneric amd64 ' config_args='-des -Dusedevel -Duseithreads -Doptimize=-O2 -pipe -fstack-protector -fno-strict-aliasing -Uversiononly -Dman1dir=none -Dman3dir=none -Dprefix=/home/jkeenan/prep528/testing/perl-5.27.10' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2' optimize='-O2 -pipe -fstack-protector -fno-strict-aliasing' cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='4.2.1 Compatible FreeBSD Clang 3.8.0 (tags/RELEASE_380/final 262564)' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags ='-pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib' libpth=/usr/lib /usr/local/lib /usr/bin/../lib/clang/3.8.0/lib /usr/lib libs=-lpthread -lgdbm -lm -lcrypt -lutil perllibs=-lpthread -lm -lcrypt -lutil libc= so=so useshrplib=false libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags=' ' cccdlflags='-DPIC -fPIC' lddlflags='-shared -L/usr/local/lib -fstack-protector-strong' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under freebsd Compiled at Mar 21 2018 12:59:59 %ENV: PERL2DIR="/home/jkeenan/gitwork/perl2" PERL_WORKDIR="/home/jkeenan/gitwork/perl" @INC: lib/5.27.10/amd64-freebsd-thread-multi lib/5.27.10 lib /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10 /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10
Subject: Re: [rt.cpan.org #125014] Test failures on FreeBSD-11.0 with perl-5.27.10
Date: Fri, 6 Apr 2018 18:39:30 +0200
To: bug-Cairo [...] rt.cpan.org
From: Torsten Schoenfeld <kaffeetisch [...] gmx.de>
On 04.04.2018 22:30, James E Keenan via RT wrote: Show quoted text
> The Cairo distribution incurs failures in two test files. Please find attached two files: one with data from the build.log for that attempt, the other with the relevant 'perl -V' output.
It looks like most of the test failures are due to this error: Show quoted text
> /lib/libz.so.6: version ZLIB_1.2.9 required by /usr/local/lib/libpng16.so.16 not found
Google suggests that this is common problem on FreeBSD encountered by many packages, and that updating the system sometimes helps. Unfortunately, I cannot offer much more help than this due to my lack of experience with FreeBSD. -Torsten
On Wed Apr 04 16:30:56 2018, JKEENAN wrote: Show quoted text
> The Cairo distribution incurs failures in two test files. Please find > attached two files: one with data from the build.log for that > attempt, the other with the relevant 'perl -V' output.
In this ticket as well as RT#125021 [1], your libpng library is linked against libz (aka zlib), and your linker can't find the libz/zlib library on your system for whatever reason. If you run 'ldd /usr/local/lib/libpng16.so.16', it will show you it should complain that it's linked against zlib/libz, but can't find that library on your system. If zlib/libz *is* installed on your system, your complier/linker can't find it. 'ldd' on my Linux box says: ldd /usr/lib/x86_64-linux-gnu/libpng16.so.16.28.0 linux-vdso.so.1 (0x00007ffeb8319000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f889d361000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f889d05d000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f889ccbe000) /lib64/ld-linux-x86-64.so.2 (0x00007f889d7ae000) You need to fix your system so that your compiler and linker can find libraries that are being requested by programs, or you won't be able to build any of the Gtk-Perl modules. [1] https://rt.cpan.org/Ticket/Display.html?id=125021
On Fri Apr 06 12:39:39 2018, TSCH wrote: Show quoted text
> On 04.04.2018 22:30, James E Keenan via RT wrote: >
> > The Cairo distribution incurs failures in two test files. Please > > find attached two files: one with data from the build.log for that > > attempt, the other with the relevant 'perl -V' output.
> > It looks like most of the test failures are due to this error: >
> > /lib/libz.so.6: version ZLIB_1.2.9 required by > > /usr/local/lib/libpng16.so.16 not found
> > Google suggests that this is common problem on FreeBSD encountered by > many packages, and that updating the system sometimes helps. > > Unfortunately, I cannot offer much more help than this due to my lack > of > experience with FreeBSD. > > -Torsten
See discussion in RT 125021, in particular https://rt.cpan.org/Ticket/Display.html?id=125021#txn-1781094. I was able to get a quasi-fix involving a modified FreeBSD port for 'png' that worked for that ticket and for this one as well. Consequently, this ticket can be closed. Thank you very much. Jim Keenan