Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 740694 - >=net-print/hplip-3.20.6-r1: python3.8 /usr/bin/hp-check crashes when checking for jpeglib.h
Summary: >=net-print/hplip-3.20.6-r1: python3.8 /usr/bin/hp-check crashes when checkin...
Status: RESOLVED DUPLICATE of bug 740688
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-06 14:20 UTC by tt_1
Modified: 2020-09-06 15:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output from console with debug informations (python-error-complete.log,5.68 KB, text/x-log)
2020-09-06 14:20 UTC, tt_1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2020-09-06 14:20:15 UTC
Created attachment 658756 [details]
output from console with debug informations

this is not a duplicate of #740688, since with python3.7 hp-check hangs, with python3.8 it crashes and produces some output at least: 

hp-check[5597]: debug: Searching for file 'jpeglib.h' in '/usr/include'...
Traceback (most recent call last):
  File "/usr/bin/hp-check", line 861, in <module>
    dep.core.init()
  File "/usr/share/hplip/installer/core_install.py", line 528, in init
    self.check_dependencies(callback)
  File "/usr/share/hplip/installer/core_install.py", line 621, in check_dependencies
    self.have_dependencies[d] = self.dependencies[d][3]()
  File "/usr/share/hplip/installer/core_install.py", line 981, in check_libjpeg
    return check_lib("libjpeg") and check_file("jpeglib.h")
  File "/usr/share/hplip/installer/dcheck.py", line 108, in check_file
    for w in utils.walkFiles(dir, recurse=True, abs_paths=True, return_folders=False, pattern=f):
  File "/usr/share/hplip/base/utils.py", line 292, in walkFiles
    for f in walkFiles(fullname, recurse, abs_paths, return_folders, pattern, path):
  File "/usr/share/hplip/base/utils.py", line 292, in walkFiles
    for f in walkFiles(fullname, recurse, abs_paths, return_folders, pattern, path):
  File "/usr/share/hplip/base/utils.py", line 292, in walkFiles
    for f in walkFiles(fullname, recurse, abs_paths, return_folders, pattern, path):
  [Previous line repeated 988 more times]
  File "/usr/share/hplip/base/utils.py", line 278, in walkFiles
    if fnmatch.fnmatch(name, pat):
  File "/usr/lib/python3.8/fnmatch.py", line 36, in fnmatch
    return fnmatchcase(name, pat)
  File "/usr/lib/python3.8/fnmatch.py", line 70, in fnmatchcase
    match = _compile_pattern(pat)
RecursionError: maximum recursion depth exceeded in comparison
Comment 1 tt_1 2020-09-06 14:24:57 UTC
there is one open upstream bug for lack of python3.8 support in hp-plugin installer, it might be able to fix this bug too? 

https://bugs.launchpad.net/hplip/+bug/1843037
Comment 2 tt_1 2020-09-06 15:52:22 UTC
ok, so I'm having a bad bugzilla day here. The error differs when using python3.8, but it's the same reason, as it follows symlinks from nodejs. This is package is a mess, really.

*** This bug has been marked as a duplicate of bug 740688 ***