From owner-freebsd-doc Thu Jun 27 8: 6:41 2002 Delivered-To: freebsd-doc@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id A771437B414; Thu, 27 Jun 2002 08:05:57 -0700 (PDT) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020627150557.OHBG8262.rwcrmhc52.attbi.com@bmah.dyndns.org>; Thu, 27 Jun 2002 15:05:57 +0000 Received: from intruder.bmah.org (localhost [IPv6:::1]) by bmah.dyndns.org (8.12.4/8.12.4) with ESMTP id g5RF5uPc072632; Thu, 27 Jun 2002 08:05:56 -0700 (PDT) (envelope-from bmah@intruder.bmah.org) Received: (from bmah@localhost) by intruder.bmah.org (8.12.4/8.12.4/Submit) id g5RF5uO2072631; Thu, 27 Jun 2002 08:05:56 -0700 (PDT) Message-Id: <200206271505.g5RF5uO2072631@intruder.bmah.org> X-Mailer: exmh version 2.5+ 20020506 with nmh-1.0.4 To: Nik Clayton Cc: Robert bobb Crosbie , Niall Brady , , bmah@FreeBSD.ORG Subject: Re: *Solved* (was Re: Tracking down the PS/PDF image problem) In-Reply-To: <20020626221053.GB40479@canyon.nothing-going-on.org> References: <20020623213729.GA33204@clan.nothing-going-on.org> <20020624113406.GA95543@walton.maths.tcd.ie> <20020624221328.E23187@canyon.nothing-going-on.org> <20020626200447.A89977@lummux.tchpc.tcd.ie> <20020626221053.GB40479@canyon.nothing-going-on.org> Comments: In-reply-to Nik Clayton message dated "Wed, 26 Jun 2002 23:10:53 +0100." From: bmah@FreeBSD.ORG (Bruce A. Mah) Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-907105281P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 27 Jun 2002 08:05:56 -0700 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --==_Exmh_-907105281P Content-Type: text/plain; charset=us-ascii If memory serves me right, Nik Clayton wrote: Comments in-line...odd thing is that I now have a working PDF file built on a different box. > I played a hunch, after realising that your EPS files were different to > the ones my system was generating. > > First, I verified that the problem still existed on my system. > > Then, I removed the netpbm ports, and all its dependencies. > > pkg_delete -f netpbm-10.2 jpeg-6b_1 png-1.2.3 tiff-3.5.7 jbigkit-1.4 > > Then I commented out the following lines in /etc/make.conf > > #CPUTYPE=3Dp3 > #CFLAGS=3D -O -pipe > #COPTFLAGS=3D -O -pipe > > Then I did > > portupgrade -rRN netpbm > > And now it all works. So it was either the general optimisation, or the > specific optimisations from the CPUTYPE line introducing a bug into > pnmtops. > > Bruce, you probably want to check your /etc/make.conf for similar > optimisations, and remove them. None of my machines have ever set CPUTYPE, CFLAGS, or COPTFLAGS. I'd show you, but the machine from which I gave the pkg_version output is down (it's being moved this weekend). *However*, this prompted me to check a build of the doc tree I did on a different workstation. Amazingly, it had an intact PDF handbook! Looking very quickly over the pkg_version diffs, the main difference I can see is that the machine on which I had a bad build was using netpbm-9.25, and the machine on which I had a successful build has netpbm-10.2. An obvious thing to try (which I can't do until next week) is to update netpbm on the problematic machine. I'll report results when I can do this. It could be that a successful build requires netpbm-10.2 *built without CPU-specific optimization*. > I've verified that the Handbook now builds properly with images, so the > build early tomorrow morning my time should be fine. That'll be > uploaded to ftp-master at around 21:30 PDT, and should then propogate to > the other FTP mirrors as normal. On that note...you might be interested in looking at doc/release/Makefile. It's something roughly analogous to src/release/Makefile for the doc directory; after a commit I just made, it can produce an FTP area similar to what we use on ftp-master, as well as an ISO image with the uncompressed renditions of the doc files. In any case, thanks to Nik for analyzing this problem, and to Robert and Niall for providing data! Bruce. --==_Exmh_-907105281P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) Comment: Exmh version 2.5+ 20020506 iD8DBQE9GynT2MoxcVugUsMRAiVfAKC0wVivqwrmaYHqpe/b4VSZSmydSQCfTceK aOq2VzqcCszpHFfXHYrMbOM= =hzhU -----END PGP SIGNATURE----- --==_Exmh_-907105281P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message