[csw-maintainers] pkgcheck: error handling diacritical characters in paths

pfelecan at opencsw.org pfelecan at opencsw.org
Tue Jun 26 11:24:04 CEST 2012


Trying to package JPilot and getting the following:

INFO:root:Juicing the svr4 package stream files...
  0% |                                                                    
   |
^MTraceback (most recent call last):
  File "/home/pfelecan/opencsw/.buildsys/v2/gar//bin/checkpkg", line 197,
in <module>
    main()
  File "/home/pfelecan/opencsw/.buildsys/v2/gar//bin/checkpkg", line 120,
in main
    stats_list = collector.CollectStatsFromFiles(file_list, None)
  File "/home/pfelecan/opencsw/.buildsys/v2/lib/python/package_stats.py",
line 499, in CollectStatsFromFiles
    stats.CollectStats(force=force_unpack)
  File "/home/pfelecan/opencsw/.buildsys/v2/lib/python/package_stats.py",
line 175, in CollectStats
    return self._CollectStats(register_files=register_files)
  File "/home/pfelecan/opencsw/.buildsys/v2/lib/python/package_stats.py",
line 197, in _CollectStats
    "binaries": dir_pkg.ListBinaries(),
  File
"/home/pfelecan/opencsw/.buildsys/v2/lib/python/inspective_package.py",
line 124, in ListBinaries
    files_metadata = self.GetFilesMetadata()
  File
"/home/pfelecan/opencsw/.buildsys/v2/lib/python/inspective_package.py",
line 94, in GetFilesMetadata
    full_path = unicode(self.MakeAbsolutePath(file_path))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf1 in position 54:
ordinal not in range(128)
gmake[1]: *** [pkgcheck] Error 2
gmake[1]: Leaving directory `/home/pfelecan/opencsw/jpilot/trunk'
gmake: *** [platforms] Error 2

The package contains the file:

/opt/csw/share/jpilot/MañanaDB.pdb

which raises this error.

You can find the relevant files in ~pfelecan/opencsw/jpilot/trunk

TIA



More information about the maintainers mailing list