pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: byavuz81@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17358: While using --with-uuid=bsd option, uuid_ossp test fails on NetBSD 9.2
Date: Fri, 07 Jan 2022 15:48:52 -0500
Message-ID: <1377833.1641588532@sss.pgh.pa.us> (raw)
In-Reply-To: <17358-89806e7420797025@postgresql.org>
References: <17358-89806e7420797025@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> While installing PostgreSQL from source code, uuid_ossp test fails on NetBSD
> 9.2.

Hmm, yeah, reproduced here.  It looks like NetBSD 9 and later have
decided to generate version-4 UUIDs instead of the version-1 UUIDs
that we're expecting uuid_create() to return.  How annoying.

Their uuid_create(3) man page doesn't actually commit to anything
either way, but I suppose it's based on the uuidgen(2) syscall,
and that page clearly changed between 8.2 and 9.0:

https://man.netbsd.org/NetBSD-8.2/uuidgen.2
https://man.netbsd.org/NetBSD-9.0/uuidgen.2

We hadn't noticed because our one NetBSD 9.x buildfarm animal
isn't building with --with-uuid :-(.

Not sure about how to fix this nicely.  We've tried to avoid
writing our own code for V1 UUIDs, but maybe we should just
bite the bullet and do that?  The hard part seems like it'd
be to get a MAC address from someplace.

			regards, tom lane





view thread (13+ messages)  latest in thread

Message-ID: <1377833.1641588532@sss.pgh.pa.us>
Permalink:  ../1377833.1641588532@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1377833.1641588532@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, byavuz81@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17358: While using --with-uuid=bsd option, uuid_ossp test fails on NetBSD 9.2
  In-Reply-To: <1377833.1641588532@sss.pgh.pa.us>

* 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