Bug 552

Summary: Xprint version 009 doesn't build w/ gcc-3.40
Product: xprint Reporter: mtzanidakis
Component: OtherAssignee: Roland Mainz <roland.mainz>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 632    
Description Flags
The last 200 lines of buildlog (bzip2'ed)
Full buildlog w/ gcc-3.4.0 (bzip2'ed)
Patch for 2004-05-16-oldcvs-trunk none

Description mtzanidakis 2004-04-26 01:38:28 UTC
The distro is a custom one based on lfs, using gcc-3.4.0, binutils- &
glibc-2.3.4-cvs20040408 (w/ nptl support).
Xprint 009 built fine on this system w/ gcc-3.3.3 (everything else the same),
but it fails to build Xprt & xp* utils w/ gcc-3.4.0 complaining about Xalloc.
Comment 1 Roland Mainz 2004-04-26 21:54:14 UTC
Can you please attach the last ~~100 lines of the build log that I can take a
look at what is going wrong (I do not have installed gcc 3.4.0 yet .. ;-( ) ...
Comment 2 mtzanidakis 2004-04-26 22:18:04 UTC
Created attachment 244 [details]
The last 200 lines of buildlog (bzip2'ed)
Comment 3 Roland Mainz 2004-04-26 22:24:40 UTC
mtzanidakis@freemail.gr wrote:
> Created an attachment (id=244)
> The last 200 lines of buildlog (bzip2'ed)

Umpf... the error seems to be happen much easier. My fault... ;-(

Can you attach the full build log, please (attachment size limit is ~~900KB, so
a full buildlog compressed with bzip2 should fit into that space (full Xorg
build log bzip2'ed is less than 200kb)) ?
Comment 4 mtzanidakis 2004-04-26 22:55:46 UTC
Created attachment 245 [details]
Full buildlog w/ gcc-3.4.0 (bzip2'ed)
Comment 5 Roland Mainz 2004-05-17 11:15:17 UTC
Created attachment 293 [details] [review]
Patch for 2004-05-16-oldcvs-trunk

Note that the patch is only for the old X11R6.6-based Xprint CVS - the new one
uses Xorg-trunk and doesn't suffer from such problems at all...
Comment 6 Roland Mainz 2004-05-17 11:17:22 UTC
Patch checked-in into oldcvs-trunk...

Checking in xc/lib/Xau/AuFileName.c;
/cvs/xprint/xprint/src/xprint_main/xc/lib/Xau/AuFileName.c,v  <--  AuFileName.c
new revision: 1.2; previous revision: 1.1
Checking in xc/lib/Xau/AuRead.c;
/cvs/xprint/xprint/src/xprint_main/xc/lib/Xau/AuRead.c,v  <--  AuRead.c
new revision: 1.2; previous revision: 1.1
Checking in xc/lib/Xau/AuWrite.c;
/cvs/xprint/xprint/src/xprint_main/xc/lib/Xau/AuWrite.c,v  <--  AuWrite.c
new revision: 1.2; previous revision: 1.1
Checking in xc/programs/Xserver/os/utils.c;
/cvs/xprint/xprint/src/xprint_main/xc/programs/Xserver/os/utils.c,v  <-- 
new revision: 1.5; previous revision: 1.4

... marking bug as FIXED.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.