Re: [meta-spdxscanner] [dunfell | sato] | gdk-pixbuf do_compile failure


leimaohui
 

Hi,

conf/local.conf
INHERIT += "fossology-rest"
TOKEN = "eyJ0e<...yyxx...>"
INHERIT += "fossdriver-host"
SPDX_DEPLOY_DIR = "/home/spdx-outdir-dunfell"
INHERIT += "scancode-tk"
In addition, I guess you want to use fossology-rest.bbclass, so, please don't add " fossdriver-host ", " scancode-tk " at meanwhile. Only add " fossology-rest " is OK:
$ cat local.conf
......
INHERIT += "fossology-rest"
TOKEN = "eyJ0e<...yyxx...>"
......

Best regards
Lei


From: yocto@... <yocto@...> On Behalf Of leimaohui
Sent: Tuesday, July 27, 2021 9:34 AM
To: Krishna <chaithubkts@...>; yocto@...
Subject: Re: [yocto] [meta-spdxscanner] [dunfell | sato] | gdk-pixbuf do_compile failure

To Krishna

I’ sorry that I missed your mail, I’ll try to reproduce your issue.

Best regards
Lei



From: mailto:yocto@... <mailto:yocto@...> On Behalf Of Krishna
Sent: Tuesday, July 21, 2020 1:18 AM
To: mailto:yocto@...
Subject: [yocto] [meta-spdxscanner] [dunfell | sato] | gdk-pixbuf do_compile failure

When I build a sato image I am facing an issue with gdk-pixbuf (as shown below), but when I build the same image without inheriting the meta-spdxscanner, it works fine.
I see a problem with the SPDX generation for only this particular package. Even the highlighted resource (below) was accessible and I was able to ping http://sourceforge.net from my dev machine.
So no clue on what's causing the issue. Can you please help me to resolve this issue? Thanks in advance.

conf/local.conf
INHERIT += "fossology-rest"
TOKEN = "eyJ0e<...yyxx...>"

INHERIT += "fossdriver-host"
SPDX_DEPLOY_DIR = "/home/spdx-outdir-dunfell"

INHERIT += "scancode-tk"

Build issue:
Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "qemuarm"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1"
TUNE_FEATURES        = "arm armv7ve vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta                
meta-poky            
meta-yocto-bsp       = "dunfell:a44b8d2856a937ca3991cbf566788b0cd541d777"
meta-oe              
meta-python          = "dunfell:e413c1ef621688e69bb7830bb3151ed23b30b73e"
meta-spdxscanner     = "master:c731a5f1cc83d9d8a1e120207746c89059d5576f"

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:08
Sstate summary: Wanted 108 Found 6 Missed 102 Current 2486 (5% match, 96% complete)
NOTE: Executing Tasks
ERROR: gdk-pixbuf-2.40.0-r0 do_compile: Execution of '/home/yocto/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/gdk-pixbuf/2.40.0-r0/temp/run.do_compile.2120' failed with exit code 1:
[1/2] /home/yocto/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/gdk-pixbuf/2.40.0-r0/recipe-sysroot-native/usr/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o docs/gdk-pixbuf-csource.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../gdk-pixbuf-2.40.0/docs/gdk-pixbuf-csource.xml
FAILED: docs/gdk-pixbuf-csource.1
/home/yocto/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/gdk-pixbuf/2.40.0-r0/recipe-sysroot-native/usr/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o docs/gdk-pixbuf-csource.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../gdk-pixbuf-2.40.0/docs/gdk-pixbuf-csource.xml
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/yocto/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/gdk-pixbuf/2.40.0-r0/temp/log.do_compile.2120
Log data follows:
| DEBUG: Executing shell function do_compile
| [1/2] /home/yocto/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/gdk-pixbuf/2.40.0-r0/recipe-sysroot-native/usr/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o docs/gdk-pixbuf-csource.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../gdk-pixbuf-2.40.0/docs/gdk-pixbuf-csource.xml
| FAILED: docs/gdk-pixbuf-csource.1
| /home/yocto/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/gdk-pixbuf/2.40.0-r0/recipe-sysroot-native/usr/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o docs/gdk-pixbuf-csource.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../gdk-pixbuf-2.40.0/docs/gdk-pixbuf-csource.xml
| I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
| warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
| cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/yocto/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/gdk-pixbuf/2.40.0-r0/temp/run.do_compile.2120' failed with exit code 1:
| [1/2] /home/yocto/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/gdk-pixbuf/2.40.0-r0/recipe-sysroot-native/usr/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o docs/gdk-pixbuf-csource.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../gdk-pixbuf-2.40.0/docs/gdk-pixbuf-csource.xml
| FAILED: docs/gdk-pixbuf-csource.1
| /home/yocto/build/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/gdk-pixbuf/2.40.0-r0/recipe-sysroot-native/usr/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o docs/gdk-pixbuf-csource.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../gdk-pixbuf-2.40.0/docs/gdk-pixbuf-csource.xml
| I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
| warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
| cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/yocto/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1907 tasks of which 1906 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/yocto/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


--
Regards,
Krishna Chaithanya B

Join yocto@lists.yoctoproject.org to automatically receive all group messages.