Skip to content

bpo-42681: Fix test_curses failures related to COLOR_PAIRS #24089

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jan 4, 2021

@serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir skip news 🔨 test-with-buildbots Test PR w/ buildbots; report in status section labels Jan 4, 2021
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit b588847 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot added awaiting core review and removed 🔨 test-with-buildbots Test PR w/ buildbots; report in status section labels Jan 4, 2021
@serhiy-storchaka serhiy-storchaka added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jan 4, 2021
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit d89dbb1 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jan 4, 2021
@serhiy-storchaka serhiy-storchaka added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jan 4, 2021
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit 80a9ce2 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jan 4, 2021
@serhiy-storchaka serhiy-storchaka added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jan 4, 2021
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit c0ccb2f 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jan 4, 2021
@serhiy-storchaka serhiy-storchaka added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jan 4, 2021
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit 6e4596a 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jan 4, 2021
@serhiy-storchaka serhiy-storchaka added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jan 4, 2021
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit 8610b63 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jan 4, 2021
@serhiy-storchaka serhiy-storchaka merged commit 59f9b4e into python:master Jan 5, 2021
@serhiy-storchaka serhiy-storchaka deleted the test-curses-color-pairs branch January 5, 2021 07:13
@serhiy-storchaka serhiy-storchaka added the needs backport to 3.9 only security fixes label Jan 5, 2021
@miss-islington
Copy link
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.9 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 59f9b4e4509be67494f3d45489fa55523175ff69 3.9

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Jan 5, 2021
…honGH-24089)

On ncurses 6.1 pair numbers are limited by SHORT_MAX-1, even
with extended color support.

Improve error reporting and tests for color functions..
(cherry picked from commit 59f9b4e)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Jan 5, 2021
@bedevere-bot
Copy link

GH-24113 is a backport of this pull request to the 3.9 branch.

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x Fedora LTO + PGO PR has failed when building commit ad76ab2.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/403/builds/62) and take a look at the build logs.
  4. Check if the failure is related to this commit (ad76ab2) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/403/builds/62

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 304        
remote: Enumerating objects: 239        
remote: Enumerating objects: 429, done.        
remote: Counting objects:   0% (1/429)        
remote: Counting objects:   1% (5/429)        
remote: Counting objects:   2% (9/429)        
remote: Counting objects:   3% (13/429)        
remote: Counting objects:   4% (18/429)        
remote: Counting objects:   5% (22/429)        
remote: Counting objects:   6% (26/429)        
remote: Counting objects:   7% (31/429)        
remote: Counting objects:   8% (35/429)        
remote: Counting objects:   9% (39/429)        
remote: Counting objects:  10% (43/429)        
remote: Counting objects:  11% (48/429)        
remote: Counting objects:  12% (52/429)        
remote: Counting objects:  13% (56/429)        
remote: Counting objects:  14% (61/429)        
remote: Counting objects:  15% (65/429)        
remote: Counting objects:  16% (69/429)        
remote: Counting objects:  17% (73/429)        
remote: Counting objects:  18% (78/429)        
remote: Counting objects:  19% (82/429)        
remote: Counting objects:  20% (86/429)        
remote: Counting objects:  21% (91/429)        
remote: Counting objects:  22% (95/429)        
remote: Counting objects:  23% (99/429)        
remote: Counting objects:  24% (103/429)        
remote: Counting objects:  25% (108/429)        
remote: Counting objects:  26% (112/429)        
remote: Counting objects:  27% (116/429)        
remote: Counting objects:  28% (121/429)        
remote: Counting objects:  29% (125/429)        
remote: Counting objects:  30% (129/429)        
remote: Counting objects:  31% (133/429)        
remote: Counting objects:  32% (138/429)        
remote: Counting objects:  33% (142/429)        
remote: Counting objects:  34% (146/429)        
remote: Counting objects:  35% (151/429)        
remote: Counting objects:  36% (155/429)        
remote: Counting objects:  37% (159/429)        
remote: Counting objects:  38% (164/429)        
remote: Counting objects:  39% (168/429)        
remote: Counting objects:  40% (172/429)        
remote: Counting objects:  41% (176/429)        
remote: Counting objects:  42% (181/429)        
remote: Counting objects:  43% (185/429)        
remote: Counting objects:  44% (189/429)        
remote: Counting objects:  45% (194/429)        
remote: Counting objects:  46% (198/429)        
remote: Counting objects:  47% (202/429)        
remote: Counting objects:  48% (206/429)        
remote: Counting objects:  49% (211/429)        
remote: Counting objects:  50% (215/429)        
remote: Counting objects:  51% (219/429)        
remote: Counting objects:  52% (224/429)        
remote: Counting objects:  53% (228/429)        
remote: Counting objects:  54% (232/429)        
remote: Counting objects:  55% (236/429)        
remote: Counting objects:  56% (241/429)        
remote: Counting objects:  57% (245/429)        
remote: Counting objects:  58% (249/429)        
remote: Counting objects:  59% (254/429)        
remote: Counting objects:  60% (258/429)        
remote: Counting objects:  61% (262/429)        
remote: Counting objects:  62% (266/429)        
remote: Counting objects:  63% (271/429)        
remote: Counting objects:  64% (275/429)        
remote: Counting objects:  65% (279/429)        
remote: Counting objects:  66% (284/429)        
remote: Counting objects:  67% (288/429)        
remote: Counting objects:  68% (292/429)        
remote: Counting objects:  69% (297/429)        
remote: Counting objects:  70% (301/429)        
remote: Counting objects:  71% (305/429)        
remote: Counting objects:  72% (309/429)        
remote: Counting objects:  73% (314/429)        
remote: Counting objects:  74% (318/429)        
remote: Counting objects:  75% (322/429)        
remote: Counting objects:  76% (327/429)        
remote: Counting objects:  77% (331/429)        
remote: Counting objects:  78% (335/429)        
remote: Counting objects:  79% (339/429)        
remote: Counting objects:  80% (344/429)        
remote: Counting objects:  81% (348/429)        
remote: Counting objects:  82% (352/429)        
remote: Counting objects:  83% (357/429)        
remote: Counting objects:  84% (361/429)        
remote: Counting objects:  85% (365/429)        
remote: Counting objects:  86% (369/429)        
remote: Counting objects:  87% (374/429)        
remote: Counting objects:  88% (378/429)        
remote: Counting objects:  89% (382/429)        
remote: Counting objects:  90% (387/429)        
remote: Counting objects:  91% (391/429)        
remote: Counting objects:  92% (395/429)        
remote: Counting objects:  93% (399/429)        
remote: Counting objects:  94% (404/429)        
remote: Counting objects:  95% (408/429)        
remote: Counting objects:  96% (412/429)        
remote: Counting objects:  97% (417/429)        
remote: Counting objects:  98% (421/429)        
remote: Counting objects:  99% (425/429)        
remote: Counting objects: 100% (429/429)        
remote: Counting objects: 100% (429/429), done.        
remote: Compressing objects:   7% (1/13)        
remote: Compressing objects:  15% (2/13)        
remote: Compressing objects:  23% (3/13)        
remote: Compressing objects:  30% (4/13)        
remote: Compressing objects:  38% (5/13)        
remote: Compressing objects:  46% (6/13)        
remote: Compressing objects:  53% (7/13)        
remote: Compressing objects:  61% (8/13)        
remote: Compressing objects:  69% (9/13)        
remote: Compressing objects:  76% (10/13)        
remote: Compressing objects:  84% (11/13)        
remote: Compressing objects:  92% (12/13)        
remote: Compressing objects: 100% (13/13)        
remote: Compressing objects: 100% (13/13), done.        
Receiving objects:   0% (1/733)
Receiving objects:   1% (8/733)
Receiving objects:   2% (15/733)
Receiving objects:   3% (22/733)
Receiving objects:   4% (30/733)
Receiving objects:   5% (37/733)
Receiving objects:   6% (44/733)
Receiving objects:   7% (52/733)
Receiving objects:   8% (59/733)
Receiving objects:   9% (66/733)
Receiving objects:  10% (74/733)
Receiving objects:  11% (81/733)
Receiving objects:  12% (88/733)
Receiving objects:  13% (96/733)
Receiving objects:  14% (103/733)
Receiving objects:  15% (110/733)
Receiving objects:  16% (118/733)
Receiving objects:  17% (125/733)
Receiving objects:  18% (132/733)
Receiving objects:  19% (140/733)
Receiving objects:  20% (147/733)
Receiving objects:  21% (154/733)
Receiving objects:  22% (162/733)
Receiving objects:  23% (169/733)
Receiving objects:  24% (176/733)
Receiving objects:  25% (184/733)
Receiving objects:  26% (191/733)
Receiving objects:  27% (198/733)
Receiving objects:  28% (206/733)
Receiving objects:  29% (213/733)
Receiving objects:  30% (220/733)
Receiving objects:  31% (228/733)
Receiving objects:  32% (235/733)
Receiving objects:  33% (242/733)
Receiving objects:  34% (250/733)
Receiving objects:  35% (257/733)
Receiving objects:  36% (264/733)
Receiving objects:  37% (272/733)
Receiving objects:  38% (279/733)
Receiving objects:  39% (286/733)
Receiving objects:  40% (294/733)
Receiving objects:  41% (301/733)
Receiving objects:  42% (308/733)
Receiving objects:  43% (316/733)
Receiving objects:  44% (323/733)
Receiving objects:  45% (330/733)
Receiving objects:  46% (338/733)
Receiving objects:  47% (345/733)
Receiving objects:  48% (352/733)
Receiving objects:  49% (360/733)
Receiving objects:  50% (367/733)
Receiving objects:  51% (374/733)
Receiving objects:  52% (382/733)
Receiving objects:  53% (389/733)
Receiving objects:  54% (396/733)
Receiving objects:  55% (404/733)
Receiving objects:  56% (411/733)
Receiving objects:  57% (418/733)
Receiving objects:  58% (426/733)
Receiving objects:  59% (433/733)
Receiving objects:  60% (440/733)
Receiving objects:  61% (448/733)
Receiving objects:  62% (455/733)
Receiving objects:  63% (462/733)
Receiving objects:  64% (470/733)
Receiving objects:  65% (477/733)
Receiving objects:  66% (484/733)
Receiving objects:  67% (492/733)
Receiving objects:  68% (499/733)
Receiving objects:  69% (506/733)
Receiving objects:  70% (514/733)
Receiving objects:  71% (521/733)
Receiving objects:  72% (528/733)
Receiving objects:  73% (536/733)
Receiving objects:  74% (543/733)
Receiving objects:  75% (550/733)
Receiving objects:  76% (558/733)
Receiving objects:  77% (565/733)
Receiving objects:  78% (572/733)
Receiving objects:  79% (580/733)
Receiving objects:  80% (587/733)
remote: Total 733 (delta 420), reused 417 (delta 416), pack-reused 304        
Receiving objects:  81% (594/733)
Receiving objects:  82% (602/733)
Receiving objects:  83% (609/733)
Receiving objects:  84% (616/733)
Receiving objects:  85% (624/733)
Receiving objects:  86% (631/733)
Receiving objects:  87% (638/733)
Receiving objects:  88% (646/733)
Receiving objects:  89% (653/733)
Receiving objects:  90% (660/733)
Receiving objects:  91% (668/733)
Receiving objects:  92% (675/733)
Receiving objects:  93% (682/733)
Receiving objects:  94% (690/733)
Receiving objects:  95% (697/733)
Receiving objects:  96% (704/733)
Receiving objects:  97% (712/733)
Receiving objects:  98% (719/733)
Receiving objects:  99% (726/733)
Receiving objects: 100% (733/733)
Receiving objects: 100% (733/733), 299.04 KiB | 11.96 MiB/s, done.
Resolving deltas:   0% (0/566)
Resolving deltas:   1% (11/566)
Resolving deltas:   2% (14/566)
Resolving deltas:   3% (18/566)
Resolving deltas:   5% (31/566)
Resolving deltas:   8% (46/566)
Resolving deltas:   9% (52/566)
Resolving deltas:  10% (58/566)
Resolving deltas:  11% (65/566)
Resolving deltas:  12% (68/566)
Resolving deltas:  13% (78/566)
Resolving deltas:  14% (81/566)
Resolving deltas:  15% (87/566)
Resolving deltas:  16% (96/566)
Resolving deltas:  17% (98/566)
Resolving deltas:  18% (103/566)
Resolving deltas:  19% (109/566)
Resolving deltas:  21% (123/566)
Resolving deltas:  22% (128/566)
Resolving deltas:  23% (131/566)
Resolving deltas:  24% (137/566)
Resolving deltas:  25% (143/566)
Resolving deltas:  26% (150/566)
Resolving deltas:  30% (170/566)
Resolving deltas:  31% (176/566)
Resolving deltas:  34% (193/566)
Resolving deltas:  35% (201/566)
Resolving deltas:  36% (205/566)
Resolving deltas:  37% (214/566)
Resolving deltas:  38% (218/566)
Resolving deltas:  39% (222/566)
Resolving deltas:  40% (228/566)
Resolving deltas:  41% (233/566)
Resolving deltas:  42% (240/566)
Resolving deltas:  43% (245/566)
Resolving deltas:  44% (251/566)
Resolving deltas:  51% (292/566)
Resolving deltas:  53% (304/566)
Resolving deltas:  54% (307/566)
Resolving deltas:  55% (314/566)
Resolving deltas:  57% (325/566)
Resolving deltas:  61% (348/566)
Resolving deltas:  62% (351/566)
Resolving deltas:  63% (358/566)
Resolving deltas:  64% (363/566)
Resolving deltas:  65% (370/566)
Resolving deltas:  66% (375/566)
Resolving deltas:  68% (390/566)
Resolving deltas:  69% (392/566)
Resolving deltas:  71% (407/566)
Resolving deltas:  72% (409/566)
Resolving deltas:  73% (418/566)
Resolving deltas:  74% (419/566)
Resolving deltas:  75% (425/566)
Resolving deltas:  76% (431/566)
Resolving deltas:  77% (436/566)
Resolving deltas:  78% (442/566)
Resolving deltas:  79% (449/566)
Resolving deltas:  80% (453/566)
Resolving deltas:  81% (459/566)
Resolving deltas:  82% (465/566)
Resolving deltas:  83% (470/566)
Resolving deltas:  84% (478/566)
Resolving deltas:  85% (482/566)
Resolving deltas:  86% (487/566)
Resolving deltas:  87% (493/566)
Resolving deltas:  88% (501/566)
Resolving deltas:  89% (506/566)
Resolving deltas:  90% (511/566)
Resolving deltas:  91% (516/566)
Resolving deltas:  92% (522/566)
Resolving deltas:  93% (527/566)
Resolving deltas:  94% (534/566)
Resolving deltas:  95% (538/566)
Resolving deltas:  96% (544/566)
Resolving deltas:  97% (550/566)
Resolving deltas:  98% (556/566)
Resolving deltas:  99% (561/566)
Resolving deltas: 100% (566/566)
Resolving deltas: 100% (566/566), completed with 164 local objects.
From https://github.com/python/cpython
 * branch                  refs/pull/24113/merge -> FETCH_HEAD
Switched to a new branch 'refs/pull/24113/merge'

find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
make[2]: [Makefile:1855: clean-retain-profile] Error 1 (ignored)
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5717:25,
    inlined from ‘assemble’ at Python/compile.c:6056:18:
Python/compile.c:5671:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5671 |         *lnotab++ = k;
      |         ~~~~~~~~~~^~~
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5717:25,
    inlined from ‘assemble’ at Python/compile.c:6056:18:
Python/compile.c:5671:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5671 |         *lnotab++ = k;
      |                   ^
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5717:25,
    inlined from ‘assemble’ at Python/compile.c:6056:18:
Python/compile.c:5671:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5671 |         *lnotab++ = k;
      |                   ^
In function ‘assemble_lnotab’,
    inlined from ‘assemble_emit’ at Python/compile.c:5717:0,
    inlined from ‘assemble’ at Python/compile.c:6056:0:
Python/compile.c:5671: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5671 |         *lnotab++ = k;
      | 
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Modules/_pickle.c: In function ‘load_int’:
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Modules/_pickle.c:5181:17: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 5181 |         value = PyLong_FromString(s, NULL, 0);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Modules/socketmodule.c: In function ‘getsockaddrarg’:
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Modules/socketmodule.c:2395:9: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
 2395 |         strncpy((char *)sa->salg_name, name, sizeof(sa->salg_name));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Parser/listnode.c: In function ‘list1node’:
Parser/listnode.c:71:1: warning: ‘/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Parser/listnode.gcda’ profile count data file not found [-Wmissing-profile]
   71 | }
      | ^
Python/frozenmain.c: In function ‘Py_FrozenMain’:
Python/frozenmain.c:129:1: warning: ‘/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/frozenmain.gcda’ profile count data file not found [-Wmissing-profile]
  129 | }
      | ^
Python/pyfpe.c: In function ‘PyFPE_dummy’:
Python/pyfpe.c:15:1: warning: ‘/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/pyfpe.gcda’ profile count data file not found [-Wmissing-profile]
   15 | }
      | ^
/usr/bin/ld: python.lto.o: in function `run_mod':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/pythonrun.c:1230: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `symtable_add_def_helper':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/symtable.c:1018: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `builtin_compile':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/bltinmodule.c:808: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `Py_CompileStringObject':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/pythonrun.c:1313: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `symtable_lookup':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/symtable.c:1004: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_record_directive':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/symtable.c:1158: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `_Py_compile_string':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/./Modules/_peg_parser.c:74: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: python.lto.o: in function `type_new':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Objects/typeobject.c:2532: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o: in function `symtable_visit_expr':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/symtable.c:1018: undefined reference to `_Py_Mangle'
/usr/bin/ld: python.lto.o:/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/symtable.c:1018: undefined reference to `_Py_Mangle'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:602: python] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: _testembed.lto.o: in function `run_mod':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/pythonrun.c:1230: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `builtin_compile':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/bltinmodule.c:808: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `Py_CompileStringObject':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/pythonrun.c:1313: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `symtable_lookup':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/symtable.c:1004: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_record_directive':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/symtable.c:1158: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `_Py_compile_string':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/./Modules/_peg_parser.c:74: undefined reference to `PyAST_CompileObject'
/usr/bin/ld: _testembed.lto.o: in function `type_new':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Objects/typeobject.c:2532: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_add_def_helper':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/symtable.c:1018: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o: in function `symtable_visit_expr':
/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/symtable.c:1018: undefined reference to `_Py_Mangle'
/usr/bin/ld: _testembed.lto.o:/home/dje/cpython-buildarea/pull_request.edelsohn-fedora-z.lto-pgo/build/Python/symtable.c:1018: undefined reference to `_Py_Mangle'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:737: Programs/_testembed] Error 1
make: *** [Makefile:545: profile-opt] Error 2

serhiy-storchaka added a commit that referenced this pull request Jan 5, 2021
…24089) (GH-24113)

On ncurses 6.1 pair numbers are limited by SHORT_MAX-1.

Improve error reporting and tests for color functions.
(cherry picked from commit 59f9b4e)
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Jan 5, 2021
pythonGH-24089) (pythonGH-24113)

On ncurses 6.1 pair numbers are limited by SHORT_MAX-1.

Improve error reporting and tests for color functions.
(cherry picked from commit 59f9b4e)
(cherry picked from commit 9b3a53a)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this pull request Jan 5, 2021
GH-24089) (GH-24113) (GH-24116)

On ncurses 6.1 pair numbers are limited by SHORT_MAX-1.

Improve error reporting and tests for color functions.
(cherry picked from commit 59f9b4e)
(cherry picked from commit 9b3a53a)
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
…24089)

On ncurses 6.1 pair numbers are limited by SHORT_MAX-1, even
with extended color support.

Improve error reporting and tests for color functions.
@serhiy-storchaka serhiy-storchaka removed their assignment Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants