Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Can't rebuild cdrkit in mock because of error.
Version-Release number of selected component (if applicable):
cdrkit-1.1.9-12.el6.src.rpm
How reproducible:
* always (build on rhel6.6-server)
Steps to reproduce:
* Get package from ftp.redhat.com
* Build it in mock
Actual results:
Not builded. Errors.
from build.log:
/builddir/build/BUILD/cdrkit-1.1.9/librols/../include/utypes.h:210: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Sizeof'
/builddir/build/BUILD/cdrkit-1.1.9/librols/../include/utypes.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'No'
/builddir/build/BUILD/cdrkit-1.1.9/librols/../include/utypes.h:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'No'
Building C object librols/CMakeFiles/rols.dir/astoull.o
cd /builddir/build/BUILD/cdrkit-1.1.9/fedora/librols && /usr/bin/cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Werror -Wno-unused-function -Wno-unused-variable -fno-strict-aliasing -I/builddir/build/BUILD/cdrkit-1.1.9/librols/../include -I/builddir/build/BUILD/cdrkit-1.1.9/librols/../libhfs_iso -I/builddir/build/BUILD/cdrkit-1.1.9/fedora -I/builddir/build/BUILD/cdrkit-1.1.9/librols/../wodim -o CMakeFiles/rols.dir/astoull.o -c /builddir/build/BUILD/cdrkit-1.1.9/librols/astoull.c
:
/builddir/build/BUILD/cdrkit-1.1.9/librols/../include/mconfig.h:59:70: error: xconfig.h: No such file or directory
make[2]: *** [librols/CMakeFiles/rols.dir/astoll.o] Error 1
In file included from /builddir/build/BUILD/cdrkit-1.1.9/libusal/usaltimes.c:34:
/builddir/build/BUILD/cdrkit-1.1.9/libusal/../include/mconfig.h:59:70: error: xconfig.h: No such file or directory
make[2]: *** [librols/CMakeFiles/rols.dir/breakline.o] Error 1
In file included from /builddir/build/BUILD/cdrkit-1.1.9/libhfs_iso/data.c:33:
/builddir/build/BUILD/cdrkit-1.1.9/libhfs_iso/../include/mconfig.h:59:70: error: xconfig.h: No such file or directory
In file included from /builddir/build/BUILD/cdrkit-1.1.9/libhfs_iso/btree.c:33:
/builddir/build/BUILD/cdrkit-1.1.9/libhfs_iso/../include/mconfig.h:59:70: error: xconfig.h: No such file or directory
In file included from /builddir/build/BUILD/cdrkit-1.1.9/librols/astoull.c:45:
/builddir/build/BUILD/cdrkit-1.1.9/librols/../include/mconfig.h:59:70: error: xconfig.h: No such file or directory
cc1: warnings being treated as errors
/builddir/build/BUILD/cdrkit-1.1.9/libusal/usaltimes.c: In function '__usal_times':
/builddir/build/BUILD/cdrkit-1.1.9/libusal/usaltimes.c:53: error: implicit declaration of function 'gettimeofday'
Comment 2Frantisek Kluknavsky
2015-03-19 15:09:33 UTC
Builds in RHEL-6.4, fails in RHEL-6.5.
Comment 3Frantisek Kluknavsky
2015-03-23 16:12:34 UTC
Caused by rebased cmake, header files changed paths. Work-around is to do
ln -s include/xconfig.h xconfig.h
ln -s include/align.h align.h
in %build section of spec file.
I do not know how to get old behavior of cmake back, cmake_minimum_required(VERSION 2.6) does not help.
(previous post is a copy-paste typo, RHEL-6.5 works, RHEL-6.6 fails)
Comment 4Frantisek Kluknavsky
2015-07-22 20:07:13 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux. We've carefully evaluated the request, but are unable to include it in a future release. To request that Red Hat re-consider this request, please re-open the bugzilla via your designated support representative and provide additional business and/or technical details.