[15462] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Re: sha1sum 4.5.3 installed in sipb for sun4x_59 (fwd)

daemon@ATHENA.MIT.EDU (John Hawkinson)
Wed Aug 18 12:22:36 2004

From jhawk@MIT.EDU Wed Aug 18 16:22:36 2004
Return-Path: <jhawk@MIT.EDU>
Delivered-To: bug-sipb-mtg@CHARON.mit.edu
Received: (qmail 2504 invoked from network); 18 Aug 2004 16:22:36 -0000
Received: from biscayne-one-station.mit.edu (18.7.7.80)
  by charon.mit.edu with SMTP; 18 Aug 2004 16:22:36 -0000
Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86])
	by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id i7IGMJwu023912;
	Wed, 18 Aug 2004 12:22:19 -0400 (EDT)
Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73])
	(authenticated bits=56)
        (User authenticated as jhawk@ATHENA.MIT.EDU)
	by melbourne-city-street.mit.edu (8.12.4/8.12.4) with ESMTP id i7IGMIuu017850;
	Wed, 18 Aug 2004 12:22:19 -0400 (EDT)
Received: (from jhawk@localhost) by multics.mit.edu (8.12.9)
	id i7IGMI0Q002799; Wed, 18 Aug 2004 12:22:18 -0400 (EDT)
Date: Wed, 18 Aug 2004 12:22:17 -0400
From: John Hawkinson <jhawk@MIT.EDU>
To: Ken T Takusagawa <kenta@mit.edu>
Cc: bug-sipb@mit.edu
Subject: Re: sha1sum 4.5.3 installed in sipb for sun4x_59 (fwd)
Message-ID: <20040818162217.GJ1267@multics.mit.edu>
References: <Pine.GSO.4.58L.0408180309430.12130@department-of-alchemy.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.GSO.4.58L.0408180309430.12130@department-of-alchemy.mit.edu>
User-Agent: Mutt/1.4.2i

Ken T Takusagawa <kenta@MIT.EDU> wrote on Wed, 18 Aug 2004
at 03:11:52 -0400 in <Pine.GSO.4.58L.0408180309430.12130@department-of-alchemy.mit.edu>:

> Note to maintainers: I've placed the source and build notes
> in /mit/sipb/src/sha1sum.  I've also updated the windex file
> in the man subdirectory.

Hi, Ken! I looked at your src directory, and am a bit puzzled:

| [coleco-sidewinder!jhawk] ~sipb/src/sha1sum> ls -l
| total 7152
| -rw-------   1 84092    mit          837 Aug 18 01:31 README
| -rw-------   1 84092    mit          253 Aug 18 01:01 README~
| -rw-------   1 84092    mit      3658901 Aug 18 01:15 coreutils-4.5.3.tar.bz2
| [coleco-sidewinder!jhawk] ~sipb/src/sha1sum> cat README
| Greetings future maintainers of sha1sum,
| 
| sha1sum came from the coreutils tarfile you find in this directory.
| This file was extracted (using rpm2cpio) from the source RPM
| coreutils-4.5.3-26.src.rpm from the Red Hat Enterprise Linux 3
| distribution.  Because we only wanted one program from the package;
| the build process was a little bit atypical:
| 
| First unpack in /tmp (the debug symbols point to /tmp so if you ever
| want to debug, you can simply unpack there again.)
| 
| ./configure --prefix /tmp/foobarinstall ; make ; make install
| also ran "make check-TESTS" in the tests/sha1sum subdirectory
| 
| manually copy from /tmp/foobarinstall bin/sha1sum and
| man/man1/sha1sum.1 into the sipb locker
| 
| The program is installed only for solaris because coreutils is already
| part of the Athena Linux distribution.
| 
| --kenta Wed Aug 18 01:29:25 EDT 2004

The current version of GNU coreutils is 5.0 -- why not install that
version of sha1sum (for both platforms?), rather than an obsolete
version from a downstream repackager?


In re debugging symbols, the easy answer is simply to use gdb's "dir"
command to set the source directory to the right place, rather than
worrying about getting it exactly right.

My personal preference, for what its worth, is to leave
untarred source trees around for easy browsing, especially
since space is really cheap[*]. But I know other people have
different habits.

--jhawk

[*] -- esp. after the quota bump I just gave it:

Volume Name                   Quota      Used %Used   Partition
sipb.src                     400000    365999   91%<<       54%    <<WARNING
sipb.src                     600000    365999   61%         54%  

home help back first fref pref prev next nref lref last post