On Tue, Nov 11, 2025 at 12:15:45PM -0600, G. Branden Robinson wrote:
> Hi Thomas,
> 
> At 2025-11-11T11:48:43-0500, Thomas Dickey wrote:
> > a complete (compressed/attached) build log might show the problem.
> 
> I narrowed it down to the "configure" option "--with-pthread".
> 
> I used:
> 
> ./configure \
>         --prefix=$HOME/ncurses-HEAD \
>         --with-abi-version=7 \
>         --with-shared \
>         --with-cxx-shared \
>         --with-hashed-db \
>         --with-manpage-format=normal \
> 
> #       --with-pthread \

fwiw, OpenSUSE uses pthread (and weak symbols), but other packagers
don't, as far as I recall.  But a bug's a bug.
 
> If I kill the newline and comment the last option, the build fails.

config.status shows

SUCCESS:
        with options \"--prefix=/home/branden/ncurses-HEAD --with-abi-version=7
        --with-shared --with-cxx-shared --with-hashed-db
        --with-manpage-format=normal CFLAGS=-g\"
FAILURE:
        with options \"--prefix=/home/branden/ncurses-HEAD --with-abi-version=7
        --with-shared --with-cxx-shared --with-hashed-db
        --with-manpage-format=normal --with-pthread CFLAGS=-g\"
> 
> I'm attaching a gzipped tar file of "config.{log,status}" for successful
> and failing builds, along with standard output and error streams
> produced by the following script I use to direct builds.
> 
> #!/bin/sh
> 
> make distclean
> CFLAGS=-g config-ncurses && make && make install && groan
> 
> ("config-ncurses" is what you see above, and "groan" is a noisemaker
> that tells me when the build's done.)
> 
> > Offhand, it looks like the last fixes I made in this area were in
> > March.
> 
> I think I've fiddled with my config options more recently than that, but
> I don't keep "config-ncurses" under revision control.  :-/

I keep any reusable scripts in revision control, but (aside from virtual
machine snapshots), finding bugs exposed by different groups of source
archives can be hard.

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to