NetBSD Problem Report #53363

From www@NetBSD.org  Thu Jun 14 03:28:25 2018
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 5D2197A111
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 14 Jun 2018 03:28:25 +0000 (UTC)
Message-Id: <20180614032824.72AC27A237@mollari.NetBSD.org>
Date: Thu, 14 Jun 2018 03:28:24 +0000 (UTC)
From: mjbauer95@gmail.com
Reply-To: mjbauer95@gmail.com
To: gnats-bugs@NetBSD.org
Subject: stringlist.h symbols missing from nbcompat
X-Send-Pr-Version: www-1.0

>Number:         53363
>Category:       toolchain
>Synopsis:       stringlist.h symbols missing from nbcompat
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 14 03:30:00 +0000 2018
>Originator:     Matthew Bauer
>Release:        7.1.2
>Organization:
N/A
>Environment:
Linux eris 4.14.44 #1-NixOS SMP Fri May 25 14:18:02 UTC 2018 x86_64 GNU/Linux
>Description:
Currently, the nbcompt found in NetBSD/src/tools/compat does not detect the symbols or headers for stringlist.h. This has become a problem for me on Linux because lots of software from NetBSD uses the stringlist.h headers but they are unavailable on both Glibc and Musl.

Other headers that it would be useful to include symbols for as well (but not nearly as important):

- nlist.h
- wchar.h

Also things like "humanize_number" and "readpassphrase" seem to be used a lot but again I don't want to prioritize it.
>How-To-Repeat:
Should be self explanatory. Here is a build log for where this coming up for me:

https://hydra.nixos.org/build/75774321
>Fix:
Adding include/stringlist.h & lib/libc/gen/stringlist.c to tools/compat + a HAVE_STRINGLIST_H define.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.