[csw-maintainers] csw-upload-package error from checkpkg: "KeyError: 'ldd_info'"

slowfranklin slowfranklin at opencsw.org
Mon Jun 17 17:48:00 CEST 2013


Hey,

as discussed on IRC:

I'm getting these error from caw-upload-package when trying to upload my new tracker package:

---8<---
slowfranklin at login [login]:~/pkgs > locale                                                                                                                                                                                                                                            
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=C
slowfranklin at login [login]:~/pkgs > csw-upload-pkg *                                                                                                                                                                                                                                  
Processing 12 file(s). Please wait.
Checking 6 package(s) against catalog unstable i386 SunOS5.10
Traceback (most recent call last):
  File "/opt/csw/bin/checkpkg", line 196, in <module>
    main()
  File "/opt/csw/bin/checkpkg", line 157, in main
    exit_code, screen_report, tags_report = check_manager.Run()
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run
    return super(CheckpkgManager2, self).Run()
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run
    errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list)
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags
    function(pkgs_data, check_interface, logger=logger, messenger=messenger)
  File "/opt/csw/lib/python/csw/package_checks.py", line 322, in SetCheckLibraries
    depchecks.Libraries(*check_args)
  File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in Libraries
    ldd_info = pkg_data['ldd_info'][binary_info["path"]]
KeyError: 'ldd_info'
Checking 6 package(s) against catalog unstable sparc SunOS5.10
Traceback (most recent call last):
  File "/opt/csw/bin/checkpkg", line 196, in <module>
    main()
  File "/opt/csw/bin/checkpkg", line 157, in main
    exit_code, screen_report, tags_report = check_manager.Run()
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run
    return super(CheckpkgManager2, self).Run()
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run
    errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list)
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags
    function(pkgs_data, check_interface, logger=logger, messenger=messenger)
  File "/opt/csw/lib/python/csw/package_checks.py", line 322, in SetCheckLibraries
    depchecks.Libraries(*check_args)
  File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in Libraries
    ldd_info = pkg_data['ldd_info'][binary_info["path"]]
KeyError: 'ldd_info'
Checking 6 package(s) against catalog unstable i386 SunOS5.11
Traceback (most recent call last):
  File "/opt/csw/bin/checkpkg", line 196, in <module>
    main()
  File "/opt/csw/bin/checkpkg", line 157, in main
    exit_code, screen_report, tags_report = check_manager.Run()
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run
    return super(CheckpkgManager2, self).Run()
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run
    errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list)
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags
    function(pkgs_data, check_interface, logger=logger, messenger=messenger)
  File "/opt/csw/lib/python/csw/package_checks.py", line 322, in SetCheckLibraries
    depchecks.Libraries(*check_args)
  File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in Libraries
    ldd_info = pkg_data['ldd_info'][binary_info["path"]]
KeyError: 'ldd_info'
Checking 6 package(s) against catalog unstable sparc SunOS5.11
Traceback (most recent call last):
  File "/opt/csw/bin/checkpkg", line 196, in <module>
    main()
  File "/opt/csw/bin/checkpkg", line 157, in main
    exit_code, screen_report, tags_report = check_manager.Run()
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run
    return super(CheckpkgManager2, self).Run()
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run
    errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list)
  File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags
    function(pkgs_data, check_interface, logger=logger, messenger=messenger)
  File "/opt/csw/lib/python/csw/package_checks.py", line 322, in SetCheckLibraries
    depchecks.Libraries(*check_args)
  File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in Libraries
    ldd_info = pkg_data['ldd_info'][binary_info["path"]]
KeyError: 'ldd_info'
Checks failed for catalogs:
  - i386 SunOS5.10
    libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
    libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
    libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
    libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
    libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
    tracker-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
To see errors, run:
  /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.10 --catalog-architecture i386 4a1ced0b60d4d311bae71f58fd60f308 b96ca3246d5a807c6cab3db77d833c7f 4b0fb6c3329445eec00844866ae75386 414aa606b2fe39842f17423ebf511916 630e17ac5049ac7aa0ad24f7bde4a7e2 f2bd2e0d45dde6d41fd288d7e672db0d
  - sparc SunOS5.10
    libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
    libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
    libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
    libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
    libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
    tracker-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
To see errors, run:
  /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.10 --catalog-architecture sparc fa1d972ed3c73bb4bdabcb2eb3f4d279 87ce5a40951f59b59f7c9de6a677f5bd e8ef46502d96679aa0a527ccccf72716 2658e5dcb803e0b6d2fb71518f01100f b51364b0d930523850e0910564e1cca5 063ddd21b4378cb3f6fad3f876e25bb6
  - i386 SunOS5.11
    libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
    libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
    libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
    libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
    libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
    tracker-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz
To see errors, run:
  /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.11 --catalog-architecture i386 4a1ced0b60d4d311bae71f58fd60f308 b96ca3246d5a807c6cab3db77d833c7f 4b0fb6c3329445eec00844866ae75386 414aa606b2fe39842f17423ebf511916 630e17ac5049ac7aa0ad24f7bde4a7e2 f2bd2e0d45dde6d41fd288d7e672db0d
  - sparc SunOS5.11
    libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
    libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
    libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
    libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
    libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
    tracker-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz
To see errors, run:
  /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.11 --catalog-architecture sparc fa1d972ed3c73bb4bdabcb2eb3f4d279 87ce5a40951f59b59f7c9de6a677f5bd e8ef46502d96679aa0a527ccccf72716 2658e5dcb803e0b6d2fb71518f01100f b51364b0d930523850e0910564e1cca5 063ddd21b4378cb3f6fad3f876e25bb6
Packages have not been submitted to the unstable catalog.
slowfranklin at login [login]:~/pkgs >                                                                                                                                                                                                                                                  
---8<---

Running the suggested checkpkg commands results in the same error "KeyError: 'ldd_info'".

Thanks!
-slow


More information about the maintainers mailing list