Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 124910
Status: resolved
Priority: 0/
Queue: Tk

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

Bug Information
Severity: (no value)
Broken in: 804.034
Fixed in: 804.034_501



Subject: Test failure on FreeBSD-11.0 with perl-5.27.10: "don't know how to make test_dynamic"
As part of my 'CPAN river' testing, I tested Tk-804.034 first against perl-5.27.10 and then against blead. Notwithstanding some build-time warnings, 'make' completed successfully -- but then 'make all-am' failed. (As a consequence, Tk-Pod failed as well.) Full .cpanm build.log attached (gzipped); here's the relevant excerpt. ##### make all-am make[2]: don't know how to make test_dynamic. Stop make[2]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk-804.034/PNG/libpng *** Error code 2 Stop. make[1]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk-804.034/PNG *** Error code 1 Stop. make: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk-804.034 -> FAIL Installing Tk failed. See /home/jkeenan/.cpanm/work/1521988924.39230/build.log for details. Retry with --force to force install it. ##### As Tk has many other CPAN distributions depending on it, it would be good to get this cleared up before the release of perl-5.28.0. Thank you very much. Jim Keenan
Subject: Tk-804.034.cpanm.build.log.gz

Message body not shown because it is not plain text.

Subject: jkeenan.perl_V.txt
Summary of my perl5 (revision 5 version 27 subversion 11) configuration: Commit id: 811612a11efb1ebc131370e8238d3512779354f8 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 -Uversiononly -Dprefix=/home/jkeenan/testing/blead -Dman1dir=none -Dman3dir=none -Duseithreads -Doptimize=-O2 -pipe -fstack-protector -fno-strict-aliasing' 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 25 2018 10:29:41 %ENV: PERL2DIR="/home/jkeenan/gitwork/perl2" PERL_WORKDIR="/home/jkeenan/gitwork/perl" @INC: lib /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.11/amd64-freebsd-thread-multi /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.11 /home/jkeenan/testing/blead/lib/perl5/5.27.11/amd64-freebsd-thread-multi /home/jkeenan/testing/blead/lib/perl5/5.27.11
On Sun Mar 25 11:00:26 2018, JKEENAN wrote: Show quoted text
> As part of my 'CPAN river' testing, I tested Tk-804.034 first against > perl-5.27.10 and then against blead. Notwithstanding some build-time > warnings, 'make' completed successfully -- but then 'make all-am' > failed. (As a consequence, Tk-Pod failed as well.) Full .cpanm > build.log attached (gzipped); here's the relevant excerpt. > > ##### > make all-am > make[2]: don't know how to make test_dynamic. Stop > > make[2]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- > 804.034/PNG/libpng > *** Error code 2 > > Stop. > make[1]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- > 804.034/PNG > *** Error code 1 > > Stop. > make: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- > 804.034 > -> FAIL Installing Tk failed. See > /home/jkeenan/.cpanm/work/1521988924.39230/build.log for details. > Retry with --force to force install it. > ##### > > As Tk has many other CPAN distributions depending on it, it would be > good to get this cleared up before the release of perl-5.28.0. > > Thank you very much. > Jim Keenan
Perhaps related to https://rt.cpan.org/Ticket/Display.html?id=117800
On 2018-03-25 11:00:26, JKEENAN wrote: Show quoted text
> As part of my 'CPAN river' testing, I tested Tk-804.034 first against > perl-5.27.10 and then against blead. Notwithstanding some build-time > warnings, 'make' completed successfully -- but then 'make all-am' > failed. (As a consequence, Tk-Pod failed as well.) Full .cpanm > build.log attached (gzipped); here's the relevant excerpt. > > ##### > make all-am > make[2]: don't know how to make test_dynamic. Stop > > make[2]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- > 804.034/PNG/libpng > *** Error code 2 > > Stop. > make[1]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- > 804.034/PNG > *** Error code 1 > > Stop. > make: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- > 804.034 > -> FAIL Installing Tk failed. See > /home/jkeenan/.cpanm/work/1521988924.39230/build.log for details. > Retry with --force to force install it. > ##### > > As Tk has many other CPAN distributions depending on it, it would be > good to get this cleared up before the release of perl-5.28.0.
Strange. I regularly build Tk on various FreeBSD systems (10, 11, 12, sometimes 9), and never saw this problem: http://matrix.cpantesters.org/?dist=Tk%20804.034;os=freebsd;reports=1#sl=4,1 Just an idea: is the libpng already installed? I.e. is there a /usr/local/include/png.h?
Subject: Re: [rt.cpan.org #124910] Test failure on FreeBSD-11.0 with perl-5.27.10: "don't know how to make test_dynamic"
Date: Sun, 25 Mar 2018 12:43:44 -0400
To: bug-Tk [...] rt.cpan.org, jkeenan [...] cpan.org
From: James E Keenan <jkeenan [...] pobox.com>
On 03/25/2018 12:20 PM, Slaven_Rezic via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=124910 > > > On 2018-03-25 11:00:26, JKEENAN wrote:
>> As part of my 'CPAN river' testing, I tested Tk-804.034 first against >> perl-5.27.10 and then against blead. Notwithstanding some build-time >> warnings, 'make' completed successfully -- but then 'make all-am' >> failed. (As a consequence, Tk-Pod failed as well.) Full .cpanm >> build.log attached (gzipped); here's the relevant excerpt. >> >> ##### >> make all-am >> make[2]: don't know how to make test_dynamic. Stop >> >> make[2]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- >> 804.034/PNG/libpng >> *** Error code 2 >> >> Stop. >> make[1]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- >> 804.034/PNG >> *** Error code 1 >> >> Stop. >> make: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- >> 804.034 >> -> FAIL Installing Tk failed. See >> /home/jkeenan/.cpanm/work/1521988924.39230/build.log for details. >> Retry with --force to force install it. >> ##### >> >> As Tk has many other CPAN distributions depending on it, it would be >> good to get this cleared up before the release of perl-5.28.0.
> > Strange. I regularly build Tk on various FreeBSD systems (10, 11, 12, sometimes 9), and never saw this problem: http://matrix.cpantesters.org/?dist=Tk%20804.034;os=freebsd;reports=1#sl=4,1 > > Just an idea: is the libpng already installed? I.e. is there a /usr/local/include/png.h? >
Yes, it's a symlink to /usr/local/include/libpng16/png.h
Additional data. In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I then said 'alias make=gmake' and attempted to build Tk in the same directory as before. While 'make' completed satisfactorily, 'make test' died quickly in the same way. See attachment. The Makefile 'line 1462' mentioned there is the second line in target 'subdirs-test_dynamic', i.e., the one with 'cd PNG' in it. Thank you very much. Jim Keenan
Subject: Tk.gmake.test.output.txt
"/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tk.bs blib/arch/auto/Tk/Tk.bs 644 cd pTk && make DEFINE="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2 -pipe -fstack-protector -fno-strict-aliasing" PREFIX="/usr/local" PASTHRU_DEFINE=' ' PASTHRU_INC='-I/usr/local/include -I/usr/local/include/freetype2 ' Manifying 103 pod documents Manifying 1 pod document Manifying 2 pod documents "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- X.bs ../../blib/arch/auto/Tk/X/X.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Xlib.bs ../blib/arch/auto/Tk/Xlib/Xlib.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- WinPhoto.bs ../blib/arch/auto/Tk/WinPhoto/WinPhoto.bs 644 Manifying 1 pod document "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pixmap.bs ../blib/arch/auto/Tk/Pixmap/Pixmap.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- TixGrid.bs ../blib/arch/auto/Tk/TixGrid/TixGrid.bs 644 Manifying 1 pod document "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Text.bs ../blib/arch/auto/Tk/Text/Text.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- TList.bs ../blib/arch/auto/Tk/TList/TList.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Scrollbar.bs ../blib/arch/auto/Tk/Scrollbar/Scrollbar.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Scale.bs ../blib/arch/auto/Tk/Scale/Scale.bs 644 cd zlib && make libz.a "CC=cc -DPIC -fPIC" RANLIB=":" `libz.a' is up to date. make all-am "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PNG.bs ../blib/arch/auto/Tk/PNG/PNG.bs 644 Manifying 1 pod document "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- NBFrame.bs ../blib/arch/auto/Tk/NBFrame/NBFrame.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Mwm.bs ../blib/arch/auto/Tk/Mwm/Mwm.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Menubutton.bs ../blib/arch/auto/Tk/Menubutton/Menubutton.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Listbox.bs ../blib/arch/auto/Tk/Listbox/Listbox.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- JPEG.bs ../blib/arch/auto/Tk/JPEG/JPEG.bs 644 Manifying 1 pod document Manifying 1 pod document "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- InputO.bs ../blib/arch/auto/Tk/InputO/InputO.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- IO.bs ../blib/arch/auto/Tk/IO/IO.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- HList.bs ../blib/arch/auto/Tk/HList/HList.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Event.bs ../blib/arch/auto/Tk/Event/Event.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Entry.bs ../blib/arch/auto/Tk/Entry/Entry.bs 644 Manifying 3 pod documents "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Compound.bs ../blib/arch/auto/Tk/Compound/Compound.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Canvas.bs ../blib/arch/auto/Tk/Canvas/Canvas.bs 644 "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PNG.bs ../blib/arch/auto/Tk/PNG/PNG.bs 644 cd zlib && make libz.a "CC=cc -DPIC -fPIC" RANLIB=":" `libz.a' is up to date. make all-am make[2]: don't know how to make test_dynamic. Stop make[2]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk-804.034/PNG/libpng *** Error code 2 Stop. make[1]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk-804.034/PNG gmake: *** [Makefile:1462: subdirs-test_dynamic] Error 1
On 2018-03-25 16:05:33, JKEENAN wrote: Show quoted text
> Additional data. > > In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I then > said 'alias make=gmake' and attempted to build Tk in the same > directory as before. While 'make' completed satisfactorily, 'make > test' died quickly in the same way. > > See attachment. The Makefile 'line 1462' mentioned there is the > second line in target 'subdirs-test_dynamic', i.e., the one with 'cd > PNG' in it. >
Another question: is the existence of zlib correctly detected? Does the following print something? pkg-config --exists zlib || echo zlib not installed
RT-Send-CC: jkeenan [...] pobox.com
On 2018-03-25 16:54:00, SREZIC wrote: Show quoted text
> On 2018-03-25 16:05:33, JKEENAN wrote:
> > Additional data. > > > > In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I then > > said 'alias make=gmake' and attempted to build Tk in the same > > directory as before. While 'make' completed satisfactorily, 'make > > test' died quickly in the same way. > > > > See attachment. The Makefile 'line 1462' mentioned there is the > > second line in target 'subdirs-test_dynamic', i.e., the one with 'cd > > PNG' in it. > >
> > Another question: is the existence of zlib correctly detected? Does > the following print something? > > pkg-config --exists zlib || echo zlib not installed
I pushed an experimental branch to Tk's git repo. Can you git-clone the repository from github, switch to the branch XXX-rt-perl-124910 and retry the build? I suspect you don't have the pkgconf package installed, so detection of the available system libraries failed and the compilation of the bundled png+zlib libraries happened. If this is the case then installing pkgconf could make the Tk-804.034 compilation successful, without patching.
Subject: Re: [rt.cpan.org #124910] Test failure on FreeBSD-11.0 with perl-5.27.10: "don't know how to make test_dynamic"
Date: Sun, 25 Mar 2018 19:20:54 -0400
To: bug-Tk [...] rt.cpan.org
From: James E Keenan <jkeenan [...] pobox.com>
On 03/25/2018 04:54 PM, Slaven_Rezic via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=124910 > > > On 2018-03-25 16:05:33, JKEENAN wrote:
>> Additional data. >> >> In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I then >> said 'alias make=gmake' and attempted to build Tk in the same >> directory as before. While 'make' completed satisfactorily, 'make >> test' died quickly in the same way. >> >> See attachment. The Makefile 'line 1462' mentioned there is the >> second line in target 'subdirs-test_dynamic', i.e., the one with 'cd >> PNG' in it. >>
> > Another question: is the existence of zlib correctly detected? Does the following print something? > > pkg-config --exists zlib || echo zlib not installed >
It prints nothing at all -- but I'm not sure that's the correct command. When I type: $> man pkg-config ... what comes up is a man page whose first line is "pkg config - retrieve the value of a given configuration option". But I don't think we're looking for a configuration option here. On the other hand, when I type: $> man zlib ... I get ZLIB(3), whose first line reads: "zlib - compression/decompression library" So I believe I have zlib. (Replies to your other posts coming soon.) Thank you very much.
Subject: Re: [rt.cpan.org #124910] Test failure on FreeBSD-11.0 with perl-5.27.10: "don't know how to make test_dynamic"
Date: Sun, 25 Mar 2018 19:24:03 -0400
To: bug-Tk [...] rt.cpan.org
From: James E Keenan <jkeenan [...] pobox.com>
On 03/25/2018 05:17 PM, Slaven_Rezic via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=124910 > > > On 2018-03-25 16:54:00, SREZIC wrote:
>> On 2018-03-25 16:05:33, JKEENAN wrote:
>>> Additional data. >>> >>> In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I then >>> said 'alias make=gmake' and attempted to build Tk in the same >>> directory as before. While 'make' completed satisfactorily, 'make >>> test' died quickly in the same way. >>> >>> See attachment. The Makefile 'line 1462' mentioned there is the >>> second line in target 'subdirs-test_dynamic', i.e., the one with 'cd >>> PNG' in it. >>>
>> >> Another question: is the existence of zlib correctly detected? Does >> the following print something? >> >> pkg-config --exists zlib || echo zlib not installed
Rearranging your comments a bit ... Show quoted text
> I suspect you don't have the pkgconf package installed,
To the contrary, I installed pkgconf two days ago as part of my effort to get a different CPAN-3000 library to test properly on FreeBSD. Show quoted text
> ...so detection of the available system libraries failed and the compilation of the bundled png+zlib libraries happened. If this is the case then installing pkgconf could make the Tk-804.034 compilation successful, without patching. > > I pushed an experimental branch to Tk's git repo. Can you git-clone the repository from github, switch to the branch XXX-rt-perl-124910 and retry the build? >
Will try this later tonight or tomorrow. Thanks.
On Sun Mar 25 19:24:16 2018, jkeenan@pobox.com wrote: Show quoted text
> On 03/25/2018 05:17 PM, Slaven_Rezic via RT wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=124910 > > > > > On 2018-03-25 16:54:00, SREZIC wrote:
> >> On 2018-03-25 16:05:33, JKEENAN wrote:
> >>> Additional data. > >>> > >>> In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I then > >>> said 'alias make=gmake' and attempted to build Tk in the same > >>> directory as before. While 'make' completed satisfactorily, 'make > >>> test' died quickly in the same way. > >>> > >>> See attachment. The Makefile 'line 1462' mentioned there is the > >>> second line in target 'subdirs-test_dynamic', i.e., the one with > >>> 'cd > >>> PNG' in it. > >>>
> >> > >> Another question: is the existence of zlib correctly detected? Does > >> the following print something? > >> > >> pkg-config --exists zlib || echo zlib not installed
> > Rearranging your comments a bit ... >
> > I suspect you don't have the pkgconf package installed,
> > To the contrary, I installed pkgconf two days ago as part of my effort > to get a different CPAN-3000 library to test properly on FreeBSD. > >
> > ...so detection of the available system libraries failed and the > > compilation of the bundled png+zlib libraries happened. If this is > > the case then installing pkgconf could make the Tk-804.034 > > compilation successful, without patching. > > > > I pushed an experimental branch to Tk's git repo. Can you git-clone > > the repository from github, switch to the branch XXX-rt-perl-124910 > > and retry the build? > >
> > Will try this later tonight or tomorrow. Thanks.
I got a different result; see attached. 'make test' did not collapse ... but on the other hand, from the point of automated testing a 'NOTESTS' result is not all that useful. For reference, this FreeBSD-11.0 is a VM running inside VMWare sitting on a Linux laptop. Thank you very much. Jim Keenan
Subject: tk-XXX-branch-make-test-output.txt.gz

Message body not shown because it is not plain text.

On Sun Mar 25 19:37:51 2018, JKEENAN wrote: Show quoted text
> On Sun Mar 25 19:24:16 2018, jkeenan@pobox.com wrote:
> > On 03/25/2018 05:17 PM, Slaven_Rezic via RT wrote:
> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=124910 > > > > > > > On 2018-03-25 16:54:00, SREZIC wrote:
> > >> On 2018-03-25 16:05:33, JKEENAN wrote:
> > >>> Additional data. > > >>> > > >>> In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I > > >>> then > > >>> said 'alias make=gmake' and attempted to build Tk in the same > > >>> directory as before. While 'make' completed satisfactorily, > > >>> 'make > > >>> test' died quickly in the same way. > > >>> > > >>> See attachment. The Makefile 'line 1462' mentioned there is the > > >>> second line in target 'subdirs-test_dynamic', i.e., the one with > > >>> 'cd > > >>> PNG' in it. > > >>>
> > >> > > >> Another question: is the existence of zlib correctly detected? > > >> Does > > >> the following print something? > > >> > > >> pkg-config --exists zlib || echo zlib not installed
> > > > Rearranging your comments a bit ... > >
> > > I suspect you don't have the pkgconf package installed,
> > > > To the contrary, I installed pkgconf two days ago as part of my > > effort > > to get a different CPAN-3000 library to test properly on FreeBSD. > > > >
> > > ...so detection of the available system libraries failed and the > > > compilation of the bundled png+zlib libraries happened. If this is > > > the case then installing pkgconf could make the Tk-804.034 > > > compilation successful, without patching. > > > > > > I pushed an experimental branch to Tk's git repo. Can you git-clone > > > the repository from github, switch to the branch XXX-rt-perl-124910 > > > and retry the build? > > >
> > > > Will try this later tonight or tomorrow. Thanks.
> > I got a different result; see attached. 'make test' did not collapse > ... but on the other hand, from the point of automated testing a > 'NOTESTS' result is not all that useful. For reference, this FreeBSD- > 11.0 is a VM running inside VMWare sitting on a Linux laptop. >
Just now I tried building Tk via 'cpan' on my Linode and observed that while it installed successfully, all tests were effectively bypassed with language similar to what I reported in the FreeBSD-11.0 VM. Excerpt: ##### ./xt/skip_all_mw.t .. skipped: Cannot create MainWindow (maybe no X11 server is running or DISPLAY is not set?) Files=1, Tests=0, 0 wallclock secs ( 0.02 usr + 0.01 sys = 0.03 CPU) Result: NOTESTS SREZIC/Tk-804.034.tar.gz /usr/bin/make test -- OK Running make install ##### So, apart from the fact that the latest tarball does not build on FreeBSD-11.0 but the XXX branch from github does, I guess I have to ask the following: Given that the purpose of this project is to have a version of Tk on CPAN that builds, tests and installs cleanly on FreeBSD at the time of release of perl-5.29.0, what I need to do to that FreeBSD environment so that Tk's test suite is exercised enough to detect and P5P-induced breakage during the next development cycle? Thank you very much. Jim Keenan
On 2018-03-25 19:50:22, JKEENAN wrote: Show quoted text
> On Sun Mar 25 19:37:51 2018, JKEENAN wrote:
> > On Sun Mar 25 19:24:16 2018, jkeenan@pobox.com wrote:
> > > On 03/25/2018 05:17 PM, Slaven_Rezic via RT wrote:
> > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=124910 > > > > > > > > > On 2018-03-25 16:54:00, SREZIC wrote:
> > > >> On 2018-03-25 16:05:33, JKEENAN wrote:
> > > >>> Additional data. > > > >>> > > > >>> In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I > > > >>> then > > > >>> said 'alias make=gmake' and attempted to build Tk in the same > > > >>> directory as before. While 'make' completed satisfactorily, > > > >>> 'make > > > >>> test' died quickly in the same way. > > > >>> > > > >>> See attachment. The Makefile 'line 1462' mentioned there is > > > >>> the > > > >>> second line in target 'subdirs-test_dynamic', i.e., the one > > > >>> with > > > >>> 'cd > > > >>> PNG' in it. > > > >>>
> > > >> > > > >> Another question: is the existence of zlib correctly detected? > > > >> Does > > > >> the following print something? > > > >> > > > >> pkg-config --exists zlib || echo zlib not installed
> > > > > > Rearranging your comments a bit ... > > >
> > > > I suspect you don't have the pkgconf package installed,
> > > > > > To the contrary, I installed pkgconf two days ago as part of my > > > effort > > > to get a different CPAN-3000 library to test properly on FreeBSD. > > > > > >
> > > > ...so detection of the available system libraries failed and the > > > > compilation of the bundled png+zlib libraries happened. If this > > > > is > > > > the case then installing pkgconf could make the Tk-804.034 > > > > compilation successful, without patching. > > > > > > > > I pushed an experimental branch to Tk's git repo. Can you git- > > > > clone > > > > the repository from github, switch to the branch XXX-rt-perl- > > > > 124910 > > > > and retry the build? > > > >
> > > > > > Will try this later tonight or tomorrow. Thanks.
> > > > I got a different result; see attached. 'make test' did not collapse > > ... but on the other hand, from the point of automated testing a > > 'NOTESTS' result is not all that useful. For reference, this > > FreeBSD- > > 11.0 is a VM running inside VMWare sitting on a Linux laptop. > >
> > Just now I tried building Tk via 'cpan' on my Linode and observed that > while it installed successfully, all tests were effectively bypassed > with language similar to what I reported in the FreeBSD-11.0 VM. > Excerpt: > > ##### > ./xt/skip_all_mw.t .. skipped: Cannot create MainWindow (maybe no X11 > server is running or DISPLAY is not set?) > Files=1, Tests=0, 0 wallclock secs ( 0.02 usr + 0.01 sys = 0.03 > CPU) > Result: NOTESTS > SREZIC/Tk-804.034.tar.gz > /usr/bin/make test -- OK > Running make install > ##### > > So, apart from the fact that the latest tarball does not build on > FreeBSD-11.0 but the XXX branch from github does, I guess I have to > ask the following: > > Given that the purpose of this project is to have a version of Tk on > CPAN that builds, tests and installs cleanly on FreeBSD at the time of > release of perl-5.29.0, what I need to do to that FreeBSD environment > so that Tk's test suite is exercised enough to detect and P5P-induced > breakage during the next development cycle?
This is adressed in http://wiki.cpantesters.org/wiki/TipsAndTricks "Running tests that require an X server". Unfortunately the link to Florian's blog post seems to be dead. What needs to be done is to setup a headless X server --- either Xvfb or a vnc server (my choice) would do. On linux systems the convenience script xvfb-run is often available. I don't see a freebsd port containing xvfb-run, but given it's just a sh script it could possible also run on freebsd.
On 2018-03-25 19:21:08, jkeenan@pobox.com wrote: Show quoted text
> On 03/25/2018 04:54 PM, Slaven_Rezic via RT wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=124910 > > > > > On 2018-03-25 16:05:33, JKEENAN wrote:
> >> Additional data. > >> > >> In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I then > >> said 'alias make=gmake' and attempted to build Tk in the same > >> directory as before. While 'make' completed satisfactorily, 'make > >> test' died quickly in the same way. > >> > >> See attachment. The Makefile 'line 1462' mentioned there is the > >> second line in target 'subdirs-test_dynamic', i.e., the one with 'cd > >> PNG' in it. > >>
> > > > Another question: is the existence of zlib correctly detected? Does > > the following print something? > > > > pkg-config --exists zlib || echo zlib not installed > >
> > It prints nothing at all -- but I'm not sure that's the correct > command. > > When I type: > $> man pkg-config > ... what comes up is a man page whose first line is "pkg config - > retrieve the value of a given configuration option". But I don't > think > we're looking for a configuration option here. > > On the other hand, when I type: > $> man zlib > ... I get ZLIB(3), whose first line reads: "zlib - > compression/decompression library" > > So I believe I have zlib. (Replies to your other posts coming soon.) >
Hmmm. Looking at Tk-804.034.cpanm.build.log.gz it indeed looks like the prerequisite libpng is found (and if libpng is available, then zlib also should be available). But compilation of the test .c program failed. May you try the following: in a Tk checkout in PNG/Makefile.PL add the line $Tk::MMtry::VERBOSE = 1; after the "use" block. And then cd to the PNG subdirectory and run /path/to/perl -I.. Makefile.PL and send me the output (actually what's interesting is the part between Test Compile/Run config/has_png.c and Building libpng.a )
On Wed Mar 28 04:46:21 2018, SREZIC wrote: Show quoted text
> On 2018-03-25 19:21:08, jkeenan@pobox.com wrote:
> > On 03/25/2018 04:54 PM, Slaven_Rezic via RT wrote:
> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=124910 > > > > > > > On 2018-03-25 16:05:33, JKEENAN wrote:
> > >> Additional data. > > >> > > >> In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I then > > >> said 'alias make=gmake' and attempted to build Tk in the same > > >> directory as before. While 'make' completed satisfactorily, 'make > > >> test' died quickly in the same way. > > >> > > >> See attachment. The Makefile 'line 1462' mentioned there is the > > >> second line in target 'subdirs-test_dynamic', i.e., the one with > > >> 'cd > > >> PNG' in it. > > >>
> > > > > > Another question: is the existence of zlib correctly detected? Does > > > the following print something? > > > > > > pkg-config --exists zlib || echo zlib not installed > > >
> > > > It prints nothing at all -- but I'm not sure that's the correct > > command. > > > > When I type: > > $> man pkg-config > > ... what comes up is a man page whose first line is "pkg config - > > retrieve the value of a given configuration option". But I don't > > think > > we're looking for a configuration option here. > > > > On the other hand, when I type: > > $> man zlib > > ... I get ZLIB(3), whose first line reads: "zlib - > > compression/decompression library" > > > > So I believe I have zlib. (Replies to your other posts coming soon.) > >
> > Hmmm. Looking at Tk-804.034.cpanm.build.log.gz it indeed looks like > the prerequisite libpng is found (and if libpng is available, then > zlib also should be available). But compilation of the test .c program > failed. > > May you try the following: in a Tk checkout in PNG/Makefile.PL add the > line > > $Tk::MMtry::VERBOSE = 1; > > after the "use" block. And then cd to the PNG subdirectory and run > > /path/to/perl -I.. Makefile.PL > > and send me the output (actually what's interesting is the part > between > > Test Compile/Run config/has_png.c > > and > > Building libpng.a > )
That was a fruitful diagnostic. I followed the instructions above, but when I attempted to run Makefile.PL *from the PNG subdirectory* I got a "missing from @INC" error. So I simply moved up to the top-level of the git checkout and ran Makefile.PL as I normally would. The full output is attached, gzipped. Here's the relevant excerpt: ##### Test Compile/Run config/has_png.c /usr/local/lib/libpng16.so: undefined reference to `inflateValidate@ZLIB_1.2.9' cc: error: linker command failed with exit code 1 (use -v to see invocation) Building libpng.a ##### (Based on DDG searches, I'm also attaching the output of 'ldd -av /usr/local/lib/libpng16.so'.) Thank you very much. Jim Keenan
Subject: ldd-libpng16-freebsd-11.0.output.txt
$> ldd -av /usr/local/lib/libpng16.so /usr/local/lib/libpng16.so: libz.so.6 => /lib/libz.so.6 (0x80123b000) libm.so.5 => /lib/libm.so.5 (0x801452000) libc.so.7 => /lib/libc.so.7 (0x800823000) /lib/libz.so.6: libc.so.7 => /lib/libc.so.7 (0x800823000) /lib/libm.so.5: libc.so.7 => /lib/libc.so.7 (0x800823000)
On Wed Mar 28 08:34:07 2018, JKEENAN wrote: Show quoted text
> On Wed Mar 28 04:46:21 2018, SREZIC wrote:
> > On 2018-03-25 19:21:08, jkeenan@pobox.com wrote:
> > > On 03/25/2018 04:54 PM, Slaven_Rezic via RT wrote:
> > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=124910 > > > > > > > > > On 2018-03-25 16:05:33, JKEENAN wrote:
> > > >> Additional data. > > > >> > > > >> In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I > > > >> then > > > >> said 'alias make=gmake' and attempted to build Tk in the same > > > >> directory as before. While 'make' completed satisfactorily, > > > >> 'make > > > >> test' died quickly in the same way. > > > >> > > > >> See attachment. The Makefile 'line 1462' mentioned there is the > > > >> second line in target 'subdirs-test_dynamic', i.e., the one with > > > >> 'cd > > > >> PNG' in it. > > > >>
> > > > > > > > Another question: is the existence of zlib correctly detected? > > > > Does > > > > the following print something? > > > > > > > > pkg-config --exists zlib || echo zlib not installed > > > >
> > > > > > It prints nothing at all -- but I'm not sure that's the correct > > > command. > > > > > > When I type: > > > $> man pkg-config > > > ... what comes up is a man page whose first line is "pkg config - > > > retrieve the value of a given configuration option". But I don't > > > think > > > we're looking for a configuration option here. > > > > > > On the other hand, when I type: > > > $> man zlib > > > ... I get ZLIB(3), whose first line reads: "zlib - > > > compression/decompression library" > > > > > > So I believe I have zlib. (Replies to your other posts coming > > > soon.) > > >
> > > > Hmmm. Looking at Tk-804.034.cpanm.build.log.gz it indeed looks like > > the prerequisite libpng is found (and if libpng is available, then > > zlib also should be available). But compilation of the test .c > > program > > failed. > > > > May you try the following: in a Tk checkout in PNG/Makefile.PL add > > the > > line > > > > $Tk::MMtry::VERBOSE = 1; > > > > after the "use" block. And then cd to the PNG subdirectory and run > > > > /path/to/perl -I.. Makefile.PL > > > > and send me the output (actually what's interesting is the part > > between > > > > Test Compile/Run config/has_png.c > > > > and > > > > Building libpng.a > > )
> > That was a fruitful diagnostic. > > I followed the instructions above, but when I attempted to run > Makefile.PL *from the PNG subdirectory* I got a "missing from @INC" > error. So I simply moved up to the top-level of the git checkout and > ran Makefile.PL as I normally would. The full output is attached, > gzipped. Here's the relevant excerpt: > > ##### > Test Compile/Run config/has_png.c > /usr/local/lib/libpng16.so: undefined reference to > `inflateValidate@ZLIB_1.2.9' > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > Building libpng.a > ##### > > (Based on DDG searches, I'm also attaching the output of 'ldd -av > /usr/local/lib/libpng16.so'.) >
And also: ##### $> nm --dynamic /usr/local/lib/libpng16.so | grep -i inflateValidate U inflateValidate #####
On Wed Mar 28 09:11:24 2018, JKEENAN wrote: Show quoted text
> On Wed Mar 28 08:34:07 2018, JKEENAN wrote:
> > On Wed Mar 28 04:46:21 2018, SREZIC wrote:
> > > On 2018-03-25 19:21:08, jkeenan@pobox.com wrote:
> > > > On 03/25/2018 04:54 PM, Slaven_Rezic via RT wrote:
> > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=124910 > > > > > > > > > > > On 2018-03-25 16:05:33, JKEENAN wrote:
> > > > >> Additional data. > > > > >> > > > > >> In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. I > > > > >> then > > > > >> said 'alias make=gmake' and attempted to build Tk in the same > > > > >> directory as before. While 'make' completed satisfactorily, > > > > >> 'make > > > > >> test' died quickly in the same way. > > > > >> > > > > >> See attachment. The Makefile 'line 1462' mentioned there is the > > > > >> second line in target 'subdirs-test_dynamic', i.e., the one with > > > > >> 'cd > > > > >> PNG' in it. > > > > >>
> > > > > > > > > > Another question: is the existence of zlib correctly detected? > > > > > Does > > > > > the following print something? > > > > > > > > > > pkg-config --exists zlib || echo zlib not installed > > > > >
> > > > > > > > It prints nothing at all -- but I'm not sure that's the correct > > > > command. > > > > > > > > When I type: > > > > $> man pkg-config > > > > ... what comes up is a man page whose first line is "pkg config - > > > > retrieve the value of a given configuration option". But I don't > > > > think > > > > we're looking for a configuration option here. > > > > > > > > On the other hand, when I type: > > > > $> man zlib > > > > ... I get ZLIB(3), whose first line reads: "zlib - > > > > compression/decompression library" > > > > > > > > So I believe I have zlib. (Replies to your other posts coming > > > > soon.) > > > >
> > > > > > Hmmm. Looking at Tk-804.034.cpanm.build.log.gz it indeed looks like > > > the prerequisite libpng is found (and if libpng is available, then > > > zlib also should be available). But compilation of the test .c > > > program > > > failed. > > > > > > May you try the following: in a Tk checkout in PNG/Makefile.PL add > > > the > > > line > > > > > > $Tk::MMtry::VERBOSE = 1; > > > > > > after the "use" block. And then cd to the PNG subdirectory and run > > > > > > /path/to/perl -I.. Makefile.PL > > > > > > and send me the output (actually what's interesting is the part > > > between > > > > > > Test Compile/Run config/has_png.c > > > > > > and > > > > > > Building libpng.a > > > )
> > > > That was a fruitful diagnostic. > > > > I followed the instructions above, but when I attempted to run > > Makefile.PL *from the PNG subdirectory* I got a "missing from @INC" > > error. So I simply moved up to the top-level of the git checkout and > > ran Makefile.PL as I normally would. The full output is attached, > > gzipped. Here's the relevant excerpt: > > > > ##### > > Test Compile/Run config/has_png.c > > /usr/local/lib/libpng16.so: undefined reference to > > `inflateValidate@ZLIB_1.2.9' > > cc: error: linker command failed with exit code 1 (use -v to see > > invocation) > > Building libpng.a > > ##### > > > > (Based on DDG searches, I'm also attaching the output of 'ldd -av > > /usr/local/lib/libpng16.so'.) > >
> > And also: > > ##### > $> nm --dynamic /usr/local/lib/libpng16.so | grep -i inflateValidate > U inflateValidate > ##### >
And as if things aren't already complicated enough ... I am able to build, test and install Tk successfully on FreeBSD-10.3 against perl-5.27.10. ##### $ ./bin/perl -Ilib -v | head -2 | tail -1 This is perl 5, version 27, subversion 10 (v5.27.10) built for amd64-freebsd-thread-multi [v5.27.10] $ ./bin/perl -Ilib -MTk -E 'say $Tk::VERSION;say q|hello world|;' 804.034 hello world ##### The information I have on libpng is slightly different on 10.3 from 11.0. ##### $ ll /usr/local/lib/libpng* lrwxr-xr-x 1 root wheel - 10 Jul 27 2016 /usr/local/lib/libpng.a@ -> libpng16.a lrwxr-xr-x 1 root wheel - 11 Jul 27 2016 /usr/local/lib/libpng.so@ -> libpng16.so -rw-r--r-- 1 root wheel - 347226 Jul 27 2016 /usr/local/lib/libpng16.a lrwxr-xr-x 1 root wheel - 19 Jul 27 2016 /usr/local/lib/libpng16.so@ -> libpng16.so.16.21.0 lrwxr-xr-x 1 root wheel - 19 Jul 27 2016 /usr/local/lib/libpng16.so.16@ -> libpng16.so.16.21.0 -rwxr-xr-x 1 root wheel - 218120 Jul 27 2016 /usr/local/lib/libpng16.so.16.21.0 ##### On FreeBSD-11.0, where you have '16.21.0' in 10.3, you have '16.34.0'. I don't know enough about .so files to know whether this is significant or not. Here's another difference found on 10.3: ##### $> nm --dynamic /usr/local/lib/libpng16.so | grep -i inflateValidate $ [no output] #####
On Wed Mar 28 11:31:25 2018, JKEENAN wrote: Show quoted text
> On Wed Mar 28 09:11:24 2018, JKEENAN wrote:
> > On Wed Mar 28 08:34:07 2018, JKEENAN wrote:
> > > On Wed Mar 28 04:46:21 2018, SREZIC wrote:
> > > > On 2018-03-25 19:21:08, jkeenan@pobox.com wrote:
> > > > > On 03/25/2018 04:54 PM, Slaven_Rezic via RT wrote:
> > > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=124910 > > > > > > > > > > > > > On 2018-03-25 16:05:33, JKEENAN wrote:
> > > > > >> Additional data. > > > > > >> > > > > > >> In this FreeBSD-11.0 VM I installed GNU 'gmake' via 'pkg'. > > > > > >> I > > > > > >> then > > > > > >> said 'alias make=gmake' and attempted to build Tk in the > > > > > >> same > > > > > >> directory as before. While 'make' completed satisfactorily, > > > > > >> 'make > > > > > >> test' died quickly in the same way. > > > > > >> > > > > > >> See attachment. The Makefile 'line 1462' mentioned there is > > > > > >> the > > > > > >> second line in target 'subdirs-test_dynamic', i.e., the one > > > > > >> with > > > > > >> 'cd > > > > > >> PNG' in it. > > > > > >>
> > > > > > > > > > > > Another question: is the existence of zlib correctly > > > > > > detected? > > > > > > Does > > > > > > the following print something? > > > > > > > > > > > > pkg-config --exists zlib || echo zlib not installed > > > > > >
> > > > > > > > > > It prints nothing at all -- but I'm not sure that's the correct > > > > > command. > > > > > > > > > > When I type: > > > > > $> man pkg-config > > > > > ... what comes up is a man page whose first line is "pkg > > > > > config - > > > > > retrieve the value of a given configuration option". But I > > > > > don't > > > > > think > > > > > we're looking for a configuration option here. > > > > > > > > > > On the other hand, when I type: > > > > > $> man zlib > > > > > ... I get ZLIB(3), whose first line reads: "zlib - > > > > > compression/decompression library" > > > > > > > > > > So I believe I have zlib. (Replies to your other posts coming > > > > > soon.) > > > > >
> > > > > > > > Hmmm. Looking at Tk-804.034.cpanm.build.log.gz it indeed looks > > > > like > > > > the prerequisite libpng is found (and if libpng is available, > > > > then > > > > zlib also should be available). But compilation of the test .c > > > > program > > > > failed. > > > > > > > > May you try the following: in a Tk checkout in PNG/Makefile.PL > > > > add > > > > the > > > > line > > > > > > > > $Tk::MMtry::VERBOSE = 1; > > > > > > > > after the "use" block. And then cd to the PNG subdirectory and > > > > run > > > > > > > > /path/to/perl -I.. Makefile.PL > > > > > > > > and send me the output (actually what's interesting is the part > > > > between > > > > > > > > Test Compile/Run config/has_png.c > > > > > > > > and > > > > > > > > Building libpng.a > > > > )
> > > > > > That was a fruitful diagnostic. > > > > > > I followed the instructions above, but when I attempted to run > > > Makefile.PL *from the PNG subdirectory* I got a "missing from @INC" > > > error. So I simply moved up to the top-level of the git checkout > > > and > > > ran Makefile.PL as I normally would. The full output is attached, > > > gzipped. Here's the relevant excerpt: > > > > > > ##### > > > Test Compile/Run config/has_png.c > > > /usr/local/lib/libpng16.so: undefined reference to > > > `inflateValidate@ZLIB_1.2.9' > > > cc: error: linker command failed with exit code 1 (use -v to see > > > invocation) > > > Building libpng.a > > > ##### > > > > > > (Based on DDG searches, I'm also attaching the output of 'ldd -av > > > /usr/local/lib/libpng16.so'.) > > >
> > > > And also: > > > > ##### > > $> nm --dynamic /usr/local/lib/libpng16.so | grep -i inflateValidate > > U inflateValidate > > ##### > >
> > And as if things aren't already complicated enough ... > > I am able to build, test and install Tk successfully on FreeBSD-10.3 > against perl-5.27.10. > > ##### > $ ./bin/perl -Ilib -v | head -2 | tail -1 > This is perl 5, version 27, subversion 10 (v5.27.10) built for amd64- > freebsd-thread-multi > [v5.27.10] $ ./bin/perl -Ilib -MTk -E 'say $Tk::VERSION;say q|hello > world|;' > 804.034 > hello world > ##### > > The information I have on libpng is slightly different on 10.3 from > 11.0. > > ##### > $ ll /usr/local/lib/libpng* > lrwxr-xr-x 1 root wheel - 10 Jul 27 2016 > /usr/local/lib/libpng.a@ -> libpng16.a > lrwxr-xr-x 1 root wheel - 11 Jul 27 2016 > /usr/local/lib/libpng.so@ -> libpng16.so > -rw-r--r-- 1 root wheel - 347226 Jul 27 2016 > /usr/local/lib/libpng16.a > lrwxr-xr-x 1 root wheel - 19 Jul 27 2016 > /usr/local/lib/libpng16.so@ -> libpng16.so.16.21.0 > lrwxr-xr-x 1 root wheel - 19 Jul 27 2016 > /usr/local/lib/libpng16.so.16@ -> libpng16.so.16.21.0 > -rwxr-xr-x 1 root wheel - 218120 Jul 27 2016 > /usr/local/lib/libpng16.so.16.21.0 > ##### > > On FreeBSD-11.0, where you have '16.21.0' in 10.3, you have '16.34.0'. > I don't know enough about .so files to know whether this is > significant or not. > > Here's another difference found on 10.3: > > ##### > $> nm --dynamic /usr/local/lib/libpng16.so | grep -i inflateValidate > $ [no output] > #####
And, for good measure, attaching a diff of the headers in /usr/local/include/libpng16 between FreeBSD-10.3 and -11.0. Thank you very much. Jim Keenan
Subject: freebsd-libpng16-10.3-versus-11.0.diff

Message body is not shown because it is too large.

On 2018-03-25 11:00:26, JKEENAN wrote: Show quoted text
> As part of my 'CPAN river' testing, I tested Tk-804.034 first against > perl-5.27.10 and then against blead. Notwithstanding some build-time > warnings, 'make' completed successfully -- but then 'make all-am' > failed. (As a consequence, Tk-Pod failed as well.) Full .cpanm > build.log attached (gzipped); here's the relevant excerpt. > > ##### > make all-am > make[2]: don't know how to make test_dynamic. Stop > > make[2]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- > 804.034/PNG/libpng > *** Error code 2 > > Stop. > make[1]: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- > 804.034/PNG > *** Error code 1 > > Stop. > make: stopped in /usr/home/jkeenan/.cpanm/work/1521988924.39230/Tk- > 804.034 > -> FAIL Installing Tk failed. See > /home/jkeenan/.cpanm/work/1521988924.39230/build.log for details. > Retry with --force to force install it. > ##### > > As Tk has many other CPAN distributions depending on it, it would be > good to get this cleared up before the release of perl-5.28.0.
This kind of failure should not happen anymore. This was fixed between Tk 804.034_500 and 804.034_501, see * http://fast-matrix.cpantesters.org/?dist=Tk%20804.034_500 * http://fast-matrix.cpantesters.org/?dist=Tk%20804.034_501