[csw-maintainers] Buildfarm setup - documentation

Peter FELECAN pfelecan at opencsw.org
Mon Oct 7 11:09:44 CEST 2013


Following the development version as documented in

http://wiki.opencsw.org/checkpkg#toc20

I get:

$ bin/pkgdb initdb 2>&1 | tee -a /tmp/pkgdb-initdb
/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py:113: Warning: Specified key was too long; max key length is 767 bytes
  return cursor.execute(query)
Traceback (most recent call last):
  File "bin/pkgdb", line 718, in <module>
    main()
  File "bin/pkgdb", line 458, in main
    dbc.InitialDataImport()
  File "/export/home/peter/maciej-gar-devel/lib/python/database.py", line 94, in InitialDataImport
    m.CatalogRelease(name=relname)
  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 1274, in _create
    self._SO_finishCreate(id)
  File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line 1298, in _SO_finishCreate
    id, names, values)
  File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 468, in queryInsertID
    return self._runWithConnection(self._queryInsertID, soInstance, id, names, values)
  File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 327, in _runWithConnection
    val = meth(conn, *args)
  File "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", line 155, in _queryInsertID
    self._executeRetry(conn, c, q)
  File "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", line 127, in _executeRetry
    raise IntegrityError(msg)
sqlobject.dberrors.IntegrityError: Cannot add or update a child row: a foreign key constraint fails (`checkpkg`.`catalog_release`, CONSTRAINT `catalog_release_type_id_exists` FOREIGN KEY (`type_id`) REFERENCES `catalog_release_type` (`id`))

-- 
Peter


More information about the maintainers mailing list