Hello Patrick,
A pretty easy one to fix, with a patch even!
Can you tell me if you will be releasing a new version of lprng soon?
If it is a while off I'll release a Debian-specific version with this
patch and a few other minor changes.
- Craig
----- Forwarded message from Andreas Jochens <[EMAIL PROTECTED]> -----
Subject: Bug#287521: lprng: FTBFS (amd64/gcc-4.0): pointer targets in passing
argument 3 of 'Read_fd_len_timeout' differ in signedness
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Date: Tue, 28 Dec 2004 16:44:44 +0100
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham
version=3.0.1
Package: lprng
Severity: normal
Tags: patch
When building 'lprng' on amd64 with gcc-4.0,
I get the following error:
gcc -I.. -I. -I./include -I./common -D_FILE_OFFSET_BITS=64 -I/usr/include -g -W
-Wall -Werror -Wno-unused -g -O2 -D_FILE_OFFSET_BITS=64 -g -W -Wall -Werror
-Wno-unused -DHAVE_CONFIG_H -c ./common/krb5_auth.c -o krb5_auth.o
cc1: warnings being treated as errors
./common/krb5_auth.c: In function 'des_read':
./common/krb5_auth.c:925: warning: pointer targets in passing argument 3 of
'Read_fd_len_timeout' differ in signedness
make[2]: *** [krb5_auth.lo] Error 1
make[2]: Leaving directory `/lprng-3.8.28/src'
With the attached patch 'lprng' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/lprng-3.8.28/src/common/krb5_auth.c
./src/common/krb5_auth.c
--- ../tmp-orig/lprng-3.8.28/src/common/krb5_auth.c 2004-09-24
22:19:57.000000000 +0200
+++ ./src/common/krb5_auth.c 2004-12-28 16:01:50.449169480 +0100
@@ -922,7 +922,7 @@
nstored = 0;
}
- if ((cc = Read_fd_len_timeout(transfer_timeout, fd, len_buf, 4)) != 4) {
+ if ((cc = Read_fd_len_timeout(transfer_timeout, fd, (char*)len_buf, 4))
!= 4) {
/* XXX can't read enough, pipe must have closed */
return(0);
}
----- End forwarded message -----
--
Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/ MIEE Debian developer
csmall at : enc.com.au ieee.org debian.org
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRng MAILING LIST
The address you post from or your Reply-To address MUST be your
subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.
To subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, call Patrick Powell or one of the friendly
staff at Astart Technologies for help. Astart also does support for LPRng.
Also, check the Web Page at: http://www.lprng.com for any announcements.
Astart Technologies (LPRng - Print Spooler http://www.lprng.com)
6741 Convoy Court
San Diego, CA 92111
858-874-6543 FAX 858-751-2435
-----------------------------------------------------------------------------