pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Dag Lem <dag@nimrod.no>
Cc: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Paul Ramsey <pramsey@cleverelephant.ca>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: daitch_mokotoff module
Date: Fri, 7 Apr 2023 22:50:32 -0400
Message-ID: <d7fdb2fe-e0b0-ce35-827d-41cdfab655ef@dunslane.net> (raw)
In-Reply-To: <3278776.1680918752@sss.pgh.pa.us>
References: <20230208090954.ngbokgukzx7ooj3m@alvherre.pgsql>
	<yge1qn0qldz.fsf@sid.nimrod.no>
	<53185f47-ed08-12ef-83d1-0cd26d49a209@enterprisedb.com>
	<ygesfffp4qj.fsf@sid.nimrod.no>
	<20230211025830.twigy3l65bc27cyw@awork3.anarazel.de>
	<ygeilg4pbjq.fsf@sid.nimrod.no>
	<ygeedp1gl1i.fsf@sid.nimrod.no>
	<037c6b65-019e-7e4b-4fd0-77973ea75a9f@enterprisedb.com>
	<3135273.1680893728@sss.pgh.pa.us>
	<3271512.1680916423@sss.pgh.pa.us>
	<3278776.1680918752@sss.pgh.pa.us>


On 2023-04-07 Fr 21:52, Tom Lane wrote:
> I wrote:
>> I pushed this after some mostly-cosmetic fiddling.  Most of the
>> buildfarm seems okay with it,
> Spoke too soon [1]:
>
> make[1]: Entering directory '/home/linux1/build-farm-16-pipit/buildroot/HEAD/pgsql.build/contrib/fuzzystrmatch'
> '/usr/bin/perl' daitch_mokotoff_header.pl daitch_mokotoff.h
> Can't locate open.pm in @INC (you may need to install the open module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at daitch_mokotoff_header.pl line 15.
> BEGIN failed--compilation aborted at daitch_mokotoff_header.pl line 15.
> make[1]: *** [Makefile:33: daitch_mokotoff.h] Error 2
>
> pipit appears to be running a reasonably current system (RHEL8), so
> the claim that "open" is a Perl core module appears false.  We need
> to rewrite this to not use that.
>
> 			regards, tom lane
>
> [1]https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=pipit&dt=2023-04-08%2001%3A02%3A39
>
>

I think it is a core module (See <https://metacpan.org/pod/open;) but it 
appears that some packagers have separated it out for reasons that 
aren't entirely obvious:

andrew@emma:~ $ rpm -q -l -f /usr/share/perl5/open.pm
/usr/share/man/man3/open.3pm.gz
/usr/share/perl5/open.pm

cheers


andrew

--
Andrew Dunstan
EDB:https://www.enterprisedb.com

view thread (69+ messages)  latest in thread

Message-ID: <d7fdb2fe-e0b0-ce35-827d-41cdfab655ef@dunslane.net>
Permalink:  ../d7fdb2fe-e0b0-ce35-827d-41cdfab655ef@dunslane.net/
Also on:    postgresql.org/message-id/d7fdb2fe-e0b0-ce35-827d-41cdfab655ef@dunslane.net

 · 

reply

Reply instructions:

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

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: andrew@dunslane.net, tgl@sss.pgh.pa.us, dag@nimrod.no, tomas.vondra@enterprisedb.com, andres@anarazel.de, alvherre@alvh.no-ip.org, pramsey@cleverelephant.ca
  Subject: Re: daitch_mokotoff module
  In-Reply-To: <d7fdb2fe-e0b0-ce35-827d-41cdfab655ef@dunslane.net>
  References: <20230208090954.ngbokgukzx7ooj3m@alvherre.pgsql> <yge1qn0qldz.fsf@sid.nimrod.no> <53185f47-ed08-12ef-83d1-0cd26d49a209@enterprisedb.com> <ygesfffp4qj.fsf@sid.nimrod.no> <20230211025830.twigy3l65bc27cyw@awork3.anarazel.de> <ygeilg4pbjq.fsf@sid.nimrod.no> <ygeedp1gl1i.fsf@sid.nimrod.no> <037c6b65-019e-7e4b-4fd0-77973ea75a9f@enterprisedb.com> <3135273.1680893728@sss.pgh.pa.us> <3271512.1680916423@sss.pgh.pa.us> <3278776.1680918752@sss.pgh.pa.us> <d7fdb2fe-e0b0-ce35-827d-41cdfab655ef@dunslane.net>

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

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox