Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

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

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

Bug Information
Severity: Critical
Broken in:
  • 804.030
  • 804.030_502
Fixed in: 804.031



Subject: Tk fails 'make' on Mac OS X with Perl v5.18.0
Full details in CPAN Testers Report: http://www.cpantesters.org/cpan/report/653023c8-c11a-11e2-bb06-a3dd64ccac31 Installation attempted via 'cpan': cpan[5]> install Tk Problem appears to start with 'Input0.pm': ... cp InputO.pm ../blib/lib/Tk/InputO.pm /Users/ken/perl5/perlbrew/perls/perl-5.18.0t/bin/perl /Users/ken/perl5/perlbrew/perls/perl-5.18.0t/lib/5.18.0/ExtUtils/xsubpp -typemap /Users/ken/perl5/perlbrew/perls/perl-5.18.0t/lib/5.18.0/ExtUtils/typemap -typemap /Users/ken/.cpan/build/Tk-804.030-gxxIsg/Tk/typemap InputO.xs > InputO.xsc && mv InputO.xsc InputO.c cc -c -I.. -I/usr/X11R6/include -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include -O3 -DVERSION=\"804.03\" -DXS_VERSION=\"804.03\" "-I/Users/ken/perl5/perlbrew/perls/perl-5.18.0t/lib/5.18.0/darwin-thread-multi-2level/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ InputO.c Running Mkbootstrap for Tk::InputO () chmod 644 InputO.bs rm -f ../blib/arch/auto/Tk/InputO/InputO.bundle env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib -fstack-protector InputO.o -o ../blib/arch/auto/Tk/InputO/InputO.bundle ../pTk/libpTk.a \ -lm \ chmod 755 ../blib/arch/auto/Tk/InputO/InputO.bundle cp InputO.bs ../blib/arch/auto/Tk/InputO/InputO.bs chmod 644 ../blib/arch/auto/Tk/InputO/InputO.bs cp IO.pm ../blib/lib/Tk/IO.pm /Users/ken/perl5/perlbrew/perls/perl-5.18.0t/bin/perl /Users/ken/perl5/perlbrew/perls/perl-5.18.0t/lib/5.18.0/ExtUtils/xsubpp -typemap /Users/ken/perl5/perlbrew/perls/perl-5.18.0t/lib/5.18.0/ExtUtils/typemap -typemap /Users/ken/.cpan/build/Tk-804.030-gxxIsg/Tk/typemap IO.xs > IO.xsc && mv IO.xsc IO.c Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in IO.xs, line 235 cc -c -I.. -I/usr/X11R6/include -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include -O3 -DVERSION=\"804.03\" -DXS_VERSION=\"804.03\" "-I/Users/ken/perl5/perlbrew/perls/perl-5.18.0t/lib/5.18.0/darwin-thread-multi-2level/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ IO.c IO.xs: In function ‘XS_Tk__IO_read’: IO.xs:210: error: wrong type argument to unary exclamation mark make[1]: *** [IO.o] Error 1 make: *** [subdirs] Error 2 (/usr/bin/make exited with 512) CPAN::Reporter: make result is 'unknown', Stopped with an error. CPAN::Reporter: preparing a CPAN Testers report for Tk-804.030 CPAN::Reporter: this appears to be a duplicate report for the make phase: UNKNOWN Tk-804.030 darwin-thread-multi-2level 11.4.2 Test report will not be sent. SREZIC/Tk-804.030.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: SREZIC/Tk-804.030.tar.gz : make NO Local details: $ uname -a Darwin ganymede 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64 $ perl -V Summary of my perl5 (revision 5 version 18 subversion 0) configuration: Platform: osname=darwin, osvers=11.4.2, archname=darwin-thread-multi-2level uname='darwin ganymede 11.4.2 darwin kernel version 11.4.2: thu aug 23 16:25:48 pdt 2012; root:xnu-1699.32.7~1release_x86_64 x86_64 ' config_args='-de -Dprefix=/Users/ken/perl5/perlbrew/perls/perl-5.18.0t -Dusethreads' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include', optimize='-O3', cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include' ccversion='', gccversion='4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -L/usr/local/lib -L/opt/local/lib' libpth=/usr/local/lib /opt/local/lib /usr/lib libs=-lgdbm -ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_SAWAMPERSAND 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_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under darwin Compiled at May 20 2013 11:53:25 %ENV: PERL5LIB="/Users/ken/local/lib/perl" PERLBREW_BASHRC_VERSION="0.30" PERLBREW_HOME="/Users/ken/.perlbrew" PERLBREW_PATH="/Users/ken/perl5/perlbrew/bin:/Users/ken/perl5/perlbrew/perls/perl-5.18.0t/bin" PERLBREW_PERL="perl-5.18.0t" PERLBREW_ROOT="/Users/ken/perl5/perlbrew" PERLBREW_VERSION="0.30" @INC: /Users/ken/local/lib/perl /Users/ken/perl5/perlbrew/perls/perl-5.18.0t/lib/site_perl/5.18.0/darwin-thread-multi-2level /Users/ken/perl5/perlbrew/perls/perl-5.18.0t/lib/site_perl/5.18.0 /Users/ken/perl5/perlbrew/perls/perl-5.18.0t/lib/5.18.0/darwin-thread-multi-2level /Users/ken/perl5/perlbrew/perls/perl-5.18.0t/lib/5.18.0 . ------------------------------------------------------------------------- I also just tried the latest development version: cpan[9]> install S/SR/SREZIC/Tk-804.027_502.tar.gz 'make' failure looks identical. CPAN Testers Report sent (will add URL when update queue catches up).
On 2013-05-23 01:22:18, KCOTT wrote: Show quoted text
> I also just tried the latest development version: cpan[9]> install > S/SR/SREZIC/Tk-804.027_502.tar.gz >
This is an old one --- please try 804.030_502 Regards, Slaven
My apologies - I had used '804.027_502' instead of '804.030_502'. Retried with '804.030_502': a couple of test failures (which is normal) - 'force install' worked fine. CPAN Testers Report sent (Report page in update queue at time of writing). All (local) Tk programs tested successfully. Despite test failures, I'm happy for this ticket to be closed.
Installed 804.031 - required 'force' due to minimal (and usual) test failures: # Failed test 'attempting to resize a gridded toplevel to a value bigger' # at t/wm-tcl.t line 1145. # got: '4' # expected: '6' # Failed test at t/wm-tcl.t line 1147. # got: '4' # expected: '5' # Looks like you failed 2 tests of 315. t/wm-tcl.t ................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/315 subtests (less 43 skipped subtests: 270 okay) (28 TODO tests unexpectedly succeeded) ... Failed 1/72 test programs. 2/4338 subtests failed. *NOTE* "(28 TODO tests unexpectedly succeeded)" Marking this ticket as 'resolved'.