You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I get to the chapter of building python I encounter the following error:
./configure --prefix=/usr \
--enable-shared \
--without-ensurepip
...
configure: creating ./config.status
./config.status: line 527: 0a1,737: command not found
./config.status: line 528: syntax error near unexpected token `newline'
./config.status: line 528: `> # This file is a shell script that caches the results of configure'
And it fails completely. When checking the file config.status we can see the error as reported:
exec 5>>config.log
{
echo
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
printf "%s\n" "$ac_log"
} >&5
0a1,737
> # This file is a shell script that caches the results of configure
> # tests run on this system so they can be shared between configure
> # scripts and configure runs, see configure's option --config-cache.
> # It is not useful on other systems. If it contains results you don't
> # want to keep, you may remove or edit it.
> #
> # config.status only pays attention to the cache file if you give it
> # the --recheck option to rerun configure.
> #
> # `ac_cv_env_foo' variables (set or unset) will be overridden when
> # loading this file, other *unset* `ac_cv_foo' will be assigned the
> # following values.
From there we can check were configure is failing by at least knowing the limits, because we know is between the two other code blocks.
The top code block exec 5>>config.log can be located to line 32280.
The bottom code block # This file is a shell script that caches the results of configure can be located to line 31281.
But this one is related to confcache.
At line 32280 we can se something interesting just below:
The lines (32290 and 32291) do not add any content to config.status and if you try to remove them, the ./configure step finishes correctly and you can build the code.
The problem is seen in versions:
3.12.2
3.12.3
3.12.4
3.12.5
Thank you and kind regards,
Gugo
CPython versions tested on:
3.12
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered:
I could not reproduce this with v3.12.5 and the bit at and after "0a1,737" above looks like a failed hunk from patch or similar. Did you apply any patches (manually or otherwise) to the source tree prior to building?
If you still think this is a bug in Python please give the full step-by-step instructions to reproduce it, starting from the original, clean Python source.
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
I am following the Linux from scratch 12.1.
When I get to the chapter of building python I encounter the following error:
And it fails completely. When checking the file config.status we can see the error as reported:
From there we can check were configure is failing by at least knowing the limits, because we know is between the two other code blocks.
At line 32280 we can se something interesting just below:
The lines (32290 and 32291) do not add any content to config.status and if you try to remove them, the ./configure step finishes correctly and you can build the code.
The problem is seen in versions:
Thank you and kind regards,
Gugo
CPython versions tested on:
3.12
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: