I'm not very familiar with pkgtool or its cousin rpmbuild, so I have some pretty basic questions (and will probably have more). I didn't see any opensolaris documentation or howtos that described things in-depth, but maybe I missed them.
First, when trying to do a local package build, I have a directory with the following contents: bash-3.2$ ls R-2.9.1.tar.gz R.copyright R.spec The relevant part of R.spec: Name: R Summary: R Statistical Language Version: 2.9.1 License: GPLv2 #Source: http://cran.r-project.org/src/base/R-2/%{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz URL: http://www.r-project.org/ Group: __________ Distribution: OpenSolaris Vendor: OpenSolaris Community %include default-depend.inc #BuildRequires:______________ #Requires: ___________________ BuildRoot: %{_tmppath}/%{name}-%{version}-build SUNW_Basedir: %{_basedir} SUNW_Copyright: %{name}.copyright # OpenSolaris IPS Manifest Fields Meta(info.upstream): Robert Gentleman, Ross Ihaka Meta(info.repository_url): https://svn.r-project.org/R-dev-web/trunk/R-dev-web Meta(info.maintainer): Brandon Barker brandon.barker at gmail.com %description R is a free software environment for statistical computing and graphics. %prep rm -rf %name-%version %setup -q -n %{name}-%{version} When I try to build I get an error that suggest the copyright file and maybe the source is not found: ( /opt/dtbld/bin/env.sh has been run) bash-3.2$ pkgtool build-only R.spec INFO: Copying %use'd or %include'd spec files to SPECS directory INFO: Processing spec files INFO: Finding sources INFO: Hint: you need to use the --download option to enable automatic downloads ERROR: R: Source file R.copyright not found Summary: package | status | details ---------------------------------+-------------+------------------------------- R | FAILED | Source R.copyright not found Any suggestions? Thanks, Brandon -- This message posted from opensolaris.org