Bug 1402844

Summary: comedilib: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: comedilibAssignee: Marek Mahut <mmahut>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mmahut
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://apps.fedoraproject.org/koschei/package/comedilib
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-10 12:16:51 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:

Description Jitka Plesnikova 2016-12-08 12:56:38 UTC
Description of problem:
Package comedilib fails to build from source in Fedora Rawhide.

 gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/var\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Werror=implicit-function-declaration -Werror=implicit-int -c calib.c  -fPIC -DPIC -o .libs/libcomedi_la-calib.o
calib.c: In function '_comedi_get_default_calibration_path':
calib.c:188:6: error: implicit declaration of function 'fstat' [-Werror=implicit-function-declaration]
  if( fstat( comedi_fileno( dev ), &file_stats ) < 0 )
      ^~~~~

Version-Release number of selected component (if applicable):
0.8.1-18.fc25

Steps to Reproduce:
koji build --scratch f26 comedilib-0.8.1-18.fc25.src.rpm

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

The list of dependency changes since last successful build can be found:
https://apps.fedoraproject.org/koschei/build/2387876

Comment 1 Jitka Plesnikova 2017-02-10 12:16:51 UTC
It builds again since these changes in buildroot:

https://apps.fedoraproject.org/koschei/build/2407667

Dependency changes since last build
 	grep 	2.26-2.fc26 	> 	2.27-1.fc26
	glibc 	2.24.90-21.fc26 	> 	2.24.90-22.fc26
	krb5-libs 	1.15-3.fc26.beta2.0 	> 	1.15-4.fc26
	glibc-common 	2.24.90-21.fc26 	> 	2.24.90-22.fc26
	glibc-all-langpacks 	2.24.90-21.fc26 	> 	2.24.90-22.fc26
	libcrypt-nss 	2.24.90-21.fc26 	> 	2.24.90-22.fc26
	libdb 	5.3.28-15.fc26 	> 	5.3.28-16.fc26
	redhat-rpm-config 	60-1.fc26 	> 	61-1.fc26
	glibc-devel 	2.24.90-21.fc26 	> 	2.24.90-22.fc26
	cracklib 	2.9.6-3.fc25 	> 	2.9.6-4.fc26
	kernel-headers 	4.9.0-0.rc7.git3.1.... 	> 	4.9.0-0.rc8.git3.1....
	setup 	2.10.4-1.fc25 	> 	2.10.5-1.fc26
	glibc-headers 	2.24.90-21.fc26 	> 	2.24.90-22.fc26
	system-python-libs 	3.5.2-6.fc26 	> 	3.5.2-7.fc26
	gnutls 	3.5.6-1.fc26 	> 	3.5.7-1.fc26
	libdb-utils 	5.3.28-15.fc26 	> 	5.3.28-16.fc26
	perl-Term-ANSIColor 	4.05-2.fc25 	> 	4.06-1.fc26