X-Loop: help-debbugs@HIDDEN Subject: bug#23029: Enable subdir-objects cannot find Po of source with absolute path Resent-From: Hansni Liu <hansni.sc@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-automake@HIDDEN Resent-Date: Wed, 16 Mar 2016 15:36:03 +0000 Resent-Message-ID: <handler.23029.B.14581425397124 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 23029 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 23029 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-automake@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14581425397124 (code B ref -1); Wed, 16 Mar 2016 15:36:03 +0000 Received: (at submit) by debbugs.gnu.org; 16 Mar 2016 15:35:39 +0000 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> From: Hansni Liu <hansni.sc@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-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--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Hansni Liu <hansni.sc@HIDDEN> Subject: bug#23029: Acknowledgement (Enable subdir-objects cannot find Po of source with absolute path) Message-ID: <handler.23029.B.14581425397124.ack <at> debbugs.gnu.org> References: <CAGTPX+BG=i--xWPxPE3BgSZbjVyd1+T3GrP_XT=f0=CYyafmvQ@HIDDEN> X-Gnu-PR-Message: ack 23029 X-Gnu-PR-Package: automake Reply-To: 23029 <at> debbugs.gnu.org Date: Wed, 16 Mar 2016 15:36:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-automake@HIDDEN If you wish to submit further information on this problem, please send it to 23029 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 23029: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23029 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.