pkgsrc-Users archive

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

pkgfind not building on solaris-sparc



'allo,

Now that I have gotten my mk.conf file issues resolved, with Jeremys' help, I have run into another problem.

I'm trying to build pkgtools/pkgfind but the compilation fails on the following:

----- BEGIN -----
prompt# bmake install
=> Required installed package digest>=20010302: digest-20060826 found
===> Checking for vulnerabilities in pkgfind-20050804
===> Installing dependencies for pkgfind-20050804
=> Required installed package digest>=20010302: digest-20060826 found
=> Required installed package libnbcompat>=20040911: libnbcompat-20070507 found
===> Overriding tools for pkgfind-20050804
===> Extracting for pkgfind-20050804
===> Patching for pkgfind-20050804
=> Adjusting pkgsrc directory.
INFO: [subst.mk:path] Nothing changed in ./pkgfind.c.
INFO: [subst.mk:path] Nothing changed in ./pkgfind.1.
===> Creating toolchain wrappers for pkgfind-20050804
===> Building for pkgfind-20050804
gcc -O -DNEED_LIBNBCOMPAT -I/usr/pkg/include -I/usr/pkg/include -lnbcompat -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o /usr/pkgsrc/pkgtools/pkgfind/work/pkgfind-20050804/pkgfind /usr/pkgsrc/pkgtools/pkgfind/work/pkgfind-20050804/pkgfind.c /usr/pkgsrc/pkgtools/pkgfind/work/pkgfind-20050804/pkgfind.c: In function `pkgfind': /usr/pkgsrc/pkgtools/pkgfind/work/pkgfind-20050804/pkgfind.c:138: error: `alphasort' undeclared (first use in this function) /usr/pkgsrc/pkgtools/pkgfind/work/pkgfind-20050804/pkgfind.c:138: error: (Each undeclared identifier is reported only once /usr/pkgsrc/pkgtools/pkgfind/work/pkgfind-20050804/pkgfind.c:138: error: for each function it appears in.)

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/pkgtools/pkgfind/work/.gcc/bin/gcc -O -DNEED_LIBNBCOMPAT -I/usr/pkgsrc/pkgtools/pkgfind/work/.buildlink/include -L/usr/pkgsrc/pkgtools/pkgfind/work/.buildlink/lib -Wl,-R/usr/pkg/lib -o /usr/pkgsrc/pkgtools/pkgfind/work/pkgfind-20050804/pkgfind /usr/pkgsrc/pkgtools/pkgfind/work/pkgfind-20050804/pkgfind.c -lnbcompat
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkgfind
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkgfind

----- END -----


Is alphasort just an identifier ? Or is it a function ? According to the manpage, there is a function called alphasort. In fact scandir and alphasort are both in the same manpage.



cheers,

     mehul

p.s. Should this be going here or should I file this somewhere else as a bug ?

--
Mehul N. Sanghvi
email: mehul.sanghvi%gmail.com@localhost



Home | Main Index | Thread Index | Old Index