Opened 11 years ago

Closed 7 years ago

#17877 closed defect (fixed)

mutt 1.4.2.3 (with +compress) fails with "aclocal-1.9: command not found"

Reported by: shreevatsa.public@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: haspatch Cc: gjasny@…, ryandesign (Ryan Schmidt)
Port: mutt

Description

Build failure:

 sudo port install mutt +buffy +compress                            
--->  Fetching mutt
--->  Verifying checksum(s) for mutt
--->  Extracting mutt
--->  Applying patches to mutt
--->  Configuring mutt
--->  Building mutt
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mutt/work/mutt-1.4.2.3" && make all " returned error 2
Command output: ./gen_defs ./OPS ./OPS.PGP > keymap_defs.h
./patchlist.sh < ./PATCHES > patchlist.c
cd . && /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mutt/work/mutt-1.4.2.3/missing --run aclocal-1.9 -I m4
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mutt/work/mutt-1.4.2.3/missing: line 46: aclocal-1.9: command not found
WARNING: `aclocal-1.9' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `aclocal-1.9' program.
make: *** [aclocal.m4] Error 1

Error: Status 1 encountered during processing.

It builds fine without +compress.

In both /usr/bin/ and /opt/local/bin/, I have aclocal and aclocal-1.10, no aclocal-1.9.

Attachments (2)

Portfile-mutt-17877.diff (1.3 KB) - added by gjasny@… 7 years ago.
Portfile-mutt-17877.2.diff (1.3 KB) - added by gjasny@… 7 years ago.
Changed autotools dependencies to build time ones

Download all attachments as: .zip

Change History (10)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to simon@…

Assigning to maintainer.

comment:2 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 10 years ago by simon@…

Owner: changed from simon@… to macports-tickets@…

comment:4 Changed 7 years ago by macports@…

This problem will also occur if you use the +nntp option.

Changed 7 years ago by gjasny@…

Attachment: Portfile-mutt-17877.diff added

comment:5 Changed 7 years ago by gjasny@…

Hello,

The attached patch fixes the build with the following variants:

+buffy +compress
+nntp 
+compress

Currently mutt depends on AM_C_PROTOTYPES, which has been removed in newer automake versions. That's why I changed the Portfile to depend and re-generate with an older automake version.

Thanks, Gregor

comment:6 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: gjasny@… ryandesign@… added
Keywords: haspatch added

Thanks for the patch!

I realize you're just updating what was already in the port, but are autoconf and automake really library dependencies? Usually they're only needed at build time.

comment:7 in reply to:  6 Changed 7 years ago by gjasny@…

Replying to ryandesign@…:

are autoconf and automake really library dependencies? Usually they're only needed at build time.

You're right. Build time dependency would be sufficient.

Changed 7 years ago by gjasny@…

Attachment: Portfile-mutt-17877.2.diff added

Changed autotools dependencies to build time ones

comment:8 Changed 7 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Thanks! r99411.

Note: See TracTickets for help on using tickets.