NetBSD Problem Report #58447
From www@netbsd.org Fri Jul 19 16:39:10 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 8CE3C1A9239
for <gnats-bugs@gnats.NetBSD.org>; Fri, 19 Jul 2024 16:39:10 +0000 (UTC)
Message-Id: <20240719163909.85C101A923A@mollari.NetBSD.org>
Date: Fri, 19 Jul 2024 16:39:09 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: sqlite3_analyzer, bundled in lang/tcl, is broken
X-Send-Pr-Version: www-1.0
>Number: 58447
>Category: pkg
>Synopsis: sqlite3_analyzer, bundled in lang/tcl, is broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 19 16:40:00 +0000 2024
>Last-Modified: Fri Jul 19 16:50:01 +0000 2024
>Originator: Taylor R Campbell
>Release: current
>Organization:
The NetBSQL Foundationalyzer
>Environment:
>Description:
1. It's unclear to me why sqlite3_analyzer is bundled in lang/tcl instead of databases/sqlite3.
2. It doesn't work:
$ sqlite3_analyzer ./db
The SQLite database engine linked with this application lacks required capabilities. Recompile using the -DSQLITE_ENABLE_DBSTAT_VTAB compile-time option to fix this problem.
>How-To-Repeat:
1. install lang/tcl
2. try to run sqlite3_analyzer
>Fix:
Yes, please!
>Audit-Trail:
From: Taylor R Campbell <riastradh@NetBSD.org>
To: gnats-bugs@NetBSD.org, pkgsrc-bugs@NetBSD.org
Cc:
Subject: Re: pkg/58447: sqlite3_analyzer, bundled in lang/tcl, is broken
Date: Fri, 19 Jul 2024 16:47:49 +0000
3. bin/sqlite3_analyzer is PATH-dependent:
#! /bin/sh
# restart with tclsh \
exec tclsh "$0" ${1+"$@"}
This needs to be fixed with a variant of REPLACE_INTERPRETER -- not
the #! line, but the exec line.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.