Bug#875975: kmod FTBFS: subprocess.CalledProcessError: Command '['/usr/bin/pkg-config', '--variable=prefix', 'glib-2.0']' returned non-zero exit status 1
Emilio Pozuelo Monfort
pochu at debian.org
Sat Sep 16 19:11:16 UTC 2017
Control: reassign -1 gtk-doc/1.26-1
Control: affects -1 kmod
Control: forwarded -1 https://bugzilla.gnome.org/show_bug.cgi?id=787768
Hi,
On 16/09/17 20:42, Helmut Grohne wrote:
> Source: kmod
> Version: 24-1
> Severity: serious
>
> kmod fails to build from source in unstable. The tail of the build log
> is:
>
> | cd html && gtkdoc-mkhtml $mkhtml_options --path=/<<PKGBUILDDIR>>/build-deb/../libkmod/docs/doc --path=/<<PKGBUILDDIR>>/build-deb/libkmod/docs/doc libkmod ../libkmod-docs.xml
> | Computing chunks...
> | Writing libkmod-libkmod.html for refentry(libkmod-libkmod)
> | Writing libkmod-libkmod-list.html for refentry(libkmod-libkmod-list)
> | Writing libkmod-libkmod-config.html for refentry(libkmod-libkmod-config)
> | Writing libkmod-libkmod-module.html for refentry(libkmod-libkmod-module)
> | Writing libkmod-libkmod-loaded.html for refentry(libkmod-libkmod-loaded)
> | Writing ch01.html for chapter
> | Writing api-index-full.html for index(api-index-full)
> | Writing index.html for book(index)
> | Writing libkmod.devhelp2 for book(index)
> | gtkdoc-fixxref --module=libkmod --module-dir=html --html-dir=/usr/share/gtk-doc/html
> | 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-fixxref", line 57, in <module>
> | fixxref.Run(options)
> | File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 74, 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
> | Makefile:667: recipe for target 'html-build.stamp' failed
> | make[3]: *** [html-build.stamp] Error 1
> | Makefile:2117: recipe for target 'all-recursive' failed
> | make[2]: *** [all-recursive] Error 1
> | Makefile:1170: recipe for target 'all' failed
> | make[1]: *** [all] Error 2
> | make[1]: Leaving directory '/<<PKGBUILDDIR>>/build-deb'
> | debian/rules:78: recipe for target '.stamp-build' failed
> | make: *** [.stamp-build] Error 2
> | dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
>
> The timing of the failure strongly suggests a relation to the
> gtk-doc/1.26-1 upload. Please reassign if appropriate.
Yes, this is a regression in gtk-doc 1.26. The old version handled missing
glib-2.0.pc, but the new version is using python which is stricter. I have
forwarded this upstream.
Cheers,
Emilio
More information about the pkg-gnome-maintainers
mailing list