GNU bug report logs - #23599
Including search directories for pdf and dvi

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Reported by: Mohammad Akhlaghi <akhlaghi@HIDDEN>; dated Sun, 22 May 2016 18:04:02 UTC; Maintainer for automake is bug-automake@HIDDEN.

Message received at 23599 <at> debbugs.gnu.org:


Received: (at 23599) by debbugs.gnu.org; 23 May 2016 12:27:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 23 08:27:21 2016
Received: from localhost ([127.0.0.1]:33544 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b4ox7-0004GJ-Ld
	for submit <at> debbugs.gnu.org; Mon, 23 May 2016 08:27:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34733)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <akhlaghi@HIDDEN>) id 1b4ox6-0004G5-4R
 for 23599 <at> debbugs.gnu.org; Mon, 23 May 2016 08:27:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <akhlaghi@HIDDEN>) id 1b4owx-0007CX-92
 for 23599 <at> debbugs.gnu.org; Mon, 23 May 2016 08:27:15 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40704)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <akhlaghi@HIDDEN>)
 id 1b4owo-0007BT-MW; Mon, 23 May 2016 08:27:02 -0400
Received: from priv-gw-1.astr.tohoku.ac.jp ([130.34.119.251]:41736
 helo=[172.21.11.144])
 by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <akhlaghi@HIDDEN>)
 id 1b4owo-0005h9-15; Mon, 23 May 2016 08:27:02 -0400
Subject: Re: bug#23599: Including search directories for pdf and dvi
To: Mathieu Lirzin <mthl@HIDDEN>
References: <759a12c6-7464-c891-d807-dfd4e161a6cf@HIDDEN>
 <87r3ctd1j0.fsf@HIDDEN> <4e852e69-6e1f-c814-249e-d82543e03904@HIDDEN>
 <87vb25kn78.fsf@HIDDEN>
From: Mohammad Akhlaghi <akhlaghi@HIDDEN>
Message-ID: <4017684b-00c6-8974-2900-0977dfff37ce@HIDDEN>
Date: Mon, 23 May 2016 21:27:28 +0900
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <87vb25kn78.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23599
Cc: 23599 <at> debbugs.gnu.org
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: -6.4 (------)

On 05/23/2016 08:50 PM, Mathieu Lirzin wrote:

> This is normally just a warning.  It is treated as an error because you
> are using "-Werror" in automake options.  To remove this error you can
> add "-Wno-override".

That is correct, I had forgot the Automake options in `configure.ac'!

Thanks a lot for the great and prompt help,
Mohammad




Information forwarded to bug-automake@HIDDEN:
bug#23599; Package automake. Full text available.

Message received at 23599 <at> debbugs.gnu.org:


Received: (at 23599) by debbugs.gnu.org; 23 May 2016 11:50:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 23 07:50:53 2016
Received: from localhost ([127.0.0.1]:33520 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b4oNp-0003Qi-Dg
	for submit <at> debbugs.gnu.org; Mon, 23 May 2016 07:50:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52702)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mthl@HIDDEN>) id 1b4oNn-0003QV-V5
 for 23599 <at> debbugs.gnu.org; Mon, 23 May 2016 07:50:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mthl@HIDDEN>) id 1b4oNc-0006dH-MQ
 for 23599 <at> debbugs.gnu.org; Mon, 23 May 2016 07:50:46 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39995)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mthl@HIDDEN>)
 id 1b4oNc-0006d5-AM
 for 23599 <at> debbugs.gnu.org; Mon, 23 May 2016 07:50:40 -0400
Received: from mek33-4-82-236-46-88.fbx.proxad.net ([82.236.46.88]:53770
 helo=godel)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <mthl@HIDDEN>)
 id 1b4oNa-0004DX-Db; Mon, 23 May 2016 07:50:38 -0400
From: Mathieu Lirzin <mthl@HIDDEN>
To: Mohammad Akhlaghi <akhlaghi@HIDDEN>
Subject: Re: bug#23599: Including search directories for pdf and dvi
References: <759a12c6-7464-c891-d807-dfd4e161a6cf@HIDDEN>
 <87r3ctd1j0.fsf@HIDDEN>
 <4e852e69-6e1f-c814-249e-d82543e03904@HIDDEN>
Date: Mon, 23 May 2016 13:50:35 +0200
In-Reply-To: <4e852e69-6e1f-c814-249e-d82543e03904@HIDDEN> (Mohammad
 Akhlaghi's message of "Mon, 23 May 2016 13:34:41 +0900")
Message-ID: <87vb25kn78.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23599
Cc: 23599 <at> debbugs.gnu.org
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: -6.4 (------)

Mohammad Akhlaghi <akhlaghi@HIDDEN> writes:

> Your solution is indeed much better than mine. It would be great if
> Automake could account for the change in texi2dvi's behavior (not
> handling arguments through the MAKEINFO shell variable).

I agree.  Fixing the issue seems not trivial because it will require not
breaking backward compatibility with older version of Texinfo.

> I added a TEXI2DVI definition in my doc/Makefile.am, but I get the
> following error when running autoreconf (or automake independently):
>
>   automake: warnings are treated as errors
>   doc/Makefile.am:36: warning: user variable 'TEXI2DVI' defined here ...
>   /usr/share/automake-1.15/am/texinfos.am: ... overrides Automake
>   variable 'TEXI2DVI' defined here
>   autoreconf: automake failed with exit status: 1
>
> This is strange, because according to the Automake manual: "a variable
> defined in =E2=80=98Makefile.am=E2=80=99 or =E2=80=98AC_SUBST=E2=80=99ed =
from =E2=80=98configure.ac=E2=80=99 will
> override any definition of the variable that =E2=80=98automake=E2=80=99 w=
ould
> ordinarily create."

This is normally just a warning.  It is treated as an error because you
are using "-Werror" in automake options.  To remove this error you can
add "-Wno-override".

Thanks.

--=20
Mathieu Lirzin




Information forwarded to bug-automake@HIDDEN:
bug#23599; Package automake. Full text available.

Message received at 23599 <at> debbugs.gnu.org:


Received: (at 23599) by debbugs.gnu.org; 23 May 2016 04:34:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 23 00:34:30 2016
Received: from localhost ([127.0.0.1]:33316 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b4hZW-0008LO-1G
	for submit <at> debbugs.gnu.org; Mon, 23 May 2016 00:34:30 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47908)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <akhlaghi@HIDDEN>) id 1b4hZU-0008LB-5B
 for 23599 <at> debbugs.gnu.org; Mon, 23 May 2016 00:34:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <akhlaghi@HIDDEN>) id 1b4hZO-0003UN-3a
 for 23599 <at> debbugs.gnu.org; Mon, 23 May 2016 00:34:23 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35548)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <akhlaghi@HIDDEN>)
 id 1b4hZI-0003Ty-Kl; Mon, 23 May 2016 00:34:16 -0400
Received: from priv-gw-1.astr.tohoku.ac.jp ([130.34.119.251]:39194
 helo=[172.21.11.144])
 by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <akhlaghi@HIDDEN>)
 id 1b4hZG-00030F-U8; Mon, 23 May 2016 00:34:15 -0400
Subject: Re: bug#23599: Including search directories for pdf and dvi
To: Mathieu Lirzin <mthl@HIDDEN>
References: <759a12c6-7464-c891-d807-dfd4e161a6cf@HIDDEN>
 <87r3ctd1j0.fsf@HIDDEN>
From: Mohammad Akhlaghi <akhlaghi@HIDDEN>
Message-ID: <4e852e69-6e1f-c814-249e-d82543e03904@HIDDEN>
Date: Mon, 23 May 2016 13:34:41 +0900
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <87r3ctd1j0.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23599
Cc: 23599 <at> debbugs.gnu.org
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: -6.4 (------)

Hi Mathieu,

Thank you very much for the prompt answer.

On 05/23/2016 10:08 AM, Mathieu Lirzin wrote:
> Hello,
>
> Mohammad Akhlaghi <akhlaghi@HIDDEN> writes:
>
>> I currently have a workaround for this problem (copying or making a
>> symbolic link from the `bootstrapped/doc/fdl.texi' to the
>> `doc/fdl.texi' during the bootstrap process), however, this is not
>> elegant! This file is a bootstrapped file and it would be much better
>> and clear if it remains with the other bootstrapped files.
>>
>> If I am doing something wrong or missing something, I would really
>> appreciate it if you could let me know.  Since the `AM_MAKEINFOFLAGS'
>> solution works in making Info and HTML outputs for this situation, but
>> not in pdf or dvi outputs, I thought it might be a bug and I am
>> sharing it with you here to see if you agree and if it is possible to
>> fix this problem.
>
> I haved faced the same type of problem when trying to include a texi
> fragment generated at configure time in "$(top_builddir)/doc" and
> setting 'AM_MAKEINFOFLAGS = -I doc'.  My ugly workaround is to override
> TEXI2DVI variable like this:
>
>   TEXI2DVI = texi2dvi -I doc
>
> After a quick look at $(datadir)/automake-1.15/am/texibuild.am' and
> '$(bindir)/texi2dvi', my guess is that 'texi2dvi' no longer handles
> passing arguments via the MAKEINFO shell variable, which is the way
> Automake passes AM_MAKEINFOFLAGS content to it.
>
> Thanks for reporting this issue.

Your solution is indeed much better than mine. It would be great if 
Automake could account for the change in texi2dvi's behavior (not 
handling arguments through the MAKEINFO shell variable).

I added a TEXI2DVI definition in my doc/Makefile.am, but I get the 
following error when running autoreconf (or automake independently):

   automake: warnings are treated as errors
   doc/Makefile.am:36: warning: user variable 'TEXI2DVI' defined here ...
   /usr/share/automake-1.15/am/texinfos.am: ... overrides Automake
   variable 'TEXI2DVI' defined here
   autoreconf: automake failed with exit status: 1

This is strange, because according to the Automake manual: "a variable 
defined in ‘Makefile.am’ or ‘AC_SUBST’ed from ‘configure.ac’ will 
override any definition of the variable that ‘automake’ would ordinarily 
create."

Thank you very much,
Mohammad




Information forwarded to bug-automake@HIDDEN:
bug#23599; Package automake. Full text available.

Message received at 23599 <at> debbugs.gnu.org:


Received: (at 23599) by debbugs.gnu.org; 23 May 2016 01:08:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 22 21:08:34 2016
Received: from localhost ([127.0.0.1]:33239 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b4eMD-0000Be-Vr
	for submit <at> debbugs.gnu.org; Sun, 22 May 2016 21:08:34 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49192)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mthl@HIDDEN>) id 1b4eMC-0000BS-UF
 for 23599 <at> debbugs.gnu.org; Sun, 22 May 2016 21:08:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mthl@HIDDEN>) id 1b4eM4-0006iu-Dn
 for 23599 <at> debbugs.gnu.org; Sun, 22 May 2016 21:08:27 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33216)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mthl@HIDDEN>)
 id 1b4eM4-0006ii-9m
 for 23599 <at> debbugs.gnu.org; Sun, 22 May 2016 21:08:24 -0400
Received: from mek33-4-82-236-46-88.fbx.proxad.net ([82.236.46.88]:60018
 helo=godel)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <mthl@HIDDEN>)
 id 1b4eM3-0001AL-Bb; Sun, 22 May 2016 21:08:23 -0400
From: Mathieu Lirzin <mthl@HIDDEN>
To: Mohammad Akhlaghi <akhlaghi@HIDDEN>
Subject: Re: bug#23599: Including search directories for pdf and dvi
References: <759a12c6-7464-c891-d807-dfd4e161a6cf@HIDDEN>
Date: Mon, 23 May 2016 03:08:19 +0200
In-Reply-To: <759a12c6-7464-c891-d807-dfd4e161a6cf@HIDDEN> (Mohammad
 Akhlaghi's message of "Sun, 22 May 2016 19:18:48 +0900")
Message-ID: <87r3ctd1j0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23599
Cc: 23599 <at> debbugs.gnu.org
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: -6.4 (------)

Hello,

Mohammad Akhlaghi <akhlaghi@HIDDEN> writes:

> I currently have a workaround for this problem (copying or making a
> symbolic link from the `bootstrapped/doc/fdl.texi' to the
> `doc/fdl.texi' during the bootstrap process), however, this is not
> elegant! This file is a bootstrapped file and it would be much better
> and clear if it remains with the other bootstrapped files.
>
> If I am doing something wrong or missing something, I would really
> appreciate it if you could let me know.  Since the `AM_MAKEINFOFLAGS'
> solution works in making Info and HTML outputs for this situation, but
> not in pdf or dvi outputs, I thought it might be a bug and I am
> sharing it with you here to see if you agree and if it is possible to
> fix this problem.

I haved faced the same type of problem when trying to include a texi
fragment generated at configure time in "$(top_builddir)/doc" and
setting 'AM_MAKEINFOFLAGS = -I doc'.  My ugly workaround is to override
TEXI2DVI variable like this:

  TEXI2DVI = texi2dvi -I doc

After a quick look at $(datadir)/automake-1.15/am/texibuild.am' and
'$(bindir)/texi2dvi', my guess is that 'texi2dvi' no longer handles
passing arguments via the MAKEINFO shell variable, which is the way
Automake passes AM_MAKEINFOFLAGS content to it.

Thanks for reporting this issue.

-- 
Mathieu Lirzin




Information forwarded to bug-automake@HIDDEN:
bug#23599; Package automake. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 May 2016 18:03:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 22 14:03:08 2016
Received: from localhost ([127.0.0.1]:33014 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b4XiV-0003qW-Sq
	for submit <at> debbugs.gnu.org; Sun, 22 May 2016 14:03:08 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43417)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <akhlaghi@HIDDEN>) id 1b4QSz-0004nV-3L
 for submit <at> debbugs.gnu.org; Sun, 22 May 2016 06:18:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <akhlaghi@HIDDEN>) id 1b4QSs-0008M3-Pg
 for submit <at> debbugs.gnu.org; Sun, 22 May 2016 06:18:31 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51509)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <akhlaghi@HIDDEN>) id 1b4QSs-0008Lz-Mg
 for submit <at> debbugs.gnu.org; Sun, 22 May 2016 06:18:30 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34387)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <akhlaghi@HIDDEN>) id 1b4QSq-0000EW-Az
 for bug-automake@HIDDEN; Sun, 22 May 2016 06:18:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <akhlaghi@HIDDEN>) id 1b4QSl-0008Le-87
 for bug-automake@HIDDEN; Sun, 22 May 2016 06:18:27 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46846)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <akhlaghi@HIDDEN>) id 1b4QSl-0008La-4Q
 for bug-automake@HIDDEN; Sun, 22 May 2016 06:18:23 -0400
Received: from priv-gw-1.astr.tohoku.ac.jp ([130.34.119.251]:46756
 helo=[172.21.11.144])
 by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <akhlaghi@HIDDEN>) id 1b4QSj-0004qm-AG
 for bug-automake@HIDDEN; Sun, 22 May 2016 06:18:21 -0400
From: Mohammad Akhlaghi <akhlaghi@HIDDEN>
Subject: Including search directories for pdf and dvi
To: bug-automake@HIDDEN
Message-ID: <759a12c6-7464-c891-d807-dfd4e161a6cf@HIDDEN>
Date: Sun, 22 May 2016 19:18:48 +0900
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.1.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
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: -6.4 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 22 May 2016 14:03:06 -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: -6.4 (------)

Hello,

In buiding Gnuastro, we are using Gnulib's `build-aux/bootstrap'.

To keep the source files clean, we have configured the bootstrap
process to build all its files and directories in a directory named
"bootstrapped". In the Git repository (link below), this directory is
basically empty (except for a README file) and in the relase tarball
it is populated with all the bootstrapped directories. The general
structure can be seen in the repo on Savannah:

http://git.savannah.gnu.org/cgit/gnuastro.git/tree/

One of the files in Gnulib that can be imported (instead of having to
keep it in the version controlled source) is `fdl.texi' (the Texinfo
source for the GNU Free Documentation license). Until now we have this
file under version control in our `doc/' directory. But since it is
present in the Gnulib archives, I am working on importing it during
the bootstrap process (my current work is not yet merged into the
repository yet).

The bootstrapping process puts the file in
`bootstrapped/doc/fdl.texi'. So I have included the following line in
my `doc/Makefile.am':

    AM_MAKEINFOFLAGS = -I $(top_srcdir)/bootstrapped/doc

This works for `make' (to build Info files) and also for `make
html'. However, when I run `make pdf', or `make dvi', it complains
about not finding `fdl.texi'.

Looking at Automake's generated `.texi.dvi', or `.texi.pdf' rules in
`Makefile.in', I see that the `AM_MAKEINFOFLAGS' is not given to
`texi2dvi'. It is set in the `MAKEINFO' variable before calling
`texi2dvi'. Therefore `texi2dvi' isn't instructed look into this
directory and thus it can't generate the pdf or dvi outputs. When I
add this line by hand in the final Makefile's rule, it works and finds
the directory.

I currently have a workaround for this problem (copying or making a
symbolic link from the `bootstrapped/doc/fdl.texi' to the
`doc/fdl.texi' during the bootstrap process), however, this is not
elegant! This file is a bootstrapped file and it would be much better
and clear if it remains with the other bootstrapped files.

If I am doing something wrong or missing something, I would really
appreciate it if you could let me know.  Since the `AM_MAKEINFOFLAGS'
solution works in making Info and HTML outputs for this situation, but
not in pdf or dvi outputs, I thought it might be a bug and I am
sharing it with you here to see if you agree and if it is possible to
fix this problem.

Thank you very much,
Mohammad




Acknowledgement sent to Mohammad Akhlaghi <akhlaghi@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#23599; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.