From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-158499-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 3EA7A13838B
	for <garchives@archives.gentoo.org>; Tue,  9 Sep 2014 16:23:28 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 17500E0809;
	Tue,  9 Sep 2014 16:23:22 +0000 (UTC)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E02BEE07D1
	for <gentoo-user@lists.gentoo.org>; Tue,  9 Sep 2014 16:23:20 +0000 (UTC)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
	by gateway2.nyi.internal (Postfix) with ESMTP id 66E1E20DD7
	for <gentoo-user@lists.gentoo.org>; Tue,  9 Sep 2014 12:23:20 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
  by compute1.internal (MEProxy); Tue, 09 Sep 2014 12:23:20 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=message-id:date:from:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=smtpout; bh=xS26LpvLl9Ca0QwO1DVizE
	FZlVQ=; b=GYbx5tHglFOastpMCXizEvpz6znSsMryaVkkML6D4fS1rvJeeexei0
	1YV3K4ivDv6rUnPrOiF/a6ALbv9OkYdciyk7ZFMyQMNSP5GZ/W0aritd6nvUqL8l
	yLqbqF+KEcSaRBVp/Fbo5Cr6LEuyLg1/NBfcYV1xhD56zQ9lbGYeU=
X-Sasl-enc: UVOTuk90G/0khaU9QFsoOWusxNMJY1kKRoEmWB7hJOly 1410279800
Received: from [35.2.102.245] (unknown [35.2.102.245])
	by mail.messagingengine.com (Postfix) with ESMTPA id 353E568018B
	for <gentoo-user@lists.gentoo.org>; Tue,  9 Sep 2014 12:23:20 -0400 (EDT)
Message-ID: <540F2977.2000508@alectenharmsel.com>
Date: Tue, 09 Sep 2014 12:23:19 -0400
From: Alec Ten Harmsel <alec@alectenharmsel.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] post build files
References: <loom.20140909T164818-641@post.gmane.org>
In-Reply-To: <loom.20140909T164818-641@post.gmane.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 25392211-34a2-4ccb-bb9b-db6ce56e0dfe
X-Archives-Hash: e99ff688377cab624dc08c0ad86eafd4

On 09/09/2014 11:20 AM, James wrote:
> Hello,
>
> I'm rather new to hacking ebuilds. I have read most every doc
> I can find on the subject. One thing I'm looking for is a post-build
> document that shows me the path/name of everything built.
>
> So for mesos-0.20.0 it seems to be:
>
> /var/db/pkg/sys-cluster/mesos-0.20.0/CONTENTS
>
> For some other packages, they seems to be quit a lot under
> /var/tmp/portage/
>
> Some of the information I'm looking for is in
> /var/log/elog/
>
> Other places to look? Mesos generates a lot of *.html file that
> I'm speculating are general purpose setup interfaces for configuring
> and controlling the various code components. It this typical of
> Apache codes?
>
> I feel like I'm missing the 'big picture' on where one
> looks to find all these files that some packages generate.
> On new software, I guess I have  to look at them all to 
> figure out a runtime environment setup? I feel linke I'm on
> Safari (an actual dangerous animal hunting trip) but there
> has been no briefing. I feel hung_over, naked and without
> compass. I feel like I need a bottle of whisky to just
> start "winging it"......
>
> Understand what I'm doing: I have stable tree ebuilds,
> Overlays of various quality and then there are my
> ebuilds (ugly hacks) in /usr/local/portage that I'm trying
> to get my arms around with a weak comprehension of what to 
> expect.
>
> I also have read about Blueness efforts:  
> "RFC: GLEP 64: Standardize contents of VDB" on the dev list
> and that just leaves me scratching (more than my head).
>
> Some discussion, suggested reading, and guidance would be welcome
> as the structure(s) seem a wee bit "loose" if not inconsistent, to me......
>
> How much does EAPI-<number> affect what a package build does? Where do I
> have I go before compiling code (typically) in the unpacked sourcecode
> to see/determine what is going to get build and where it will install,
> as this is not strictly controlled by the ebuilds...... How much is 
> controlled by the package codes and how much by setting in the Gentoo
> build settings?
>
>
> Most of the docs I've read, would make sense, if I knew what I was
> specifically suppose to do. Learning the semantics of all of this
> "echo_system" does not seem straightforward. The individual codes
> are not the problem, as I can read and discern most codes. It's the
> WISDOM of what goes WHERE and WHY that seems; fleeting to me.
>
>
> lost & curious,
> James
>
>
>
>
>
To see what all is getting installed, I'd download a separate mesos
tarball and run:

    ./configure --prefix=/home/alec/mesos-root && make && make install

As for the EAPI, I'm also new to ebuilds but from my understanding you
should just use the current level, which is 5.

As for the structure of the ebuilds, I found it to be reasonable. For
recommended reading, I read other ebuilds; reasonably complex ones like
dev-lang/R or sci-mathematics/octave showcase plenty of the features of
ebuilds.

Lastly, if you throw this in a publicly-accessible git repo I'll try and
help, even though I took a look at mesos and it seems like it'll be hard
because they bundle libraries with it and have made a couple other
(imnho) bad decisions.

Alec

P.S. I'd recommend doing ebuild testing in a chroot (if you're not
already) as well to avoid destroying your system, but that's just me