Hi,

I am updating GnuDevTools for GCC 4.3.3 and to comply with the new install location per the LSARC review. As part of the gcc-43 install, I need to remove existing gcc-432 and gcc-runtime-432 packages if they are currently installed on the system.

Based on a similar situation in Studio, I tried using optional dependencies in the gcc-43 package depending on new, empty versions of the 432 packages:

package developer/gcc/gcc-432
add set name=pkg.obsolete value=true
version 4.3.2.1
end package

package developer/gcc/gcc-runtime-432
add set name=pkg.obsolete value=true
version 4.3.2.1
end package

package developer/gcc/gcc-43
classification "Development/C"
version 4.3.3
import SUNWgcc43
depend SUNWarc
depend SUNWbinutils
$(sparc_ONLY)depend developer/gcc/gccfss
depend developer/gcc/gcc-libgcc
depend developer/gcc/gcc-libgfortran
depend developer/gcc/gcc-libgomp
depend developer/gcc/gcc-libobjc
depend developer/gcc/gcc-libssp
depend developer/gcc/gcc-libstdc
depend SUNWhea
add depend fmri=developer/gcc/[email protected] type=optional
add depend fmri=developer/gcc/[email protected] type=optional
end package
[...]

gcc-43 installs fine without gcc-432/gcc-runtime-432 present.  However,
when gcc-432/gcc-runtime-432 are installed, I get the following error:

pkg: No solution was found to satisfy constraints

I looked through the verbose output and the only suspicious lines I see are:

                        optional dependency:
developer/gcc/[email protected]: Excludes:
pkg://opensolaris.org/developer/gcc/[email protected],5.11-0.111:20090818T043612Z
                        optional dependency:
developer/gcc/[email protected]: Excludes:
pkg://opensolaris.org/developer/gcc/[email protected],5.11-0.111:20090818T043712Z


Any idea what I am doing wrong?


Thanks,
George


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

Reply via email to