From nobody@FreeBSD.org  Sun Nov 15 20:36:23 2009
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 1C241106568F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Nov 2009 20:36:23 +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 0A57B8FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Nov 2009 20:36:23 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nAFKaML2067420
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Nov 2009 20:36:22 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nAFKaMgC067419;
	Sun, 15 Nov 2009 20:36:22 GMT
	(envelope-from nobody)
Message-Id: <200911152036.nAFKaMgC067419@www.freebsd.org>
Date: Sun, 15 Nov 2009 20:36:22 GMT
From: Frank Durda IV <uhclem@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ports/print/acroread - handbook and port fail to mention that linux emulation must be already on before attempting port build
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         140583
>Category:       docs
>Synopsis:       ports/print/acroread9 - handbook and port fail to mention that linux emulation must be already on before attempting port build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hrs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 15 20:40:00 UTC 2009
>Closed-Date:    
>Last-Modified:  Tue Nov 23 14:19:13 UTC 2010
>Originator:     Frank Durda IV
>Release:        8.0 RC3
>Organization:
>Environment:
FreeBSD walkoff.lonestar.org 8.0-RC3 FreeBSD 8.0-RC3 #0: Tue Nov 10 07:50:36 UTC
 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When following instructions from Handbook (6.4.1), it
states that to build acroread you merely need to

>How-To-Repeat:
On a freshly installed system where linux emulation
is not yet enabled, follow the instructions shown in the
handbook for building acroread7 (or alter that to build
acroread8 or acroread9).



>Fix:
Enabling emulation, rebooting and re-attempting the
make install clean appears to work as expected.
This appears to solve the issue for acroread7, 8 and 9
ports.

The linux_enable="YES prerequisite for the build to work
(never mind for operation, which can be understood)
should at least be mentioned in the handbook instructions,
and certainly stated in a README or something in the port
directory themselves where that dependency exists.

Alternatively, is there a way for the make file for the
port to turn emulation on before it gets going?  That might
be the most elegant solution.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->hrs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Nov 15 20:41:49 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140583 
>Unformatted:
 ># cd /usr/ports/print/acroread7
 ># make install clean
 
 (the example may be out of date - we are up to version 9 now),
 
 However, whichever is built, the make install clean fails because
 it appears make files for some of the dependent items require
 linux_enable="yes" to already be in effect before the make
 begins.
 
