On Tue, 2008-11-25 at 01:47 -0800, Rich Burridge wrote: > For this particular kind of question, you might have better > luck on the pkgbuild mailing list.
Well, it's going to be me answering on both lists :) The short answer for this list is that pkgbuild 1.3.91 doesn't include the legacy action in the manifest. I'll send the longer answer to sfe-devel. Laca > -------- Original Message -------- > Subject: [pkg-discuss] pkgtool doesn't notice installed IPS pkg's when > checking deps? > Date: Tue, 25 Nov 2008 07:52:28 +0100 > From: Alexander Skwar <[EMAIL PROTECTED]> > To: [email protected] > > > > Hi. > > I'm using the experimental pkgtool 1.3.91 with IPS support. I'm > currently trying to build GCC using the SFEgcc.spec from SFE. > > Watch that: > > --($ ~/Sources/SFE)-- pkg info SFEgmp > Name: SFEgmp > Summary: GNU Multiple Presicion Arithmetic Library > State: Installed > Authority: local > Version: 4.2.1 > Build Release: 5.11 > Branch: None > Packaging Date: Tue Nov 25 06:34:47 2008 > Size: 900.93 kB > FMRI: pkg://local/[EMAIL PROTECTED],5.11:20081125T063447Z > > --($ ~/Sources/SFE)-- pkgtool build --ips --download SFEgcc.spec --autodeps > Debug: IPS packages will be installed by default to http://localhost:80/ > INFO: Copying %use'd or %include'd spec files to SPECS directory > INFO: Processing spec files > WARNING: Added /export/home/user/Sources/SFE/SFEmpfr.spec to the build > to satisfy dependencies > WARNING: Added /export/home/user/Sources/SFE/SFEgmp.spec to the build > to satisfy dependencies > INFO: Finding sources > INFO: Running pkgbuild -ba [...] SFEgmp.spec (SFEgmp) > INFO: SFEgmp PASSED > INFO: Installing SFEgmp > INFO: Installing SFEgmp-devel > WARNING: Skipping installation of IPS package ... until IPS bug #2417 > will be fixed (probably it will be fixed in 94b) > WARNING: Skipping installation of IPS package ... until IPS bug #2417 > will be fixed (probably it will be fixed in 94b) > INFO: Finding sources > INFO: Downloading source http://www.mpfr.org/mpfr-current/mpfr-2.3.2.tar.bz2 > INFO: Running pkgbuild -ba [...] SFEmpfr.spec (SFEmpfr) > ERROR: SFEmpfr FAILED > Use of uninitialized value in concatenation (.) or string at > /opt/pkgbuild-dev/lib/pkgbuild-1.3.91/pkgtool.pl line 2261. > INFO: Check the build log in for details > WARNING: skipping package SFEgccruntime: required package SFEmpfr failed > WARNING: skipping package SFEgccruntime: required package SFEmpfr-devel failed > WARNING: skipping package SFEgccruntime: required package SFEmpfr-devel failed > > Summary: > > package | status | details > ---------------------------------+-------------+------------------------------- > SFEgccruntime | DEP_FAILED | Dependency check failed > SFEmpfr | FAILED | pkgbuild build failed > SFEgmp | PASSED | > > --($ ~/Sources/SFE)-- pkg info SFEgmp > Name: SFEgmp > Summary: GNU Multiple Presicion Arithmetic Library > State: Installed > Authority: local > Version: 4.2.1 > Build Release: 5.11 > Branch: None > Packaging Date: Tue Nov 25 06:34:47 2008 > Size: 900.93 kB > FMRI: pkg://local/[EMAIL PROTECTED],5.11:20081125T063447Z > > As you can see there, GMP is (re-)build, although it is already > installed. > > To install GMP, I first ran "pkgtool [...] --ips [...] SFEgcc.spec", which > build GMP (as a dependency of SFEgcc) and that package got > "pushed" to my "local" IPS pkg-server. I then installed it GMP from > that pkg-server by a simple "pfexec pkg install SFEgmp". > > But now I wonder, why the package SFEgmp is rebuild again, > when I re-run "pkgtool --ips SFEgcc.spec", although SFEgmp > *is* already installed, according to pkg (pkginfo doesn't list > SFEgmp - is that the reason?). > > Thanks, > > Alexander _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
