Bug#752965: libwx-glcanvas-perl: FTBFS - configure check fails to detect wxWidgets

gregor herrmann gregoa at debian.org
Sat Jun 28 13:40:05 UTC 2014


Control: tag -1 + confirmed

On Sat, 28 Jun 2014 01:41:03 +0100, Michael Tautschnig wrote:

>    dh_auto_configure
> Searching configuration for:
> wxWidgets (any version) for (any toolkit); compiler compatibility: (any compiler) (any version);
> 
> Available configurations:
> wxWidgets 3.000001 for gtk2; compiler compatibility: gcc 3.4; options: no debug, unicode, no mslu
> dh_auto_configure: perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 LD=cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro returned exit code 2
> debian/rules:4: recipe for target 'build' failed
> make: *** [build] Error 2

The message and the die() come from Alien::wxWidgets:

Alien::wxWidgets::_pretty_print_configuration(/usr/lib/perl5/Alien/wxWidgets.pm:116):
116:        return "wxWidgets $config->{version} for $config->{toolkit}; " .
117:               "compiler compatibility: $config->{compiler_kind} " .
118:               $config->{compiler_version} . '; ' .
119:               ( @options ? 'options: ' . join( ', ', @options ) : '' ) .
120:               "\n";
  DB<6> 
Alien::wxWidgets::load(/usr/lib/perl5/Alien/wxWidgets.pm:90):
90:         die $message;
  DB<6> 
Searching configuration for:
wxWidgets (any version) for (any toolkit); compiler compatibility: (any compiler) (any version); 

Available configurations:
wxWidgets 3.000001 for gtk2; compiler compatibility: gcc 3.4; options: no debug, unicode, no mslu
 at /usr/lib/perl5/Alien/wxWidgets.pm line 90.
    Alien::wxWidgets::load('Alien::wxWidgets', 'key', 'gtk2_3_0_0_uni_gcc_3_4') called at /usr/lib/perl5/Wx/build/Options.pm line 50
    Wx::build::Options::_load_options() called at /usr/lib/perl5/Wx/build/Options.pm line 142
    Wx::build::Options::get_makemaker_options('Wx::build::Options', 'saved') called at /usr/lib/perl5/Wx/build/MakeMaker.pm line 351
    Wx::build::MakeMaker::_process_mm_arguments('HASH(0x14fe388)', 1) called at /usr/lib/perl5/Wx/build/MakeMaker.pm line 459
    Wx::build::MakeMaker::wxWriteMakefile('NAME', 'Wx::GLCanvas', 'ABSTRACT_FROM', 'lib/Wx/GLCanvas.pm', 'AUTHOR', 'Mattia Barbon <mbarbon at cpan.org>', 'VERSION_FROM', 'lib/Wx/GLCanvas.pm', 'LIBS', ...) called at Makefile.PL line 22
Debugged program terminated.  Use q to quit or R to restart,


And the ::load sub looks like:

sub load {
    my $class = shift;
    my %crit = awx_smart_config @_;

    my @configs = awx_sort_config awx_grep_config [ $class->_list ], %crit ;

    unless( @configs ) {
        my @all_configs = $class->get_configurations;

        my $message = "Searching configuration for:\n";
        $message .= _pretty_print_criteria( \%crit );
        $message .= "\nAvailable configurations:\n";
        if( @all_configs ) {
            $message .= _pretty_print_configuration( $_ ) foreach @all_configs;
        } else {
            $message .= "No wxWidgets build found\n";
        }  

        die $message;
    }

    %VALUES = $configs[0]->{package}->values;
}
 

But then I'm not sure why this is happening ...                                                                                 
                                                                                 
Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Dire Straits: Tunnel Of Love
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 928 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140628/640bf1e0/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list