NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/59595: sh(1) in -current breaks pkgsrc/net/libcmis configure
The following reply was made to PR bin/59595; it has been noted by GNATS.
From: Kimmo Suominen <kim%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/59595: sh(1) in -current breaks pkgsrc/net/libcmis configure
Date: Thu, 14 Aug 2025 17:38:52 +0300
On Thu, Aug 14, 2025 at 08:55:00AM +0000, martin%NetBSD.org@localhost wrote:
> Downgrading /bin/sh to cvs date D2025.06.30.22.00.00
> works around the bug.
Using /bin/sh from 20250801170320Z also appears to run "make configure"
in pkgsrc/net/libcmis without issues. This would seem to indicate the
`cd ""' changes as the culprit.
I think the code in m4/boost.m4 (included in configure) ends up running
"cd ''" and does not survive it. I'm not sure why it does not survive it,
but the following change would avoid the "cd" and appears to work.
--- m4/boost.m4.orig 2023-10-09 12:06:53.000000000 +0000
+++ m4/boost.m4 2025-08-14 14:33:06.230312344 +0000
@@ -170,9 +170,8 @@
# searching $boost_dir" itself. Entries are whitespace separated.
#
# I didn't indent this loop on purpose (to avoid over-indented code)
- boost_layout_system_search_list=`cd "$boost_dir" 2>/dev/null \
- && ls -1 | "${GREP}" '^boost-' | sort -rn -t- -k2 \
- && echo .`
+ boost_layout_system_search_list=`ls -1 "$boost_dir" 2> /dev/null \
+ | "${GREP}" '^boost-' | sort -rn -t- -k2 && echo .`
for boost_inc in $boost_layout_system_search_list
do
if test x"$boost_inc" != x.; then
Kind regards,
+ Kimmo
Home |
Main Index |
Thread Index |
Old Index