On 10/13/19 4:39 PM, Ankur Sinha wrote:
Hello, I'm building a new package, graph-tools. The scratch build fails on rawhide with: ``` annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-register -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -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 -fcf-protection -Wno-register -c graph_triangulation.cc -fPIC -DPIC -o .libs/graph_triangulation.o In file included from /usr/include/CGAL/basic.h:30, from /usr/include/CGAL/Cartesian/Cartesian_base.h:29, from /usr/include/CGAL/Simple_cartesian.h:29, from /usr/include/CGAL/Exact_predicates_inexact_constructions_kernel.h:29, from graph_triangulation.cc:37: /usr/include/CGAL/config.h:161:12: fatal error: CGAL/compiler_config.h: No such file or directory 161 | # include <CGAL/compiler_config.h> | ^~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:598: graph_triangulation.lo] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/graph-tool-2.29/src/graph/generation' make[4]: *** Waiting for unfinished jobs.... make[4]: Entering directory '/builddir/build/BUILD/graph-tool-2.29/src/graph/generation' ``` CGAL in rawhide does not include this file from the looks of it. The spec + patch for graph-tools are here: https://pagure.io/neuro-sig/graph-tool/tree/master The scratch build is here: https://koji.fedoraproject.org/koji/taskinfo?taskID=38265834 I've filed a bug upstream, but not gotten a reply yet: https://git.skewed.de/count0/graph-tool/issues/613 Any ideas please?
You probably need to compile with `-DCGAL_HEADER_ONLY`, we had the same problem in fawkes. Here is the fawkes patch that fixed it:
https://src.fedoraproject.org/rpms/fawkes/blob/master/f/fawkes.cgal-header-only.patch Kind regards, Till _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx