From: Mike Gilbert <floppym@gentoo.org>
To: Gentoo Dev <gentoo-dev@lists.gentoo.org>
Subject: Re: [gentoo-dev] Need help with sys-fs/e2fsprogs-1.42.11 build failure
Date: Sun, 20 Jul 2014 10:45:12 -0400 [thread overview]
Message-ID: <CAJ0EP40-PMuM9omxY2OhqOZhPoe-AcNBqNi7HtJhRpPXgfozBg@mail.gmail.com> (raw)
In-Reply-To: <20140720124749.4edaf889@shanghai.paradoxon.rec>
On Sun, Jul 20, 2014 at 6:47 AM, Lars Wendler <polynomial-c@gentoo.org> 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.
next prev parent reply other threads:[~2014-07-20 14:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-20 10:47 [gentoo-dev] Need help with sys-fs/e2fsprogs-1.42.11 build failure Lars Wendler
2014-07-20 14:45 ` Mike Gilbert [this message]
2014-07-20 14:56 ` Jeroen Roovers
2014-07-20 20:37 ` Lars Wendler
2014-07-20 15:09 ` Mike Gilbert
2014-07-20 15:12 ` Mike Gilbert
2014-07-21 8:47 ` Lars Wendler
2014-08-05 10:30 ` Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ0EP40-PMuM9omxY2OhqOZhPoe-AcNBqNi7HtJhRpPXgfozBg@mail.gmail.com \
--to=floppym@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox