Bug 196592

Summary: devel/ncurses: fails to build on armv6
Product: Ports & Packages Reporter: Mikael Urankar <mikael>
Component: Individual Port(s)Assignee: Baptiste Daroussin <bapt>
Status: Closed FIXED    
Severity: Affects Some People CC: sbruno
Priority: --- Flags: bugzilla: maintainer-feedback? (bapt)
Version: Latest   
Hardware: arm   
OS: Any   
Attachments:
Description Flags
use CC instead of LD none

Description Mikael Urankar freebsd_committer freebsd_triage 2015-01-07 14:06:38 UTC
Created attachment 151458 [details]
use CC instead of LD

Hi,

The build is broken on armv6 because 2 libraries doesn't link against libgcc (the build uses ld directly)

To apply the patch:
cd /usr/ports/devel/ncurses
mkdir files
patch < /path/to/patch
find /usr/ports/devel/ncurses/files -name "*.orig" -delete

failure log:
http://chips.ysv.freebsd.org/data/11armv6-11armv6/2015-01-07_01h29m17s/logs/errors/ncurses-5.9.20141213.log

with patch log:
http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/ncurses-5.9.20141213.log
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-07 14:06:38 UTC
Auto-assigned to maintainer bapt@FreeBSD.org
Comment 2 Sean Bruno freebsd_committer freebsd_triage 2015-01-07 16:37:57 UTC
I'll do some test builds today.
Comment 3 Mikael Urankar freebsd_committer freebsd_triage 2015-01-12 21:06:03 UTC
fixed in 376487: https://svnweb.freebsd.org/changeset/ports/376487