Bug 118966

Summary: Configure cannot find path_dps.m4 during mail/mutt-devel configuration.
Product: Ports & Packages Reporter: Václav Haisman <v.haisman>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Václav Haisman 2007-12-23 09:30:00 UTC
I get the following configure error when I try to update mutt-devel port.

===>  Configuring for mutt-devel-1.5.17
/usr/local/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/local/share/aclocal/path_dps.m4:202: warning: underquoted definition of AC_PATH_DPS_GUESS_GNUSTEP
/usr/local/share/aclocal/path_dps.m4:239: warning: underquoted definition of AC_PATH_DPS_GUESS
/usr/local/share/aclocal/path_dps.m4:333: warning: underquoted definition of AC_PATH_DPS_CHECK_LIB
/usr/local/share/aclocal/path_dps.m4:405: warning: underquoted definition of AC_PATH_DPS_CHECK_HEADER
/usr/local/share/aclocal/path_dps.m4:440: warning: underquoted definition of AC_PATH_DPS_CHECK
/usr/local/share/aclocal/path_dps.m4:450: warning: underquoted definition of AC_PATH_DPS
/usr/local/share/aclocal/path_dps.m4:525: warning: underquoted definition of AC_CHECK_DPS_NXAGENT
/usr/local/share/aclocal/path_dps.m4:558: warning: underquoted definition of AC_PATH_DPSET
/usr/local/share/aclocal/path_dps.m4:579: warning: underquoted definition of AC_PROG_PSWRAP
/usr/local/share/aclocal/path_dps.m4:172: file `path_dps.m4' does not exist
*** Error code 1

Stop in /usr/ports/mail/mutt-devel.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.29013.10 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mutt-devel-1.5.16_3 UPGRADE_PORT_VER=1.5.16_3 make
** Fix the problem and try again.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-12-23 10:52:43 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Udo.Schweigert 2007-12-23 11:41:17 UTC
On Sun, Dec 23, 2007 at 09:21:09 +0000, Vaclav Haisman wrote:
> Stop in /usr/ports/mail/mutt-devel.
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.29013.10 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mutt-devel-1.5.16_3 UPGRADE_PORT_VER=1.5.16_3 make
> ** Fix the problem and try again.
> 

This is not reproducable here and is a problem with autoconf/automake
installation. Please deinstall all autoconf/automake ports and try again.

Best regards
Udo Schweigert

Siemens AG
Corporate Technology
Information & Communication
Siemens CERT
Otto-Hahn-Ring 6
81730 München, Germany
Tel.: +49 89 636-42170
Fax: +49 89 636-41166
mailto:udo.schweigert@siemens.com

Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme;
Managing Board: Peter Loescher, Chairman, President and Chief Executive
Officer; Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, Erich R. Reinhardt,
Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen
Registered offices: Berlin and Munich,
Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684
WEEE-Reg.-No. DE 23691322
Comment 3 Václav Haisman 2007-12-23 12:36:56 UTC
Schweigert, Udo wrote:
> On Sun, Dec 23, 2007 at 09:21:09 +0000, Vaclav Haisman wrote:
>> Stop in /usr/ports/mail/mutt-devel. ** Command failed [exit code
>> 1]: /usr/bin/script -qa /tmp/portupgrade.29013.10 env
>> UPGRADE_TOOL=portupgrade UPGRADE_PORT=mutt-devel-1.5.16_3
>> UPGRADE_PORT_VER=1.5.16_3 make ** Fix the problem and try again.
>> 
> 
> This is not reproducable here and is a problem with autoconf/automake
>  installation. Please deinstall all autoconf/automake ports and try
> again.
> 
> Best regards Udo Schweigert
This is what I had:

`--# pkg_glob 'autoconf*' 'automake*'
autoconf-2.61_2
autoconf-wrapper-20071109
automake-1.5_4,1
automake-1.6.3
automake-1.9.6_2
automake-wrapper-20071109

I did pkg_deinstall -f 'autoconf*' 'automake*' and then again
portupgrade -NRv mail/mutt-devel and after it installed the auto* ports
again I got the same error.

[...some minutes later...]

I have dug deeper and found that line
/usr/local/share/aclocal/path_dps.m4:172 is "dnl
include(path_dps.m4)". The dnl at the beginning of the line IIRC
signifies a comment. The m4 preprocessor should just ignore it AFAIK but
despite that it tries to include the file using the directive in the
comment. But I am not m4 preprocessor expert. Somebody with more
knowledge about m4 should analyze this.

I have also found that the file path_dps.m4 comes from the dgs-0.5.9.1_5
package, so it is not directly a mutt-devel problem. Deinstalling the
dgs-0.5.9.1_5 package fixes the mutt-devel build for me.

In the light of all this it is either a bug in the paths_dps.m4 file and
thus dgs-0.5.9.1_5 maintainer should be notified or it is a bug in m4,
though that seems a lot less likely.

--
VH
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2008-02-20 23:03:08 UTC
State Changed
From-To: feedback->open

Looks like a bug in aclocal-1.9, it expands include() even on dnl lines (it 
does not call m4, it does the m4 processing internally). 

My suggestion is to remove the offending line from dps_path.m4 file, as it's 
only a commentary line anyway. Sounds easier than fixing aclocal. 



Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2008-02-20 23:03:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to dgs maintainer
Comment 6 Dirk Meyer freebsd_committer freebsd_triage 2008-03-17 12:49:12 UTC
State Changed
From-To: open->closed

- dgs was changed, it no longer installs the autoconf file.