From: Ken Brown <kbrown@cornell.edu>
To: cygwin-apps@cygwin.com
Subject: Re: Help needed with gobject-introspection
Date: Tue, 2 Jun 2020 10:31:26 -0400 [thread overview]
Message-ID: <4f5d1485-cf5a-8535-2923-5d31be901741@cornell.edu> (raw)
In-Reply-To: <c7a0b0fc-bcad-0833-0fef-60ecc5ca9f08@dronecode.org.uk>
On 6/2/2020 10:26 AM, Jon Turney wrote:
> On 01/06/2020 12:30, Jon Turney wrote:
>> On 01/06/2020 00:58, Ken Brown via Cygwin-apps wrote:
>>>
>>> Thanks! That gets me much further in the glib build. I still have a problem
>>> with the docs, but I have no reason to think it's a meson bug. When running
>>> 'ninja install' I get the following:
>>>
>>> Building documentation for gio
>>> ERROR: Error in gtkdoc helper script:
>>>
>>> ERROR: ['/usr/bin/gtkdoc-scangobj',
>>> '--types=/home/kbrown/src/glib/cygbuild/docs/reference/gio/gio.types',
>>> '--module=gio', '--run=', '--cflags=-I/home/kbrown/src/glib/cygbuild/gio
>>> -I/home/kbrown/src/glib/gio -pthread -I/home/kbrown/src/glib/cygbuild/gmodule
>>> -I/home/kbrown/src/glib/gmodule -I/home/kbrown/src/glib/cygbuild/.
>>> -I/home/kbrown/src/glib/. -I/home/kbrown/src/glib/cygbuild/glib
>>> -I/home/kbrown/src/glib/glib -I/home/kbrown/src/glib/cygbuild/gobject
>>> -I/home/kbrown/src/glib/gobject -D_GNU_SOURCE -fno-strict-aliasing
>>> -DG_ENABLE_DEBUG -Wduplicated-branches -Wimplicit-fallthrough
>>> -Wmisleading-indentation -Wstrict-prototypes -Wunused -Wno-unused-parameter
>>> -Wno-bad-function-cast -Wno-cast-function-type -Wno-pedantic
>>> -Wno-format-zero-length -Werror=declaration-after-statement -Werror=format=2
>>> -Werror=implicit-function-declaration -Werror=init-self
>>> -Werror=missing-include-dirs -Werror=missing-prototypes
>>> -Werror=pointer-arith', '--ldflags=-L/home/kbrown/src/glib/cygbuild/gio
>>> -Wl,-rpath,/home/kbrown/src/glib/cygbuild/gio
>>> -L/home/kbrown/src/glib/cygbuild/glib
>>> -Wl,-rpath,/home/kbrown/src/glib/cygbuild/glib
>>> -L/home/kbrown/src/glib/cygbuild/gobject
>>> -Wl,-rpath,/home/kbrown/src/glib/cygbuild/gobject
>>> -L/home/kbrown/src/glib/cygbuild/gmodule
>>> -Wl,-rpath,/home/kbrown/src/glib/cygbuild/gmodule -lgio-2.0 -lgmodule-2.0
>>> -lglib-2.0 -lgobject-2.0 -lz -pthread -lintl -lpcre -liconv -lffi',
>>> '--cc=cc', '--ld=cc',
>>> '--output-dir=/home/kbrown/src/glib/cygbuild/docs/reference/gio'] failed with
>>> status 127
>>>
>>> I'll see what I can figure out, but as I said, it doesn't look to me like a
>>> meson issue.
>>
>> This looks like the problem that my second patch was supposed to fix, so I
>> guess I've messed up somewhere.
>>
>> (gtkdoc-scangobj builds and runs a executable linked with the gio shared
>> library. meson needs to set PATH appropriately so that shared library can be
>> loaded)
>>
>
> Hmmm.. I can't reproduce this.
>
> Using my meson 0.54.2-2 package, I managed to build glib (from the 2.64.3 tag in
> the glib repository) configured with -Dgtk_doc=true.
Did you run 'ninja install'? The problem doesn't show up until you do that.
Ken
next prev parent reply other threads:[~2020-06-02 14:31 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-19 23:04 Ken Brown
2020-05-20 14:50 ` Ken Brown
2020-05-21 13:24 ` Jon Turney
2020-05-21 15:13 ` Ken Brown
2020-05-21 15:48 ` Jon Turney
2020-05-21 17:07 ` Ken Brown
2020-05-24 15:56 ` Jon Turney
2020-05-24 16:45 ` Ken Brown
2020-05-24 17:00 ` Ken Brown
2020-05-25 15:04 ` Ken Brown
2020-05-29 15:56 ` Jon Turney
2020-05-27 20:32 ` Ken Brown
2020-05-29 15:54 ` Jon Turney
2020-05-31 20:52 ` Jon Turney
2020-05-31 23:58 ` Ken Brown
2020-06-01 11:30 ` Jon Turney
2020-06-02 14:26 ` Jon Turney
2020-06-02 14:31 ` Ken Brown [this message]
2020-06-02 21:28 ` Jon Turney
2020-06-03 16:51 ` Jon Turney
2020-06-03 18:30 ` Ken Brown
2020-06-06 14:15 ` Ken Brown
2020-06-11 21:39 ` Jon Turney
2020-06-11 23:23 ` Ken Brown
2020-06-12 14:44 ` Jon Turney
2020-08-01 18:01 ` Ken Brown
2020-08-01 18:34 ` Jon Turney
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=4f5d1485-cf5a-8535-2923-5d31be901741@cornell.edu \
--to=kbrown@cornell.edu \
--cc=cygwin-apps@cygwin.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).