Hello everybody,
I created an easy to use installer for perl Gtk3 on Windows (MSys2/MinGW64)
that you can find on https://github.com/MaxPerl/perl-Gtk3-windows-installer.
The script is heavily inspired and based on the extraordinary work of
Zakariyya Mughal (see
https://project-renard.github.io/doc/development/meeting-log/posts/2016/05/03/windows-build-with-msys2/,
he posted this here sometime ago, too).
I hope, my script is helpful for some people, too.
I noticed three things:
1) Always if I start a perl Gtk3 Program I get the following warning:
"GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:/msys64/mingw64/lib/perl5/site_perl/Glib/Object/Introspection.pm line 67."
Everything works fine so I think the warning is not very important!
2) The tests of Cairo, Glib, Glib::Object::Introspection and Gtk3 fails. You
find the output attached. Has someone an idea what is the reason for that and
how one could fix it.
3) If you want also to output something on the terminal, you have to autoflush
STDOUT and STDERR with "select((select(STDERR), $| = 1)[0]);
select((select(STDOUT), $| = 1)[0]);" (seems to be a bug in mintyy module of
MinGW64...)
Let me ask a further and last question:
Has someone any experience what is the most simple (!) way to pack binaries
from programs that was compiled with MSys2/MinGW64? I know that Zakariyya
Mughal is working on a MSI installer helper script. But in the meantime it
would be great if I could pack my programs simply as a .zip archive or similar
and share it with others. Because I have no experince with Windows, a really
simple way would be great!
Thank you all very much for your work, for your help and for your enthusiasm
for perl Gtk3,
Max
"C:\msys64\mingw64\bin\perl.exe"
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\xsubpp" -noprototypes -typemap
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\typemap" -typemap
"build\cairo-perl-auto.typemap" -typemap "cairo-perl.typemap" Cairo.xs >
Cairo.xsc && "C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command -e mv --
Cairo.xsc Cairo.c
gcc -c -I. -Ibuild -mms-bitfields -IC:/msys64/mingw64/include/cairo
-IC:/msys64/mingw64/include/pixman-1 -IC:/msys64/mingw64/include
-IC:/msys64/mingw64/include/freetype2 -IC:/msys64/mingw64/include/libpng16
-IC:/msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/glib-2.0
-IC:/msys64/mingw64/lib/glib-2.0/include -s -O2 -DWIN32 -DWIN64
-DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2
-DVERSION=\"1.106\" -DXS_VERSION=\"1.106\"
"-IC:\msys64\mingw64\lib\perl5\core_perl\CORE" Cairo.c
del Cairo.c
"C:\msys64\mingw64\bin\perl.exe"
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\xsubpp" -noprototypes -typemap
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\typemap" -typemap
"build\cairo-perl-auto.typemap" -typemap "cairo-perl.typemap" CairoFont.xs >
CairoFont.xsc && "C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command -e mv --
CairoFont.xsc CairoFont.c
gcc -c -I. -Ibuild -mms-bitfields -IC:/msys64/mingw64/include/cairo
-IC:/msys64/mingw64/include/pixman-1 -IC:/msys64/mingw64/include
-IC:/msys64/mingw64/include/freetype2 -IC:/msys64/mingw64/include/libpng16
-IC:/msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/glib-2.0
-IC:/msys64/mingw64/lib/glib-2.0/include -s -O2 -DWIN32 -DWIN64
-DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2
-DVERSION=\"1.106\" -DXS_VERSION=\"1.106\"
"-IC:\msys64\mingw64\lib\perl5\core_perl\CORE" CairoFont.c
del CairoFont.c
"C:\msys64\mingw64\bin\perl.exe"
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\xsubpp" -noprototypes -typemap
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\typemap" -typemap
"build\cairo-perl-auto.typemap" -typemap "cairo-perl.typemap" CairoMatrix.xs >
CairoMatrix.xsc && "C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command -e mv
-- CairoMatrix.xsc CairoMatrix.c
gcc -c -I. -Ibuild -mms-bitfields -IC:/msys64/mingw64/include/cairo
-IC:/msys64/mingw64/include/pixman-1 -IC:/msys64/mingw64/include
-IC:/msys64/mingw64/include/freetype2 -IC:/msys64/mingw64/include/libpng16
-IC:/msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/glib-2.0
-IC:/msys64/mingw64/lib/glib-2.0/include -s -O2 -DWIN32 -DWIN64
-DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2
-DVERSION=\"1.106\" -DXS_VERSION=\"1.106\"
"-IC:\msys64\mingw64\lib\perl5\core_perl\CORE" CairoMatrix.c
del CairoMatrix.c
"C:\msys64\mingw64\bin\perl.exe"
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\xsubpp" -noprototypes -typemap
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\typemap" -typemap
"build\cairo-perl-auto.typemap" -typemap "cairo-perl.typemap" CairoPath.xs >
CairoPath.xsc && "C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command -e mv --
CairoPath.xsc CairoPath.c
gcc -c -I. -Ibuild -mms-bitfields -IC:/msys64/mingw64/include/cairo
-IC:/msys64/mingw64/include/pixman-1 -IC:/msys64/mingw64/include
-IC:/msys64/mingw64/include/freetype2 -IC:/msys64/mingw64/include/libpng16
-IC:/msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/glib-2.0
-IC:/msys64/mingw64/lib/glib-2.0/include -s -O2 -DWIN32 -DWIN64
-DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2
-DVERSION=\"1.106\" -DXS_VERSION=\"1.106\"
"-IC:\msys64\mingw64\lib\perl5\core_perl\CORE" CairoPath.c
del CairoPath.c
"C:\msys64\mingw64\bin\perl.exe"
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\xsubpp" -noprototypes -typemap
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\typemap" -typemap
"build\cairo-perl-auto.typemap" -typemap "cairo-perl.typemap" CairoPattern.xs
> CairoPattern.xsc && "C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command -e
mv -- CairoPattern.xsc CairoPattern.c
gcc -c -I. -Ibuild -mms-bitfields -IC:/msys64/mingw64/include/cairo
-IC:/msys64/mingw64/include/pixman-1 -IC:/msys64/mingw64/include
-IC:/msys64/mingw64/include/freetype2 -IC:/msys64/mingw64/include/libpng16
-IC:/msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/glib-2.0
-IC:/msys64/mingw64/lib/glib-2.0/include -s -O2 -DWIN32 -DWIN64
-DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2
-DVERSION=\"1.106\" -DXS_VERSION=\"1.106\"
"-IC:\msys64\mingw64\lib\perl5\core_perl\CORE" CairoPattern.c
del CairoPattern.c
"C:\msys64\mingw64\bin\perl.exe"
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\xsubpp" -noprototypes -typemap
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\typemap" -typemap
"build\cairo-perl-auto.typemap" -typemap "cairo-perl.typemap" CairoSurface.xs
> CairoSurface.xsc && "C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command -e
mv -- CairoSurface.xsc CairoSurface.c
gcc -c -I. -Ibuild -mms-bitfields -IC:/msys64/mingw64/include/cairo
-IC:/msys64/mingw64/include/pixman-1 -IC:/msys64/mingw64/include
-IC:/msys64/mingw64/include/freetype2 -IC:/msys64/mingw64/include/libpng16
-IC:/msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/glib-2.0
-IC:/msys64/mingw64/lib/glib-2.0/include -s -O2 -DWIN32 -DWIN64
-DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2
-DVERSION=\"1.106\" -DXS_VERSION=\"1.106\"
"-IC:\msys64\mingw64\lib\perl5\core_perl\CORE" CairoSurface.c
del CairoSurface.c
"C:\msys64\mingw64\bin\perl.exe"
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\xsubpp" -noprototypes -typemap
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\typemap" -typemap
"build\cairo-perl-auto.typemap" -typemap "cairo-perl.typemap" CairoRegion.xs >
CairoRegion.xsc && "C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command -e mv
-- CairoRegion.xsc CairoRegion.c
gcc -c -I. -Ibuild -mms-bitfields -IC:/msys64/mingw64/include/cairo
-IC:/msys64/mingw64/include/pixman-1 -IC:/msys64/mingw64/include
-IC:/msys64/mingw64/include/freetype2 -IC:/msys64/mingw64/include/libpng16
-IC:/msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/glib-2.0
-IC:/msys64/mingw64/lib/glib-2.0/include -s -O2 -DWIN32 -DWIN64
-DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2
-DVERSION=\"1.106\" -DXS_VERSION=\"1.106\"
"-IC:\msys64\mingw64\lib\perl5\core_perl\CORE" CairoRegion.c
del CairoRegion.c
"C:\msys64\mingw64\bin\perl.exe"
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\xsubpp" -noprototypes -typemap
"C:\msys64\mingw64\lib\perl5\core_perl\ExtUtils\typemap" -typemap
"build\cairo-perl-auto.typemap" -typemap "cairo-perl.typemap" CairoFt.xs >
CairoFt.xsc && "C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command -e mv --
CairoFt.xsc CairoFt.c
gcc -c -I. -Ibuild -mms-bitfields -IC:/msys64/mingw64/include/cairo
-IC:/msys64/mingw64/include/pixman-1 -IC:/msys64/mingw64/include
-IC:/msys64/mingw64/include/freetype2 -IC:/msys64/mingw64/include/libpng16
-IC:/msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/glib-2.0
-IC:/msys64/mingw64/lib/glib-2.0/include -s -O2 -DWIN32 -DWIN64
-DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2
-DVERSION=\"1.106\" -DXS_VERSION=\"1.106\"
"-IC:\msys64\mingw64\lib\perl5\core_perl\CORE" CairoFt.c
del CairoFt.c
dlltool --def Cairo.def --output-exp dll.exp
g++ -o blib\arch\auto\Cairo\Cairo.dll -Wl,--base-file -Wl,dll.base -mdll -s
-L"C:\msys64\mingw64\lib\perl5\core_perl\CORE" -L"C:\msys64\mingw64\lib"
Cairo.o CairoFont.o CairoMatrix.o CairoPath.o CairoPattern.o CairoSurface.o
CairoRegion.o CairoFt.o cairo-perl-enums.o cairo-perl-flags.o
"C:\msys64\mingw64\lib\perl5\core_perl\CORE\libperl522.a"
"-LC:\msys64\mingw64\lib" "-lcairo" "-lfreetype" "-lmoldname" "-lkernel32"
"-luser32" "-lgdi32" "-lwinspool" "-lcomdlg32" "-ladvapi32" "-lshell32"
"-lole32" "-loleaut32" "-lnetapi32" "-luuid" "-lws2_32" "-lmpr" "-lwinmm"
"-lversion" "-lodbc32" "-lodbccp32" "-lcomctl32" dll.exp
dlltool --def Cairo.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Cairo\Cairo.dll -mdll -s
-L"C:\msys64\mingw64\lib\perl5\core_perl\CORE" -L"C:\msys64\mingw64\lib"
Cairo.o CairoFont.o CairoMatrix.o CairoPath.o CairoPattern.o CairoSurface.o
CairoRegion.o CairoFt.o cairo-perl-enums.o cairo-perl-flags.o
"C:\msys64\mingw64\lib\perl5\core_perl\CORE\libperl522.a"
"-LC:\msys64\mingw64\lib" "-lcairo" "-lfreetype" "-lmoldname" "-lkernel32"
"-luser32" "-lgdi32" "-lwinspool" "-lcomdlg32" "-ladvapi32" "-lshell32"
"-lole32" "-loleaut32" "-lnetapi32" "-luuid" "-lws2_32" "-lmpr" "-lwinmm"
"-lversion" "-lodbc32" "-lodbccp32" "-lcomctl32" dll.exp
"C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command -e chmod -- 755
blib\arch\auto\Cairo\Cairo.dll
dlltool --def Cairo.def --output-lib blib\arch\auto\Cairo\Cairo.a --dllname
Cairo.dll blib\arch\auto\Cairo\Cairo.dll
"C:\msys64\mingw64\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')"
t/*.t
t/00-loading.t .... ok
t/Cairo.t ......... ok
t/CairoFont.t ..... ok
t/CairoFt.t ....... skipped: need Cairo with FreeType support and Font::FreeType
t/CairoMatrix.t ... ok
t/CairoPath.t ..... ok
t/CairoPattern.t .. ok
t/CairoRegion.t ... ok
# Failed test at t/CairoSurface.t line 399.
# Structures begin differing at:
# $got->[0] = '0'
# $expected->[0] = '10'
# Looks like you failed 1 test of 88.
t/CairoSurface.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/88 subtests
(less 1 skipped subtest: 86 okay)
Test Summary Report
-------------------
t/CairoSurface.t (Wstat: 256 Tests: 88 Failed: 1)
Failed test: 86
Non-zero exit status: 1
Files=9, Tests=300, 2 wallclock secs ( 0.20 usr + 0.03 sys = 0.23 CPU)
Result: FAIL
Failed 1/9 test programs. 1/300 subtests failed.
dmake.exe: Error code 129, while making 'test_dynamic'
[ XS GObjectIntrospection.xs ]
[ CC GObjectIntrospection.c ]
del GObjectIntrospection.c
dlltool --def Introspection.def --output-exp dll.exp
[ LD blib\arch\auto\Glib\Object\Introspection\Introspection.dll ]
dlltool --def Introspection.def --base-file dll.base --output-exp dll.exp
[ LD blib\arch\auto\Glib\Object\Introspection\Introspection.dll ]
"C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command -e chmod -- 755
blib\arch\auto\Glib\Object\Introspection\Introspection.dll
dlltool --def Introspection.def --output-lib
blib\arch\auto\Glib\Object\Introspection\Introspection.a --dllname
Introspection.dll blib\arch\auto\Glib\Object\Introspection\Introspection.dll
"C:\msys64\mingw64\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')"
t/*.t
t/00-basic-types.t ............ skipped: Need the test libraries
t/arg-checks.t ................ skipped: Need the test libraries
t/arrays.t .................... skipped: Need the test libraries
t/boxed.t ..................... skipped: Need the test libraries
t/cairo-integration.t ......... skipped: Need the test libraries
t/callbacks.t ................. skipped: Need the test libraries
t/closures.t .................. skipped: Need the test libraries
t/constants.t ................. skipped: Need the test libraries
t/enums.t ..................... skipped: Need the test libraries
t/hashes.t .................... skipped: Need the test libraries
t/interface-implementation.t .. skipped: Need the test libraries
t/objects.t ................... skipped: Need the test libraries
t/structs.t ................... skipped: Need the test libraries
t/values.t .................... skipped: Need the test libraries
t/variants.t .................. skipped: Need the test libraries
t/vfunc-chaining.t ............ skipped: Need the test libraries
t/vfunc-ref-counting.t ........ skipped: Need the test libraries
Files=17, Tests=0, 4 wallclock secs ( 0.22 usr + 0.06 sys = 0.28 CPU)
Result: NOTESTS
[ XS Glib.xs ]
[ CC Glib.c ]
del Glib.c
[ XS GError.xs ]
[ CC GError.c ]
del GError.c
[ XS GUtils.xs ]
[ CC GUtils.c ]
del GUtils.c
[ XS GLog.xs ]
[ CC GLog.c ]
del GLog.c
[ XS GType.xs ]
[ CC GType.c ]
del GType.c
[ XS GBoxed.xs ]
[ CC GBoxed.c ]
del GBoxed.c
[ XS GObject.xs ]
[ CC GObject.c ]
del GObject.c
[ XS GValue.xs ]
[ CC GValue.c ]
del GValue.c
[ XS GClosure.xs ]
[ CC GClosure.c ]
del GClosure.c
[ XS GSignal.xs ]
[ CC GSignal.c ]
del GSignal.c
[ XS GMainLoop.xs ]
[ CC GMainLoop.c ]
GMainLoop.xs: In function 'gperl_child_watch_callback':
GMainLoop.xs:146:51: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
gperl_callback_invoke ((GPerlCallback*)cb, NULL, (int) pid, status);
^
GMainLoop.xs: In function 'XS_Glib__Child_watch_add':
GMainLoop.xs:611:45: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
RETVAL = g_child_watch_add_full (priority, (GPid) pid,
^
del GMainLoop.c
[ XS GIOChannel.xs ]
[ CC GIOChannel.c ]
del GIOChannel.c
[ XS GParamSpec.xs ]
[ CC GParamSpec.c ]
del GParamSpec.c
[ XS GKeyFile.xs ]
[ CC GKeyFile.c ]
del GKeyFile.c
[ XS GOption.xs ]
[ CC GOption.c ]
GOption.xs: In function 'gperl_option_group_free':
GOption.xs:52:3: warning: 'g_option_group_free' is deprecated
[-Wdeprecated-declarations]
g_option_group_free (group);
^~~~~~~~~~~~~~~~~~~
In file included from C:/msys64/mingw64/include/glib-2.0/glib.h:64:0,
from C:/msys64/mingw64/include/glib-2.0/gobject/gbinding.h:28,
from C:/msys64/mingw64/include/glib-2.0/glib-object.h:23,
from gperl.h:37,
from GOption.xs:9:
C:/msys64/mingw64/include/glib-2.0/glib/goption.h:368:15: note: declared here
void g_option_group_free (GOptionGroup
*group);
^~~~~~~~~~~~~~~~~~~
del GOption.c
[ XS GBookmarkFile.xs ]
[ CC GBookmarkFile.c ]
del GBookmarkFile.c
[ XS GVariant.xs ]
[ CC GVariant.c ]
del GVariant.c
dlltool --def Glib.def --output-exp dll.exp
[ LD blib\arch\auto\Glib\Glib.dll ]
dlltool --def Glib.def --base-file dll.base --output-exp dll.exp
[ LD blib\arch\auto\Glib\Glib.dll ]
"C:\msys64\mingw64\bin\perl.exe" -MExtUtils::Command -e chmod -- 755
blib\arch\auto\Glib\Glib.dll
dlltool --def Glib.def --output-lib blib\arch\auto\Glib\Glib.a --dllname
Glib.dll blib\arch\auto\Glib\Glib.dll
"C:\msys64\mingw64\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')"
t/*.t
t/1.t ...................... ok
t/2.t ...................... ok
t/3.t ...................... ok
t/4.t ...................... ok
t/5.t ...................... ok
t/6.t ...................... ok
t/64bit.t .................. ok
t/7.t ...................... ok
t/8.t ...................... ok
t/9.t ...................... ok
# Failed test 'default log handler: install undef, prev default'
# at t/a.t line 78.
# got: undef
# expected: 'CODE(0x2169538)'
# Looks like you failed 1 test of 30.
t/a.t ......................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/30 subtests
t/b.t ...................... ok
t/boxed_errors.t ........... ok
t/bytes.t .................. ok
t/c.t ...................... ok
t/constants.t .............. ok
t/d.t ...................... ok
t/e.t ...................... ok
t/f.t ...................... ok
t/filename.t ............... ok
t/g.t ...................... ok
t/h.t ...................... ok
t/lazy_loader.t ............ ok
t/make_helper.t ............ ok
t/module_versions.t ........ skipped: Test::ConsistentVersion required for
checking module versions
t/options.t ................ ok
t/signal_emission_hooks.t .. ok
t/signal_marshal.t ......... ok
t/signal_query.t ........... ok
t/tied_definedness.t ....... ok
t/tied_flags.t ............. ok
t/tied_set_property.t ...... ok
t/variant.t ................ ok
Test Summary Report
-------------------
t/a.t (Wstat: 256 Tests: 30 Failed: 1)
Failed test: 10
Non-zero exit status: 1
Files=33, Tests=1177, 9 wallclock secs ( 0.33 usr + 0.09 sys = 0.42 CPU)
Result: FAIL
Failed 1/33 test programs. 1/1177 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
"C:\msys64\mingw64\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')"
t/*.t
# Testing against gtk+ 3.20.9
t/00-init.t .................... ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:/msys64/mingw64/lib/perl5/site_perl/Glib/Object/Introspection.pm line 67.
t/floating-refs.t .............. ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:\msys64\home\MAXIMI~1\.cpanm\work\1475221517.2688\Gtk3-0.029\blib\lib/Gtk3.pm
line 1847.
t/overrides.t ..................
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 22/215 subtests
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:\msys64\home\MAXIMI~1\.cpanm\work\1475221517.2688\Gtk3-0.029\blib\lib/Gtk3.pm
line 1847.
(perl.exe:2760): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
allocate widget with width -62 and height 16
(perl.exe:2760): Gtk-WARNING **: Negative content width -23 (allocation 1,
extents 12x12) while allocating gadget (node label, owner GtkLabel)
t/signals.t .................... ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at t/vfuncs-destroy.t
line 41.
t/vfuncs-destroy.t ............. ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:\msys64\home\MAXIMI~1\.cpanm\work\1475221517.2688\Gtk3-0.029\blib\lib/Gtk3.pm
line 1847.
t/vfuncs-double-setup.t ........ ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:/msys64/mingw64/lib/perl5/site_perl/Glib/Object/Introspection.pm line 67.
t/zz-GdkEvent.t ................ ok
t/zz-GtkActionGroup.t .......... ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:/msys64/mingw64/lib/perl5/site_perl/Glib/Object/Introspection.pm line 67.
t/zz-GtkBuilder.t .............. ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
t/zz-GtkCellLayoutIface.t line 13.
t/zz-GtkCellLayoutIface.t ...... ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:\msys64\home\MAXIMI~1\.cpanm\work\1475221517.2688\Gtk3-0.029\blib\lib/Gtk3.pm
line 1744.
t/zz-GtkCellRendererIface.t .... ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:\msys64\home\MAXIMI~1\.cpanm\work\1475221517.2688\Gtk3-0.029\blib\lib/Gtk3.pm
line 1847.
(perl.exe:3612): Gtk-WARNING **: Allocating size to GtkWindow 0000000002483fc0
without calling gtk_widget_get_preferred_width/height(). How does the code know
the size to allocate?
t/zz-GtkContainer.t ............ ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:\msys64\home\MAXIMI~1\.cpanm\work\1475221517.2688\Gtk3-0.029\blib\lib/Gtk3.pm
line 1847.
(perl.exe:180): Gtk-WARNING **:
gtk_dialog_set_alternative_button_order_from_array : no child button with
response id 2.
(perl.exe:180): Gtk-WARNING **:
gtk_dialog_set_alternative_button_order_from_array : no child button with
response id 3.
(perl.exe:180): Gtk-WARNING **:
gtk_dialog_set_alternative_button_order_from_array : no child button with
response id -5.
(perl.exe:180): Gtk-WARNING **:
gtk_dialog_set_alternative_button_order_from_array : no child button with
response id -6.
(perl.exe:180): Gtk-WARNING **:
gtk_dialog_set_alternative_button_order_from_array : no child button with
response id -3.
(perl.exe:180): Gtk-WARNING **:
gtk_dialog_set_alternative_button_order_from_array : no child button with
response id 3.
t/zz-GtkDialog.t ............... ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:/msys64/mingw64/lib/perl5/site_perl/Glib/Object/Introspection.pm line 67.
t/zz-GtkImage.t ................ ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:\msys64\home\MAXIMI~1\.cpanm\work\1475221517.2688\Gtk3-0.029\blib\lib/Gtk3.pm
line 1847.
t/zz-GtkInfoBar.t .............. ok
t/zz-GtkRadioAction.t .......... ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:\msys64\home\MAXIMI~1\.cpanm\work\1475221517.2688\Gtk3-0.029\blib\lib/Gtk3.pm
line 1406.
t/zz-GtkRadioButton.t .......... ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:\msys64\home\MAXIMI~1\.cpanm\work\1475221517.2688\Gtk3-0.029\blib\lib/Gtk3.pm
line 1406.
t/zz-GtkRadioMenuItem.t ........ ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:\msys64\home\MAXIMI~1\.cpanm\work\1475221517.2688\Gtk3-0.029\blib\lib/Gtk3.pm
line 1437.
t/zz-GtkRadioToolButton.t ...... ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:\msys64\home\MAXIMI~1\.cpanm\work\1475221517.2688\Gtk3-0.029\blib\lib/Gtk3.pm
line 1847.
t/zz-GtkRecentChooserDialog.t .. ok
GLib-GObject-WARNING **: attempt to override closure->va_marshal
(0000000063a489b0) with new marshal (0000000066712988) at
C:/msys64/mingw64/lib/perl5/site_perl/Glib/Object/Introspection.pm line 67.
t/zz-GtkTextBuffer.t ........... ok
t/zz-GtkTreeModelIface.t ....... ok
Test Summary Report
-------------------
t/overrides.t (Wstat: 1280 Tests: 193 Failed: 0)
Non-zero exit status: 5
Parse errors: Bad plan. You planned 215 tests but ran 193.
Files=22, Tests=847, 36 wallclock secs ( 0.42 usr + 0.02 sys = 0.44 CPU)
Result: FAIL
Failed 1/22 test programs. 0/847 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list