[ 
https://issues.apache.org/jira/browse/HADOOP-17723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang reassigned HADOOP-17723:
----------------------------------------

    Assignee: Wei-Chiu Chuang

> [build] python3 migration broke Docker container image for ARM
> --------------------------------------------------------------
>
>                 Key: HADOOP-17723
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17723
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.3.1, 3.4.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>
> Running the create-release script for Hadoop 3.3.1 on an ARM machine, docker 
> image fails to build:
> {noformat}
>     aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/usr/include/python3.6m -c 
> ast27/Parser/acceler.c -o build/temp.linux-aarch64-3.6/ast27/Parser/acceler.o 
>                                                                               
>                              In file included from 
> ast27/Parser/acceler.c:13:0:                                                  
>                               ast27/Parser/../Include/pgenheaders.h:8:10: 
> fatal error: Python.h: No such file or directory                              
>          #include "Python.h"                                                  
>                                                                       
> ^~~~~~~~~~                                                                    
>                                           compilation terminated.             
>                                                                               
>                 error: command 'aarch64-linux-gnu-gcc' failed with exit 
> status 1
> {noformat}
> The missing Python3.h requires python3-dev package: 
> https://stackoverflow.com/questions/21530577/fatal-error-python-h-no-such-file-or-directory



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to