On 22/11/17 09:05, Michael Olbrich wrote:
On Wed, Nov 22, 2017 at 12:18:07AM +0100, Ladislav Michl wrote:
Update to latest stable version.

Also it turned out that package install stage is using GTKDOC tools
found on build host, so add empty ac_cv_path_* to avoid that.

Signed-off-by: Ladislav Michl <la...@linux-mips.org>
  Note: See also previous mail. Perhaps it would be worth to create
  some global for disabling gtk-doc and ac_cv_path_* overriding...
  I'll leave this for later; consider this patch a bugfix ;)

Can you check if other packages are affected too? I think gnutls or
gstreamer1 might be from what I can tell from reading the Makefiles.

If they are affected, then I'll work on a more general solution.


On my system, udev-legacy was one of the failing packages. I got errors such as these:

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 <module>
  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/python2.7/subprocess.py", line 219, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['/usr/bin/pkg-config', '--variable=prefix', 'glib-2.0']' returned non-zero exit status 1
make[4]: *** [install-data-local] Error 1
Makefile:772: recipe for target 'install-data-local' failed
make[3]: *** [install-am] Error 2
Makefile:500: recipe for target 'install-am' failed
make[2]: *** [install-recursive] Error 1
Makefile:3190: recipe for target 'install-recursive' failed
make[1]: *** [install] Error 2
Makefile:3668: recipe for target 'install' failed
make[1]: Leaving directory '/mnt/lindata/work/abbotti/ptxdist/projects/testproject/platform-EBV-Socrates/build-target/udev-182'

I worked around it by uninstalling the Debian host's gtk-doc-tools package.

-=( Ian Abbott @ MEV Ltd.    E-mail: <abbo...@mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-

ptxdist mailing list

Reply via email to