From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32331 invoked from network); 8 Oct 2020 00:22:17 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 8 Oct 2020 00:22:17 -0000 Received: (qmail 3210 invoked by uid 89); 8 Oct 2020 00:22:40 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 3203 invoked from network); 8 Oct 2020 00:22:38 -0000 From: "Laurent Bercot" To: =?utf-8?q?Joshua=20Ismael=20Haase=20Hern=c3=a1ndez?= , supervision@list.skarnet.org Subject: Re: s6 v2.9.2.0 compiles only disabling execline Date: Thu, 08 Oct 2020 00:22:11 +0000 Message-Id: In-Reply-To: References: Reply-To: "Laurent Bercot" User-Agent: eM_Client/8.0.3385.0 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrgeejgdeffecutefuodetggdotffvucfrrhhofhhilhgvmecupfgfoffgtffkveetuefngfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkjghfrhgfgggtgfesthhqredttderjeenucfhrhhomhepfdfnrghurhgvnhhtuceuvghrtghothdfuceoshhkrgdqshhuphgvrhhvihhsihhonhesshhkrghrnhgvthdrohhrgheqnecuggftrfgrthhtvghrnhephefgheegfeefgeegueefhfdvvdelfefhudeuhedvffffieetgeettefhjefhgfegnecuffhomhgrihhnpegrvhgrihhlrggslhgvrdhlshenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhht >I'm building s6 from source on latest git tags and it seems to fail becaus= e >it cannot link execline: > >./configure --disable-execline; make # works > >./configure; make # fails with message >exec gcc -o s6-ftrig-listen -pipe -Wall -std=3Dc99 -fno-exceptions >-fno-unwind-tables -fno-asynchronous-unwind-tables -Wa,--noexecstack >-ffunction-sections -fdata-sections -O2 -fomit-frame-pointer >-fno-stack-protector -Wl,--sort-section=3Dalignment -Wl,--sort-common >-Wl,--gc-sections src/pipe-tools/s6-ftrig-listen.o libs6.a.xyzzy -lexeclin= e >-lskarnet >/home/linuxbrew/.linuxbrew/bin/ld: cannot find -lexecline >collect2: error: ld returned 1 exit status >make: *** [Makefile:138: s6-ftrig-listen] Error 1 > >Execline is installed and available. > >$ ls /usr/lib/execline/ >libexecline.a > >Any clues about how to solve this? ./configure --with-lib=3D/usr/lib/execline Alternatively, build execline with --libdir=3D/usr/lib so the static libraries can be found in the default linker path. Yeah, it's annoying. It's the result of an initial design decision that was theoretically logical but that has brought nothing but headaches since. I don't want to change the default libdir, but I will probably have to do it at some point because a lot of users are bumping on this. -- Laurent