[FS#1078] glib2 doc compilation failed + workaround
LEDE Bugs
lede-bugs at lists.infradead.org
Thu Oct 19 01:26:59 PDT 2017
A new Flyspray task has been opened. Details are below.
User who did this - jedi7 (jedi7)
Attached to Project - LEDE Project
Summary - glib2 doc compilation failed + workaround
Task Type - Build Failure
Category - Packages
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Critical
Priority - Very Low
Reported Version - lede-17.01
Due in Version - Undecided
Due Date - Undecided
Details - **steps to reproduce**
1) make V=s package/glib2/compile
**Error:**
...
/usr/bin/install -c -m 644 ./html/tools.html
/usr/bin/install -c -m 644 ./html/up-insensitive.png
/usr/bin/install -c -m 644 ./html/up.png
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Traceback (most recent call last):
File "/usr/bin/gtkdoc-rebase", line 56, in
sys.exit(rebase.run(options))
File "/usr/share/gtk-doc/python/gtkdoc/rebase.py", line 66, in run
dir = common.GetModuleDocDir('glib-2.0')
File "/usr/share/gtk-doc/python/gtkdoc/common.py", line 104, in GetModuleDocDir
path = subprocess.check_output([config.pkg_config, '--variable=prefix', module_name], universal_newlines=True)
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/pkg-config', '--variable=prefix', 'glib-2.0']' returned non-zero exit status 1.
make[8]: *** [Makefile:1011: install-data-local] Error 1
make[8]: Leaving directory '/home/mystore/embedded/dir-825/lede-branch/build_dir/target-mips_24kc_musl-1.1.16/glib-2.50.2/docs/reference/glib'
...
**Workaround:**
In directory "dir-825/target/build_dir/target-mips_24kc_musl-1.1.16/glib-2.50.2/docs"
replace the Makefile with content:
all:
install:
and re-run make
Builded on archlinux
One or more files have been attached.
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1078
More information about the lede-bugs
mailing list