Received: (at submit) by debbugs.gnu.org; 16 Mar 2016 15:35:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 16 11:35:39 2016 Received: from localhost ([127.0.0.1]:50319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1agDU3-0001qq-9l for submit <at> debbugs.gnu.org; Wed, 16 Mar 2016 11:35:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <hansni.sc@HIDDEN>) id 1ag7Qp-0007f3-Dl for submit <at> debbugs.gnu.org; Wed, 16 Mar 2016 05:07:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <hansni.sc@HIDDEN>) id 1ag7Qi-0007Ge-Qg for submit <at> debbugs.gnu.org; Wed, 16 Mar 2016 05:07:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <hansni.sc@HIDDEN>) id 1ag7Qi-0007Ga-NO for submit <at> debbugs.gnu.org; Wed, 16 Mar 2016 05:07:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <hansni.sc@HIDDEN>) id 1ag7Qh-00063L-H5 for bug-automake@HIDDEN; Wed, 16 Mar 2016 05:07:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <hansni.sc@HIDDEN>) id 1ag7Qg-0007G6-7C for bug-automake@HIDDEN; Wed, 16 Mar 2016 05:07:47 -0400 Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:34572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <hansni.sc@HIDDEN>) id 1ag7Qg-0007G0-0b for bug-automake@HIDDEN; Wed, 16 Mar 2016 05:07:46 -0400 Received: by mail-ob0-x22f.google.com with SMTP id ts10so44646731obc.1 for <bug-automake@HIDDEN>; Wed, 16 Mar 2016 02:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=g07HM89i+bc1Lr8XhyS/oNX2uFg2lTLqWHnHUszCRWs=; b=qLfdM2GzEVExfTemNK8hf+SN4Ct5teZs8VszdVPsa2vqwU1fCloaeso1n5ii3prSLU iZfcbK15Kutb4vec3OM6xBjQK0b0iNqj/qu6mz41hqyBPZRRCEeFjRLfoOmOI7DnX9TW 7VFaAEp51froAafHCG1J8o2LGQCcdctdJF+drkbDxDPsHQxZpfQIv+HZMRPKdzexLkV6 Xlpg8B/CbieSd4ZWIFYiwkD1Cq+w6a1Xz/B39z/YAuHi7Y9kjh6px3xyOhdkPwWFCwiL IYJC5MiPbWgwvtcImv6goJfkSzSRcUJ+t/M5/uh121h8EPtrKXTbcEPk4tNIDcp+UxTS 4vuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=g07HM89i+bc1Lr8XhyS/oNX2uFg2lTLqWHnHUszCRWs=; b=EhMbCbTqqY9kcKpVfy2M88kqbrHmQPN5GySMYUW3S+t89TnbaC+AwMytaCG2SOyFT7 4l53D8MAZJCYkH6RBgsiJeMr8jQ3mhoFx/fE0cMG+AojUem3jMjFx0lB3GvM+tWDxj3j SN9iSdIhqBZ/K6AKa/u+ceaWm6Bl5viaRSAWWcdaMx3ZrNIJrv/M544aS/NbxvuKUTam WJonFuiO/JQ8E5DzyGehEyIsN4MugN4LW4zrONhp6/lD/3JBE1l/7WpshIXVoxAitppF ONdVnC2jgi2WffV2QwV+adV4NHKPNVDm1IlosGC6oTTkzAAQZkGAYZ4n0NiObD1ef76S 9U+w== X-Gm-Message-State: AD7BkJJev4ipyHALyUVCPg43IUT9Th4n0QdopOXRKtSd25DCCkXEvvra/7I51r0HxmzB4ctYEtO7CAPOD07b3A== MIME-Version: 1.0 X-Received: by 10.182.230.136 with SMTP id sy8mr1520034obc.76.1458119265370; Wed, 16 Mar 2016 02:07:45 -0700 (PDT) Received: by 10.157.9.250 with HTTP; Wed, 16 Mar 2016 02:07:45 -0700 (PDT) Date: Wed, 16 Mar 2016 17:07:45 +0800 Message-ID: <CAGTPX+BG=i--xWPxPE3BgSZbjVyd1+T3GrP_XT=f0=CYyafmvQ@HIDDEN> Subject: Enable subdir-objects cannot find Po of source with absolute path From: Hansni Liu <hansni.sc@HIDDEN> To: bug-automake@HIDDEN Content-Type: multipart/alternative; boundary=001a11c32e0ada46f0052e26d8a2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 16 Mar 2016 11:35:38 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) --001a11c32e0ada46f0052e26d8a2 Content-Type: text/plain; charset=UTF-8 Hi, I'm told to enable subdir-objects when upgrading automake. However, if that's enabled, the Makefile generated does not include the correct path of the .Plo file if the source is with absolute path. My autoconf is 2.69, automake is 1.15, libtool is 2.4.6 For example, my configure.ac is # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS]) AM_INIT_AUTOMAKE([foreign subdir-objects]) AC_CONFIG_SRCDIR([test.c]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CC LT_INIT([dlopen]) # Checks for libraries. # Checks for header files. # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. AC_CONFIG_FILES([Makefile]) AC_OUTPUT And my Makefile.am is: bin_PROGRAMS = test test_SOURCES = test.c /home/hansni/tmp/test_automake/lib.c Now after making a build directory in the top source, running configure, the Po is at /home/hansni/tmp/test_automake/build/home/hansni/tmp/test_automake/.deps/lib.Po However, in Makefile, it tries the path: include /home/hansni/tmp/test_automake/$(DEPDIR)/lib.Po It seems that the Po is created inside the build directory, however, Makefile tries to find it in the original absolute path. B.R. Hansni --001a11c32e0ada46f0052e26d8a2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div><div><div><div><div><div><div>Hi,<br></div>I'= ;m told to enable subdir-objects when upgrading automake. However, if that&= #39;s enabled, the Makefile generated does not include the correct path of = the .Plo file if the source is with absolute path.<br><br></div><div>My aut= oconf is 2.69, automake is 1.15, libtool is 2.4.6<br></div><div><br></div>F= or example, my <a href=3D"http://configure.ac">configure.ac</a> is<br>#=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -*- Autoconf -*-<br># Proc= ess this file with autoconf to produce a configure script.<br><br>AC_PREREQ= ([2.69])<br>AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])<b= r>AM_INIT_AUTOMAKE([foreign subdir-objects])<br>AC_CONFIG_SRCDIR([test.c])<= br>AC_CONFIG_HEADERS([config.h])<br><br># Checks for programs.<br>AC_PROG_C= C<br><br>LT_INIT([dlopen])<br><br># Checks for libraries.<br><br># Checks f= or header files.<br><br># Checks for typedefs, structures, and compiler cha= racteristics.<br><br># Checks for library functions.<br><br>AC_CONFIG_FILES= ([Makefile])<br><br>AC_OUTPUT<br><br><br></div>And my Makefile.am is:<br>bi= n_PROGRAMS =3D test<br>test_SOURCES =3D test.c /home/hansni/tmp/test_automa= ke/lib.c<br><br></div>Now after making a build directory in the top source,= running configure, the Po is at<br>/home/hansni/tmp/test_automake/build/ho= me/hansni/tmp/test_automake/.deps/lib.Po<br></div><div></div><div><br></div= >However, in Makefile, it tries the path:<br>include /home/hansni/tmp/test_= automake/$(DEPDIR)/lib.Po<br><br></div>It seems that the Po is created insi= de the build directory, however, Makefile tries to find it in the original = absolute path.<br><br></div>B.R.<br></div>Hansni<br><div><div><div><div><di= v><div><div><div><br></div></div></div></div></div></div></div></div></div> --001a11c32e0ada46f0052e26d8a2--
Hansni Liu <hansni.sc@HIDDEN>
:bug-automake@HIDDEN
.
Full text available.bug-automake@HIDDEN
:bug#23029
; Package automake
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.