[csw-maintainers] Fwd: checkpkg problem on opensolaris distribution

Dagobert Michelsen dam at opencsw.org
Sun Oct 25 21:07:21 CET 2009


Hi Aubrey,

Anfang der weitergeleiteten E-Mail:

> Von: Aubrey Li <aubrey at opensolaris.org>
> Datum: 25. Oktober 2009 13:22:02 MEZ
> An: Dagobert Michelsen <dam at opencsw.org>, "Maciej (Matchek)  
> Blizinski" <maciej at opencsw.org>
> Betreff: Fwd: checkpkg problem on opensolaris distribution
>
> Hi Dago,
>
> It looks like I'm not on the maintainers' list, and my mail account
> aubrey at opencsw.org is not valid any longer, could you please help
> me to send this mail out?

Fwd'ing to Ihsan. Aubrey has already contributed packages and had
an account in the past.

Ihsan: Would you mind having a look?

Aubrey: To become a permanent member of the OpenCSW project you must
apply for membership by writing to board at lists.opencsw.org. The current
list of members can be seen at
   <http://wiki.opencsw.org/open-community-software-project-members>
The bylaws can be read at
   <http://wiki.opencsw.org/open-community-software-project-bylaws>

> ---------- Forwarded message ----------
> From: Aubrey Li <aubreylee at gmail.com>
> Date: Sun, Oct 25, 2009 at 8:14 PM
> Subject: checkpkg problem on opensolaris distribution
> To: internal list for the CSW maintainers <maintainers at lists.blastwave.org 
> >

Aubrey: You have posted to the wrong address. The new address is
   maintainers at lists.opencsw.org ;-)

> I'm not sure how many developers are using OpenSolaris-snvXXX  
> distribution.
>
> I run into the following error when I try to build a new package by
> "gmake package"
> ====================================================
> ........snip........
> Examining 'depend' file
> system      CSWcommon common - common files and dirs for CSW packages
> Cannot find package providing libc.so.1. Storing for delayed  
> validation.
> Cannot find package providing libfl.so.1. Storing for delayed  
> validation.
> SUGGESTION: you may want to add some or all of the following as  
> depends:
>   (Feel free to ignore SUNW or SPRO packages)
>> CSWncurses
>
> Doing late evaluations of package library dependencies.
> ERROR: Couldn't find a package providing libc.so.1
> gmake: *** [pkgcheck-CSWcscope] Error 2
> =====================================================
> After some investigation, I found the root cause is, checkpkg is using
> the package
> installation file /var/sadm/install/contents, which is not maintained
> on opensolaris
> (indiana) distribution.
>
> Can we enhance this script to support IPS package system?
> I have a quick idea similarly like the following patch,
>
> Any thoughts?

I really enjoy seeing progress towards OpenSolaris / IPS support.  
Hopefully
the farm will soon be upgraded to OSOL build hosts.

Ben: You have added the current checkpkg logic, would you consider  
adding
the patch as safe?

> ==============================================
> --- checkpkg    2009-10-25 19:56:04.191980886 +0800
> +++ checkpkg.ips        2009-10-25 19:52:37.856050429 +0800
> @@ -547,11 +547,27 @@
>        pkg=`echo $ldep | nawk '{print $2}'`
>        /usr/xpg4/bin/grep -q "[/=]$lib[ =]" $SETLIBS
>        if [ $? -ne 0 ]; then
> -           errmsg "Couldn't find a package providing $lib"
> +           print "Couldn't find a SVR4 package providing $lib, try
> IPS pkg later"
> +           echo "$lib" >> $SETLIBS.svr4.missing
>        else
>            print "A package in the set being evaluated provides $lib"
>        fi
>     done < $SETLIBS.missing
>  fi
>
> +print ""
> +
> +if [ -s $SETLIBS.svr4.missing ]; then
> +    print "Doing late evaluation of IPS package library  
> dependencies."
> +    while read idep; do
> +       BUILD=`uname -v | sed s/snv_//`
> +       pkg search $idep | grep $BUILD
> +       if [ $? -ne 0 ]; then
> +           errmsg "Couldn't find a package providing $idep"
> +       else
> +           print "A package in the set being evaluated provides  
> $idep"
> +       fi
> +    done < $SETLIBS.svr4.missing
> +fi
> +
>  cleanupset


Best regards

   -- Dago





More information about the maintainers mailing list