Opened 11 years ago

Closed 7 days ago

#37663 closed defect (wontfix)

lesstif @0.95.2 Configure error - autoreconf failure

Reported by: uthyr@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: uthyr@…, cooljeanius (Eric Gallager)
Port: lesstif

Description

Hello,

Problem: lesstif fails to configure

System(s): this is occuring on three computers, a MacMini (5,2), MacMini (5,1), and MacBook Pro (8,2). Each has installed:

Mac OS X 10.8.2

Xcode 4.5.2 (4G2008a), with CommandLine Tools installed

MacPorts 2.1.2 for Mountain Lion installed

These ports installed, in this order, with these variants.

Macports Base
  wget +ssl
  db46
  gcc45
  python27
  python_select
  ghostscript
  gv  +letter
  ImageMagick  +q16
  gsl  +gcc45
  hdf5-18  +cxx +gcc45
  hdf4  +gcc45
  netcdf  +dap +netcdf4 +hdf4
  netcdf-fortran +gcc45
  nco
  ncarg  +gcc45

Everything through nco compiled and installed. The package ncarg depends upon lesstif, among others, which has failed to configure. The following dependencies installed prior to lesstif, in the order shown:

--->  Installing glib2 @2.34.3_0
--->  Installing libpixman @0.28.2_0
--->  Installing xorg-xcb-util @0.3.9_0
--->  Installing xorg-renderproto @0.11.1_0
--->  Installing xrender @0.9.7_0
--->  Installing cairo @1.12.8_2+x11
--->  Installing flex @2.5.37_1
--->  Installing giflib @4.2.1_0+x11
--->  Installing proj @4.8.0_0
--->  Installing libgeotiff @1.4.0_0
--->  Installing gdal @1.9.2_0+expat
--->  Installing hdfeos @2.18_0
--->  Installing hdfeos5 @1.14_2
--->  Installing xorg-printproto @1.0.5_0
--->  Installing xorg-libXp @1.0.1_0

following each "Installing..." is a line stating "Activating..."

Below are the lines reported when MacPorts attempts to install lesstif:

--->  Fetching archive for lesstif
--->  Attempting to fetch lesstif-0.95.2_1.darwin_12.x86_64.tbz2 from http://packages.macports.org/lesstif
--->  Attempting to fetch lesstif-0.95.2_1.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/lesstif
--->  Attempting to fetch lesstif-0.95.2_1.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/lesstif
--->  Attempting to fetch lesstif-0.95.2_1.darwin_12.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/lesstif
--->  Fetching distfiles for lesstif
--->  Verifying checksum(s) for lesstif
--->  Extracting lesstif
--->  Applying patches to lesstif
--->  Configuring lesstif
Error: org.macports.configure for port lesstif returned: autoreconf failure: command execution failed
Error: Failed to install lesstif
Please see the log file for port lesstif for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_lesstif/lesstif/main.log
Error: The following dependencies were not installed: lesstif triangle vis5d mesa xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libXi xorg-inputproto tcl wgrib2 jasper xorg-libXaw
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ncarg failed

The lesstif main.log file is submitted here as well.

I attempted to proceed by changing directory to the lesstif-0.95.2 build directory, and running the 'autoreconf 'command by hand, using sudo. A warning about 'configure.in' being improperly named (should be 'configure.ac') was issued, along with an error about an obsolete macro (AM_CONFIG_HEADER). I duplicated the 'configure.in' to 'configure.ac', and changed the macro as directed in the error report.

I ran the 'autoreconf' command again, and received another obsolete macro error. Renamed the macro, ran 'autoreconf' again, and this time received errors about the same two obsolete macros, after descending into the 'test' directory. Changing those, finally received errors about 'possibly undefined macro' and other tokens. This is the limit of my understanding, so am reporting this to MacPorts.

I can provide the output from the manual 'autoreconf' commands, if desired.

Attachments (1)

lesstif_main.log (54.4 KB) - added by uthyr@… 11 years ago.
lesstif main.log file

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by uthyr@…

Attachment: lesstif_main.log added

lesstif main.log file

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

Keywords: Mountain Lion removed
Owner: changed from macports-tickets@… to lomion@…

In the future, please Cc the port maintainer(s).

automake 1.13 is bringing up this issue.

:info:configure aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
:info:configure configure.in:66: error: 'AM_CONFIG_HEADER': this macro is obsolete.
:info:configure     You should use the 'AC_CONFIG_HEADERS' macro instead.
:info:configure /opt/local/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
:info:configure configure.in:66: the top level
:info:configure autom4te: /opt/local/bin/gm4 failed with exit status: 1
:info:configure aclocal: error: echo failed with exit status: 1
:info:configure autoreconf: aclocal failed with exit status: 1

comment:2 in reply to:  1 Changed 11 years ago by uthyr@…

Sorry, will try to remember about the CC to the maintainer.

How should I proceed from here? Can I deactivate automake 1.13 and install automaker 1.12, to get by until the ports catch up with automake 1.13 and obsolete macros?

comment:3 Changed 11 years ago by uthyr@…

Cc: uthyr@… added

Cc Me!

comment:4 Changed 11 years ago by uthyr@…

on my MacBook Pro, I created a local port repository, and downloaded the Portfile for automake 1.12.6. Source code was downloaded from GNU automake repository, and put in the distfiles directory. After running 'portindex', I uninstalled the automaker 1.13.1 package, and installed the automake 1.13.6 version. Then I ran command 'sudo port install ncarg _gcc45'.

The first dependency that was installed was lesstif. The good news is that lesstif was successfully configured and installed using the old automake version. However, I noticed a warning, that I'll pass on here:

--->  Computing dependencies for ncarg
--->  Dependencies to be installed: lesstif triangle vis5d mesa xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libXi xorg-inputproto tcl wgrib2 jasper xorg-libXaw
--->  Configuring lesstif
--->  Building lesstif
--->  Staging lesstif into destroot
Warning: violation by /opt/local/LessTif
Warning: lesstif violates the layout of the ports-filesystems!
Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!
--->  Installing lesstif @0.95.2_1

I don't know if this is an artifact of my manipulations, or something that should be attended to in the lesstif port - but wanted to report it in case it was 'new' or 'unexpected' behavior.

comment:5 in reply to:  1 Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to macsforever2000@…:

In the future, please Cc the port maintainer(s).

automake 1.13 is bringing up this issue.

:info:configure aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
:info:configure configure.in:66: error: 'AM_CONFIG_HEADER': this macro is obsolete.
:info:configure     You should use the 'AC_CONFIG_HEADERS' macro instead.
:info:configure /opt/local/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
:info:configure configure.in:66: the top level
:info:configure autom4te: /opt/local/bin/gm4 failed with exit status: 1
:info:configure aclocal: error: echo failed with exit status: 1
:info:configure autoreconf: aclocal failed with exit status: 1

If this is just the automake1.13 issue, it should be pretty easy to fix by adding a simple reinplace to the portfile.

comment:6 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:7 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

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

comment:8 Changed 7 days ago by cooljeanius (Eric Gallager)

the lesstif port was removed in r147105; this can be closed now

comment:9 Changed 7 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.