Bug 1426296

Summary: vim: FTBFS with python3-3.6.0-18.fc26
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gchamoul, karsten, moshima.web, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://apps.fedoraproject.org/koschei/package/vim
Whiteboard:
Fixed In Version: vim-8.0.347-2.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-24 18:47:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jitka Plesnikova 2017-02-23 16:03:24 UTC
Description of problem:
Package vim fails to build from source in Fedora Rawhide.

gcc -c -I. -I/usr/local/include/python3.6m -DPYTHON3_HOME='L"/usr/local"' -pthread -DDYNAMIC_PYTHON3_DLL=\"libpython3.6m.so.1.0\"  -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread    -O2 -g -pipe -Wall -Werror=format-security -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/if_python3.o if_python3.c
if_python3.c:75:10: fatal error: Python.h: No such file or directory
 #include <Python.h>
          ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:3073: objects/if_python3.o] Error 1

Version-Release number of selected component (if applicable):
8.0.329-1.fc26

Steps to Reproduce:
koji build --scratch f26 vim-8.0.329-1.fc26.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/vim


It seems that it is related to changes in python3-3.6.0-18.fc26.

Dependency changes since last successful build:
 	python3-devel 	3.6.0-12.fc26 	> 	3.6.0-18.fc26
	python2-devel 	2.7.13-4.fc26 	> 	2.7.13-5.fc26
	libarchive 	3.2.2-2.fc26 	> 	3.2.2-3.fc26
	system-python-libs 	3.6.0-12.fc26 	> 	3.6.0-18.fc26
	python3-rpm-macros 	3-18.fc26 	> 	3-19.fc26
	python2 	2.7.13-4.fc26 	> 	2.7.13-5.fc26
	python3 	3.6.0-12.fc26 	> 	3.6.0-18.fc26
	python3-libs 	3.6.0-12.fc26 	> 	3.6.0-18.fc26
	python2-libs 	2.7.13-4.fc26 	> 	2.7.13-5.fc26
	python2-rpm-macros 	3-18.fc26 	> 	3-19.fc26
	libgomp 	7.0.1-0.8.fc26 	> 	7.0.1-0.9.fc26
	libgcc 	7.0.1-0.8.fc26 	> 	7.0.1-0.9.fc26
	python-rpm-macros 	3-18.fc26 	> 	3-19.fc26
	pcre-devel 	8.40-2.fc26 	> 	8.40-3.fc26
	pcre-utf32 	8.40-2.fc26 	> 	8.40-3.fc26
	libstdc++ 	7.0.1-0.8.fc26 	> 	7.0.1-0.9.fc26
	python3-setuptools 	34.2.0-1.fc26 	> 	34.2.0-2.fc26
	pcre-cpp 	8.40-2.fc26 	> 	8.40-3.fc26
	python2-setuptools 	34.2.0-1.fc26 	> 	34.2.0-2.fc26
	python-srpm-macros 	3-18.fc26 	> 	3-19.fc26
	pcre 	8.40-2.fc26 	> 	8.40-3.fc26
	pcre-utf16 	8.40-2.fc26 	> 	8.40-3.fc26
	system-python 	3.6.0-12.fc26 	> 	3.6.0-18.fc26
	sqlite-libs 	3.16.2-3.fc26 	> 	3.17.0-1.fc26
	kernel-headers 	4.10.0-0.rc8.git2.1.... 	> 	4.10.0-1.fc26
	cpp 	7.0.1-0.8.fc26 	> 	7.0.1-0.9.fc26
	libstdc++-devel 	7.0.1-0.8.fc26 	> 	7.0.1-0.9.fc26
	gcc 	7.0.1-0.8.fc26 	> 	7.0.1-0.9.fc26
	diffutils 	3.5-1.fc26 	> 	3.5-3.fc26
	gcc-c++ 	7.0.1-0.8.fc26 	> 	7.0.1-0.9.fc26

Comment 1 Zdenek Dohnal 2017-02-24 11:46:02 UTC
Hi Jitka,

thank you for reporting and list of dependency changes, I'll look into it.

Comment 2 Zdenek Dohnal 2017-02-24 18:47:34 UTC
Built as vim-8.0.347-2.fc26 https://koji.fedoraproject.org/koji/taskinfo?taskID=18034899 . Closing as RAWHIDE.