From owner-freebsd-doc@FreeBSD.ORG Sun Dec 27 08:25:07 2009 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C6281065670; Sun, 27 Dec 2009 08:25:07 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-1.exch015.msoutlookonline.net (exhub015-1.exch015.msoutlookonline.net [207.5.72.93]) by mx1.freebsd.org (Postfix) with ESMTP id 628FE8FC19; Sun, 27 Dec 2009 08:25:07 +0000 (UTC) Received: from [172.28.1.203] (174.79.184.239) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.2.176.0; Sun, 27 Dec 2009 00:25:06 -0800 Message-ID: <4B3719DA.50704@p6m7g8.com> Date: Sun, 27 Dec 2009 03:24:58 -0500 From: "Philip M. Gollucci" Organization: P6 Web Applications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: doc@freebsd.org References: <4B350580.3000000@p6m7g8.com> <20091225145033.170cb2ca.trhodes@FreeBSD.org> <4B35AD07.2070106@p6m7g8.com> <20091226091731.30004d5b.trhodes@FreeBSD.org> <4B36913B.7030100@p6m7g8.com> <20091226180808.79043a71.trhodes@FreeBSD.org> In-Reply-To: <20091226180808.79043a71.trhodes@FreeBSD.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: Tom Rhodes Subject: Re: doc and www build issues X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Dec 2009 08:25:07 -0000 On 12/26/2009 6:08 PM, Tom Rhodes wrote: >> I'll blow away 100% of my ports later and install only those neccessary >> for the docs build first and try to reproduce it. I did this, didn't change anyway; though I know more now. > Please let me know what happens - I'm guessing you were trying > to mirror the documentation from the website. Have you tried > a local "make" in the en_US.ISO8859-1 tree? As in, without > the additional make arguments and targets? No, not trying to mirror it, trying to start contributing and submitting patches esp in porters-handbook and/or relating to Apache. > I don't believe that is the case here. Sorry for the late reply, Late? It was like 'minutes'! 1) if I do: while [ 1 ]; do make done eventually it gets through. No, I'm not using parallel make. 2) make -k seems to make it take less iterations though I don't see why. 3) Its always related to an execution of pnmtopng BUT its not always the same png on any given sets of make. /usr/bin/perl /usr/build/doc/share/misc/epsgeom -offset 100 100 /usr/build/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.eps | /usr/local/bin/gs -q -dBATCH -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dEPSCrop -r100x100 -dNOPAUSE -dSAFER -sDEVICE=pnm -sOutputFile=- -g`/usr/bin/perl /usr/build/doc/share/misc/epsgeom -geom 100 100 /usr/build/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.eps` - | /usr/local/bin/pnmtopng > /usr/build/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.png Error: no BoundingBox found. Error: no BoundingBox found. pnmtopng: bad magic number - not a ppm, pgm, or pbm file from ktrace -i / kdump I can see the following -- [note the -g output] 42533 pnmtopng GIO fd 0 read 0 bytes "" 42533 pnmtopng RET read 0 42533 pnmtopng CALL fstat(0x3,0x7fffffffd150) 42533 pnmtopng STRU struct stat {dev=569801527, ino=1411, mode=-rw------- , nlink=0, uid=1001, gid=0, rdev=0, atime=1261901952.875701674, stime=1261901952.875701674, ctime=1261901952.875701674, birthtime=1261901952.875701674, size=0, blksize=4096, blocks=1, flags=0x0 } 42533 pnmtopng RET fstat 0 42533 pnmtopng CALL write(0x3,0x800e05000,0x28) 42533 pnmtopng GIO fd 3 wrote 40 bytes "-g must be followed by x " 42533 pnmtopng RET write 40/0x28 42533 pnmtopng CALL lseek(0x3,0,SEEK_SET) 42533 pnmtopng RET lseek 0 42533 pnmtopng CALL sigprocmask(SIG_BLOCK,0,0x800e06248) 42533 pnmtopng RET sigprocmask 0 42533 pnmtopng CALL sigprocmask(SIG_BLOCK,0,0x800e06248) 42533 pnmtopng RET sigprocmask 0 42530 sh RET wait4 42532/0xa624 42533 pnmtopng CALL sigprocmask(SIG_BLOCK,0,0x507788) 42530 sh CALL wait4(0xffffffff,0x7fffffffe14c,WUNTRACED,0) 42533 pnmtopng RET sigprocmask 0 42533 pnmtopng CALL read(0x3,0x800e05000,0x1000) 42533 pnmtopng GIO fd 3 read 40 bytes "-g must be followed by x " 42533 pnmtopng RET read 40/0x28 42533 pnmtopng CALL write(0x2,0x7fffffffab10,0xa) 42533 pnmtopng GIO fd 2 wrote 10 bytes "pnmtopng: " 42533 pnmtopng RET write 10/0xa 42533 pnmtopng CALL write(0x2,0x7fffffffabf0,0x2e) 42533 pnmtopng GIO fd 2 wrote 46 bytes "bad magic number - not a ppm, pgm, or pbm file" On the plus side, once its built, if I don't do a make clean and just stick to doing edits pnmtopng is never invoked again things work(tm). I'm vastly confused. Damn is this complex, imho more so then ports/ or src/ And people though the apache.org sites were hard to build with velocity/ant -- ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Sr. System Admin, Ridecharge Inc. Consultant, P6M7G8 Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.