public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Cygport: How to add -I m4 to autoreconf / aclocal? (issue with building mingw64-x86_64-gtksourceview3.0-3.24.6 )
@ 2019-06-06  8:03 Soegtrop, Michael
  2019-06-06 19:18 ` Hans-Bernhard Bröker
  0 siblings, 1 reply; 5+ messages in thread
From: Soegtrop, Michael @ 2019-06-06  8:03 UTC (permalink / raw)
  To: Hans-Bernhard Bröker, cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2029 bytes --]

Dear Hans-Bernhard,

> Are we building this from a tarball, or directly off the bleeding edge?

From a tarball. As far as I can tell I am exactly reproducing the original package that is available as binary on Cygwin repos with exactly the same sources, patches and cygport file.
 
> If that had to be done, that would constitute a clear upstream bug.
> Well, either that or that file itself should not be there.

I can't judge this and would need some advice here. The issue could be at several places:

- In the past and on other systems aclocal automatically included the package local m4 folder in all process steps. If this is the intended behavior of aclocal, this is a regression in current cygwin's aclocal package are some of the packages it requires.

- In the past cygport automatically added an option to autoreconf to include the local m4 folder.

- The original builder/maintanier of the current package mingw64-x86_64-gtksourceview3.0-3.24.6 did something non-standard to get the package build (that is didn't just run cygport ... all.

- The use of AX_REQUIRE_DEFINED in gtksourceview configure.ac for macros defined in the package local m4 folder is bogus. This would then be a gtksourceview upstream bug, as you suggest. One can argue that it doesn't make a lot of sense to check the availability of locally supplied macros, but one can also ask why it seems to work on other systems and seems to have worked on Cygwin in the past.

Best regards,

Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
\0ТÒÐÐ¥\a&ö&ÆVÒ\a&W\x06÷'G3¢\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒ÷\a&ö&ÆV×2æ‡FÖÀФd\x15\x13¢\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöf\x17\x12ðФFö7VÖVçF\x17F–öã¢\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöFö72æ‡FÖÀÐ¥Vç7V'67&–&R\x06–æfó¢\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöÖÂò7Vç7V'67&–&R×6–×\x06ÆPРÐ

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygport: How to add -I m4 to autoreconf / aclocal? (issue with building mingw64-x86_64-gtksourceview3.0-3.24.6 )
  2019-06-06  8:03 Cygport: How to add -I m4 to autoreconf / aclocal? (issue with building mingw64-x86_64-gtksourceview3.0-3.24.6 ) Soegtrop, Michael
@ 2019-06-06 19:18 ` Hans-Bernhard Bröker
  2019-06-06 19:43   ` Soegtrop, Michael
  2019-06-06 21:28   ` Hans-Bernhard Bröker
  0 siblings, 2 replies; 5+ messages in thread
From: Hans-Bernhard Bröker @ 2019-06-06 19:18 UTC (permalink / raw)
  To: cygwin

Am 06.06.2019 um 10:03 schrieb Soegtrop, Michael:

> From a tarball. As far as I can tell I am exactly reproducing the
> original package that is available as binary on Cygwin repos with
> exactly the same sources, patches and cygport file.

... but possibly way different versions of the autotools compared to
those the package was built with, back then.

> I can't judge this and would need some advice here. The issue could
> be at several places:
> 
> - In the past and on other systems aclocal automatically included the
> package local m4 folder in all process steps. 

Possible.  Automake may have changed in that regard, at some point.
Still that would constitut, if not a flat-out bug, at least severe
bit-rot in the upstream package, because if it doesn't work with
Cygwin's automake version 1.15, it most likely doesn't with reasonably
current versions of automake on other platforms, either.

> - In the past cygport automatically added an option to autoreconf to
> include the local m4 folder.

I rather doubt that.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Cygport: How to add -I m4 to autoreconf / aclocal? (issue with building mingw64-x86_64-gtksourceview3.0-3.24.6 )
  2019-06-06 19:18 ` Hans-Bernhard Bröker
@ 2019-06-06 19:43   ` Soegtrop, Michael
  2019-06-06 21:28   ` Hans-Bernhard Bröker
  1 sibling, 0 replies; 5+ messages in thread
From: Soegtrop, Michael @ 2019-06-06 19:43 UTC (permalink / raw)
  To: Hans-Bernhard Bröker, cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1171 bytes --]

Dear Hans-Bernhard,

thanks for sharing your thoughts on this!

One more note: in the latest version of the configure file for gnome 3.24 from May 6th 2019:

https://github.com/GNOME/gtksourceview/blob/gnome-3-24/configure.ac

the problematic AX_REQUIRE_DEFINED([GTK_CHECK_BACKEND]) is still in. So I think it is not that likely that this doesn't build on recent Linux. I will contact the gtksourceview team and ask for their opinion. Possibly one can agree to simply remove these superfluous and problematic checks.

Also I will simply try it on a recent Ubuntu.

I will report the outcome here.

Best regards,

Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
\0ТÒÐÐ¥\a&ö&ÆVÒ\a&W\x06÷'G3¢\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒ÷\a&ö&ÆV×2æ‡FÖÀФd\x15\x13¢\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöf\x17\x12ðФFö7VÖVçF\x17F–öã¢\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöFö72æ‡FÖÀÐ¥Vç7V'67&–&R\x06–æfó¢\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöÖÂò7Vç7V'67&–&R×6–×\x06ÆPРÐ

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygport: How to add -I m4 to autoreconf / aclocal? (issue with building mingw64-x86_64-gtksourceview3.0-3.24.6 )
  2019-06-06 19:18 ` Hans-Bernhard Bröker
  2019-06-06 19:43   ` Soegtrop, Michael
@ 2019-06-06 21:28   ` Hans-Bernhard Bröker
  2019-06-08 13:40     ` Soegtrop, Michael
  1 sibling, 1 reply; 5+ messages in thread
From: Hans-Bernhard Bröker @ 2019-06-06 21:28 UTC (permalink / raw)
  To: cygwin

Am 06.06.2019 um 21:18 schrieb Hans-Bernhard Bröker:

> Still that would constitut, if not a flat-out bug, at least severe
> bit-rot in the upstream package, because if it doesn't work with
> Cygwin's automake version 1.15, it most likely doesn't with reasonably
> current versions of automake on other platforms, either.

After some actual inspection, and a bit of RTFMing, things became clearer.

There is indeed a general bug in the original source that requires
fixing.  The following line is sorely missing from the top-level
Makefile.am:

ACLOCAL_AMFLAGS = -I m4

It doesn't look like this should be buildable without that line, on any
other platform.  If it does, their gnome-autogen.sh must be rather
different from Cygwin's.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Cygport: How to add -I m4 to autoreconf / aclocal? (issue with building mingw64-x86_64-gtksourceview3.0-3.24.6 )
  2019-06-06 21:28   ` Hans-Bernhard Bröker
@ 2019-06-08 13:40     ` Soegtrop, Michael
  0 siblings, 0 replies; 5+ messages in thread
From: Soegtrop, Michael @ 2019-06-08 13:40 UTC (permalink / raw)
  To: Hans-Bernhard Bröker, cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1082 bytes --]

Dear Hans-Bernhard,

> There is indeed a general bug in the original source that requires fixing.  The
> following line is sorely missing from the top-level
> Makefile.am:
> 
> ACLOCAL_AMFLAGS = -I m4

thanks a lot for taking the time to investigate this! I will suggest this change to the gtksourceview team.

Should I meanwhile prepare a patch for Cygwin, so that the package can be compiled again (as I said it has a severe bug which is fixed upstream), or would you prefer to wait for the upstream change?

Best regards,

Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
\x03B‹KCB”\x1c›Ø›\x19[H\x1c™\^[ܝ\x1cΈ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÜ\x1c›Ø›\x19[\Ëš\x1d^[[\x03B‘TNˆ\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ˜\KÃB‘^[ØÝ[Y[\x18]\x1a[ÛŽˆ\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ^[ØÜËš\x1d^[[\x03B•[œÝXœØÜšX™H\x1a[™›Îˆ\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÛ[\vÈÝ[œÝXœØÜšX™K\Ú[\^[\x19CBƒB

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-06-08 13:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06  8:03 Cygport: How to add -I m4 to autoreconf / aclocal? (issue with building mingw64-x86_64-gtksourceview3.0-3.24.6 ) Soegtrop, Michael
2019-06-06 19:18 ` Hans-Bernhard Bröker
2019-06-06 19:43   ` Soegtrop, Michael
2019-06-06 21:28   ` Hans-Bernhard Bröker
2019-06-08 13:40     ` Soegtrop, Michael

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).