Hi Norm,
I'm trying to move the link and dir file from texinfo package to the gcc-3
package
and seems I'm not able to build it properly. My diff is attached.
When publishing gcc-3 package, it ends up with this pkglint error:
ERROR pkglint.dupaction001.1 path var/info/usr_sfw_share_info_dir is a
duplicate delivered by pkg:/developer/gcc-3@3.4.3,5.11-0.175.1.0.0.7.661
pkg://solaris/text/texinfo@4.7,5.11-0.175.1.0.0.6.633:20111227T221749Z under
all variant combinations
Unsetting the CANONICAL_REPO doesn't help, it is set by
make-rules/ips-buildinfo:
94 # Set a default reference repository against which pkglint is run, in
case it
95 # hasn't been set in the environment.
96 CANONICAL_REPO ?= http://ipkg.us.oracle.com/solaris11/dev/
97
To disable the lint cache, I found I can do this: export CANONICAL_REPO=""
But then the build of gcc-3 package ends with this error (and warnings):
Starting lint run...
ERROR userland.action002.0 link
usr/sfw/libexec/gcc/i386-pc-solaris2.11/3.4.3/as has unresolvable target
'../../../../../gnu/i386-pc-solaris2.11/bin/as'
WARNING pkglint.action005.1 obsolete dependency check skipped: unable to
find dependency pkg:/developer/gnu-binutils@2.19-0.175.0.0.0.2.537 for
pkg:/developer/gcc-3@3.4.3,5.11-0.175.1.0.0.7.661
WARNING pkglint.action005.1 obsolete dependency check skipped: unable to
find dependency pkg:/shell/ksh@0.5.11-0.175.0.0.0.2.1 for
pkg:/developer/gcc-3@3.4.3,5.11-0.175.1.0.0.7.661
WARNING pkglint.action005.1 obsolete dependency check skipped: unable to
find dependency pkg:/system/header for
pkg:/developer/gcc-3@3.4.3,5.11-0.175.1.0.0.7.661
WARNING pkglint.action005.1 obsolete dependency check skipped: unable to
find dependency pkg:/system/library@0.5.11-0.175.0.0.0.2.1 for
pkg:/developer/gcc-3@3.4.3,5.11-0.175.1.0.0.7.661
WARNING pkglint.action005.1 obsolete dependency check skipped: unable to
find dependency pkg:/system/linker@0.5.11-0.175.0.0.0.2.1 for
pkg:/developer/gcc-3@3.4.3,5.11-0.175.1.0.0.7.661
WARNING pkglint.action005.1 obsolete dependency check skipped: unable to
find dependency pkg:/system/library/math@0.5.11-0.174.0.0.0.0.0 for
pkg:/system/library/gcc-3-runtime@3.4.3,5.11-0.175.1.0.0.7.661
Please could you advice the way how to do it properly?
Thank you for your help
Petr
On 22.12.2011 19:49, Norm Jacobs wrote:
On 12/22/11 03:46 AM, Petr Cvachoucek wrote:
On 21.12.2011 18:05, Norm Jacobs wrote:
Since /usr/sfw should only be shrinking over time and gcc-3 is the only
thing delivering texinfo files into /usr/sfw/share/info, you can just
move the associated link and file to the gcc-3 package.
This still leaves the case where something like /usr/gnu/share/info
Ok, I'll try to prepare the fix this way.
We need to revisit where some of the texinfo files are being installed,
but the default search path should be adjusted to include locations
where we are installing them. /usr/share/doc/freeipmi/info is clearly
wrong. /usr/share/src/grub/docs is also wrong. The files in
/usr/gnu/share/info should probably just go in /usr/share/info. The gcc
and mysql info directories are version specific and I can a case for
keeping them there.
Clearly there is cleanup to be done.
Would you like to see the default path to be extended to
/usr/sfw/share/info and /usr/gnu/share/info in this fix (as temporary
solution)?
Yes, we can add those to the default search path for the time being.
-Norm
diff -r 65eb6f5145fe components/gcc3/gcc-3.p5m
--- a/components/gcc3/gcc-3.p5m Thu Dec 22 23:21:07 2011 +0000
+++ b/components/gcc3/gcc-3.p5m Thu Dec 22 23:45:53 2011 -0800
@@ -98,6 +98,8 @@
dir path=usr/share/man
dir path=usr/share/man/man1
dir path=usr/share/man/man7
+dir path=var
+dir path=var/info
file path=usr/sfw/bin/$(GNU_ARCH)-g++
file path=usr/sfw/bin/$(GNU_ARCH)-gcc-3.4.3
@@ -436,6 +438,7 @@
file fsf-funding.7 path=usr/sfw/share/man/man7/fsf-funding.7
file gfdl.7 path=usr/sfw/share/man/man7/gfdl.7
file gpl.7 path=usr/sfw/share/man/man7/gpl.7
+file usr/sfw/share/info/dir path=var/info/usr_sfw_share_info_dir mode=0644
editable=true preserve=true
hardlink path=usr/sfw/bin/$(GNU_ARCH)-c++ target=$(GNU_ARCH)-g++
hardlink path=usr/sfw/bin/$(GNU_ARCH)-gcc target=$(GNU_ARCH)-gcc-3.4.3
@@ -475,6 +478,7 @@
# target=../../../sfw/share/man/man7/fsf-funding.7
#link path=usr/share/man/man7/gfdl.7 target=../../../sfw/share/man/man7/gfdl.7
#link path=usr/share/man/man7/gpl.7 target=../../../sfw/share/man/man7/gpl.7
+link path=usr/sfw/share/info/dir
target=../../../../var/info/usr_sfw_share_info_dir
license gcc.license license="GPLv2"
diff -r 65eb6f5145fe components/texinfo/texinfo.p5m
--- a/components/texinfo/texinfo.p5m Thu Dec 22 23:21:07 2011 +0000
+++ b/components/texinfo/texinfo.p5m Thu Dec 22 23:45:53 2011 -0800
@@ -42,8 +42,6 @@
dir path=usr/bin
dir path=usr/sfw
dir path=usr/sfw/bin
-dir path=usr/sfw/share
-dir path=usr/sfw/share/info
dir path=usr/share
dir path=usr/share/info
dir path=usr/share/locale
@@ -133,7 +131,6 @@
file path=usr/share/texinfo/texinfo.dtd
file path=usr/share/texinfo/texinfo.xsl
file usr/share/info/dir path=var/info/usr_share_info_dir mode=0644
editable=true preserve=true
-file usr/share/info/dir path=var/info/usr_sfw_share_info_dir mode=0644
editable=true preserve=true
link path=usr/sfw/bin/ginstall-info target=../../bin/install-info
link path=usr/sfw/bin/info target=../../bin/info
link path=usr/sfw/bin/install-info target=../../bin/install-info
@@ -143,7 +140,6 @@
link path=usr/sfw/bin/texindex target=../../bin/texindex
link path=usr/share/locale/de_AT target=de
link path=usr/share/info/dir target=../../../var/info/usr_share_info_dir
-link path=usr/sfw/share/info/dir
target=../../../../var/info/usr_sfw_share_info_dir
depend fmri=__TBD pkg.debug.depend.file=usr/bin/python type=require
_______________________________________________
userland-discuss mailing list
userland-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/userland-discuss