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 bugzilla.redhat.com.
Bug 1554434 - comedilib-0.8.1-23.fc29: FTBFS - libcomedi.so: undefined reference to `minor'
Summary: comedilib-0.8.1-23.fc29: FTBFS - libcomedi.so: undefined reference to `minor'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: comedilib
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: John Goulding
QA Contact: Fedora Extras Quality Assurance
URL: http://apps.fedoraproject.org/koschei...
Whiteboard:
: 1603689 (view as bug list)
Depends On:
Blocks: F29FTBFS
TreeView+ depends on / blocked
 
Reported: 2018-03-12 16:38 UTC by Jitka Plesnikova
Modified: 2019-07-10 04:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-10 04:16:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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/libcomedi.so -lm
../lib/.libs/libcomedi.so: undefined reference to `minor'
collect2: error: ld returned 1 exit status

Version-Release number of selected component (if applicable):
0.8.1-23.fc29

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>
<https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html>. Including
<sys/sysmacros.h> explicitly as documented in minor(3) should fix it.

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

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 -> https://koji.fedoraproject.org/koji/buildinfo?buildID=1310726


Note You need to log in before you can comment on or make changes to this bug.