Bug 192317 - [PATCH] lang/go fails to build on i386 systems
Summary: [PATCH] lang/go fails to build on i386 systems
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Many People
Assignee: Julien Laffaye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-01 19:29 UTC by Bartek Rutkowski
Modified: 2014-08-01 20:11 UTC (History)
0 users

See Also:


Attachments
go.diff (650 bytes, patch)
2014-08-01 19:29 UTC, Bartek Rutkowski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bartek Rutkowski freebsd_committer 2014-08-01 19:29:57 UTC
Created attachment 145228 [details]
go.diff

The port's pkg-plist has a %%ARCH%% variable in one line that causes the port build to fail on i386 systems due to duplicated lines. The fix is to remove that with 'amd64' string. The patch is applied, and below is the build log after applying the patch:

http://pd.valinor.palantiri.org/data/latest-per-pkg/go/1.3_1%2c1/
Comment 1 Bartek Rutkowski freebsd_committer 2014-08-01 19:30:34 UTC
Over to maintainer.
Comment 2 commit-hook freebsd_committer 2014-08-01 20:09:59 UTC
A commit references this bug:

Author: jlaffaye
Date: Fri Aug  1 20:09:54 UTC 2014
New revision: 363763
URL: http://svnweb.freebsd.org/changeset/ports/363763

Log:
  Fix plist on i386

  PR:		192317
  Submitted by:	robak

Changes:
  head/lang/go/Makefile
  head/lang/go/pkg-plist
Comment 3 Julien Laffaye freebsd_committer 2014-08-01 20:11:06 UTC
Committed! Thanks.