[csw-maintainers] Checkpgk error when having too long names

Peter Bonivart bonivart at opencsw.org
Sun Jul 8 07:00:33 CEST 2012


I was building CSWpm-cgi-session-serialize-yaml and got the following:

INFO:root:Juicing the svr4 package stream files...
100% |#########################################################################|
INFO:root:Unwrapping candies...
100% |#########################################################################|
INFO:root:Tasting candies one by one...
WARNING:CSWpm-cgi-session-serialize-yaml-CheckPkgchk:pkgchk: ERROR:
attempt to process datastream failed
WARNING:CSWpm-cgi-session-serialize-yaml-CheckPkgchk:    - package
<CSWpm-cgi-session-serialize-yaml> not in datastream
WARNING:CSWpm-cgi-session-serialize-yaml-CheckPkgchk:pkgchk: ERROR:
unable to complete package transfer
100% |#########################################################################|
INFO:root:Tasting them all at once...
INFO:root:Stuffing the candies under the pillow...
Traceback (most recent call last):                                             |
  File "/home/bonivart/opencsw/.buildsys/v2/gar//bin/checkpkg", line
197, in <module>
    main()
  File "/home/bonivart/opencsw/.buildsys/v2/gar//bin/checkpkg", line
158, in main
    exit_code, screen_report, tags_report = check_manager.Run()
  File "/home/bonivart/opencsw/.buildsys/v2/lib/python/checkpkg_lib.py",
line 824, in Run
    return super(CheckpkgManager2, self).Run()
  File "/home/bonivart/opencsw/.buildsys/v2/lib/python/checkpkg_lib.py",
line 256, in Run
    arch=sqo_arch)
  File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line
1226, in __init__
    self._create(id, **kw)
  File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line
1271, in _create
    self.set(**kw)
  File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line 1079, in set
    kw[name] = dbValue = from_python(value, self._SO_validatorState)
  File "/opt/csw/lib/python/site-packages/sqlobject/col.py", line 568,
in from_python
    (self.name, type(value), value), value, state)
formencode.api.Invalid: expected a str or a unicode in the UnicodeCol
'tag_info', got <type 'int'> 1 instead
gmake: *** [pkgcheck] Error 2

I then shortened the package and catalog name slightly and the error
went away. I assume this is because Solaris package tools truncate the
name or something, or is it in GAR?

/peter


More information about the maintainers mailing list