[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-dev
Subject:    Re: intltool random perls
From:       Craig Treleaven <ctreleaven () cogeco ! ca>
Date:       2022-03-01 16:23:46
Message-ID: F401992B-093B-4FC1-95DA-9BA3D8DA869B () cogeco ! ca
[Download RAW message or body]

> On Feb 28, 2022, at 10:19 PM, Joshua Root <jmr@macports.org> wrote:
> 
> On 2022-3-1 14:03 , Craig Treleaven wrote:
> > The buildbots on OSX 10.12 and older are not finding a compatible version of \
> > XML::Parser and thus geany's configure fails.  However, NONE of the buildbots \
> > (nor my local machine) are using /opt/local/bin/perl5.30!
> 
> The correct fix is to delete the INTLTOOL_PERL check from the geany configure \
> script. There's no reason programs that use intltool need to care about which perl \
> intltool is using internally. One of many examples of doing this: \
> <https://github.com/macports/macports-ports/blob/master/xfce/libxfce4ui/files/remove-intltool-perl-hack.diff \
> <https://github.com/macports/macports-ports/blob/master/xfce/libxfce4ui/files/remove-intltool-perl-hack.diff>>
>  
> We have patched our intltool port to do this since 2013, so ports that run \
> autoreconf will get the fix. But configure scripts that were generated upstream \
> with an unpatched intltool.m4 will need to be fixed. 
> The patch has never been acknowledged by intltool upstream: \
> <https://bugs.launchpad.net/intltool/+bug/1197875 \
> <https://bugs.launchpad.net/intltool/+bug/1197875>> 
> I'm not sure if it's even being developed any more.
> 
Thanks, Josh.  I've taken the route to patch geany's configure script and that seems \
to have fixed the issue for me.

I now understand that there is an intltool ticket on this issue [1].  I had seen it \
previously but didn't grok that it was the problem I'd run into.  I've added to the \
ticket so hopefully others can save a little time.

[1] https://trac.macports.org/ticket/60155

Thanks again.

Craig


[Attachment #3 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div \
class="">On Feb 28, 2022, at 10:19 PM, Joshua Root &lt;<a \
href="mailto:jmr@macports.org" class="">jmr@macports.org</a>&gt; wrote:</div><br \
class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, \
0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: \
normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: \
0px; text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">On 2022-3-1 14:03 , Craig Treleaven wrote:</span><br \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; text-decoration: none;" class="">The buildbots on OSX \
10.12 and older are not finding a compatible version of XML::Parser and thus geany's \
configure fails. &nbsp;However, NONE of the buildbots (nor my local machine) are \
using /opt/local/bin/perl5.30!<br class=""></blockquote><br style="caret-color: \
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
float: none; display: inline !important;" class="">The correct fix is to delete the \
INTLTOOL_PERL check from the geany configure script. There's no reason programs that \
use intltool need to care about which perl intltool is using internally. One of many \
examples of doing this: &lt;</span><a \
href="https://github.com/macports/macports-ports/blob/master/xfce/libxfce4ui/files/remove-intltool-perl-hack.diff" \
style="font-family: Helvetica; font-size: 12px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: \
auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px;" \
class="">https://github.com/macports/macports-ports/blob/master/xfce/libxfce4ui/files/remove-intltool-perl-hack.diff</a><span \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
float: none; display: inline !important;" class="">&gt;</span><br style="caret-color: \
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: \
12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none; float: none; display: inline !important;" class="">We have \
patched our intltool port to do this since 2013, so ports that run autoreconf will \
get the fix. But configure scripts that were generated upstream with an unpatched \
intltool.m4 will need to be fixed.</span><br style="caret-color: rgb(0, 0, 0); \
font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: \
normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: \
0px; text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: \
12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none; float: none; display: inline !important;" class="">The patch \
has never been acknowledged by intltool upstream: &lt;</span><a \
href="https://bugs.launchpad.net/intltool/+bug/1197875" style="font-family: \
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; \
text-indent: 0px; text-transform: none; white-space: normal; widows: auto; \
word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" \
class="">https://bugs.launchpad.net/intltool/+bug/1197875</a><span \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
float: none; display: inline !important;" class="">&gt;</span><br style="caret-color: \
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: \
12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none; float: none; display: inline !important;" class="">I'm not \
sure if it's even being developed any more.</span><br style="caret-color: rgb(0, 0, \
0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: \
normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: \
0px; text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""></div></blockquote></div>Thanks, Josh. &nbsp;I've taken the route to patch \
geany's configure script and that seems to have fixed the issue for me.<div \
class=""><br class=""></div><div class="">I now understand that there is an intltool \
ticket on this issue [1]. &nbsp;I had seen it previously but didn't grok that it was \
the problem I'd run into. &nbsp;I've added to the ticket so hopefully others can save \
a little time.</div><div class=""><br class=""></div><div class="">[1]&nbsp;<a \
href="https://trac.macports.org/ticket/60155" \
class="">https://trac.macports.org/ticket/60155</a></div><div class=""><br \
class=""></div><div class="">Thanks again.</div><div class=""><br class=""></div><div \
class="">Craig</div><div class=""><br class=""></div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic