Thanks. I put the .inc files from the directory you showed me into
the SPECS sub-directory created by the CBE install script and my
spec file now builds correctly.


On Apr 27, 2009, at 6:53 PM, Andras Barna wrote:

you need all the files from:
http://src.opensolaris.org/source/xref/jds/spec-files/trunk/include

+ you need the directory structure (see here
http://src.opensolaris.org/source/xref/jds/spec-files/trunk)
something like:
/export/home/josh/myspecs/ -- your .spec files
/export/home/josh/myspecs/include -- the .inc files
/export/home/josh/myspecs/copyright -- package.copyright files
/export/home/josh/myspecs/patches -- patches... they should be like:
packagename-01-fixsomething.diff
/export/home/josh/myspecs/ext-sources -- if you need some files which
are not included in the sources. example: smf manifest
/export/home/josh/myspecs/base-specs -- if you want to combine 2
packages in one spec file you need to put here the "sub" spec files




On Tue, Apr 28, 2009 at 1:43 AM, Josh Simons <[email protected]> wrote:
I've built the CBE.

The SPECS directory contains default-depend.inc, but not Solaris.inc.

From where does the Solaris.inc file originate?


On Apr 27, 2009, at 6:28 PM, Andras Barna wrote:

http://opensolaris.org/os/community/sw-porters/contributing/specbuild/

On Tue, Apr 28, 2009 at 1:27 AM, Josh Simons <[email protected]>
wrote:

I didn't have the %include. Adding it just gives an error that
Solaris.inc
is not found.

On Apr 27, 2009, at 6:19 PM, Andras Barna wrote:

you have
%include Solaris.inc
?
if yes, share with us the whole spec

On Tue, Apr 28, 2009 at 12:01 AM, Josh Simons <[email protected] >
wrote:

I am writing and debugging a spec file and have reached an impasse. Can someone suggest what might be wrong that would cause the following
error
message to be generated?

I am using pkgtool:

/opt/dtbld/bin/pkgtool -vvvv --download build-only ploticus.spec

The error is:

pkgbuild: file usr/bin is not under basedir %{ basedir}

My %file section looks like this:

%attr(0755, root, bin) %dir %{_bindir}
%attr(0755, root, bin) %dir %{_mandir}
%attr(0755, root, bin) %dir %{_mandir}/man1
%attr(0755, root, bin) %dir %{_libdir}/%{name}
%attr(0755, root, bin) %dir %{_libdir}/%{name}/prefabs
%{_bindir}/*
%{_libdir}/%{name}/prefabs
%{_mandir}/*/*


_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss




--
Andy
http://blog.sartek.net





--
Andy
http://blog.sartek.net





--
Andy
http://blog.sartek.net

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to