Bug 106997

Summary: M4 port dies in building with info errors
Product: Ports & Packages Reporter: russo
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description russo 2006-12-21 11:30:21 UTC
For at least several weeks I have been unable to portupgrade m4 on two machines (both running 5.5 of similar vintages).  This interferes with portupgrading gnu-autoconf, gnu-automake, and bison, among others.

This is the error message toward the end of the make, when it fails:

-------------------
Making all in doc
Updating ./version.texi
restore=: && backupdir=".am$$" &&  am__cwd=`pwd` && cd . &&  rm -rf $backupdir && mkdir $backupdir &&  if (/bin/sh /usr/ports/devel/m4/work/m4-1.4.8/missing --run makeinfo --no-split --version) >/dev/null 2>&1; then  for f in ./m4.info ./m4.info-[0-9] ./m4.info-[0-9][0-9] ./m4.i[0-9] ./m4.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 /bin/sh /usr/ports/devel/m4/work/m4-1.4.8/missing --run makeinfo --no-split   -I .  -o ./m4.info ./m4.texinfo;  then  rc=0;  cd .;  else  rc=$?;  cd . &&  $restore $backupdir/* `echo "././m4.info" | sed 's|[^/]*$||'`;  fi;  rm -rf $backupdir; exit $rc
./m4.texinfo:451: Unknown command `'.
./m4.texinfo:1999: Unknown command `'.
./m4.texinfo:2001: Unknown command `'.
makeinfo: Removing output file `./m4.info' due to errors; use --force to preserve.
*** Error code 1

How-To-Repeat: Do a make in /usr/ports/devel/m4.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-12-21 11:45:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ade

Over to maintainer
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2006-12-21 12:05:19 UTC
State Changed
From-To: open->closed

Update your ports tree.  devel/m4 1.4.8_1 handles the texinfo issue 
as follows: 

.if ${OSVERSION} < 600000 
BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo 
CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo 
.endif