perl5.20

Frank Schima mf2k at macports.org
Thu Jul 24 08:23:07 PDT 2014


On Jul 24, 2014, at 12:48 AM, Mojca Miklavec <mojca at macports.org> wrote:

> So far I’m hitting a few bumps with p5.20-digest-sha1 [1] and p5.18-pdl not compiling. I can’t even try p5.20-pdl until p5.20-digest-sha1 is fixed.
> 
> The digest-sha1 works for me, pdl takes a bit longer, but eventually
> fails for me as well.
> 
> :info:build pdlcore.c:875:66: warning: format specifies type 'int' but
> the argument has type 'PDL_Indx' (aka 'long') [-Wformat]
> :info:build     fprintf(stderr,"pdl_kludge_copy: level=%d;
> ndims=%d\n",level,ndims);
> :info:build                                                      ~~
>      ^~~~~
> :info:build                                                      %ld
> :info:build pdlcore.c:876:161: warning: format specifies type 'int'
> but the argument has type 'long' [-Wformat]
> :info:build     croak("Internal error - please submit a bug report at
> http://sourceforge.net/projects/pdl/:\n  pdl_kludge_copy: Assertion
> failed; ndims-1-level (%d) < 0!.",ndims-1-level);
> :info:build
> 
>                   ~~         ^~~~~~~~~~~~~
> :info:build
> 
>                   %ld
> 
> ...
> 
> Odd number of elements in hash assignment at
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/perl/p5-pdl/files/fix-pdldocdb.pl
> line 41.
> Use of uninitialized value in join or string at
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/perl/p5-pdl/files/fix-pdldocdb.pl
> line 59.
> 
> 
> The first one is
>    my ( $sym, %hash ) = split chr(0), $txt;
> and the second one is a consequence of the first one failing. I don't
> speak Perl well enough to be able to diagnose.

Forcing a reinstall of perl5 +perl5_20 and perl5.20 allowed me to get past the fakethr.h error in p5.20-digest-sha1 (and others). I too am seeing the same error trying to build p5.20-pdl. I also am unsure what to do about it. That’s being tracked in ticket #44420 opened by Dave Evans [1]. 

> I see that the buildbots failed to compile opengl and wx. OpenGL failed with:
> 
> DEBUG: Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-opengl/p5.18-opengl/work/OpenGL-0.62"
> && /opt/local/bin/perl5.18 Makefile.PL INSTALLDIRS=vendor
> CC="/usr/bin/clang" LD="/usr/bin/clang"'
> DEBUG: Executing command line:  cd
> "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-opengl/p5.18-opengl/work/OpenGL-0.62"
> && /opt/local/bin/perl5.18 Makefile.PL INSTALLDIRS=vendor
> CC="/usr/bin/clang" LD="/usr/bin/clang"
> _RegisterApplication(), FAILED TO establish the default connection to
> the WindowServer, _CGSDefaultConnection() is NULL.
> 2014-07-23 15:04:56.241 glversion[9341:407] invalid CoreGraphics connection
> 2014-07-23 15:04:56.242 glversion[9341:407] invalid CoreGraphics connection
> 2014-07-23 15:04:56.242 glversion[9341:407] GLUT Fatal Error: pixel
> format with necessary capabilities not found.
> make: *** [glversion.txt] Error 1
> 
> but it works when I build it from source.

Yes, I see this too. I can also compile p5.20-opengl locally. I’m not sure what to do about p5.20-wx. 


Cheers!
Frank

[1] <https://trac.macports.org/ticket/44420>



More information about the macports-dev mailing list