mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Building glib2.0 fails
Date: Tue, 21 Nov 2017 21:57:19 +0100	[thread overview]
Message-ID: <20171121205719.gharyyotakp4gmmr@lenoch> (raw)

Hi there,

after upgrade to Debian unstable (which works much reliably that Stretch
here :)) glib2.0 stopped building with:
https://bugzilla.gnome.org/show_bug.cgi?id=787768
and there is patch for that:
https://bug787768.bugzilla-attachments.gnome.org/attachment.cgi?id=362281

Relevant parts of build log are:
checking for gtk-doc... no
configure: WARNING:
  You will not be able to create source packages with 'make dist'
  because gtk-doc >= 1.20 is not found.
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no

which later leads to:
Making install in docs
make[3]: Entering directory '/home/ladis/src/peoplemetr/SimEarTools/dist/build/platform-igep2/build-target/glib-2.54.2/docs'
Making install in reference
make[4]: Entering directory '/home/ladis/src/peoplemetr/SimEarTools/dist/build/platform-igep2/build-target/glib-2.54.2/docs/reference'
Making install in glib
make[5]: Entering directory '/home/ladis/src/peoplemetr/SimEarTools/dist/build/platform-igep2/build-target/glib-2.54.2/docs/reference/glib'
make[6]: Entering directory '/home/ladis/src/peoplemetr/SimEarTools/dist/build/platform-igep2/build-target/glib-2.54.2/docs/reference/glib'
make[6]: Nothing to be done for 'install-exec-am'.
 /home/ladis/src/ptxdist/bin/install -c -m 644 ./html/Sorted_binary_tree_breadth-first_traversal.svg
[snip]
 /home/ladis/src/ptxdist/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 <module>
    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/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:1009: recipe for target 'install-data-local' failed

As you can see, glib.rule is using host's tools in /usr/bin/gtkdoc-rebase,
thus failure is distribution dependent, which should not be the case.

This is just a bug report with possibility of providing fix later...

	ladis

PS. Perhaps running PTXdist in very limited chroot would catch most of
such bugs earlier :)

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2017-11-21 20:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-21 20:57 Ladislav Michl [this message]
2017-11-21 21:27 ` Ladislav Michl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171121205719.gharyyotakp4gmmr@lenoch \
    --to=ladis@linux-mips.org \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox