From root@soralx.cydem.org  Mon Sep 17 01:32:49 2007
Return-Path: <root@soralx.cydem.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 381BE16A418
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Sep 2007 01:32:49 +0000 (UTC)
	(envelope-from root@soralx.cydem.org)
Received: from soralx.cydem.org (S0106000103ce4c9c.vc.shawcable.net [24.87.3.133])
	by mx1.freebsd.org (Postfix) with ESMTP id E90C413C46A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Sep 2007 01:32:46 +0000 (UTC)
	(envelope-from root@soralx.cydem.org)
Received: from soralx.cydem.org (localhost [127.0.0.1])
	by soralx.cydem.org (8.14.1/8.14.1) with ESMTP id l8H1Wkl5009848
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Sep 2007 18:32:46 -0700 (PDT)
	(envelope-from root@soralx.cydem.org)
Received: (from root@localhost)
	by soralx.cydem.org (8.14.1/8.14.1/Submit) id l8H1Wkae009847;
	Sun, 16 Sep 2007 18:32:46 -0700 (PDT)
	(envelope-from root)
Message-Id: <200709170132.l8H1Wkae009847@soralx.cydem.org>
Date: Sun, 16 Sep 2007 18:32:46 -0700 (PDT)
From: <soralx@cydem.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: devel/avr-libc is BROKEN: fails when building docs [FIX]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         116408
>Category:       ports
>Synopsis:       devel/avr-libc is BROKEN: fails when building docs [FIX]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    joerg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 17 01:40:01 GMT 2007
>Closed-Date:    Tue Oct 30 12:33:05 MET 2007
>Last-Modified:  Tue Oct 30 19:00:02 UTC 2007
>Originator:     
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD soralx.cydem.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Sep 15 20:20:15 PDT 2007 root@soralx.cydem.org:/usr/obj/usr/src/sys/SORALX i386

>Description:
gmake[4]: Entering directory `/usr/ports/devel/avr-libc/work/avr-libc-1.4.6/doc/api/latex_src'
echo "Running latex..."
Running latex...
latex refman.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./refman.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.

gmake[4]: *** [refman.dvi] Error 1
gmake[4]: Leaving directory `/usr/ports/devel/avr-libc/work/avr-libc-1.4.6/doc/api/latex_src'
gmake[3]: *** [avr-libc-user-manual.ps] Error 2
gmake[3]: Leaving directory `/usr/ports/devel/avr-libc/work/avr-libc-1.4.6/doc/api'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/avr-libc/work/avr-libc-1.4.6/doc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/avr-libc/work/avr-libc-1.4.6'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/avr-libc.

>How-To-Repeat:
>Fix:
	The snag is because 'latex' exits with error code 1, but actually it produces all the needed files. To fix this properly, one would need to investigate what is going on with latex, or at least change the Makefile so that make overrides the error. I've no idea how to do that. But one can build the port by hand: just cd to work/avr-libc-1.4.6/doc/api/latex_src, remove the 'clean' target from 'all:', then go through the steps of building 'refman.dvi' by hand. For a final touch, `cd work/avr-libc-1.4.6/doc/api/latex-pdf_src`, rinse, laher, repeat.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->joerg 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 17 01:40:09 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116408 

From: Joerg Wunsch <j@uriah.heep.sax.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: soralx@cydem.org
Subject: ports/116408: devel/avr-libc is BROKEN: fails when building docs
Date: Fri, 5 Oct 2007 21:14:23 +0200

 Finally, I understood the issue as well as how to fix it.
 
 This has been caused by doxygen moving internally completely to UTF-8.
 Thus it is (mis)interpreting the ISO8859-1 input characters that have
 always been there historically as UTF-8, and then LaTeX's inputenc
 eventually complains about unknown UTF-8 characters.
 
 The fix is to change doxygen's input encoding (back) to ISO8859-1 (in
 doxyfile), plus fix a couple of non-ISO8859-1 characters that sneaked
 into the documentation without anyone noticing before.  This will be
 part of the next avr-libc release.  In order to process the generated
 LaTeX code correctly, the port will also have to depend on
 print/latex-urc in addition to the current prerequisites.
 
 -- 
 cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL
 
 http://www.sax.de/~joerg/                        NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Tue Oct 30 12:32:46 MET 2007 
State-Changed-Why:  
Fixed by upgrading to avr-libc 1.4.7. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116408 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/116408: commit references a PR
Date: Tue, 30 Oct 2007 18:58:58 +0000 (UTC)

 joerg       2007-10-30 11:32:27 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/avr-libc       Makefile distinfo pkg-plist 
   Log:
   Upgrade to version 1.4.7.  This also unbreaks the port.
   
   PR:             ports/116408
   
   Revision  Changes    Path
   1.62      +1 -4      ports/devel/avr-libc/Makefile
   1.33      +3 -3      ports/devel/avr-libc/distinfo
   1.28      +31 -0     ports/devel/avr-libc/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
 
 >How-To-Repeate
 	`cd ports/devel/avr-libc` && Override BROKEN tag && `make`
 	
