Bug 157457 - lang/lua: setting TARGET_ARCH variable prevents compilation
Summary: lang/lua: setting TARGET_ARCH variable prevents compilation
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: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-31 10:20 UTC by Carl
Modified: 2011-06-18 20:13 UTC (History)
0 users

See Also:


Attachments
file.diff (377 bytes, patch)
2011-05-31 10:20 UTC, Carl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carl 2011-05-31 10:20:10 UTC
Trying to build /usr/ports/lang/lua with the following command results in a compilation failure:

env TARGET_ARCH=i386 make

The error message is:

cc: i386: No such file or directory

This is the identical problem documented in all of the following problem reports:

http://www.freebsd.org/cgi/query-pr.cgi?pr=147853
http://www.freebsd.org/cgi/query-pr.cgi?pr=151224
http://www.freebsd.org/cgi/query-pr.cgi?pr=156607

In addition to fixing the problem for lang/lua, please, please, please assign someone knowledgeable about this problem to the task of searching the entire ports collection for all instances of this same bug, rather than hoping random end users will eventually discover and report them all one at a time. It is simply wrong to waste end user time that way!

Carl                                                 / K0802647

Fix: The attached patch applied to /usr/ports/lang/lua/makefile fixed the problem for me, just as similar patches worked for problem reports ports/147853, ports/151224, and ports/156607.

Patch attached with submission follows:
How-To-Repeat: env TARGET_ARCH=i386 make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-31 10:20:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Olli Hauer freebsd_committer freebsd_triage 2011-06-18 20:13:08 UTC
State Changed
From-To: open->closed

Close the PR. 

Discussed in PR  
- ports/156607 
- ports/157479