Summary: | lang/nhc98 fails to build with GCC 4.9 (core dump) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Gerald Pfeifer <gerald> | ||||
Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | haskell, pgj, tobik | ||||
Priority: | --- | Flags: | pgj:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Gerald Pfeifer
2015-01-18 23:18:20 UTC
Auto-assigned to maintainer haskell@FreeBSD.org Feel free to add USE_GCC=4.8 to the port's Makefile, do not be blocked just because of this. I can it do for you, although I have some other things in the queue so it may take a couple more days. Whichever works for you. A commit references this bug: Author: gerald Date: Tue Jan 20 00:13:22 UTC 2015 New revision: 377491 URL: https://svnweb.freebsd.org/changeset/ports/377491 Log: This fails to properly build with GCC 4.9, so force GCC 4.8 for the time being. PR: 196857 Approved by: pgj (maintainer) Changes: head/lang/nhc98/Makefile Thanks Gabor, this is what I did for now. Appreciate you having a closer look later on as time permits to solve this for real. Hi Tobias, I noticed this one got stalled for a long while -- perhaps giving a try with GCC 5 (via USE_GCC=yes) or GCC 6 (via USE_GCC=6+) might be worthwhile? (In reply to Gerald Pfeifer from comment #5) It builds fine with USE_GCC=yes or USE_GCC=6+. There were a couple of QA issues detected by Poudriere testport about orphaned pkg-plist items though. I also added --buildwith=gcc since I was concerned that the build would pick up ghc when it happens to be installed on the system. I don't if this is really necessary though. On another note: nhc98 seems to be dead. The last commit to their development repository was in 2011, 6 years ago, it supports 32-bit systems only, and no other port depends on it. Is their still a point to this port? Bugzilla seems to be bugged at the moment and I can't attach the diff, so I've uploaded it here: https://pkg.tobik.me/patches/nhc98.diff Created attachment 182206 [details]
nhc98.diff
Since there were no objections to the suggested patch, I'll commit it with maintainer timeout. A commit references this bug: Author: tobik Date: Tue Jul 25 14:40:21 UTC 2017 New revision: 446587 URL: https://svnweb.freebsd.org/changeset/ports/446587 Log: Allow building of lang/nhc98 with GCC >= 5 PR: 196857 Reported by: gerald Approved by: haskell (maintainer timeout, 2 months+) Changes: head/lang/nhc98/Makefile head/lang/nhc98/pkg-plist |