Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 1554434

Summary: comedilib-0.8.1-23.fc29: FTBFS - undefined reference to `minor'
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: comedilibAssignee: John Goulding <jgoulding>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: mboddu, rosset.filipe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-10 04:16:46 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:
Bug Depends On:    
Bug Blocks: 1602938    

Description Jitka Plesnikova 2018-03-12 16:38:29 UTC
Description of problem:
Package comedilib fails to build from source in Fedora rawhide.

DIE_RPATH_DIE="/usr/lib64:$DIE_RPATH_DIE" gcc -I../include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/comedi_test comedi_test-bufconfig.o comedi_test-cmd_1.o comedi_test-cmd_2.o comedi_test-cmd_3.o comedi_test-info.o comedi_test-insn_read.o comedi_test-insn_read_time.o comedi_test-inttrig.o comedi_test-lib.o comedi_test-main.o comedi_test-mmap.o comedi_test-mode0_read.o comedi_test-select.o  ../lib/.libs/ -lm
../lib/.libs/ undefined reference to `minor'
collect2: error: ld returned 1 exit status

Version-Release number of selected component (if applicable):

Steps to Reproduce:
koji build --scratch f29 comedilib-0.8.1-23.fc29.src.rpm

Additional info:
Glibc stopped including <sys/sysmacros.h> into <sys/types.h>
<>. Including
<sys/sysmacros.h> explicitly as documented in minor(3) should fix it.

This package is tracked by Koschei. See:

Comment 2 Jan Kurik 2018-08-14 10:11:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 3 Jitka Plesnikova 2018-08-14 15:01:00 UTC
*** Bug 1603689 has been marked as a duplicate of this bug. ***

Comment 4 Filipe Rosset 2019-07-10 04:16:46 UTC
Fixed in rawhide ->