Bug 204732 - lang/sdcc libsdcce.lib missing
Summary: lang/sdcc libsdcce.lib missing
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-22 11:03 UTC by smars
Modified: 2015-11-23 13:02 UTC (History)
0 users

See Also:
tijl: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!