From patchwork Mon Jan 14 20:41:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Lowell X-Patchwork-Id: 1973531 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id E220BDF2E1 for ; Mon, 14 Jan 2013 20:41:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757374Ab3ANUln (ORCPT ); Mon, 14 Jan 2013 15:41:43 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:49061 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756868Ab3ANUlm convert rfc822-to-8bit (ORCPT ); Mon, 14 Jan 2013 15:41:42 -0500 Received: by mail-pa0-f41.google.com with SMTP id bj3so2431027pad.14 for ; Mon, 14 Jan 2013 12:41:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:mime-version:content-type:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=WPA+dmapjKZT1q/wW0J+XdI3eYHvhxhl89DbpqiiHgg=; b=H6R1u0E0saeEoDvI89CEbmoabVwdQCpHGga1c/HRGbXD+b2erfyZ0WszqbG1l49WyN IVkoiCPwziD2qrwwOApNbH+H/CqeEe0W5nbx2wtealRHXOvlfgKd4ZcDGkpUV4t4+0FA yKFT6wnY0In4QtjstTHA7nIdZj/WOOAhm0WjMBxdduzH98emri3+BNsbmEzXYeI+A78L 645C3fcC5wQCM2bIPHo2FtgwJemy+zCLpQzCZCSAqRqISuXgWoNXPtT97HDZNtchjkhZ LXBAUwGBMVDdPOFoOs4lG15lybvnBy0vYgD2QVz7H2yCy8pI8sryF2BwrjzsCIEXUrzR yvRQ== X-Received: by 10.66.76.198 with SMTP id m6mr235194899paw.32.1358196102140; Mon, 14 Jan 2013 12:41:42 -0800 (PST) Received: from [192.168.1.183] (c-98-210-224-250.hsd1.ca.comcast.net. [98.210.224.250]) by mx.google.com with ESMTPS id t6sm9339801paz.11.2013.01.14.12.41.39 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Jan 2013 12:41:40 -0800 (PST) Subject: Re: [PATCH] configure.ac: check for org.junit.rules.ExternalResource Mime-Version: 1.0 (Apple Message framework v1283) From: Gary Lowell In-Reply-To: <50F1DCAA.8020802@bisect.de> Date: Mon, 14 Jan 2013 12:41:38 -0800 Cc: ceph-devel@vger.kernel.org, Noah Watkins , Sage Weil Message-Id: <973BE144-8E8E-4076-97C3-ACB74D84F63A@inktank.com> References: <1357767316-27868-1-git-send-email-danny.al-gaaf@bisect.de> <50EE73F3.6050705@bisect.de> <3EC7678C-6C3D-4E59-A5ED-FC9B2DC28C08@inktank.com> <50F1DCAA.8020802@bisect.de> To: Danny Al-Gaaf X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQkqZFq4AHPVEWxBVhyU+rT/0lGiPYe6pCw9wlcnTbQDlQyOc1Qs82/umFSPNFU1q1a3W/vB Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org On Jan 12, 2013, at 1:59 PM, Danny Al-Gaaf wrote: > Am 11.01.2013 06:13, schrieb Gary Lowell: > [...] >> Thanks Danny. Installing sharutils solved that minor issue. We now >> get though the build just fine on opensuse 12, but sles 11sp2 gives >> more warnings (pasted below). Should we be using a newer version of >> autoconf on sles? I've tried moving AC_CANONICAL_TARGET earlier in >> the file, but that causes some other issues with the new java >> macros. >> >> Thanks, Gary > > I'll take a look at it, I guess it's a problem in configure.ac. > > I see the same warnings in our build system at SUSE for SLES (see: e.g. > logs at > https://build.opensuse.org/project/monitor?project=home%3Adalgaaf%3Abranches%3Afilesystems), > but the package builds just fine for openSUSE, SLES, Fedora, RHEL and > CentOS there Looks like it is the usage of AC_CANONICAL_SYSTEM in ac_prog_javah.m4 that cause the warning on centos and sles. Using AC_CANONICAL_HOST fixed the warning. I'm not sure if that's the real solution, or if something should be changed in the configure.ac file. The diff of the change I tried is below. Thanks, Gary --- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/m4/ac_prog_javah.m4 b/m4/ac_prog_javah.m4 index 0cc93f9..118e02f 100644 --- a/m4/ac_prog_javah.m4 +++ b/m4/ac_prog_javah.m4 @@ -10,7 +10,7 @@ dnl @version 2002-03-25 dnl @license AllPermissive AC_DEFUN([AC_PROG_JAVAH],[ -AC_REQUIRE([AC_CANONICAL_SYSTEM])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CPP])dnl AC_PATH_PROG(JAVAH,javah) if test x"`eval 'echo $ac_cv_path_JAVAH'`" != x ; then