NetBSD Problem Report #55571
From www@netbsd.org Fri Aug 14 06:37:55 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 425BF1A9239
for <gnats-bugs@gnats.NetBSD.org>; Fri, 14 Aug 2020 06:37:55 +0000 (UTC)
Message-Id: <20200814063754.074D01A9246@mollari.NetBSD.org>
Date: Fri, 14 Aug 2020 06:37:53 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: misc/rhash fails to build on Solaris 11.3 and older
X-Send-Pr-Version: www-1.0
>Number: 55571
>Category: pkg
>Synopsis: misc/rhash fails to build on Solaris 11.3 and older
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gutteridge
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 14 06:40:00 +0000 2020
>Closed-Date: Wed Jul 27 19:43:08 +0000 2022
>Last-Modified: Wed Jul 27 19:43:08 +0000 2022
>Originator: Joern Clausen
>Release:
>Organization:
Bielefeld University
>Environment:
>Description:
Just in case anyone else stumbles over this: misc/rhash fails to build on Solaris 11.3 with
gcc calc_sums.o hash_print.o common_func.o hash_update.o file.o file_mask.o file_set.o find_file.o hash_check.o output.o parse_cmdline.o rhash_main.o win_utils.o librhash/librhash.so.0 -L/opt/pkg-hrz/20191004/lib -Wl,-R/opt/pkg-hrz/20191004/lib -L/opt/pkg-hrz/20191004/lib -Wl,-R/opt/pkg-hrz/20191004/lib -lintl -o rhash
Undefined first referenced
symbol in file
aligned_alloc librhash/librhash.so.0
None of the substitutes in librhash/util.h is selected - or would work, as far as I can see.
The package will probably build on Solaris 11.4, as stdlib there provides this function.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Mon, 17 Aug 2020 07:17:49 +0000
Responsible-Changed-Why:
Solarils problem (or at least Solaris without aligned_alloc())
From: "David H. Gutteridge" <gutteridge@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/55571 CVS commit: pkgsrc/misc/rhash
Date: Mon, 27 Jun 2022 01:19:40 +0000
Module Name: pkgsrc
Committed By: gutteridge
Date: Mon Jun 27 01:19:40 UTC 2022
Modified Files:
pkgsrc/misc/rhash: distinfo
pkgsrc/misc/rhash/patches: patch-configure
Log Message:
rhash: properly reapply build fix for OSes without aligned_alloc
This was previously fixed by schmonz@, but was half lost in the update
to 1.4.3. Upstream added their own macro NO_POSIX_ALIGNED_ALLOC to help
deal with this, so a patch was dropped, but our patch to the configure
script wasn't adjusted to match that new macro definition.
Should fix PR pkg/55571 and PR pkg/56902.
Note I have no environment with which to test this, but it seems obvious
from code inspection, and adjusting the patch did not influence test
builds on NetBSD 9.2_STABLE, Fedora 36, or OmniOS r151038.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/misc/rhash/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/rhash/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Mon, 27 Jun 2022 01:24:45 +0000
State-Changed-Why:
Please check if this is fixed with 1.4.3 with patch-configure r. 1.3.
Responsible-Changed-From-To: solaris-pkg-people->gutteridge
Responsible-Changed-By: gutteridge@NetBSD.org
Responsible-Changed-When: Mon, 27 Jun 2022 01:33:00 +0000
Responsible-Changed-Why:
Take this, since I've adjusted a patch.
State-Changed-From-To: feedback->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Wed, 27 Jul 2022 19:43:08 +0000
State-Changed-Why:
Feedback timeout, and confirmed fixed in PR pkg/56902 anyway.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.