Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n6HeI-0001MM-LY for pgsql-bugs@arkaria.postgresql.org; Sat, 08 Jan 2022 19:45:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n6HeG-0003AG-OM for pgsql-bugs@arkaria.postgresql.org; Sat, 08 Jan 2022 19:45:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n6HeE-0003A7-Lj for pgsql-bugs@lists.postgresql.org; Sat, 08 Jan 2022 19:45:08 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n6He7-0002mm-Fe for pgsql-bugs@lists.postgresql.org; Sat, 08 Jan 2022 19:45:05 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id C06113200E86; Sat, 8 Jan 2022 14:44:56 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 08 Jan 2022 14:44:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=F1NfYzb9xGqFMhSkDblchM/2DFN snqwZ9cUe6HmdMTA=; b=xiPMhfBLY3VWFHWmSj+G22qzDNvtuB550wGa41w9rI9 rjzVTeoVn+LcwDfJUI4yGMCBP1l9TzNLOrYFPiP0NDZaMDkYxP+IMxkFTyaj6sjZ aIoIchNJYW1ECWKvRbXDt3u9Zk7kCPNIk/V6LiUxelVhp6PqqxK3b5F29WwRDgxD yxTJjY0RnsSH4mkLRH8p+ig4TPa6/5W9Mm3oFkgQmS66JnR+6zFOaXAeXDRmHXO4 /5fEcBhnLcd69PCXhPb0N+Juw7I4dfCyKSBE7feTCC5dRU1mZIO1vmuXcV406v5M TkbV0a4T+3+VnM0lNuWNTfF8S9hG3MXebUz4UNE9teQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=F1NfYz b9xGqFMhSkDblchM/2DFNsnqwZ9cUe6HmdMTA=; b=lozGtGDah4RjW+l6JuzkIZ OXXncC94p4b8vBjdGdtzqEkoJVZJyUZ2QcW9LVxoPRr6EBIgPyPst9KdVYgPx6FZ k+4yEo9a8I0F5Br7tQNyHqhqBvJ5aZi7dPratEUEVKUPXNVNLmCM7hj/73epNqHw UuNFYNgjkv2saboAkiqxC21baFpPzWdVQ4CuaPvBPIQB0EY6HcK/swgiWoego7xX USHc/pI+p5wo8AKQ/5x23rK/OBoqtMWQyV6xoVNqJfV/6DYH/mOTHa6PCtlfOyMR 10FOeqdY1AbWyRLXUA6fPqzEJoQhPrHuU2WAKZd+vHO3Rv94QMIObZ1Zp8gDoyjg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudeghedguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttd ertddttddvnecuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceorghnughrvghssegr nhgrrhgriigvlhdruggvqeenucggtffrrghtthgvrhhnpeelgfdukedtieejgefgvdejfe evgfffleehfeevveetleelieffkeeuheeuhfeghfenucffohhmrghinhepnhgvthgsshgu rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 8 Jan 2022 14:44:55 -0500 (EST) Date: Sat, 8 Jan 2022 11:44:54 -0800 From: Andres Freund To: Tom Lane Cc: 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 Message-ID: <20220108194454.kl477tb6km6tyj5r@alap3.anarazel.de> References: <17358-89806e7420797025@postgresql.org> <1377833.1641588532@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1377833.1641588532@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-01-07 15:48:52 -0500, Tom Lane wrote: > 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 :-(. It's interesting that freebsd seems to continue generating a v1 uuid, given that the manpage for netbsd says that uuidgen() stems from freebsd. > 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? It might be the most reasonable approach. We certainly seem to have spent at least as much effort avoiding our own implementation than implementing it ourselves. We could also just have a configure test rejecting netbsd's uuidgen, so that --with-uuid=bsd wouldn't support it anymore? Presumably forcing e2fs to be used? > The hard part seems like it'd be to get a MAC address from someplace. We could grab it from ossp-uuid or e2fs - both seem to be compatibly licensed? Greetings, Andres Freund