Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6C0A4E008F5; Sun, 28 May 2017 06:10:19 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from cloudserver096301.home.net.pl (cloudserver096301.home.net.pl [79.96.179.35]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 80A44E00724 for ; Sun, 28 May 2017 06:10:15 -0700 (PDT) Received: from 87-207-30-9.dynamic.chello.pl (87.207.30.9) (HELO [192.168.0.213]) by serwer1539010.home.pl (79.96.179.35) with SMTP (IdeaSmtpServer 0.82) id 9bd98c2d2ac6afe8; Sun, 28 May 2017 15:10:17 +0200 To: yocto@yoctoproject.org From: Maciej Pijanowski Message-ID: Date: Sun, 28 May 2017 15:10:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Cc: =?UTF-8?Q?Piotr_Kr=c3=b3l?= , Mariusz Madej Subject: Cannot load Gtk3: Could not lookup GType X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2017 13:10:19 -0000 Content-Type: multipart/alternative; boundary="------------15473CD141589ABAFF9372CC" Content-Language: en-US --------------15473CD141589ABAFF9372CC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, I'm trying to port custom perl application from Debian into Yocto (morty). I'm stuck at testing Gtk3 perl module. It looks to me that all necessary components are already there. It looks to me that the issue is rather related to Gtk3 or it's dependencies, rather than perl and it's modules. What do you think? I'm certainly not a Gtk expert. Do you have any idea how could I further debug this? Any hints what could be the issue? ``` root@qemux86-64:~/Gtk3-0.009# perl Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Gtk3 Writing MYMETA.yml and MYMETA.json root@qemux86-64:~/Gtk3-0.009# make cp lib/Gtk3.pm blib/lib/Gtk3.pm root@qemux86-64:~/Gtk3-0.009# make Skip blib/lib/Gtk3.pm (unchanged) root@qemux86-64:~/Gtk3-0.009# make test PERL_DL_NONLAZY=1 "/usr/bin/perl5.22.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-init.t .................... Bailout called. Further testing stopped: Cannot load Gtk3: Could not lookup GType from function gdk_rectangle_get_type at t/00-init.t line 9. FAILED--Further testing stopped: Cannot load Gtk3: Could not lookup GType from function gdk_rectangle_get_type at t/00-init.t line 9. make: *** [Makefile:814: test_dynamic] Error 255 ``` I'm running in qemu right now. My setup is: * Perl verion: This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux * Relevant libraries: libcairo-gobject.so.2.11400.6 libcairo.so.2.11400.6 libgtk-3.so.0 libatk-1.0.so.0.22009.1 libgobject-2.0.so.0.4902.0 libpangocairo-1.0.so.0.4000.1 libgdk-3.so.0.1800.5 libgdk_pixbuf-2.0.so.0.3200.3 * Relevant perl modules: Cairo/GObject.pm Cairo.pm Glib/Object/Introspection.pm Glib.pm Thanks for any feedback -- Maciej Pijanowski Embedded Systems Engineer http://3mdeb.com | @3mdeb_com --------------15473CD141589ABAFF9372CC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hello,
I'm trying to port custom perl application from Debian into Yocto (morty).
I'm stuck at testing Gtk3 perl module. It looks to me that all necessary
components are already there. It looks to me that the issue is rather related
to Gtk3 or it's dependencies, rather than perl and it's modules. What do you think?
I'm certainly not a Gtk expert. Do you have any idea how could I further debug
this? Any hints what could be the issue?

```
root@qemux86-64:~/Gtk3-0.009# perl Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Gtk3
Writing MYMETA.yml and MYMETA.json

root@qemux86-64:~/Gtk3-0.009# make
cp lib/Gtk3.pm blib/lib/Gtk3.pm

root@qemux86-64:~/Gtk3-0.009# make
Skip blib/lib/Gtk3.pm (unchanged)
root@qemux86-64:~/Gtk3-0.009# make test
PERL_DL_NONLAZY=1 "/usr/bin/perl5.22.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-init.t .................... Bailout called.  Further testing stopped:  Cannot load Gtk3: Could not lookup GType from function gdk_rectangle_get_type at t/00-init.t line 9.
FAILED--Further testing stopped: Cannot load Gtk3: Could not lookup GType from function gdk_rectangle_get_type at t/00-init.t line 9.
make: *** [Makefile:814: test_dynamic] Error 255
```

I'm running in qemu right now. My setup is:

* Perl verion: This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux
* Relevant libraries:
libcairo-gobject.so.2.11400.6
libcairo.so.2.11400.6
libgtk-3.so.0
libatk-1.0.so.0.22009.1
libgobject-2.0.so.0.4902.0
libpangocairo-1.0.so.0.4000.1
libgdk-3.so.0.1800.5
libgdk_pixbuf-2.0.so.0.3200.3

* Relevant perl modules:
Cairo/GObject.pm
Cairo.pm
Glib/Object/Introspection.pm
Glib.pm

Thanks for any feedback
-- 
Maciej Pijanowski
Embedded Systems Engineer
http://3mdeb.com | @3mdeb_com
--------------15473CD141589ABAFF9372CC--