[csw-maintainers] GAR Platform builds now open for testing

Dagobert Michelsen dam at opencsw.org
Wed Oct 7 16:07:17 CEST 2009


Hi Maciej,

Am 07.10.2009 um 14:50 schrieb Maciej (Matchek) Blizinski:

> I've got a problem with building cups:
>
> $ ENABLE_CHECK=0 gmake platforms
> (...)
> mkp: exec( gzip -9 -f
> /tmp/cupsd-1.4.0,REV=2009.10.07.14.32-SunOS5.8-i386-CSW.pkg )
> mkp: exec( mv /tmp/cupsd-1.4.0,REV=2009.10.07.14.32-SunOS5.8-i386- 
> CSW.pkg.gz
> /home/maciej/staging/build-2009-10-07 )
> mkp: exec( rm -rf /home/maciej/spool.5.8-i386/CSWcupsd )
> ==> Checking compliance: CSWcupsd
> ERROR: /home/maciej/staging/build-2009-10-07/ 
> cupsd-1.4.0,REV=2009.10.07.14.33-SunOS5.8-i386-CSW.pkg.gz
> does not exist

The problem is that you use high resolution timestamps which have  
changed during build:

                           mkp: exec( mv /tmp/ 
cupsd-1.4.0,REV=2009.10.07.14.32-SunOS5.8-i386-CSW.pkg.gz
ERROR: /home/maciej/staging/build-2009-10-07/ 
cupsd-1.4.0,REV=2009.10.07.14.33-SunOS5.8-i386-CSW.pkg.gz

I have solved this with SETONCE magic, using recursively expanded  
variable
as if they were simply expanded:

   SETONCE = $(eval $(1) ?= $(2))
   $(call SETONCE,myvar,myvalue)

Because it is only set once the value can not change during make, and
if it is not used it is never expanded making its use also fast :-)

> gmake: *** [pkgcheck-CSWcupsd] Error 2
> gmake: Leaving directory `/home/maciej/src/opencsw/pkg/cups/branches/ 
> cups-1.4'
> Connection to build8x closed.
> gmake: *** [platforms] Error 2
>
> Looks like it's the usual checkpkg problem, this only this time
> ENABLE_CHECK=0 doesn't work around the issue. Any ideas?
>
> It's the cups-1.4 branch.

The following error persists:

> Doing late evaluations of package library dependencies.
> ERROR: Couldn't find a package providing libcupscgi.so.1
> gmake: *** [pkgcheck-CSWcupsd] Error 2

This however seems to be a bug in the file-distribution in PKGFILES as
the library is generally there:

> build8s% find . -name libcupscgi.so.1
> ./work/solaris8-sparc/pkgroot/opt/csw/lib/libcupscgi.so.1
> ./work/solaris8-sparc/build-isa-sparcv8/cups-1.4.0/cgi-bin/ 
> libcupscgi.so.1
> ./work/solaris8-sparc/install-isa-sparcv8/opt/csw/lib/libcupscgi.so.1

> build8s% grep libcupscgi.so.1 work/solaris8-sparc/build-global/ 
> *.prototype


Best regards

   -- Dago




More information about the maintainers mailing list