From nobody@FreeBSD.org  Sun Mar  2 18:03:04 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A08E61065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Mar 2008 18:03:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 804268FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Mar 2008 18:03:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m22I08NI062802
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 2 Mar 2008 18:00:08 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m22I08qT062800;
	Sun, 2 Mar 2008 18:00:08 GMT
	(envelope-from nobody)
Message-Id: <200803021800.m22I08qT062800@www.freebsd.org>
Date: Sun, 2 Mar 2008 18:00:08 GMT
From: Olivier Smedts <olivier@gid0.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/libtool15 build failure with WITHOUT_INFO=yes
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121296
>Category:       ports
>Synopsis:       devel/libtool15 build failure with WITHOUT_INFO=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ade
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 02 18:10:03 UTC 2008
>Closed-Date:    Sat Mar 15 04:56:28 UTC 2008
>Last-Modified:  Sat Mar 15 04:56:28 UTC 2008
>Originator:     Olivier Smedts
>Release:        7.0-RELEASE
>Organization:
gid0.org
>Environment:
FreeBSD zimbra.gid0.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Fri Feb 29 20:43:15 CET 2008     root@z.gid0.org:/work/obj/work/src/sys/XPC  i386
>Description:
devel/libtool15 can't be built when world has been installed with WITHOUT_INFO=yes in make.conf or src.conf. 'Making all in doc' need makeinfo.

=> libtool-1.5.24.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://ftp.gnu.org/gnu/libtool/.
libtool-1.5.24.tar.gz                         100% of 2851 kB  316 kBps
===>  Extracting for libtool-1.5.24
=> MD5 Checksum OK for libtool-1.5.24.tar.gz.
=> SHA256 Checksum OK for libtool-1.5.24.tar.gz.
===>  Patching for libtool-1.5.24
===>  Applying FreeBSD patches for libtool-1.5.24
===>  Configuring for libtool-1.5.24
[...]
===>  Building for libtool-1.5.24
Making all in .
CONFIG_FILES=libtoolize CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating libtoolize
config.status: executing depfiles commands
chmod +x libtoolize
Making all in libltdl
rm -f stamp-h1
touch ./config-h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-am
Making all in doc
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 ./libtool.info ./libtool.info-[0-9] ./libtool.info-[0-9][0-9] ./libtool.i[0-9] ./libtool.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 ./libtool.info ./libtool.texi;  then  rc=0;  cd .;  else  rc=$?;  cd . &&  $restore $backupdir/* `echo "././libtool.info" | sed 's|[^/]*$||'`;  fi;  rm -rf $backupdir; exit $rc
makeinfo: not found
*** Error code 127

Stop in /usr/ports/devel/libtool15/work/libtool-1.5.24/doc.
*** Error code 1

Stop in /usr/ports/devel/libtool15/work/libtool-1.5.24.
*** Error code 1

Stop in /usr/ports/devel/libtool15.
*** Error code 1

>How-To-Repeat:
Try to install devel/libtool15 in a jail which has been installed with WITHOUT_INFO=yes in make.conf or src.conf.
>Fix:
I don't have a patch. But I could install libtool by removing the line 'CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"' in the port's Makefile. After that, "make" displays a warning cause makeinfo is missing, but it doesn't fail.

>Release-Note:
>Audit-Trail:

From: "Olivier SMEDTS" <olivier@gid0.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: misc/121296: devel/libtool15 build failure with WITHOUT_INFO=yes
Date: Sun, 2 Mar 2008 19:18:33 +0100

 I also had to remove the line 'INFO?=          libtool' from the
 port's Makefile in order to be able to "make install". Else :
 
 Making install in doc
 test -z "/usr/local/info/" || .././install-sh -c -d "/usr/local/info/"
  install  -o root -g wheel -m 444 './libtool.info'
 '/usr/local/info//libtool.info'
 Making install in tests
 install-info --quiet /usr/local/info/libtool.info /usr/local/info/dir
 install-info:No such file or directory
 *** Error code 1
 
 Stop in /usr/ports/devel/libtool15.
 *** Error code 1
 
 -- 
 Olivier Smedts                                                 _
                                         ASCII ribbon campaign ( )
 e-mail: olivier@gid0.org        - against HTML email & vCards  X
 www: http://www.gid0.org    - against proprietary attachments / \
 
   "Il y a seulement 10 sortes de gens dans le monde :
   ceux qui comprennent le binaire,
   et ceux qui ne le comprennent pas."
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sun Mar 2 20:32:35 UTC 2008 
Responsible-Changed-Why:  
reassign to ports team 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121296 
Responsible-Changed-From-To: freebsd-ports-bugs->ade 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Mar 2 21:39:16 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121296 
State-Changed-From-To: open->closed 
State-Changed-By: ade 
State-Changed-When: Sat Mar 15 04:53:57 UTC 2008 
State-Changed-Why:  
Building word with various WITHOUT_* knobs (particularly WITHOUT_INFO) 
will break a considerable number of ports, not just libtool, that make 
use of makeinfo et al. -- ie: this is not libtool-specific. 

A case could possibly be made for some extra logic within Mk/bsd.port.mk 
where a port defines INFO, and then suitable checks are made for either 
a base-supplied makeinfo, or fallback to BUILD_DEPENDS on the texinfo 
port, but that is outside of the scope of this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121296 
>Unformatted:
