Bug 196592 - devel/ncurses: fails to build on armv6
Summary: devel/ncurses: fails to build on armv6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Some People
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-07 14:06 UTC by Mikael Urankar
Modified: 2015-01-12 21:06 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bapt)


Attachments
use CC instead of LD (884 bytes, patch)
2015-01-07 14:06 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer 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 2015-01-07 14:06:38 UTC
Auto-assigned to maintainer bapt@FreeBSD.org
Comment 2 Sean Bruno freebsd_committer 2015-01-07 16:37:57 UTC
I'll do some test builds today.
Comment 3 Mikael Urankar freebsd_committer 2015-01-12 21:06:03 UTC
fixed in 376487: https://svnweb.freebsd.org/changeset/ports/376487