Debian Bug report logs - #12302
compface - problems in compface.h and libcompface

version graph

Package: compface; Maintainer for compface is Hakan Ardo <hakan@debian.org>; Source for compface is src:libcompface (PTS, buildd, popcon).

Reported by: matt@planet.net.uk

Date: Tue, 26 Aug 1997 15:48:05 UTC

Severity: normal

Tags: patch

Fixed in version libcompface/1:1.5.2-3

Done: Hakan Ardo <hakan@debian.org>

Bug is archived. No further changes may be made.

Forwarded to jaa@cs.su.oz.au

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org:
Bug#12302. (full text, mbox, link).


Acknowledgement sent to matt@planet.net.uk:
New bug report received and forwarded.

Your message didn't have a Package: line at the start (in the pseudo-header following the real mail header), or didn't have a psuedo-header at all.

This makes it much harder for us to categorise and deal with your problem report; please ensure that you say which package(s) and version(s) the problem is with next time. Some time in the future the problem reports system may start rejecting such messages.

(full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Matt Ryan <matt@planet.net.uk>
To: submit@bugs.debian.org
Subject: compface - problems in compface.h and libcompface
Date: Tue, 26 Aug 1997 16:46:00 +0100
Problem 1) Declaration of main() in compface.h:

	Test program as follows:

		#include <stdio.h>
		#include <compface.h>

		int main()
		{
			char *buf;

			compface(buf);
		}

	"gcc test-prog.c -lcompface" produces:

		test-prog.c: In function `main':
		test-prog.c:5: number of arguments doesn't match prototype
		/usr/include/compface.h:179: prototype declaration


Problem 2) Compface library appears not to include compface():

	Test program as follows:

		#include <stdio.h>
		#include <compface.h>

		int main(int argc, char **argv)
		{
			char *buf;

			compface(buf);
		}

	"gcc test-prog.c -lcompface" produces:

		/tmp/cca116051.o: In function `main':
		/tmp/cca116051.o(.text+0xb): undefined reference to `compface'

	"nm /usr/lib/libcompface.a | grep -i compface" produces:

		uncompface.o:
		00000050 T uncompface
		00000000 T uncompfacexb

	But no compface()...


Systems details as follows:



Debian version 1.3, gcc 2.7.2.1-9, libc5 5.4.33-3, compface 89.11.11-9


Matt.




Bug assigned to package `compface'. Request was from James Troup <J.J.Troup@comp.brad.ac.uk> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#12302; Package compface. (full text, mbox, link).


Acknowledgement sent to Hakan Ardo <hakan@debian.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #12 received at 12302@bugs.debian.org (full text, mbox, reply):

From: Hakan Ardo <hakan@debian.org>
To: Debian Developers <debian-devel@lists.debian.org>, Matt Ryan <matt@planet.net.uk>, Joey Hess <joey@kite.ml.org>, Mark Baker <mbaker@iee.org>, Clint Adams <schizo@simons-rock.edu>
Cc: 12302@bugs.debian.org, 13103@bugs.debian.org
Subject: compgace
Date: Mon, 22 Sep 1997 15:58:30 +0200 (MET DST)
-----BEGIN PGP SIGNED MESSAGE-----

Hi,
I have now compleatly repacked the compface package and splited it into
several as the libc6-migration doc said, and I'd be happy if someone could
check so that I got all the dependencies and confilcs right. The doc was
not so clear about in which packages the docs should be placed so if
I've not gotten that part right in the packages please tell me...

Thanx!

- ---------------------------------------------------------------
 Name:        Hakan Ardo
 E-Mail:      hakan@debian.org
 WWW:         http://www.ub2.lu.se/~hakan/sig.html
 Public Key:  Try "finger hakan@master.debian.org"
 Fingerprint: E9 81 FD 90 53 5C E9 3E  3D ED 57 15 1B 7E 29 F3
 Interests:   WWW, Programming, 3D graphics

 Thought for the day: As long as one understands, the
 spelling does not matter :-)
- ---------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBNCZ5jN6dx9igIm71AQHg9wP+IyQ86Gsnx19CcyJhaVVNTQKFlA+9bYCi
lhecbkTAi7JwNZ1rNrYL2ANhEOOiNTIAd/wYdcrUPZGEnwWrILlmbvsaQx/XnIg6
BgERfVK49ZGP6846jzhFTdG62ZCHLMgQulQu0SUi8CR9cQg/R2S9S2UMncJ+JEA5
HUkTxfGHppc=
=BbaM
-----END PGP SIGNATURE-----



Noted your statement that bug has been forwarded to jaa@cs.su.oz.au. Request was from Hakan Ardo <hakan@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Hakan Ardo <hakan@debian.org>:
Bug#12302; Package compface. (full text, mbox, link).


Acknowledgement sent to Matej Vela <vela@debian.org>:
Extra info received and forwarded to list. Copy sent to Hakan Ardo <hakan@debian.org>. (full text, mbox, link).


Message #19 received at 12302@bugs.debian.org (full text, mbox, reply):

From: Matej Vela <vela@debian.org>
To: 12302@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: compface - problems in compface.h and libcompface
Date: Sat, 04 Feb 2006 01:06:48 +0100
tag 12302 patch
thanks

Matt Ryan <matt@planet.net.uk> writes:

> Problem 1) Declaration of main() in compface.h:
>
[...]
>
> 		test-prog.c: In function `main':
> 		test-prog.c:5: number of arguments doesn't match prototype
> 		/usr/include/compface.h:179: prototype declaration

The declaration of main() in compface.h is not really necessary, and
removing it fixes the problem:

--- libcompface-1.5.2.orig/compface.h
+++ libcompface-1.5.2/compface.h
@@ -143,7 +143,6 @@
 int AllWhite P((char *, int, int)) ;
 int BigPop P((Prob *)) ;
 int compface P((char *)) ;
-int main P((int, char *[])) ;
 int ReadBuf P(()) ;
 int Same P((char *, int, int)) ;
 int uncompface P((char *)) ;

> Problem 2) Compface library appears not to include compface():
>
[...]
>
> 	"nm /usr/lib/libcompface.a | grep -i compface" produces:
>
> 		uncompface.o:
> 		00000050 T uncompface
> 		00000000 T uncompfacexb
>
> 	But no compface()...

This was fixed a while ago -- at least as far back as 1989.11.11-23 in
woody.

Thanks,

Matej



Tags added: patch Request was from Matej Vela <vela@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Hakan Ardo <hakan@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to matt@planet.net.uk:
Bug acknowledged by developer. (full text, mbox, link).


Message #26 received at 12302-close@bugs.debian.org (full text, mbox, reply):

From: Hakan Ardo <hakan@debian.org>
To: 12302-close@bugs.debian.org
Subject: Bug#12302: fixed in libcompface 1:1.5.2-3
Date: Sat, 04 Feb 2006 07:17:21 -0800
Source: libcompface
Source-Version: 1:1.5.2-3

We believe that the bug you reported is fixed in the latest version of
libcompface, which is due to be installed in the Debian FTP archive:

compface_1.5.2-3_i386.deb
  to pool/main/libc/libcompface/compface_1.5.2-3_i386.deb
libcompface_1.5.2-3.diff.gz
  to pool/main/libc/libcompface/libcompface_1.5.2-3.diff.gz
libcompface_1.5.2-3.dsc
  to pool/main/libc/libcompface/libcompface_1.5.2-3.dsc
libcompfaceg1-dev_1.5.2-3_i386.deb
  to pool/main/libc/libcompface/libcompfaceg1-dev_1.5.2-3_i386.deb
libcompfaceg1_1.5.2-3_i386.deb
  to pool/main/libc/libcompface/libcompfaceg1_1.5.2-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 12302@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hakan Ardo <hakan@debian.org> (supplier of updated libcompface package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat,  4 Feb 2006 16:07:17 +0100
Source: libcompface
Binary: compface libcompfaceg1 libcompfaceg1-dev
Architecture: source i386
Version: 1:1.5.2-3
Distribution: unstable
Urgency: low
Maintainer: Hakan Ardo <hakan@debian.org>
Changed-By: Hakan Ardo <hakan@debian.org>
Description: 
 compface   - Compress/decompress images for mailheaders, user tools
 libcompfaceg1 - Compress/decompress images for mailheaders, libc6 runtime
 libcompfaceg1-dev - Compress/decompress images for mailheaders, libc6 devel
Closes: 12302 349015
Changes: 
 libcompface (1:1.5.2-3) unstable; urgency=low
 .
   * Applied patch from Matej Vela <vela@debian.org> fixing XBM input
     (closes: #349015)
   * Applied patch from Matej Vela <vela@debian.org> fixing include file
     problem (closes: #12302)
Files: 
 051f51cdf028081c80e62f132f264a82 606 mail optional libcompface_1.5.2-3.dsc
 330b8a78bf18d8cb46b3c23252f6ff9b 12936 mail optional libcompface_1.5.2-3.diff.gz
 bc137bb3a6d8b4b8a3f9e47dd93a565a 13410 libs optional libcompfaceg1_1.5.2-3_i386.deb
 6b01aa18223c6495a9c7dab67b2f5b17 12166 mail optional compface_1.5.2-3_i386.deb
 ae49cd1b420eabd54f9ad8dcf57db933 15986 devel optional libcompfaceg1-dev_1.5.2-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD5MRoAbtddT3jfcARAqt5AJ4ghrX8Na7NAxczWK3coNjk6B6t8ACbBJ3S
9LYxk6raKJxEbpnOKsaAXFQ=
=DpzL
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 24 Jun 2007 08:42:09 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 26 12:13:24 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.