Debian Codegraph @

lib/jwz/testdata/0090.314ec4268af7a3a1974d5eab84ea65af.eml

raw
1 From: [email protected] Mon Sep 2 12:24:03 2002
2 Return-Path: <[email protected]>
3 Delivered-To: [email protected]
4 Received: from localhost (localhost [127.0.0.1])
5 by phobos.labs.netnoteinc.com (Postfix) with ESMTP id 803D843F9B
6 for <zzzz@localhost>; Mon, 2 Sep 2002 07:24:02 -0400 (EDT)
7 Received: from phobos [127.0.0.1]
8 by localhost with IMAP (fetchmail-5.9.0)
9 for zzzz@localhost (single-drop); Mon, 02 Sep 2002 12:24:02 +0100 (IST)
10 Received: from egwn.net (ns2.egwn.net [193.172.5.4]) by
11 dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g7U780Z16522 for
12 <[email protected]>; Fri, 30 Aug 2002 08:08:00 +0100
13 Received: from auth02.nl.egwn.net (localhost [127.0.0.1]) by egwn.net
14 (8.11.6/8.11.6/EGWN) with ESMTP id g7U754J32624; Fri, 30 Aug 2002 09:05:04
15 +0200
16 Received: from cskk.homeip.net (c17877.carlnfd1.nsw.optusnet.com.au
17 [210.49.140.231]) by egwn.net (8.11.6/8.11.6/EGWN) with ESMTP id
18 g7U73RJ32084 for <[email protected]>; Fri, 30 Aug 2002 09:03:28 +0200
19 Received: from amadeus.home (localhost.localdomain [127.0.0.1]) by
20 cskk.homeip.net (8.11.6/8.11.6) with ESMTP id g7U738708102 for
21 <[email protected]>; Fri, 30 Aug 2002 17:03:11 +1000
22 From: Cameron Simpson <[email protected]>
23 To: [email protected]
24 Subject: Re: /home/dude
25 Message-Id: <[email protected]>
26 References: <[email protected]>
27 <[email protected]>
28 MIME-Version: 1.0
29 Content-Type: text/plain; charset=us-ascii
30 Content-Disposition: inline
31 In-Reply-To: <[email protected]>
32 User-Agent: Mutt/1.4i
33 X-Mailscanner: Found to be clean, Found to be clean
34 Sender: [email protected]
35 Errors-To: [email protected]
36 X-Beenthere: [email protected]
37 X-Mailman-Version: 2.0.11
38 Precedence: bulk
39 Reply-To: [email protected]
40 X-Reply-To: [email protected]
41 List-Help: <mailto:[email protected]?subject=help>
42 List-Post: <mailto:[email protected]>
43 List-Subscribe: <http://lists.freshrpms.net/mailman/listinfo/rpm-zzzlist>,
44 <mailto:[email protected]?subject=subscribe>
45 List-Id: Freshrpms RPM discussion list <rpm-zzzlist.freshrpms.net>
46 List-Unsubscribe: <http://lists.freshrpms.net/mailman/listinfo/rpm-zzzlist>,
47 <mailto:[email protected]?subject=unsubscribe>
48 List-Archive: <http://lists.freshrpms.net/pipermail/rpm-zzzlist/>
49 X-Original-Date: Fri, 30 Aug 2002 17:03:06 +1000
50 Date: Fri, 30 Aug 2002 17:03:06 +1000
51
52 On 14:22 29 Aug 2002, Matthias Saou <[email protected]> wrote:
53 | Once upon a time, Axel wrote :
54 | > I am now relaxed again ;), and pass this info on. Probably Matthias Saou
55 | > himself is "dude", and some package has hardwired a path in his build
56 | > directory. It would be nice to find out which and fix it, but I am using
57 | > too many of the freshrpm suite to narrow it down.
58 |
59 | Indeed, my usual login is "dude" (and has been since long before "The Big
60 | Lebowsky" came out ;-)), and it seems the some programs wrongly hard code
61 | my home directory when being compiled :-(
62 | For instance :
63 |
64 | [dude@python dude]$ strings /usr/bin/gentoo | grep dude
65 | /home/dude/
66 | [dude@python dude]$ strings /usr/bin/xine | grep dude
67 | /home/dude/redhat/tmp/xine-root/usr/share/locale
68 |
69 | These should probably be considered bugs in the program's build process
70 | (especially for xine, look at that!), I'll report them upstream if/when I
71 | have some time.
72
73 This is a standard trap for people building things from source. It's
74 generally wise to have a special "build" environment to avoid these
75 hassles. Most likely you have some library loading path in your env. An
76 strace of the app will show it:
77
78 the-app 2>&1 | grep dude
79
80 Personally, I have a script called logbuild whose entire purpose is to
81 start a shell with a minimal build environment, logged with script. The
82 prevents this kind of error. Since configure yanks all sorts of ill
83 documented values from one's environment for use in the build (CC, ARCH,
84 various LD_* variables) this kind of thing is necessary.
85
86 Often the easiest thing is to have a special nonroot account with no .profile
87 for building stuff.
88
89 Cheers,
90 --
91 Cameron Simpson, DoD#743 [email protected] http://www.zip.com.au/~cs/
92
93 Do not taunt Happy Fun Coder.
94
95 _______________________________________________
96 RPM-List mailing list <[email protected]>
97 http://lists.freshrpms.net/mailman/listinfo/rpm-list
98