You are subscribed to the debian-devel mailing list

1995-10-19 Thread Debian Mailing List Server
You are subscribed to the debian-devel mailing list. If you wish to
remain subscribed, do nothing. To unsubscribe, send a reply to this
message containing the word "unsubscribe". If you have trouble
unsubscribing, send mail to [EMAIL PROTECTED] .

Thanks

Bruce Perens
Debian Mailing Lists Manager



Bug#1705: dselect has a strange

1995-10-19 Thread Raul Miller
Package: dpkg
Version: 1.0.5

If I start up dselect, choose "select", and hit return without making
any changes, I wind up with the following screen.  I am not able to
fathom the purpose of this screen, nor am I particularly interested in
removing these packages from my system.  [Of course, it's plausible
that if I removed these packages then re-installed them that this
artifact would vanish]



dselect - recursive package listing  +/-=select v=verbose ?=help
HIOS Pri Section  Package  Description
 *** Std text ispell   An interactive spelling corrector
 *** Opt tex  dvipsk   TeX DVI-driver for Postscript
  ** Xtr non-free gopherd  Serves documents using the Internet Gopher+ Proto
 *** Xtr tex  hyperlatex   Creating HTML using LaTeX documents.






ispell   installed;  selected (was: selected).  Standard
ispell recommends word-list









interrelationships affecting ispell


--
Raul



Bug#660: GDB gets address of structure member wrong in memory breakpoint

1995-10-19 Thread Ian Jackson
Sven Rudolph writes in email to me:
> > Package: gdb
> > Version: 4.12
> >
> > As you can see below, when setting a memory breakpoint on a structure
> > member GDB uses the address of the start of the structure by mistake.
> > Applying *& to the member (to take its address and then dereference
> > it) gives correct results.
>
> (typescript deleted)
>
> You used commands that don't even exist in the current version of gdb,
> so i cannot reproduce this problem. I'm not a gdb expert, so please
> try to reproduce this problem on a current gdb (or close the bug) .

These commands have equivalents in gdb 4.14-1.  However, the
equivalents don't appear to work for me at all.  See the transcript
below.

Please can we keep this bug open until (a) the memory watchpoints,
which are a useful feature, work and (b) we see that the original bug
is fixed.

Ian.

-chiark:~/junk> cat t.c
struct foo { int a,b; };

void fong(struct foo *p, int x) { p->b=x; }

int main(int argc, char **argv) {
  struct foo f;
  f.a= 2;
  f.b= 3;
  fong(&f,4);
  f.b=5;
  fong(&f,6);
}
-chiark:~/junk> gcc -g t.c
-chiark:~/junk> gdb a.out
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.14 (i486-debian-linux), Copyright 1995 Free Software Foundation, Inc...
(gdb) break main
Breakpoint 1 at 0x1093: file t.c, line 7.
(gdb) run
Starting program: /u/ian/junk/a.out

Breakpoint 1, main (argc=1, argv=0xb858) at t.c:7
7 f.a= 2;
(gdb) step
8 f.b= 3;
(gdb) step
9 fong(&f,4);
(gdb) print f
$1 = {a = 2, b = 3}
(gdb) watch f.b
Hardware watchpoint 2: f.b
(gdb) watch f.a
Hardware watchpoint 3: f.a
(gdb) watch *&f.b
Hardware watchpoint 4: *&f.b
(gdb) info watchpoints
Num Type   Disp Enb AddressWhat
1   breakpoint keep y   0x1093 in main at t.c:7
breakpoint already hit 1 time
2   hw watchpoint  keep y   f.b
3   hw watchpoint  keep y   f.a
4   hw watchpoint  keep y   *&f.b
(gdb) cont
Continuing.
warning: Hardware watchpoint 3: Could not insert watchpoint

warning: Hardware watchpoint 4: Could not insert watchpoint

ptrace: Unknown error -1.
Cannot insert breakpoints.
The same program may be running in another process.
(gdb) quit
The program is running.  Quit anyway (and kill it)? (y or n) y
-chiark:~/junk>



Re: [Harald.T.Alvestrand@uninett.no: The Linux Counter and Debian]

1995-10-19 Thread Ian Jackson
Ian Murdock writes ("[EMAIL PROTECTED]: The Linux Counter and Debian]"):
> Could the appropriate person look into this?  (I'm not exactly
> sure who the appropriate person is, however, so please contact
> me when you read this if you're him.)

This is me.  I'll deal with it when I have some time to look at the
Smail package (I have a few other things to do to it too).

Ian.



Bug#1662: gnuplot won't run

1995-10-19 Thread David Engel
> Package: gnuplot
> Version: 3.5-3
> ...
> # ldd /usr/bin/gnuplot
>   libX11.so.6 => not found< not found?
>   libm.so.5 => not found
>   libc.so.5 => not found

This is odd.  It seems your version is different than mine.  Are you
sure you really have version 3.5-3 installed?  Here is some relevant
information from my system:

# uname -a
Linux linux 1.3.32 #1 Fri Oct 6 21:08:06 CDT 1995 i586
# ls -l gnuplot-3.5-3.deb
-r--r--r--   1 daviddavid  246063 May 10 01:02 gnuplot-3.5-3.deb
# md5sum gnuplot-3.5-3.deb
3f197ab58c372e004e1bf65637535a8b  gnuplot-3.5-3.deb
# ls -l /usr/bin/gnuplot*
-rwxr-xr-x   1 root root   348164 May  3 15:38 /usr/bin/gnuplot
-rwxr-xr-x   1 root root16388 May  3 15:38 /usr/bin/gnuplot_x11
# md5sum /usr/bin/gnuplot*
a09cdad6a505ce4f296c7e1df1434585  /usr/bin/gnuplot
8239012eadb4d38bf98315354ab87f3f  /usr/bin/gnuplot_x11
# ldd -vV /usr/bin/gnuplot*
ldd: version 1.7.9
/lib/ld.so: version 1.7.9
/usr/bin/gnuplot:
libm.so.4 (DLL Jump 4.6pl27) => /lib/libm.so.4.6.27
libc.so.4 (DLL Jump 4.6pl27) => /lib/libc.so.4.6.27
/usr/bin/gnuplot_x11:
libX11.so.6 (DLL Jump 6.0) => /usr/X11R6/lib/libX11.so.6.0
libc.so.4 (DLL Jump 4.6pl27) => /lib/libc.so.4.6.27

David
--
David EngelOptical Data Systems, Inc.
[EMAIL PROTECTED]  1101 E. Arapaho Road
(214) 234-6400 Richardson, TX  75081



Re: splitted packages on ftp server?

1995-10-19 Thread Ian Jackson
Erick Branderhorst writes ("splitted packages on ftp server?"):
> Create a directory where splitted packages are stored. I can't download 
> packages easily which are bigger than 1.44 MB because I can't run dpkg-split
> on the unix machine which I use for downloading. Dpkg-split doesn't seem
> to run in dos environment either. So here is my suggestion.

The correct solution to this problem, IMO, is to have all the .deb
files be pre-split on the FTP site, using dpkg-split.

dpkg has been able automatically to reassemble split packages since
0.93.74, which was released on the 11th of September.

The only dpkg feature that needs to be implemented before we split all
the packages on the FTP site is to have something go through and
delete leftover parts of split packages, whose other parts were never
presented to dpkg.

Ian.



Bug#1662: gnuplot won't run

1995-10-19 Thread Erick Branderhorst
I had a elf-compiled version of gnuplot Sorry I forgot. I was cleaning up
my system and elf had to go for now. After that gnuplot didn't work anymore.
I had another version indeed.
Thanks for checking .>
> > Package: gnuplot
> > Version: 3.5-3
> > ...
> > # ldd /usr/bin/gnuplot
> > libX11.so.6 => not found< not found?
> > libm.so.5 => not found
> > libc.so.5 => not found
>
> This is odd.  It seems your version is different than mine.  Are you
> sure you really have version 3.5-3 installed?  Here is some relevant
> information from my system:
>
> # uname -a
> Linux linux 1.3.32 #1 Fri Oct 6 21:08:06 CDT 1995 i586
> # ls -l gnuplot-3.5-3.deb
> -r--r--r--   1 daviddavid  246063 May 10 01:02 gnuplot-3.5-3.deb
> # md5sum gnuplot-3.5-3.deb
> 3f197ab58c372e004e1bf65637535a8b  gnuplot-3.5-3.deb
> # ls -l /usr/bin/gnuplot*
> -rwxr-xr-x   1 root root   348164 May  3 15:38 /usr/bin/gnuplot
> -rwxr-xr-x   1 root root16388 May  3 15:38 /usr/bin/gnuplot_x11
> # md5sum /usr/bin/gnuplot*
> a09cdad6a505ce4f296c7e1df1434585  /usr/bin/gnuplot
> 8239012eadb4d38bf98315354ab87f3f  /usr/bin/gnuplot_x11
> # ldd -vV /usr/bin/gnuplot*
> ldd: version 1.7.9
> /lib/ld.so: version 1.7.9
> /usr/bin/gnuplot:
> libm.so.4 (DLL Jump 4.6pl27) => /lib/libm.so.4.6.27
> libc.so.4 (DLL Jump 4.6pl27) => /lib/libc.so.4.6.27
> /usr/bin/gnuplot_x11:
> libX11.so.6 (DLL Jump 6.0) => /usr/X11R6/lib/libX11.so.6.0
> libc.so.4 (DLL Jump 4.6pl27) => /lib/libc.so.4.6.27
>
> David
> --
> David EngelOptical Data Systems, Inc.
> [EMAIL PROTECTED]  1101 E. Arapaho Road
> (214) 234-6400 Richardson, TX  75081
>
>


--
Erick [EMAIL PROTECTED] 00++10-46351542
Department of General Surgery (Intensive Care) University Hospital Rotterdam NL



Re: an idea in search of comments

1995-10-19 Thread Charles A. Stickelman
Last week I asked for comments about using MIME-compliant e-mail messages
as a mechanism for users to downlaod Debian packages.  Here's an example
using the hello package as the target.

I used mailto(1) from the metamail package to create this message.  No
changes where needed to mailto or any of the metamail files to gain this
functionality.

This first body-part could contain general package information, the user
could then view other attachments/body-parts to get more informatin or
retrieve the packages.


Transfer-mode: image


Transfer-mode: image


Transfer-mode: image

Please let me know what you think about this idea.

Thanks
Chuck
--- Begin Message ---
--- End Message ---


Bug#1337: Improper use of sscanf in procps

1995-10-19 Thread Marek Michalkiewicz
The patch which replaces the %40c format with %39s sometimes doesn't
do the right thing: if the command name contains whitespace, it will
be truncated (according to the scanf man page, the %s format "matches
a sequence of non-white-space characters").  I suggest to apply the
patch below.

BTW, this bug also sometimes causes strange output for zombie processes:
the pid and uid fields containing garbage.  After converting the strange
pid value to hex and each byte to ASCII, this is "ie>\0".  This is caused
by strcat() adding " " to the string which is too long (not NUL-
terminated) and overwriting other fields in the structure.  Not good...

Marek

diff -urN procps-0.97.orig/snap.c procps-0.97/snap.c
--- procps-0.97.orig/snap.c Sun Sep 25 19:46:21 1994
+++ procps-0.97/snap.c  Thu Oct 19 21:33:56 1995
@@ -35,7 +35,8 @@
;
 *tmp='\0';
 /* Now we can parse these two strings separately */
-sscanf(S, "%d %40c", &P->pid, P->cmd);
+memset(P->cmd, 0, sizeof(P->cmd);
+sscanf(S, "%d %39c", &P->pid, P->cmd);  /* sizeof(P->cmd) == 40 */
 sscanf(tmp+1, "%c %d %d %d %d %d %u %u %u %u %u %d %d %d %d %d %d %u %u "
   "%d %u %u %u %u %u %u %u %u %d %d %d %d %u",
&P->state, &P->ppid, &P->pgrp, &P->session, &P->tty, &P->tpgid,



Re: an idea in search of comments

1995-10-19 Thread Raul Miller
This mechanism, while it might be convenient for some people, looks
very noisy for people without mime support.

I'd recommend that there be a new mailing list to support this kind of
traffic.

Also, there'd need to be some kind of convenient mechanism for
developers without intrinsic mime support to generate such messages.
And, there's the little matter of synchronizing the transmission of
these messages with maintenance of the ftp site -- taken together, I
think these would need to be sent out by the ftp site maintainer or
some mirror site.  Do you think you can put together a simple-to-use
tool that wouldn't add to the overhead of the primary ftp site
maintainer (who already has lots to do)?

-- 
Raul



Bug#1706: xterm sets wrong tty perms

1995-10-19 Thread Marek Michalkiewicz
Package: xbase
Version: 3.1.2-4

The default tty permissions in xterm are still 622.  They should be
changed to 620 or 600 (depending what should be the default: mesg y
or n), group tty.

Marek



Bug#1707: image 1.2.13-5 has no msdos.o

1995-10-19 Thread Erick Branderhorst
Package: image
Version: 1.2.13-5

Perhaps I missed something but I thought that the msdos.o module should be in
the image package too.
--
Erick [EMAIL PROTECTED] 00++10-46351542
Department of General Surgery (Intensive Care) University Hospital Rotterdam NL



Bug#1353: tar has no manual page

1995-10-19 Thread Marek Michalkiewicz
I think we could use tar man page from Slackware.  The only problem:
it has no copyright on it.  Is this the reason for not including it
in Debian?

Marek



Re: an idea in search of comments

1995-10-19 Thread Bruce Perens
The MIME presentation worked OK with my mail user-agent, EXMH. It was a good
deal more ugly and clunky than if you had simply embedded the URLs for the
same files in your message. EXMH would have recognized and highlighted the
URLs, and if I clicked on them it would have started Netscape to follow them.

I understand this is more of a complaint about my mail user-agent than about
the concept of using MIME.

Thanks

Bruce

--
-- Attention Radio Amateurs: For information on "Linux for Hams",
-- read the WWW page http://www.hams.com/LinuxForHams, 
-- or e-mail the word "help" to [EMAIL PROTECTED]



Bug#1708: `passwd' not interruptible when invoked by `adduser'

1995-10-19 Thread Ian Jackson
Package: adduser? miscutils?
Version: adduser (1.94-1), miscutils (1.3-2)

If I run adduser, and then decide to abort after having been presented
with the password prompt, I can't do it with ^C.  passwd apparently
ignores ^C, and ^D simply produces another passwd prompt.  Presumably
I would have to type in a password twice to escape; instead, I used
another terminal and killed the adduser process.

Ian.



Bug#1709: /usr/sbin/pppd needs to be setuid (chmod u+s)

1995-10-19 Thread Matthew Swift

Package: ppp
Version: 2.2-1

The pppd executable needs to have the setuid bit set when it is installed.

Otherwise you get the kind of errors listed below at the end.

These lines in the ppp.deb source pppd/Makefile are correct, but somehow they
aren't percolating into the right actions in the Debian package:

--
install: pppd
mkdir -p $(BINDIR)
install -c -m 4555 -o root pppd $(BINDIR)/pppd
-

-
bash# dpkg -i ppp-2.2-1.deb
(Reading database ... 19738 files and directories currently installed.)
Preparing to replace ppp (using ppp-2.2-1.deb) ...
Unpacking replacement ppp ...
Setting up ppp ...

bash# ls -la /usr/sbin/pppd
-rwxr-xr-x   1 root root90823 Oct  3 21:48 /usr/sbin/pppd
-

The errors are e.g.:
---
Oct 19 20:10:15 aleph kernel: registered device ppp0
Oct 19 20:10:15 aleph pppd[288]: pppd 2.2.0 started by swift, uid 501

[everything going fine here; we reach my provider, log in, etc.]

Oct 19 20:10:36 aleph pppd[288]: Serial connection established.
Oct 19 20:10:37 aleph pppd[288]: ioctl(PPPIOCGUNIT): Operation not permitted
Oct 19 20:10:37 aleph pppd[288]: ioctl(PPPIOCGDEBUG): Operation not permitted
Oct 19 20:10:37 aleph pppd[288]: Exit.




[ewt@redhat.com: Red Hat Alpha Packages]

1995-10-19 Thread Raul Miller
Ok... so what's RPM?  Anyone know?  Any lessons to learn here?  Or
people to cooperate with?

-- 
Raul


Date: Thu, 19 Oct 1995 10:38:21 -0400 (EDT)
From: Erik Troan <[EMAIL PROTECTED]>
To: linux-alpha@vger.rutgers.edu
Subject: Red Hat Alpha Packages
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: [EMAIL PROTECTED]
Precedence: bulk


As some of you may have guessed, Red Hat (well me, but I'm a part of Red
Hat!) is actively working on an Alpha distribution. I've built 55 packages
so far as part of this effort, and they are now available for ftp.

The primary site for them is ftp.redhat.com:/pub/axp, but that machine
has a 28.8 link to the net. Luckily we have lots of mirrors, and I've
placed a list of them at the end of this note.

All of these are packaged with RPM. RPM requires perl5, which I've made
available as an RPM. Of course, this is a chicken and egg problem. To
help alleviate this, I've placed "perl5.cpio.gz" in the the rpm directory.
Luckily, cpio builds easily.

There are a couple of interesting things about RPM:

1) the source RPM's (SRPM) build on both i386 and axp architechtures. This
   is true of everything except mkbb
2) to rebuild an RPM from source, the command "rpm --rebuild -v file.src.rpm"
   will rebuild and repackage everything. this provides a nice regression
   test as well as simple upgrading to new libc versions

More information on all of this is available at http://www.redhat.com for
the interested.

Lot's of stuff in these packages in known (to me) to be broken, but please
tell me everything you find anyway. Also note that there are not enough
RPM's to install a system (libc and binutils are still missing), but I'm
working on it!

Erik

 mirrors of ftp.redhat.com

FTP SiteDirectory
=
ftp.pht.com /pub/linux/redhat
sunsite.unc.edu /pub/Linux/distributions/redhat
sunsite.doc.ic.ac.uk
/packages/linux/sunsite.unc-mirror/distributions/redhat/redhat-2.0
ftp.cms.uncwil.edu  /linux/redhat
ftp.wilmington.net  /linux/redhat
ftp.caldera.com /pub/mirrors/redhat
ftp.lasermoon.co.uk /pub/distributions/RedHat
ftp.cc.gatech.edu   /pub/linux/distributions/redhat
uiarchive.cso.uiuc.edu  /pub/systems/linux/distributions/redhat
ftp.ibp.fr  /pub/linux/distributions/redhat
ftp.gwdg.de /pub/linux/install/redhat
ftp.uoknor.edu  /linux/redhat
ftp.msu.ru  /pub/Linux/RedHat
linux.ucs.indiana.edu   /pub/linux/redhat
ftp.cvut.cz /pub/linux/redhat
ftp.ton.tut.fi  /pub/Linux/RedHat

---
 "Eggheads unite!  You have nothing to lose but your yolks" - Adlai Stevenson

Erik Troan   =   http://sunsite.unc.edu/ewt/   =   [EMAIL PROTECTED]




Re: an idea in search of comments

1995-10-19 Thread stick
Bruce Perens said:
> From chuck Thu Oct 19 15:52:46 1995
> Return-Path: 
> Received: by bertha.richnet.net
>   id <[EMAIL PROTECTED]>
>   (Debian /\oo/\ Smail3.1.29.1 #29.33); Thu, 19 Oct 95 15:52 EDT
> Resent-Sender: chuck (Charles A. Stickelman)
> X-POP3-Rcpt: [EMAIL PROTECTED]
> Received: from mongo.pixar.com (mongo.pixar.com [138.72.50.60]) by 
> ns1.richnet.net (8.6.12/8.6.12) with ESMTP id RAA09976 for <[EMAIL 
> PROTECTED]>; Thu, 19 Oct 1995 17:42:06 -0400
> Resent-Date: Thu, 19 Oct 1995 17:42:06 -0400
> Received: by mongo.pixar.com (8.7.1) id OAA13141; Thu, 19 Oct 1995 14:39:53 
> -0700 (PDT)
> Old-Return-Path: <[EMAIL PROTECTED]>
> Message-Id: <[EMAIL PROTECTED]>
> X-Mailer: exmh version 1.6.2 7/18/95
> To: [EMAIL PROTECTED] (Charles A. Stickelman)
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: Re: an idea in search of comments 
> In-Reply-To: Your message of "Thu, 19 Oct 1995 13:49:00 PDT."
>  <[EMAIL PROTECTED]> 
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Date: Thu, 19 Oct 1995 14:39:43 -0700
> From: Bruce Perens <[EMAIL PROTECTED]>
> Resent-Message-ID: <"oEAhs.A.aMD.jWshw"@mongo>
> Resent-From: [EMAIL PROTECTED]
> X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/6874
> X-Loop: [EMAIL PROTECTED]
> Precedence: list
> Resent-Sender: [EMAIL PROTECTED]
> 
> The MIME presentation worked OK with my mail user-agent, EXMH. It was a good
> deal more ugly and clunky than if you had simply embedded the URLs for the
> same files in your message. EXMH would have recognized and highlighted the
> URLs, and if I clicked on them it would have started Netscape to follow them.
> 
Alas, that functionality doesn't seem to be universal.  Pine didn't want
anything to do with the URLs I embedded in a message.  Which is more
prevalent?  Does it matter?

> I understand this is more of a complaint about my mail user-agent than about
> the concept of using MIME.
> 
>   Thanks
> 
>   Bruce
> 
One thing I've yet to test, but have been told works, is the 
message/alternative MIME-type.  Apparently, you can write the
message such that different locations or access-methods can be
available.  If the first one doesn't work (say host is not
responding) then it tries the second, etc.  This could provide
a mechanism where alternative ftp servers could provide the packages.
The same mechanism allows for alternative access-methods as well.

If I made a package available, the order might be ftp.richnet.net
via anon-ftp, bertha.richnet.net via mail server, ftp.debian.org
via anon-ftp.  I believe that this would not present any more
complex user interaction than my first example.

Chuck

--
Charles A. Stickelman   <[EMAIL PROTECTED]>
Practical Network Design(419) 529-3841
9 Chambers Road
Mansfield, OH 44906 USA
--