Date: Fri, 21 Sep 2018 10:04:43 +0200 From: Niclas Zeising <zeising+freebsd@daemonic.se> To: gljennjohn@gmail.com, Donald Byrd <don@tig.org> Cc: "x11@freebsd.org" <x11@freebsd.org> Subject: Re: build error in libXext Message-ID: <08401b37-4f00-69c6-e7fe-229482fb5cbd@daemonic.se> In-Reply-To: <20180921091833.16d9626f@ernst.home> References: <BN6PR18MB1635217C5626B81753457956B1120@BN6PR18MB1635.namprd18.prod.outlook.com> <20180921091833.16d9626f@ernst.home>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/21/18 9:18 AM, Gary Jennejohn wrote: > 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. > This is intentional, the library should not needed any more. Can you verify that your ports tree is up to date? I can't reproduce the error when building libXext. What does config.log say? Regards -- Niclas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08401b37-4f00-69c6-e7fe-229482fb5cbd>