Bug 1466116

Summary: thrift-0.10.0-4.fc27 FTBFS: line 49: fg: no job control
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: thriftAssignee: Will Benton <willb>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ctubbsii, milleruntime, willb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/2971484
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-04 21:18:14 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:
Bug Depends On: 1467518    
Bug Blocks:    

Description Petr Pisar 2017-06-29 05:57:31 UTC
thrift-0.10.0-4.fc27 fails to build in F27 because %install section fails:

make[1]: Leaving directory '/builddir/build/BUILD/thrift-0.10.0'
+ find /builddir/build/BUILDROOT/thrift-0.10.0-4.fc27.aarch64 -name '*.la' -exec rm -f '{}' ';'
+ xargs -r chmod 755
+ find /builddir/build/BUILDROOT/thrift-0.10.0-4.fc27.aarch64 -name fastbinary.so
+ find /builddir/build/BUILDROOT/thrift-0.10.0-4.fc27.aarch64 -name '*.erl' -or -name '*.hrl' -or -name '*.app'
+ xargs -r chmod 644
+ find /builddir/build/BUILDROOT/thrift-0.10.0-4.fc27.aarch64//usr/share/java -name libthrift-javadoc.jar -exec rm -f '{}' ';'
+ mkdir -p /builddir/build/BUILDROOT/thrift-0.10.0-4.fc27.aarch64/usr/share/maven-poms
+ install -pm 644 /builddir/build/SOURCES/libthrift-0.10.0.pom /builddir/build/BUILDROOT/thrift-0.10.0-4.fc27.aarch64/usr/share/maven-poms/JPP-libthrift.pom
+ %add_maven_depmap JPP-libthrift.pom libthrift.jar
/var/tmp/rpm-tmp.yyx4ml: line 49: fg: no job control
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.yyx4ml (%install)

A difference between working and failing build root is:

        java-1.8.0-openjdk-devel 	1:1.8.0.131-5.b12.fc27 	> 	1:1.8.0.131-7.b12.fc27
	javapackages-tools 	4.7.0-16.fc27 	> 	5.0.0-2.fc27
	glibc 	2.25.90-6.fc27 	> 	2.25.90-7.fc27
	mesa-libGL-devel 	17.1.2-2.fc27 	> 	17.1.3-2.fc27
	libffi 	3.1-10.fc26 	> 	3.1-11.fc27
	java-1.8.0-openjdk 	1:1.8.0.131-5.b12.fc27 	> 	1:1.8.0.131-7.b12.fc27
	java-1.8.0-openjdk-headless 	1:1.8.0.131-5.b12.fc27 	> 	1:1.8.0.131-7.b12.fc27
	libcrypt-nss 	2.25.90-6.fc27 	> 	2.25.90-7.fc27
	nspr 	4.14.0-2.fc27 	> 	4.15.0-1.fc27
	expat 	2.2.0-2.fc26 	> 	2.2.1-1.fc27
	glibc-devel 	2.25.90-6.fc27 	> 	2.25.90-7.fc27
	glibc-all-langpacks 	2.25.90-6.fc27 	> 	2.25.90-7.fc27
	nss-softokn 	3.30.2-2.fc27 	> 	3.31.0-2.fc27
	nss-util 	3.30.2-3.fc27 	> 	3.31.0-2.fc27
	glibc-common 	2.25.90-6.fc27 	> 	2.25.90-7.fc27
	copy-jdk-configs 	2.2-2.fc26 	> 	2.2-3.fc27
	mesa-libglapi 	17.1.2-2.fc27 	> 	17.1.3-2.fc27
	mesa-libGL 	17.1.2-2.fc27 	> 	17.1.3-2.fc27
	nss-softokn-freebl 	3.30.2-2.fc27 	> 	3.31.0-2.fc27
	expat-devel 	2.2.0-2.fc26 	> 	2.2.1-1.fc27
	kernel-headers 	4.12.0-0.rc5.git0.1.... 	> 	4.12.0-0.rc5.git2.1....
	glibc-headers 	2.25.90-6.fc27 	> 	2.25.90-7.fc27
	systemd-libs 	233-2.fc27 	> 	233-4.fc27
	curl 	7.54.1-1.fc27 	> 	7.54.1-2.fc27
	libcurl 	7.54.1-1.fc27 	> 	7.54.1-2.fc27
	mesa-libgbm 	17.1.2-2.fc27 	> 	17.1.3-2.fc27
	python3-beautifulsoup4 	4.6.0-1.fc27 	< 	
	mesa-libEGL 	17.1.2-2.fc27 	> 	17.1.3-2.fc27
	systemd 	233-2.fc27 	> 	233-4.fc27
	python3-lxml 	3.7.2-2.fc26 	< 	
	python3-html5lib 	1:0.999-13.fc26 	< 	
	python3-javapackages 	4.7.0-16.fc27 	< 	
	systemd-pam 	233-2.fc27 	> 	233-4.fc27
	cairo 	1.14.8-3.fc27 	> 	1.14.10-1.fc27
	libxslt 	1.1.29-1.fc27 	< 	
	python3-cssselect 	0.9.2-4.fc26 	< 	
	audit-libs 	2.7.6-1.fc27 	> 	2.7.7-1.fc27
	python3-six 	1.10.0-8.fc26 	< 	
	system-python 	3.6.1-7.fc27 	<

Comment 1 Christopher Tubbs 2017-07-06 23:37:03 UTC
Adding javapackages-local to the BuildRequires seemed to work fine, but the build failed on ppc64le for some reason. Notably, configure's checks for java and javac failed with a segmentation fault, which was pretty interesting. I wonder if Java even works on ppc64le at all right now.

https://koji.fedoraproject.org/koji/taskinfo?taskID=20368128

Comment 2 Petr Pisar 2017-07-07 12:10:48 UTC
The PowerPC failure is probably caused by broken glibc ≥ 2.25.90-17.fc27, see bug #1467833.

Comment 3 Christopher Tubbs 2017-08-04 21:18:14 UTC
Looks like the glibc fix fixed this as well. Builds seem happy again.