Your message dated Thu, 6 Nov 2014 14:37:26 -0200
with message-id
<of3b10af15.e55db194-on83257d88.005989ed-83257d88.005b5...@br.ibm.com>
and subject line
has caused the Debian Bug report #763409,
regarding cctools: FTBFS on ppc64el -- globus_config.h: No such file or
directory
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
763409: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763409
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cctools
Severity: normal
Tags: patch
User: [email protected]
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 <[email protected]> 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
--- End Message ---
--- Begin Message ---
Hello.
Please, close this. With the latest release of globus-common, this is no
longer needed.
Thanks.
--- End Message ---