Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906299 - dev-lang/python-3.11.3: bootstrap-prefix.sh fails on macOS / Darwin
Summary: dev-lang/python-3.11.3: bootstrap-prefix.sh fails on macOS / Darwin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-13 20:26 UTC by APN-Pucky
Modified: 2023-05-14 06:46 UTC (History)
1 user (show)

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


Attachments
build_STABLE_Darwin_Mac-1683986923400.local_21.6.0_Darwin_Kernel_Version_21.6.0__Thu_Mar__9_20_08_59_PST_2023;_root_xnu-8020.240.18.700.8~1_RELEASE_X86_64_x86_64_20230513144249.log.xz (build_STABLE_Darwin_Mac-1683986923400.local_21.6.0_Darwin_Kernel_Version_21.6.0__Thu_Mar__9_20_08_59_PST_2023;_root_xnu-8020.240.18.700.8~1_RELEASE_X86_64_x86_64_20230513144249.log.xz,11.42 KB, application/x-xz)
2023-05-13 20:26 UTC, APN-Pucky
Details
build_UNSTABLE_Darwin_Mac-1684003197561.local_21.6.0_Darwin_Kernel_Version_21.6.0__Thu_Mar__9_20_08_59_PST_2023;_root_xnu-8020.240.18.700.8~1_RELEASE_X86_64_x86_64_20230513202653.log.xz (build_UNSTABLE_Darwin_Mac-1684003197561.local_21.6.0_Darwin_Kernel_Version_21.6.0__Thu_Mar__9_20_08_59_PST_2023;_root_xnu-8020.240.18.700.8~1_RELEASE_X86_64_x86_64_20230513202653.log.xz,11.42 KB, application/x-xz)
2023-05-14 02:11 UTC, APN-Pucky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description APN-Pucky 2023-05-13 20:26:21 UTC
System:
Vagrant 2.3.4
Darwin_Mac-1683986923400.local_21.6.0_Darwin_Kernel_Version_21.6.0__Thu_Mar__9_20_08_59_PST_2023;_root_xnu-8020.240.18.700.8~1_RELEASE_X86_64_x86_64 STABLE prefix
Darwin Mac-1683986923400.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Mar  9 20:08:59 PST 2023; root:xnu-8020.240.18.700.8~1/RELEASE_X86_64 x86_64

Steps to reproduce the bug:
Run the bootstrap-prefix.sh in mode STABLE (default STABLE)

Error message:
Hmmmm, I was already afraid of this to happen.  Running
  /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/usr/bin/bash ./bootstrap-prefix.sh "/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix" stage3
somewhere failed :(  Details might be found in the build log:
  /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/temp/build.log
  (no build logs found?!?)
I have no clue, really.  Please find friendly folks in #gentoo-prefix on
irc.gentoo.org, gentoo-alt@lists.gentoo.org mailing list, or file a bug
at bugs.gentoo.org under Gentoo/Alt, Prefix Support.  This is most
inconvenient, and it crushed my ego.  Sorry, I give up.
Should you want to give it a try, there is /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/stage3.log

Extra info:
https://github.com/APN-Pucky/gentoo-prefix-tester/actions/runs/4967444297
Comment 1 APN-Pucky 2023-05-13 20:26:22 UTC
Created attachment 861640 [details]
build_STABLE_Darwin_Mac-1683986923400.local_21.6.0_Darwin_Kernel_Version_21.6.0__Thu_Mar__9_20_08_59_PST_2023;_root_xnu-8020.240.18.700.8~1_RELEASE_X86_64_x86_64_20230513144249.log.xz
Comment 2 APN-Pucky 2023-05-14 02:11:00 UTC
System:
Vagrant 2.3.4
Darwin_Mac-1684003197561.local_21.6.0_Darwin_Kernel_Version_21.6.0__Thu_Mar__9_20_08_59_PST_2023;_root_xnu-8020.240.18.700.8~1_RELEASE_X86_64_x86_64 UNSTABLE prefix
Darwin Mac-1684003197561.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Mar  9 20:08:59 PST 2023; root:xnu-8020.240.18.700.8~1/RELEASE_X86_64 x86_64

Steps to reproduce the bug:
Run the bootstrap-prefix.sh in mode UNSTABLE (default STABLE)

Error message:
Hmmmm, I was already afraid of this to happen.  Running
  /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/usr/bin/bash ./bootstrap-prefix.sh "/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix" stage3
somewhere failed :(  Details might be found in the build log:
  /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/temp/build.log
  (no build logs found?!?)
I have no clue, really.  Please find friendly folks in #gentoo-prefix on
irc.gentoo.org, gentoo-alt@lists.gentoo.org mailing list, or file a bug
at bugs.gentoo.org under Gentoo/Alt, Prefix Support.  This is most
inconvenient, and it crushed my ego.  Sorry, I give up.
Should you want to give it a try, there is /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/stage3.log

Extra info:
https://github.com/APN-Pucky/gentoo-prefix-tester/actions/runs/4967444297
Comment 3 APN-Pucky 2023-05-14 02:11:01 UTC
Created attachment 861645 [details]
build_UNSTABLE_Darwin_Mac-1684003197561.local_21.6.0_Darwin_Kernel_Version_21.6.0__Thu_Mar__9_20_08_59_PST_2023;_root_xnu-8020.240.18.700.8~1_RELEASE_X86_64_x86_64_20230513202653.log.xz
Comment 4 Fabian Groffen gentoo-dev 2023-05-14 06:24:53 UTC
now sure why your algorithm doesn't extract this error, it's at the bottom of your build.log:

x86_64-apple-darwin21-gcc  -Wsign-compare -DNDEBUG     -march=native -O2 -pipe -
fwrapv -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -W
strict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I.
/Include/internal  -I. -I./Include -I/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/tmp/usr/include/ncursesw   -DPy_BUILD_CORE_BUILTIN -c ./Modules/posixmodule.c -o Modules/posixmodule.o
./Modules/posixmodule.c: In function 'parse_posix_spawn_flags':
./Modules/posixmodule.c:194:64: warning: comparison between pointer and integer
  194 |                                 (posix_spawn != NULL && setsid != NULL)
      |                                                                ^~
./Modules/posixmodule.c:6034:13: note: in expansion of macro 'HAVE_POSIX_SPAWN_SETSID_RUNTIME'
 6034 |         if (HAVE_POSIX_SPAWN_SETSID_RUNTIME) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Modules/posixmodule.c: In function 'os_mknod_impl':
./Modules/posixmodule.c:10767:17: error: 'HAVE_MKNODAT_RUNTIME' undeclared (first use in this function); did you mean 'HAVE_MKDIRAT_RUNTIME'?
10767 |             if (HAVE_MKNODAT_RUNTIME) {
      |                 ^~~~~~~~~~~~~~~~~~~~
      |                 HAVE_MKDIRAT_RUNTIME
./Modules/posixmodule.c:10767:17: note: each undeclared identifier is reported only once for each function it appears in
x86_64-apple-darwin21-gcc  -Wsign-compare -DNDEBUG     -march=native -O2 -pipe -fwrapv -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal  -I. -I./Include -I/Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/tmp/usr/include/ncursesw   -DPy_BUILD_CORE_BUILTIN -c ./Modules/signalmodule.c -o Modules/signalmodule.o
./Modules/posixmodule.c: In function 'probe_mknodat':
./Modules/posixmodule.c:15659:22: error: 'HAVE_MKNODAT_RUNTIME' undeclared (first use in this function); did you mean 'HAVE_MKDIRAT_RUNTIME'?
15659 | PROBE(probe_mknodat, HAVE_MKNODAT_RUNTIME)
      |                      ^~~~~~~~~~~~~~~~~~~~
./Modules/posixmodule.c:15619:11: note: in definition of macro 'PROBE'
15619 |       if (test) {        \
      |           ^~~~
make: *** [Makefile:2695: Modules/posixmodule.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: dev-lang/python-3.11.3::gentoo_prefix failed (compile phase):
 *   emake failed
 *
Comment 5 Fabian Groffen gentoo-dev 2023-05-14 06:45:57 UTC
 * Applying patches from /Users/runner/work/gentoo-prefix-tester/gentoo-prefix-tester/gentoo-prefix/tmp/var/tmp/portage/dev-lang/python-3.11.3/work/python-prefix-gentoo-3.11.3-patches-r1 ...

this should've been python-prefix-gentoo-3.11.3-patches-r2

I'll bump the bootstrap tree.
Comment 6 Larry the Git Cow gentoo-dev 2023-05-14 06:46:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3fe243b695ad34fdb630b2ed096735d7d85c10fc

commit 3fe243b695ad34fdb630b2ed096735d7d85c10fc
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2023-05-14 06:46:06 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2023-05-14 06:46:06 +0000

    scripts/bootstrap-prefix: bump bootstrap tree
    
    Closes: https://bugs.gentoo.org/906299
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)