Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1604140

Summary: gnome-abrt: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Mohan Boddu <mboddu>
Component: pylintAssignee: Christian Dersch <lupinix.fedora>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: digitalfreak, jakub, lupinix.fedora, mhabrnal, mkutlak, mmarusak, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-20 12:23:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1602938    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Mohan Boddu 2018-07-19 21:11:55 UTC
gnome-abrt failed to build from source in Fedora rawhide

https://koji.fedoraproject.org/koji/taskinfo?taskID=28182208


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Please fix gnome-abrt at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
gnome-abrt will be orphaned. Before branching of Fedora 30,
gnome-abrt will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Mohan Boddu 2018-07-19 21:12:04 UTC
Created attachment 1462326 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Mohan Boddu 2018-07-19 21:12:09 UTC
Created attachment 1462327 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Mohan Boddu 2018-07-19 21:12:13 UTC
Created attachment 1462328 [details]
state.log

Comment 4 Matej Habrnal 2018-07-20 10:28:32 UTC
Thank you for the report!
Regarding the backtrace from logs, it seems the issue is in pytlin-3

...
PYLINT=/usr/bin/pylint-3 PYLINTRC=../../pylintrc ../../runpylint.sh /builddir/build/BUILD/gnome-abrt-1.2.6/src/gnome_abrt
Traceback (most recent call last):
  File "/usr/bin/pylint-3", line 11, in <module>
    load_entry_point('pylint==2.0.0.dev1', 'console_scripts', 'pylint')()
  File "/usr/lib/python3.7/site-packages/pylint/__init__.py", line 18, in run_pylint
    Run(sys.argv[1:])
  File "/usr/lib/python3.7/site-packages/pylint/lint.py", line 1371, in __init__
    linter.check(args)
  File "/usr/lib/python3.7/site-packages/pylint/lint.py", line 783, in check
    self._do_check(files_or_modules)
  File "/usr/lib/python3.7/site-packages/pylint/lint.py", line 916, in _do_check
    self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)
  File "/usr/lib/python3.7/site-packages/pylint/lint.py", line 996, in check_astroid_module
    walker.walk(ast_node)
  File "/usr/lib/python3.7/site-packages/pylint/utils.py", line 1140, in walk
    self.walk(child)
  File "/usr/lib/python3.7/site-packages/pylint/utils.py", line 1142, in walk
    cb(astroid)
  File "/usr/lib/python3.7/site-packages/pylint/checkers/refactoring.py", line 384, in leave_functiondef
    self._check_consistent_returns(node)
  File "/usr/lib/python3.7/site-packages/pylint/checkers/refactoring.py", line 706, in _check_consistent_returns
    and self._is_node_return_ended(node)):
  File "/usr/lib/python3.7/site-packages/pylint/checkers/refactoring.py", line 767, in _is_node_return_ended
    return any(self._is_node_return_ended(_child) for _child in node.get_children()
  File "/usr/lib/python3.7/site-packages/pylint/checkers/refactoring.py", line 768, in <genexpr>
    if not isinstance(_child, astroid.ExceptHandler))
  File "/usr/lib/python3.7/site-packages/pylint/checkers/refactoring.py", line 767, in _is_node_return_ended
    return any(self._is_node_return_ended(_child) for _child in node.get_children()
  File "/usr/lib/python3.7/site-packages/pylint/checkers/refactoring.py", line 768, in <genexpr>
    if not isinstance(_child, astroid.ExceptHandler))
  File "/usr/lib/python3.7/site-packages/pylint/checkers/refactoring.py", line 725, in _is_node_return_ended
    funcdef_node = node.func.infered()[0]
AttributeError: 'Attribute' object has no attribute 'infered'
...

Changing to pylint component

Comment 5 Christian Dersch 2018-07-20 10:37:50 UTC
Please test with the latest build (pylint-2.0.0-1.fc29), the issue should be fixed there. Was a known issue with dev1 prerelease which you're using according to the traceback:

Traceback (most recent call last):
  File "/usr/bin/pylint-3", line 11, in <module>
    load_entry_point('pylint==2.0.0.dev1', 'console_scripts', 'pylint')()

Comment 6 Matej Habrnal 2018-07-20 12:23:12 UTC
We did a new build of gnome-abrt [1] and it works now. Closing as not a bug.

[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=28468473