Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884687 - [guru] dev-python/stdlibs-2022.6.8 fails tests (CLANG-STRICTER-SYSTEM)
Summary: [guru] dev-python/stdlibs-2022.6.8 fails tests (CLANG-STRICTER-SYSTEM)
Status: CONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-07 12:24 UTC by Agostino Sarubbo
Modified: 2024-05-14 19:12 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,56.59 KB, text/plain)
2022-12-07 12:24 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 2022-12-07 12:24:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/stdlibs-2022.6.8 fails tests (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-07 12:24:51 UTC
Created attachment 840627 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-07 12:24:52 UTC
Error(s) that match a know pattern:


AssertionError: 'epython' not found in frozenset({'copy', '_functools', 'asyncore', '_lzma', 'antigravity', 'unittest', 'shelve', '_curses_panel', '_multibytecodec', '_pyio', 'sre_parse', '_string', 'pickletools', 'crypt', '__phello__', 'csv', 'fileinput', 'turtle', 'cProfile', 'random', '_struct', 'cmd', 'tempfile', '_pydecimal', 'pathlib', '_weakrefset', 'cgitb', 'textwrap', 'queue', '_testconsole', 'io', 'keyword', 'smtplib', 'http', 'locale', 'marshal', 'bz2', '_posixsubprocess', 'mailcap', '_py_abc', '_codecs_kr', '_dummy_thread', '_codecs_jp', 'turtledemo', 'pprint', 'zlib', 'pwd', 'tty', 'json', 'winreg', '_compression', 'sqlite3', '_frozen_importlib', '_osx_support', '_stat', 'timeit', 'unicodedata', 'asyncio', 'zipapp', 'os', 'fractions', 'contextlib', 'ftplib', 'tkinter', 'uu', '_sre', 'xdrlib', 'heapq', 'lzma', 'zipfile', 'functools', 'shlex', 'ntpath', '_contextvars', '_codecs_tw', 'argparse', 'stringprep', 'telnetlib', 'plistlib', 'logging', 'bisect', 'tracemalloc', '_signal', 'optparse', '_bisect', '_testbuffer', 'xxlimited', 'mailbox', 'typing', '_xxsubinterpreters', 'token', 'string', 'uuid', 'idlelib', 'asynchat', 'pdb', 'array', 'resource', '_collections_abc', '_testimportmultiple', '_codecs', '_symtable', 'getpass', '_lsprof', 'ssl', 'spwd', 'binhex', 'numbers', 'msvcrt', '_threading_local', 'sre_constants', 'socket', 'symbol', '_bz2', 'quopri', '_ctypes_test', '_tracemalloc', 'distutils', 'urllib', '_blake2', 'errno', '_testinternalcapi', '_pickle', 'pyclbr', '__hello__', 'fnmatch', '_testmultiphase_nonascii_latin', '_posixshmem', 'gc', '_frozen_importlib_external', 'this', 'linecache', '_sha512', '_socket', 'pty', '_md5', 'smtpd', 'pipes', 'secrets', 'email', 'curses', 'ctypes', 'getopt', '_operator', 'audioop', '_opcode', '_tkinter', 'tabnanny', '_elementtree', 'xmlrpc', 'msilib', 'codecs', 'datetime', 'builtins', 'dummy_threading', 'time', 'tarfile', '_queue', '_datetime', 'ipaddress', 'nis', 'codeop', 'ossaudiodev', 'struct', 'mmap', '_codecs_iso2022', 'webbrowser', 'sndhdr', 'ast', '_strptime', '_xxtestfuzz', 'math', 'winsound', 'venv', 'formatter', '_weakref', 'hashlib', 'weakref', 'selectors', 'warnings', 'collections', 'wsgiref', 'lib2to3', 'filecmp', 'sysconfig', 'aifc', 'sunau', 'compileall', '_curses', '_collections', '_heapq', 'py_compile', '_ctypes', '_dbm', 'netrc', 'shutil', 'posix', 'xxsubtype', 'pyexpat', 'pydoc_data', 'abc', 'imp', '_statistics', '_scproxy', 'profile', '_io', 'gzip', 'xx', '__future__', 'atexit', 'nturl2path', '_sha256', 'traceback', '_overlapped', '_winapi', 'trace', 'decimal', 'ensurepip', 'select', '_testcapi', 'itertools', 'imaplib', 're', 'copyreg', '_compat_pickle', 'nt', '_crypt', 'inspect', 'types', 'sys', '_sitebuiltins', 'posixpath', 'threading', 'runpy', 'statistics', 'dataclasses', '_imp', 'faulthandler', '_markupbase', 'sre_compile', 'syslog', 'bdb', '_bootlocale', '_multiprocessing', 'binascii', 'wave', '_uuid', 'opcode', 'pydoc', 'dbm', 'stat', 'termios', 'signal', '_thread', 'code', 'gettext', 'readline', 'tokenize', 'multiprocessing', 'zipimport', 'configparser', 'poplib', '_gdbm', 'site', '_msi', 'grp', 'contextvars', '_ast', '_asyncio', 'cgi', 'chunk', 'doctest', 'rlcompleter', '_testmultiphase', 'fcntl', 'subprocess', '_random', 'hmac', 'mimetypes', 'encodings', 'calendar', 'pkgutil', '_sha3', 'colorsys', 'sched', 'html', 'importlib', 'genericpath', 'cmath', '_sha1', '_sqlite3', 'pstats', '_decimal', 'symtable', 'enum', 'socketserver', '_hashlib', '_warnings', '_locale', 'xml', 'modulefinder', 'imghdr', 'platform', 'reprlib', '_csv', 'parser', '_abc', 'concurrent', 'base64', 'nntplib', 'dis', '_codecs_hk', '_codecs_cn', 'difflib', '_ssl', 'pickle', '_json', 'operator', 'glob'})
FAIL: test_all_my_modules_are_there (stdlibs.tests.StdlibsTest)
FAILED (failures=1)
Comment 3 Larry the Git Cow gentoo-dev 2024-05-14 19:12:55 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c39a8d7b398080b6a9184723715273d4e4cc40f8

commit c39a8d7b398080b6a9184723715273d4e4cc40f8
Author:     Julien Roy <julien@jroy.ca>
AuthorDate: 2024-05-14 19:00:37 +0000
Commit:     Julien Roy <julien@jroy.ca>
CommitDate: 2024-05-14 19:00:37 +0000

    dev-python/stdlibs: enable py3.12
    
    Closes: https://bugs.gentoo.org/931431
    Bug: https://bugs.gentoo.org/884687
    Signed-off-by: Julien Roy <julien@jroy.ca>

 dev-python/stdlibs/stdlibs-2022.6.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)