Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2006 09:51:47 +0900 (JST)
From:      Takamichi Tateoka <tate@tateoka.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96492: ports/textproc/libxml2 compiling error
Message-ID:  <20060429005147.EA760424FD5@leaf.mobile.tateoka.org>
Resent-Message-ID: <200604290100.k3T10YmU095075@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96492
>Category:       ports
>Synopsis:       ports/textproc/libxml2 compiling error
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 29 01:00:33 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Takamichi Tateoka
>Release:        FreeBSD 4.11-RELEASE-p14 i386
>Organization:
tateoka.org
>Environment:
System: FreeBSD leaf 4.11-RELEASE-p14 FreeBSD 4.11-RELEASE-p14 #7: Fri Jan 13 21:30:18 JST 2006 tate@leaf:/usr/src/sys/compile/LEAF i386
	ports tree cvsuped at Apr 29, 2006.

>Description:
	ports/textproc/libxml2 makes error during make.

>How-To-Repeat:

	cd /usr/ports/textproc/libxml2
	make
	.... [snip] ....
	xmlIO.c: In function `xmlCheckFilename':
	xmlIO.c:619: syntax error before `struct'
	xmlIO.c:621: `stat_buffer' undeclared (first use in this function)
	xmlIO.c:621: (Each undeclared identifier is reported only once
	xmlIO.c:621: for each function it appears in.)
	gmake[2]: *** [xmlIO.lo] Error 1
	gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.24'
	gmake[1]: *** [all-recursive] Error 1
	gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.24'
	gmake: *** [all] Error 2
	*** Error code 2

>Fix:


*** xmlIO.c.DIST	Sat Apr 29 09:44:16 2006
--- xmlIO.c	Sat Apr 29 09:44:35 2006
***************
*** 616,621 ****
--- 616,622 ----
  	}
  #else
  #ifdef HAVE_STAT
+     {
      struct stat stat_buffer;
  
      if (stat(path, &stat_buffer) == -1)
***************
*** 625,630 ****
--- 626,632 ----
      if (S_ISDIR(stat_buffer.st_mode))
          return 2;
  #endif /* S_ISDIR */
+     }
  #endif /* HAVE_STAT */
  #endif /* WIN32 */
  

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060429005147.EA760424FD5>