Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2013 17:13:22 GMT
From:      Christopher Dukes <chris.dukes.aix@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/177118: devel/apr1 with FREETDS enabled, does not have proper depends to include expat.h
Message-ID:  <201303191713.r2JHDMKM042265@red.freebsd.org>
Resent-Message-ID: <201303191720.r2JHK0LN063848@freefall.freebsd.org>

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

>Number:         177118
>Category:       misc
>Synopsis:       devel/apr1 with FREETDS enabled, does not have proper depends to include expat.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 19 17:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Dukes
>Release:        9.1p1
>Organization:
Squirrely Girl Produce
>Environment:
FreeBSD bbuild 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:

===> The following configuration options are available for apr-1.4.6.1.4.1_3:
====> Options available for the radio CRYPTO: you can only select none or one of them
     SSL=on: OpenSSL crypto driver
====> Options available for the group APR
     THREADS=on: Threading support
     IPV6=on: IPv6 protocol
     DEVRANDOM=on: Use /dev/random or compatible
====> Options available for the group APU
     BDB=on: Berkeley Database
     GDBM=on: GNU dbm library
     LDAP=off: LDAP support
     MYSQL=off: MySQL database
     NDBM=off: NDBM support
     PGSQL=off: PostgreSQL database
     SQLITE=off: SQLite database
     FREETDS=on: FreeTDS library
===> Use 'make config' to modify these settings
..
/bin/sh /wrkdirs/usr/ports/devel/apr1/work/apr-1.4.6/libtool --silent --mode=compile clang -g -O2   -DHAVE_CONFIG_H    -I/wrkdirs/usr/ports/devel/apr1/work/apr-util-1.4.1/include -I/wrkdirs/usr/ports/devel/apr1/work/apr-util-1.4.1/include/private -I/usr/local/include  -I/wrkdirs/usr/ports/devel/apr1/work/apr-1.4.6/include  -I/usr/include -I/usr/local/include -I/usr/local/include/db42  -o xml/apr_xml.lo -c xml/apr_xml.c && touch xml/apr_xml.lo
xml/apr_xml.c:35:10: fatal error: 'expat.h' file not found
#include <expat.h>
         ^
1 error generated.
*** [xml/apr_xml.lo] Error code 1

Stop in /wrkdirs/usr/ports/devel/apr1/work/apr-util-1.4.1.
*** [all-recursive] Error code 1


I suspect the LIB_DEPENDS for expat needs to also be duplicated for BUILD_DEPENDS.  It probably can be conditional on FREETDS being enabled.
>How-To-Repeat:
Build devel/apr1 with defaults + FREETDS
>Fix:


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



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