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 - gnome-abrt: FTBFS in Fedora rawhide
Summary: gnome-abrt: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pylint
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christian Dersch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F29FTBFS
TreeView+ depends on / blocked
 
Reported: 2018-07-19 21:11 UTC by Mohan Boddu
Modified: 2018-07-20 12:23 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-20 12:23:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2018-07-19 21:12 UTC, Mohan Boddu
no flags Details
root.log (32.00 KB, text/plain)
2018-07-19 21:12 UTC, Mohan Boddu
no flags Details
state.log (631 bytes, text/plain)
2018-07-19 21:12 UTC, Mohan Boddu
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.