[csw-maintainers] Problem with csw-upload-pkg?

Peter Bonivart bonivart at opencsw.org
Fri May 25 10:06:15 CEST 2012


I have some weird problem with checkpkg. I'm trying to upload the bind
set of packages which I have done many times before, they were just
built in GAR passing checkpkg checks.

bonivart at login[build.2012-05-22]$ pwd
/home/bonivart/staging/build.2012-05-22
bonivart at login[build.2012-05-22]$ ls
bind-9.8.3,REV=2012.05.22-SunOS5.9-i386-CSW.pkg.gz
bind-9.8.3,REV=2012.05.22-SunOS5.9-sparc-CSW.pkg.gz
bind_chroot-9.8.3,REV=2012.05.22-SunOS5.9-all-CSW.pkg.gz
bind_dev-9.8.3,REV=2012.05.22-SunOS5.9-i386-CSW.pkg.gz
bind_dev-9.8.3,REV=2012.05.22-SunOS5.9-sparc-CSW.pkg.gz
bind_utils-9.8.3,REV=2012.05.22-SunOS5.9-i386-CSW.pkg.gz
bind_utils-9.8.3,REV=2012.05.22-SunOS5.9-sparc-CSW.pkg.gz
libbind-9.8.3,REV=2012.05.22-SunOS5.9-i386-CSW.pkg.gz
libbind-9.8.3,REV=2012.05.22-SunOS5.9-sparc-CSW.pkg.gz
bonivart at login[build.2012-05-22]$ csw-upload-pkg *
Processing 9 file(s). Please wait.
Uploading 'bind-9.8.3,REV=2012.05.22-SunOS5.9-i386-CSW.pkg.gz'
ERROR:root:File metadata was not found in the database.  This happens
when the package you're trying to upload was never unpacked and
imported into the database.  To fix the problem, run checkpkg against
your package and try importing again.
Traceback (most recent call last):
  File "/home/bonivart/opencsw/.buildsys/v2/bin/csw-upload-pkg", line
627, in <module>
    uploader.Upload()
  File "/home/bonivart/opencsw/.buildsys/v2/bin/csw-upload-pkg", line
173, in Upload
    raise DataError("file_metadata is empty: %s" % repr(file_metadata))
__main__.DataError: file_metadata is empty: None

Is it the actual upload that is the problem because it fails quickly
and the traceback mentions it?

/peter


More information about the maintainers mailing list