Skip Menu |
 

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 129768
Status: open
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors: professa [...] dementianati.com
Cc:
AdminCc:

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



X-Portmx-Envelope-To: <bug-Wx [...] rt.cpan.org>
MIME-Version: 1.0
X-Spam-Status: No, score=-1.106 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RDNS_NONE=0.793, SPF_FAIL=0.001] autolearn=no
X-Portmx-Envelope-From: <professa [...] dementianati.com>
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
Content-Language: en-US
content-type: text/plain; charset="utf-8"; format="flowed"
Message-ID: <b25f91f0-a95c-92e0-f504-7415ef9e9e75 [...] dementianati.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Organization: Dementianati
X-Spam-Score: -1.106
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id C7D39240221 for <cpan-bug+Wx [...] hipster.bestpractical.com>; Fri, 7 Jun 2019 17:02:53 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R-Rt2zC8tXpH for <cpan-bug+Wx [...] hipster.bestpractical.com>; Fri, 7 Jun 2019 17:02:52 -0400 (EDT)
Received: from xx1.develooper.com (unknown [147.75.38.233]) by hipster.bestpractical.com (Postfix) with ESMTPS id 0F3FB2400F5 for <bug-Wx [...] rt.cpan.org>; Fri, 7 Jun 2019 17:02:51 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 971847CF42 for <bug-Wx [...] rt.cpan.org>; Fri, 7 Jun 2019 14:02:51 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 774447CF51 for <bug-Wx [...] rt.cpan.org>; Fri, 7 Jun 2019 14:02:46 -0700 (PDT)
Received: from mail.portmx.com (dsl253-090-220.lax1.dsl.speakeasy.net [66.253.90.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 51CE27CF42 for <bug-Wx [...] rt.cpan.org>; Fri, 7 Jun 2019 14:02:28 -0700 (PDT)
Received: from [172.20.48.220] ([172.20.48.220]) (authenticated bits=0) by [172.20.48.16] (8.15.2/8.15.2) with ESMTPA id x57Km6Hx013418 for <bug-Wx [...] rt.cpan.org>; Fri, 7 Jun 2019 13:48:09 -0700
Delivered-To: cpan-bug+Wx [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
Subject: Wx fails to build with error: 'my_perl' was not declared in this scope
Return-Path: <professa [...] dementianati.com>
X-RT-Mail-Extension: wx
X-Original-To: cpan-bug+Wx [...] hipster.bestpractical.com
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, LINES_OF_YELLING_3 0.05, BODY_SIZE_6000_6999 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, RDNS_GENERIC_BROADBAND 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, SPF_PASS 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MOZILLA_USER_AGENT 0, __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_SUBJ_ALERT 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __USER_AGENT 0, __zen.spamhaus.org_ERROR '
Date: Fri, 7 Jun 2019 13:47:51 -0700
X-Spam-Level:
X-Greylist: delayed 855 seconds by postgrey-1.34 at xx1.develooper.com; Fri, 07 Jun 2019 14:02:34 PDT
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.6.7.205116
To: bug-Wx [...] rt.cpan.org
X-Portmx-From-Tracking: Env:<professa [...] dementianati.com> Msg:<professa [...] dementianati.com>
Content-Transfer-Encoding: 7bit
X-Portmx-Scanner: 2.78
X-Portmx-Authenticated-User: true
From: Professa Dementia <professa [...] dementianati.com>
X-RT-Original-Encoding: utf-8
X-RT-Interface: Email
Content-Length: 6445
Download (untitled) / with headers
text/plain 6.2k
OS: Windows 8.1 Perl: Strawberry Perl 5.30.0.1 (64bit) wxWidgets: Version 3.0.2 - automatically selected and downloaded by cpan Cpan was used to install Wx, which attempted to install wxWidgets and Alien::wxWidgets as dependencies. Both of these built and installed without error. Wx, however, fails to build. All programs in Wx-0.9932-0\ext fail with the same error: "'my_perl' was not declared in this scope". Research indicates this is related to threads. C:\Strawberry\cpan\build\Wx-0.9932-0>gmake "C:\Strawberry\perl\bin\perl.exe" script/copy_files.pl files.lst Skip blib\lib\Wx\cpp\constants.h (unchanged) Skip blib\lib\Wx\cpp\setup.h (unchanged) Skip blib\lib\Wx\cpp\event.h (unchanged) Skip blib\lib\Wx\cpp\v_cback.h (unchanged) Skip blib\lib\Wx\cpp\streams.h (unchanged) Skip blib\arch\Wx\build\Opt.pm (unchanged) Skip blib\lib\Wx\cpp\compat.h (unchanged) Skip blib\lib\Wx\cpp\v_cback_def.h (unchanged) Skip blib\lib\Wx\cpp\helpers.h (unchanged) Skip blib\lib\Wx\cpp\e_cback.h (unchanged) Skip blib\lib\Wx\cpp\chkconfig.h (unchanged) Skip blib\lib\Wx\typemap (unchanged) Skip blib\lib\Wx\cpp\overload.h (unchanged) cp cpp/wxapi.h blib\lib\Wx\cpp\wxapi.h "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e touch -- wxt_copy_files Skip blib\lib\Wx\XSP\Overload.pm (unchanged) Skip blib\lib\Wx\XSP\Event.pm (unchanged) Skip blib\lib\Wx\XSP\Enum.pm (unchanged) Skip blib\lib\Wx\build\MakeMaker\Win32_MSVC.pm (unchanged) Skip blib\lib\Wx\build\MakeMaker\Win32_MinGW.pm (unchanged) Skip blib\lib\Wx\build\MakeMaker\Core.pm (unchanged) Skip blib\lib\Wx\build\MakeMaker.pm (unchanged) Skip blib\lib\Wx\build\Utils.pm (unchanged) Skip blib\lib\Wx\build\Options.pm (unchanged) Skip blib\lib\Wx\XSP\Virtual.pm (unchanged) Skip blib\lib\Wx\build\MakeMaker\Win32.pm (unchanged) Skip blib\lib\Wx.pm (unchanged) Skip blib\lib\Wx\build\MakeMaker\Hacks.pm (unchanged) Skip blib\lib\Wx\build\MakeMaker\MacOSX_GCC.pm (unchanged) Skip blib\lib\Wx\build\MakeMaker\Any_wx_config.pm (unchanged) Skip blib\lib\Wx\Overload\Handle.pm (unchanged) Skip blib\lib\Wx\Overload\Driver.pm (unchanged) Skip blib\lib\Wx\Api.pod (unchanged) Skip blib\lib\Wx\App.pm (unchanged) Skip blib\lib\Wx\build\MakeMaker\Any_OS.pm (unchanged) Skip blib\lib\Wx\Timer.pm (unchanged) Skip blib\lib\Wx\ArtProvider.pm (unchanged) Skip blib\lib\Wx\Locale.pm (unchanged) Skip blib\lib\Wx\RadioBox.pm (unchanged) Skip blib\lib\Wx\Menu.pm (unchanged) Skip blib\lib\Wx\Thread.pod (unchanged) Skip blib\lib\Wx\Event.pm (unchanged) Skip blib\lib\Wx\Loader.pod (unchanged) Skip blib\lib\Wx\NewClass.pod (unchanged) cp lib/Wx/Mini.pm blib\lib\Wx\Mini.pm gmake[1]: Entering directory 'C:/Strawberry/cpan/build/Wx-0.9932-0/ext' gmake[2]: Entering directory 'C:/Strawberry/cpan/build/Wx-0.9932-0/ext/test' "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- PerlTest.bs ..\..\blib\arch\auto\Wx\PerlTest\PerlTest.bs 644 g++ -m64 -O2 -mthreads -m64 -Os -c -I. -I.. -IC:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\lib -IC:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include -I. -I. -IC:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\lib -IC:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include -I. -I..\.. -IC:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\lib -IC:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-IC:\Strawberry\perl\lib\CORE" -DWXPL_EXT -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA -DWXPL_EXT -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA PerlTest.c In file included from ..\../cpp/wxapi.h:57, from PerlTest.c:23: C:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/hashmap.h: In static member function 'static void** _wxHashTableBase2::AllocTable(size_t)': C:\Strawberry\perl\lib\CORE/perl.h:175:17: error: 'my_perl' was not declared in this scope # define aTHX my_perl ^~~~~~~ C:\Strawberry\perl\lib\CORE/embedvar.h:38:18: note: in expansion of macro 'aTHX' # define vTHX aTHX ^~~~ C:\Strawberry\perl\lib\CORE/embedvar.h:54:19: note: in expansion of macro 'vTHX' #define PL_Mem (vTHX->IMem) ^~~~ C:\Strawberry\perl\lib\CORE/iperlsys.h:818:4: note: in expansion of macro 'PL_Mem' (*PL_Mem->pCalloc)(PL_Mem, (num), (size)) ^~~~~~ C:\Strawberry\perl\lib\CORE/XSUB.h:612:33: note: in expansion of macro 'PerlMem_calloc' # define calloc PerlMem_calloc ^~~~~~~~~~~~~~ C:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/hashmap.h:121:25: note: in expansion of macro 'calloc' return (void **)calloc(sz, sizeof(void*)); ^~~~~~ C:\Strawberry\perl\lib\CORE/perl.h:175:17: note: suggested alternative: 'my_fork' # define aTHX my_perl ^~~~~~~ C:\Strawberry\perl\lib\CORE/embedvar.h:38:18: note: in expansion of macro 'aTHX' # define vTHX aTHX ^~~~ C:\Strawberry\perl\lib\CORE/embedvar.h:54:19: note: in expansion of macro 'vTHX' #define PL_Mem (vTHX->IMem) ^~~~ C:\Strawberry\perl\lib\CORE/iperlsys.h:818:4: note: in expansion of macro 'PL_Mem' (*PL_Mem->pCalloc)(PL_Mem, (num), (size)) ^~~~~~ C:\Strawberry\perl\lib\CORE/XSUB.h:612:33: note: in expansion of macro 'PerlMem_calloc' # define calloc PerlMem_calloc ^~~~~~~~~~~~~~ C:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/hashmap.h:121:25: note: in expansion of macro 'calloc' return (void **)calloc(sz, sizeof(void*)); ^~~~~~ gmake[2]: *** [Makefile:341: PerlTest.o] Error 1 gmake[2]: Leaving directory 'C:/Strawberry/cpan/build/Wx-0.9932-0/ext/test' gmake[1]: *** [Makefile:497: subdirs] Error 2 gmake[1]: Leaving directory 'C:/Strawberry/cpan/build/Wx-0.9932-0/ext' gmake: *** [Makefile:647: subdirs] Error 2
MIME-Version: 1.0
X-Spam-Status: No, score=-0.889 tagged_above=-99.9 required=10 tests=[AWL=-0.347, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665] autolearn=no
X-Sender: kuehro [...] posteo.de
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-RT-Interface: API
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
content-type: text/plain; charset="utf-8"; format="flowed"
Message-ID: <3b3c46576ad56a45829dc4063eb1dd7c [...] posteo.de>
X-RT-Original-Encoding: utf-8
X-Spam-Score: -0.889
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] posteo.de
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 45D3524021F for <cpan-bug+Wx [...] hipster.bestpractical.com>; Fri, 19 Jul 2019 07:41:01 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w4IePAnO-ie9 for <cpan-bug+Wx [...] hipster.bestpractical.com>; Fri, 19 Jul 2019 07:41:00 -0400 (EDT)
Received: from xx1.develooper.com (unknown [147.75.38.233]) by hipster.bestpractical.com (Postfix) with ESMTPS id F2ECA2401F9 for <bug-Wx [...] rt.cpan.org>; Fri, 19 Jul 2019 07:40:59 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 94066C214C for <bug-Wx [...] rt.cpan.org>; Fri, 19 Jul 2019 04:40:59 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 8311CC214D for <bug-Wx [...] rt.cpan.org>; Fri, 19 Jul 2019 04:40:55 -0700 (PDT)
Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 84435C214C for <bug-Wx [...] rt.cpan.org>; Fri, 19 Jul 2019 04:40:54 -0700 (PDT)
Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 348D516005F for <bug-Wx [...] rt.cpan.org>; Fri, 19 Jul 2019 13:32:29 +0200 (CEST)
Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 45qpl10CpSz6tmM for <bug-Wx [...] rt.cpan.org>; Fri, 19 Jul 2019 13:32:28 +0200 (CEST)
Delivered-To: cpan-bug+Wx [...] hipster.bestpractical.com
Subject: [rt.cpan.org #129768]
User-Agent: Posteo Webmail
Return-Path: <kuehro [...] posteo.de>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1563535950; bh=nRw1tv6JKmxBrCqGjEY8HJltIYvdkw0g5pl9m1Mt/es=; h=Date:From:To:Subject:From; b=p+bVDaGb6xyyPgzABpaVGrHDe2fdfiayogQrg+BZtyuf1YAm2GKEKRIyqynDkAmLg Z8viS8zCqKdeQN5QGMjVuTcfVnJbzmpgC9rC2sw1XZJurhSJe+4yU9XufTSiCzo1gF DzQe/ZJNp9Np35Qybe9cKtfEG6e9EvQGMDYDM+GkgsrA7RY9skVrPFnEFEG+8oXqA/ JFeKMsnuMenjSGdzEsar/32XbFKDtvm8J4K1XpJ9p5jkpzRXELA+Vqhh07jM4GqPYn laBTRnLxxi7OWRz3bHgoAMcpSLuso9iuj1kbeQEvBqTSCev2jJO/eRZkQYqRiD+2DG xX4rdw/ROt5cw==
X-Original-To: cpan-bug+Wx [...] hipster.bestpractical.com
X-RT-Mail-Extension: wx
Date: Fri, 19 Jul 2019 13:32:28 +0200
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1200_1299 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DKIM_ALIGNS 0, DKIM_SIGNATURE 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, SINGLE_URI_IN_BODY 0, SPF_PASS 0, URI_WITH_PATH_ONLY 0, WEBMAIL_SOURCE 0, WEBMAIL_USER_AGENT 0, __ANY_URI 0, __BODY_NO_MAILTO 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DKIM_ALIGNS_1 0, __DKIM_ALIGNS_2 0, __FORWARDED_MSG 0, __HAS_FROM 0, __HAS_MSGID 0, __HTTPS_URI 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MSGID_32HEX 0, __NO_HTML_TAG_RAW 0, __SANE_MSGID 0, __SINGLE_URI_TEXT 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NAME_DIFF_FROM_ACC 0, __TO_REAL_NAMES 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_MAILTO 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0, __USER_AGENT 0, __blackholes.mail-abuse.org_ERROR , __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-Greylist: delayed 498 seconds by postgrey-1.34 at xx1.develooper.com; Fri, 19 Jul 2019 04:40:54 PDT
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.7.19.112716
To: Bug Wx <bug-Wx [...] rt.cpan.org>
Content-Transfer-Encoding: 7bit
From: Kai-Uwe Eckhardt <kuehro [...] posteo.de>
RT-Message-ID: <rt-4.0.18-12711-1563536461-1609.129768-0-0 [...] rt.cpan.org>
Content-Length: 1157
Download (untitled) / with headers
text/plain 1.1k
Show quoted text
> C:\Strawberry\perl\lib\CORE/XSUB.h:612:33: note: in expansion of macro > 'PerlMem_calloc' > # define calloc PerlMem_calloc > ^~~~~~~~~~~~~~ > C:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/hashmap.h:121:25: > note: in expansion of macro 'calloc' > return (void **)calloc(sz, sizeof(void*));
# define calloc PerlMem_calloc has been added to XSUB.h between the Strawberry releases 5.28 (where Wx installs fine) and 5.30 https://github.com/Perl/perl5/commit/5ace197f9a644bde21b1b41430099295ed92365e#diff-9f655f96189bd19669d20a123da441de leading to conflicts with dirty tricks in Wx. It builds and passes the tests after patching cpp\wxapi.h @@ -133,6 +133,7 @@ #undef getc #undef getenv #undef malloc +#undef calloc #undef open #undef read #undef realloc Test result: ... All tests successful. Test Summary Report ------------------- t/04_userdata.t (Wstat: 0 Tests: 65 Failed: 0) TODO passed: 25, 33, 41, 57 Files=23, Tests=786, 19 wallclock secs ( 0.27 usr + 0.09 sys = 0.36 CPU) Result: PASS Have fun, Kai-Uwe


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.