Created attachment 1069725 [details] patch + spec changeset Description of problem: Condor defines uint64_t type but this is conflicting with definition in stdint.h and build fails. Version-Release number of selected component (if applicable): 8.3.6-3 How reproducible: always Steps to Reproduce: 1. do build on aarch64 (use arm-koji) Actual results: http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3160851 In file included from /usr/lib/gcc/aarch64-redhat-linux/5.1.1/include/stdint.h:9:0, from /usr/include/c++/5.1.1/cstdint:41, from /usr/include/c++/5.1.1/bits/char_traits.h:380, from /usr/include/c++/5.1.1/string:40, from /builddir/build/BUILD/htcondor-8_3_6/src/condor_utils/condor_event.h:36, from /builddir/build/BUILD/htcondor-8_3_6/src/condor_utils/read_user_log.h:45, from /builddir/build/BUILD/htcondor-8_3_6/src/condor_userlog/condor_userlog_job_counter.cpp:30: /usr/include/stdint.h:40:19: error: conflicting declaration 'typedef long int int64_t' typedef long int int64_t; ^ Expected results: package builds Additional info: Fix is not perfect but solved problem.
Hi Marcin, Thank you very much for the bug report! To me, this appears to be a cmake issue - cmake was supposed to determine whether this typedef already existed (I suspect the typedef in condor is for old compilers for windows / solaris). Is there any way to pull CMakeCache.txt from the failed build? Brian
Will do a build and attach it.
Created attachment 1071611 [details] CMakeCache.txt
Ah - I see the issue: CMake properly detects int64_t already detects. *However*, this particular file doesn't include the config.h because the header read_user_log.h is meant to be part of the public API. Probably this header needs to be generated separately by cmake. Will file a ticket with upstream HTCondor. For now, the proposed patch looks fine.
> For now, the proposed patch looks fine. Can we get it applied and pushed for F-23+ then?
pushed to rawhide
condor-8.3.6-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16124
condor-8.3.6-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update condor'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16124
condor-8.3.6-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.