From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C989E13877A for ; Sun, 20 Jul 2014 14:45:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6840E0A59; Sun, 20 Jul 2014 14:45:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BAD5DE0A44 for ; Sun, 20 Jul 2014 14:45:15 +0000 (UTC) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id A5274340164 for ; Sun, 20 Jul 2014 14:45:14 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id y20so6144379ier.13 for ; Sun, 20 Jul 2014 07:45:12 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.42.32.136 with SMTP id e8mr4656159icd.44.1405867512932; Sun, 20 Jul 2014 07:45:12 -0700 (PDT) Received: by 10.64.142.17 with HTTP; Sun, 20 Jul 2014 07:45:12 -0700 (PDT) In-Reply-To: <20140720124749.4edaf889@shanghai.paradoxon.rec> References: <20140720124749.4edaf889@shanghai.paradoxon.rec> Date: Sun, 20 Jul 2014 10:45:12 -0400 Message-ID: Subject: Re: [gentoo-dev] Need help with sys-fs/e2fsprogs-1.42.11 build failure From: Mike Gilbert To: Gentoo Dev Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 0d6fa894-c89e-4d97-968f-b6e398b76a3a X-Archives-Hash: 7acd3968730515b14568e6e3782b60d3 On Sun, Jul 20, 2014 at 6:47 AM, Lars Wendler wrote: > Hi guys, > > I just add e2fsprogs{,-libs}-1.42.11 p.masked to our tree as I get a > strange build failure in e2fsprogs-1.42.11: > > x86_64-pc-linux-gnu-gcc -I. -I../../lib -I../../lib -D_GNU_SOURCE > -march=barcelona -mtune=barcelona -O2 -pipe -DHAVE_CONFIG_H > -I../../debugfs -c tst_libext2fs.c -o tst_libext2fs.o make[2]: *** No > rule to make target '../../lib/libss.a', needed by 'tst_libext2fs'. > Stop. make[2]: Leaving directory > '/var/tmp/portage/sys-fs/e2fsprogs-1.42.11/work/e2fsprogs-1.42.11/lib/ext2fs' > Makefile:395: recipe for target 'all-libs-recursive' failed > > The above run was with MAKEOPTS set to -j1 to make sure it's not a > parallel make issue. > > I already looked into the sources but I can't figure out where the > problem comes from. Any help is highly appreciated. > This commit introduced a new test program (tst_libext2fs) which gets build by default (see the "all" target). https://git.kernel.org/cgit/fs/ext2/e2fsprogs.git/commit/lib/ext2fs/Makefile.in?id=ceff962c67f19724e6fffe92adfdfff0cd462722 This program gets linked with DEPSTATIC_LIBSS, which defaults to $(LIB)/libss.a. The e2fsprogs ebuild does not build $(LIB)/libss.a; it expects that to have been build/installed by e2fsprogs-libs. There is a sed statement in src_prepare which replaces most of these LIBXX variables with references to the system libs (-lss). However, this sed statement does not replace DEPSTATIC_LIBXX.