Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939182 - [guru] dev-python/xpybutil-0.0.6 fails to compile: xpybutil requires the X Python Binding
Summary: [guru] dev-python/xpybutil-0.0.6 fails to compile: xpybutil requires the X Py...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Devrin Talen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-06 15:26 UTC by Agostino Sarubbo
Modified: 2024-09-13 20:24 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,49.35 KB, text/plain)
2024-09-06 15:26 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-09-06 15:26:20 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/xpybutil-0.0.6 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-06 15:26:21 UTC
Created attachment 902247 [details]
build.log

build log and emerge --info
Comment 2 Devrin Talen 2024-09-13 20:08:37 UTC
Related to this code in setup.py:

try:
    from xpybutil.compat import xproto, xinerama, randr
except:
    print('')
    print('xpybutil requires the X Python Binding')
    print('See: http://cgit.freedesktop.org/xcb/xpyb/')
    print('More options: xpyb-ng:', 'https://github.com/dequis/xpyb-ng',
          'and xcffib:', 'https://github.com/tych0/xcffib')
    sys.exit(1)

I'll poke at this to see what dependency needs to be added.
Comment 3 Devrin Talen 2024-09-13 20:24:29 UTC
Looks like this failed because I originally didn't include a dependency on dev-python/xcffib, and therefore the tinderbox environment didn't have that installed.

The commit this was run off of is:
https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d5200d5a9fd54fbbb099da9ecbe7a7497146d0f3

The commit that fixed the missing dependency is:
https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e123e951c0e1712a4191c7ae654d8938bf3fb2c5

Considering this fixed.