From: Andreas Fredriksson <deplinenoise@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Ebuild with scons and sandbox
Date: Wed, 17 Aug 2005 13:43:08 +0200 [thread overview]
Message-ID: <3212b1a805081704435d37a47@mail.gmail.com> (raw)
In-Reply-To: <4301B89E.8010900@gmail.com>
On 8/16/05, Nagatoro <nagatoro@gmail.com> wrote:
> Hi,
>
> First off, I'm sorry if this is the wrong place to ask!
>
> I'm trying to write an ebuild for linuxdcpp (a gtk port of DC++). This
> nice app uses scons and not make as the build tool. When I build it
> manually it works just fine, but when I try to build it with emerge (or
> ebuild) I get this:
> Code:
>
> scons: done building targets.
> ACCESS DENIED open_wr: /usr/include/gtk-2.0/gtk/.scons25064
[ SNIP ]
> it seems to me like scons is littering the filesystem with somesort of
> lock files but I've been unable to find any information on this. Does
> anyone know how I can prevent scons from trying to make these files or
> how I can fool scons into thinking that it could?
I'm a SCons user so maybe I can shed some light on the issue. SCons
uses content signatures rather than time stamps by default, that is it
detects file changes by accumulating MD5 signatures of preprocessed
data (i.e. with dependencies).
This doesn't work very well on directories such as /usr, but SCons
suppresses these errors by default since it's a normal situation on
UNIX-like systems.
The usual way is to move the include paths from SCons' CPPPATH
construction variable to the CXXFLAGS (or CCFLAGS). This way SCons
doesn't get to see the directories and therefore ignores the files
during the dependency scan.
You can also change the target signatures method to use time stamps
ranther than content stamps.
A good resource for making these modifications would be the scons site
at www.scons.org and the wiki on the same site which has lots of
information.
Regards,
Andreas
--
And I hate redundancy, and having different functions for the same thing.
- Linus Torvalds on linux-kernel
--
gentoo-user@gentoo.org mailing list
prev parent reply other threads:[~2005-08-17 11:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-16 9:57 [gentoo-user] [OT] Ebuild with scons and sandbox Nagatoro
2005-08-16 10:14 ` Zac Medico
2005-08-16 10:45 ` Nagatoro
2005-08-16 11:25 ` Zac Medico
2005-08-16 14:01 ` Nagatoro
2005-08-16 19:21 ` Zac Medico
2005-08-17 11:43 ` Andreas Fredriksson [this message]
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=3212b1a805081704435d37a47@mail.gmail.com \
--to=deplinenoise@gmail.com \
--cc=gentoo-user@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