[pkg-discuss] pkgtool doesn't notice installed IPS pkg's when checking deps?
Rich Burridge
Rich.Burridge at Sun.COM
Tue Nov 25 01:47:03 PST 2008
Hi Alexander,
For this particular kind of question, you might have better
luck on the pkgbuild mailing list.
See:
https://lists.sourceforge.net/lists/listinfo/pkgbuild-sfe-devel
for more details.
-------- 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 <alexander at skwar.name>
To: pkg-discuss at opensolaris.org
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/SFEgmp@4.2.1,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/SFEgmp@4.2.1,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
--
[ Chat => Jabber: alexws77 at jabber80.com | Gmail: a.skwar at gmail.com ]
[ Mehr => MSN: alexws77 at live.de | Yahoo!: askwar | ICQ: 350677419 ]
_______________________________________________
pkg-discuss mailing list
pkg-discuss at opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
More information about the pkg-discuss
mailing list