Bug 204732

Summary: lang/sdcc libsdcce.lib missing
Product: Ports & Packages Reporter: smars
Component: Individual Port(s)Assignee: Tijl Coosemans <tijl>
Status: Closed FIXED    
Severity: Affects Some People Flags: tijl: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description smars 2015-11-22 11:03:40 UTC
'libsdcce.lib' is not built (the library is needed for pic14 enhanced cores microcontrollers).

"./configure --enable-new-pics" should allow building it but boost library is not found in the process.

A crude hack allows to build it:
"ln -s /usr/local/include/boost/ /usr/include"
But it is certainly possible to fix it more elegantly.

Thanks!
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2015-11-22 16:32:06 UTC
--enable-new-pics no longer exists so make sure you have an up to date ports tree and that you have the latest gputils installed.  I did discover a build problem in sdcc with non-default locales on recent FreeBSD head.  You can work around that for now by building with "env LANG=C make".
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-11-22 19:27:17 UTC
A commit references this bug:

Author: tijl
Date: Sun Nov 22 19:26:16 UTC 2015
New revision: 402241
URL: https://svnweb.freebsd.org/changeset/ports/402241

Log:
  Set NOPRECIOUSMAKEVARS so bsd.port.mk doesn't pass ARCH to submakes.

  PR:		204732

Changes:
  head/lang/sdcc/Makefile
  head/lang/sdcc-devel/Makefile
Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2015-11-22 19:29:56 UTC
There was another problem that could cause libsdcc to be missing.  It should be ok now.
Comment 4 smars 2015-11-23 13:02:44 UTC
thanks!