Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2018 09:18:33 +0200
From:      Gary Jennejohn <gljennjohn@gmail.com>
To:        Donald Byrd <don@tig.org>
Cc:        "x11@freebsd.org" <x11@freebsd.org>
Subject:   Re: build error in libXext
Message-ID:  <20180921091833.16d9626f@ernst.home>
In-Reply-To: <BN6PR18MB1635217C5626B81753457956B1120@BN6PR18MB1635.namprd18.prod.outlook.com>
References:  <BN6PR18MB1635217C5626B81753457956B1120@BN6PR18MB1635.namprd18.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Sep 2018 01:59:47 +0000
Donald Byrd <don@tig.org> wrote:

> Hello,
> 
> I am encountering an error installing software that has libXext as a dependency. The error from libXext build is that /usr/local/lib/libpthread-stubs.so is not found. Making devel/libpthread-stubs is no help, it seems to only create pthread-stubs.pc. Seems like I___m missing something fundamental but I___m lost as to what it is. Any ideas?
> 
> FreeBSD 11.2-RELEASE-p3 FreeBSD 11.2-RELEASE-p3 #0: Thu Sep  6 07:14:16 UTC 2018     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> # $FreeBSD: head/x11/libXext/Makefile 479538 2018-09-11 18:34:27Z zeising $
> 
> --- libXext.la ---
> /bin/sh ../libtool  --tag=CC    --mode=link cc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector -fno-strict-aliasing  -version-number 6:4:0 -no-undefined -fstack-protector -o libXext.la -rpath /usr/local/lib DPMS.lo MITMisc.lo XAppgroup.lo XEVI.lo  XLbx.lo XMultibuf.lo XSecurity.lo XShape.lo XShm.lo XSync.lo  XTestExt1.lo Xcup.lo Xdbe.lo Xge.lo extutil.lo globals.lo -L/usr/local/lib -lX11
> libtool: link: cc -shared  -fPIC -DPIC  .libs/DPMS.o .libs/MITMisc.o .libs/XAppgroup.o .libs/XEVI.o .libs/XLbx.o .libs/XMultibuf.o .libs/XSecurity.o .libs/XShape.o .libs/XShm.o .libs/XSync.o .libs/XTestExt1.o .libs/Xcup.o .libs/Xdbe.o .libs/Xge.o .libs/extutil.o .libs/globals.o   -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so /usr/local/lib/libpthread-stubs.so -lrpcsvc  -O2 -fstack-protector -fstack-protector   -Wl,-soname -Wl,libXext.so.6 -o .libs/libXext.so.6.4.0
> cc: error: no such file or directory: '/usr/local/lib/libpthread-stubs.so'
> *** [libXext.la] Error code 1
> 

This seems like a regression, but it may be intentional.

pkg which /usr/local/lib/libpthread-stubs.so
/usr/local/lib/libpthread-stubs.so was installed by package libpthread-stubs-0.3_6

pkg upgrade libpthread-stubs
Upgrading libpthread-stubs from 0.3_6 to 0.4...

pkg which /usr/local/lib/libpthread-stubs.so
/usr/local/lib/libpthread-stubs.so was not found in the database

libpthread-stubs.so is also no longer present in the file system,
which I checked with locate after updating its database.

-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180921091833.16d9626f>