From owner-freebsd-x11@freebsd.org Fri Sep 21 08:04:55 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58243109283B for ; Fri, 21 Sep 2018 08:04:55 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DC62073A56 for ; Fri, 21 Sep 2018 08:04:54 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: by mailman.ysv.freebsd.org (Postfix) id 9E3991092836; Fri, 21 Sep 2018 08:04:54 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6422B109282E for ; Fri, 21 Sep 2018 08:04:54 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E1C1B73A44 for ; Fri, 21 Sep 2018 08:04:53 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 42GmNG4c05zDhp5; Fri, 21 Sep 2018 08:04:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1537517085; bh=eA5AmPWs/ZUUDtRTMwULYMeK UI+mGE8ucInXaQO61gs=; b=XG2h+QfHFU51/abiqYcJQ9dpCvB2xQS02xRlc+k9 h+IgmNfyisfrEqu0HvYwAVdAw4e/KRreUSBv4+n3c0iJQyq2DLXDpmhxn9s/7D8Y 3stufrNZlQ5dQVLIEL4u81RVs5OneHU9QtV9YPSKkoMJ9dMGKwINQLa//ZQjtb8Z mcg= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id 8mn4IsBejwV8; Fri, 21 Sep 2018 08:04:45 +0000 (UTC) Received: from garnet.daemonic.se (host-78-78-48-149.mobileonline.telia.com [78.78.48.149]) by mail.daemonic.se (Postfix) with ESMTPSA id 42GmND5b5xzDhp3; Fri, 21 Sep 2018 08:04:44 +0000 (UTC) Subject: Re: build error in libXext To: gljennjohn@gmail.com, Donald Byrd Cc: "x11@freebsd.org" References: <20180921091833.16d9626f@ernst.home> From: Niclas Zeising Message-ID: <08401b37-4f00-69c6-e7fe-229482fb5cbd@daemonic.se> Date: Fri, 21 Sep 2018 10:04:43 +0200 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: <20180921091833.16d9626f@ernst.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2018 08:04:55 -0000 On 9/21/18 9:18 AM, Gary Jennejohn wrote: > On Fri, 21 Sep 2018 01:59:47 +0000 > Donald Byrd 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