pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41368: pkgtools/libnbcompat fails to build on Solaris 9



>Number:         41368
>Category:       pkg
>Synopsis:       pkgtools/libnbcompat fails to build on Solaris 9
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 06 16:45:00 +0000 2009
>Originator:     Andrew
>Release:        Solaris 9
>Organization:
UgH!
>Environment:
>Description:
bmake in pkgsrc/pkgtools/libnbcompat fails with 

gcc -I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.9/3.4.6/include -I/usr/include 
-I/usr/pkg/include -D__DBINTERFACE_PRIVATE -I. -I.  -O -I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.9/3.4.6/include -I/usr/include 
-I/usr/pkg/include -DHAVE_CONFIG_H -c 
/usr/pkg/work/pkgtools/libnbcompat/work/libnbcompat-20090413/db/btree/bt_open.c
/usr/pkg/work/pkgtools/libnbcompat/work/libnbcompat-20090413/db/btree/bt_open.c:
 In function `tmp':
/usr/pkg/work/pkgtools/libnbcompat/work/libnbcompat-20090413/db/btree/bt_open.c:395:
 error: `PATH_MAX' undeclared (first use in this function)
/usr/pkg/work/pkgtools/libnbcompat/work/libnbcompat-20090413/db/btree/bt_open.c:395:
 error: (Each undeclared identifier is reported only once
/usr/pkg/work/pkgtools/libnbcompat/work/libnbcompat-20090413/db/btree/bt_open.c:395:
 error: for each function it appears in.)
*** Error code 1

Stop.


>How-To-Repeat:
Happens every time. I do have WRKOBJDIR set to /usr/pkg/work in mk.conf and I 
wonder if this is significant because if I run bmake from inside the work 
directory everything works fine. I haven't had a chance to investigate fully 
though, as usual.
>Fix:
Work around is to run bmake in the work/libnbcompat-20090413 directory and then 
go back to the pkgsrc directory and bmake install.



Home | Main Index | Thread Index | Old Index