pkgsrc-Users archive

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

Re: [HEADS UP] packages not supporting destdir



On Mon, Apr 02, 2012 at 01:14:46AM +0900, Takahiro Kambe wrote:
 > And devel/libthrift fails for me (on NetBSD/amd64 6.0_BETA).
 > 
 > => Generating post-install file lists
 > pkg_create: can't stat 
 > `/pkg_comp/obj/pkgsrc/devel/libthrift/default/.destdir/usr/pkg/share/doc/thrift/java/resources/inherit.gif'
 > => Checking file-check results for libthrift-0.7.0nb5
 > ERROR: ************************************************************
 > ERROR: The following files are in the PLIST but not in /usr/pkg:
 > ERROR:         
 > /pkg_comp/obj/pkgsrc/devel/libthrift/default/.destdir/usr/pkg/share/doc/thrift/java/resources/inherit.gif
 > ERROR: ************************************************************
 > ERROR: The following files are in /usr/pkg but not in the PLIST:
 > ERROR:         
 > /pkg_comp/obj/pkgsrc/devel/libthrift/default/.destdir/usr/pkg/share/doc/thrift/java/resources/background.gif
 > ERROR:         
 > /pkg_comp/obj/pkgsrc/devel/libthrift/default/.destdir/usr/pkg/share/doc/thrift/java/resources/tab.gif
 > ERROR:         
 > /pkg_comp/obj/pkgsrc/devel/libthrift/default/.destdir/usr/pkg/share/doc/thrift/java/resources/titlebar.gif
 > ERROR:         
 > /pkg_comp/obj/pkgsrc/devel/libthrift/default/.destdir/usr/pkg/share/doc/thrift/java/resources/titlebar_end.gif
 > *** Error code 1
 > 
 > Best regards.

It works for me in pbulk (just forced a fresh rebuild to make sure)...
oh wait, I see why, those files are conditional on the java option,
which isn't turned on by default.

I can't figure out where in the source archive those files come from.
I'm wondering if maybe they're emitted by javadoc and thus vary
depending on which Java environment you're using...

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index