Source: cctools Severity: normal Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el
Dear Maintainer, The package cctools fails to build from source due to problems with detection of globus paths on ppc64el. With the following error: ... In file included from /usr/include/globus/globus_common.h:55:0, from auth_globus.c:20: /usr/include/globus/globus_common_include.h:24:27: fatal error: globus_config.h: No such file or directory #include "globus_config.h" ^ compilation terminated. make[3]: *** [auth_globus.o] Error 1 ../../Makefile.rules:6: recipe for target 'auth_globus.o' failed ... Full build log at: https://buildd.debian.org/status/fetch.php?pkg=cctools&arch=ppc64el&ver=4.0-1&stamp=1410484127 As can be seen on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743059, according to globus-common maintainer, this is not an error in globus-common. Since this pkg does not use pkg-config, the patch attached inserts a condition to configure so it will include the necessary paths, specifically for ppc64el, not affecting other architectures. I am not sure if this is the ideal, but it works for our case. Thanks and regards. Fernando -- System Information: Debian Release: jessie/sid APT prefers buildd-unstable APT policy: (500, 'buildd-unstable'), (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.16-trunk-powerpc64le (SMP w/32 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash
diff -Nru cctools-4.0/debian/changelog cctools-4.0/debian/changelog --- cctools-4.0/debian/changelog 2013-07-29 18:14:17.000000000 +0000 +++ cctools-4.0/debian/changelog 2014-09-29 23:56:33.000000000 +0000 @@ -1,3 +1,9 @@ +cctools (4.0-1ppc64el1) UNRELEASED; urgency=medium + + * Added ppc64el condition into configure so it won't ftbfs, due to problem in globus path. + + -- Fernando Seiti Furusato <ferse...@br.ibm.com> Mon, 29 Sep 2014 23:56:00 +0000 + cctools (4.0-1) unstable; urgency=low * New upstream release (missed quite a few). diff -Nru cctools-4.0/debian/patches/ppc64el.patch cctools-4.0/debian/patches/ppc64el.patch --- cctools-4.0/debian/patches/ppc64el.patch 1970-01-01 00:00:00.000000000 +0000 +++ cctools-4.0/debian/patches/ppc64el.patch 2014-09-29 23:55:04.000000000 +0000 @@ -0,0 +1,24 @@ +--- cctools-4.0.orig/configure ++++ cctools-4.0/configure +@@ -480,6 +480,21 @@ then + + cctools_dynamic_auth_libs="${cctools_dynamic_auth_libs} -L${globus_path}/lib -lglobus_gss_assist_${globus_flavor}" + ++ elif [ $build_cpu = PPC64EL ] ++ then ++ if check_file ${globus_path}/include/globus/globus_common.h ++ then ++ ccflags="${ccflags} -I${globus_path}/include/powerpc64le-linux-gnu/globus/ -I${globus_path}/include/globus -DHAS_GLOBUS_GSS" ++ ldflags="${ldflags} -L${globus_path}/lib" ++ for library in globus_gss_assist globus_gssapi_gsi globus_gsi_proxy_core globus_gsi_credential globus_gsi_callback globus_oldgaa globus_gsi_sysconfig globus_gsi_cert_utils globus_openssl globus_openssl_error globus_callout globus_proxy_ssl globus_common ltdl ++ do ++ library_search ${library} ${globus_path} ++ done ++ ++ cctools_dynamic_auth_libs="${cctools_dynamic_auth_libs} -L${globus_path}/lib -lglobus_gss_assist" ++ fi ++ ++ + elif check_file ${globus_path}/include/globus/globus_common.h + then + ccflags="${ccflags} -I${globus_path}/lib/globus/include -I${globus_path}/include/globus -DHAS_GLOBUS_GSS" diff -Nru cctools-4.0/debian/patches/series cctools-4.0/debian/patches/series --- cctools-4.0/debian/patches/series 2013-07-29 18:04:44.000000000 +0000 +++ cctools-4.0/debian/patches/series 2014-09-29 23:55:04.000000000 +0000 @@ -3,3 +3,4 @@ #parrot_run_hang_fix disable_doxygen handle_bashism +ppc64el.patch