Bug 106385 - devel/gnu-automake 1.10 doesn't build on FreeBSD 5.x.
Summary: devel/gnu-automake 1.10 doesn't build on FreeBSD 5.x.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ade Lovett
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-05 18:30 UTC by Jonathan Lennox
Modified: 2008-07-01 03:40 UTC (History)
0 users

See Also:


Attachments
automake.patch (485 bytes, patch)
2006-12-05 18:30 UTC, Jonathan Lennox
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lennox 2006-12-05 18:30:21 UTC
The texinfo documentation of automake version 1.10 uses the command @headitem,
a texinfo feature introduced in texinfo version 4.7.

/usr/src/contrib in FreeBSD 5 contains (a stripped-down version of) texinfo
4.6, and so the build of devel/gnu-automake 1.10 fails on those machines.

Fix: Make the port use the print/texinfo version of makeinfo on FreeBSD versions before 6.0.

See also PR ports/106379.
How-To-Repeat: On a FreeBSD 5.x machine:

cvsup your ports directory
cd /usr/ports/devel/gnu-automake
make

The make will fail with:

Making all in doc
Updating ./version.texi
restore=: && backupdir=".am$$" &&  am__cwd=`pwd` && cd . &&  rm -rf $backupdir && mkdir $backupdir &&  if (makeinfo --no-split --version) >/dev/null 2>&1; then  for f in ./automake.info ./automake.info-[0-9] ./automake.info-[0-9][0-9] ./automake.i[0-9] ./automake.i[0-9][0-9]; do  if test -f $f; then mv $f $backupdir; restore=mv; else :; fi;  done;  else :; fi &&  cd "$am__cwd";  if makeinfo --no-split   -I .  -o ./automake.info ./automake.texi;  then  rc=0;  cd .;  else  rc=$?;  cd . &&  $restore $backupdir/* `echo "././automake.info" | sed 's|[^/]*$||'`;  fi;  rm -rf $backupdir; exit $rc
./automake.texi:645: Unknown command `headitem'.
makeinfo: Removing output file `./automake.info' due to errors; use --force to preserve.
*** Error code 1

Stop in /usr/ports/devel/gnu-automake/work/automake-1.10/doc.
*** Error code 1

Stop in /usr/ports/devel/gnu-automake/work/automake-1.10.
*** Error code 1

Stop in /usr/ports/devel/gnu-automake.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-12-05 18:30:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ade

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2006-12-05 19:28:18 UTC
ade         2006-12-05 19:28:07 UTC

  FreeBSD ports repository

  Modified files:
    devel/gnu-automake   Makefile 
  Log:
  Fix building documentation under FreeBSD < 6.0
  
  PR:             106385 (with modifications)
  Submitted by:   Jonathan Lennox <lennox@cs.columbia.edu>
  
  Revision  Changes    Path
  1.64      +11 -2     ports/devel/gnu-automake/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Ade Lovett freebsd_committer freebsd_triage 2006-12-05 19:28:20 UTC
State Changed
From-To: open->closed

Committed, with modifications, thanks.
Comment 4 Igor Roshchin 2008-07-01 00:40:30 UTC
I just observed the same original problem on a 5.4 box with the ports
updated early morning (2008-06-30) using portsnap.

Either the patch is not properly checked in or something else reversed it.

Here is what worked for me:
chmod a-x /usr/bin/info
chmod a-x /usr/bin/texindex
chmod a-x /usr/bin/makeinfo
(I am not sure if all three are required, or a smaller subset will
suffice)

So, some patch to implement this may be needed.
Comment 5 Ade Lovett freebsd_committer freebsd_triage 2008-07-01 03:10:21 UTC
1.  This PR was closed on Tue Dec 5 19:28:20 UTC 2006
2.  devel/gnu-automake does not exist any more
3.  The only FreeBSD versions supported by the ports tree, as per  
numerous announcements, are RELENG_6 (currently 6.3-STABLE), RELENG_7  
(currently 7.0-STABLE) and HEAD (currently 8.0-CURRENT).

There's nothing to see here.  Move along.

-aDe