Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 21:34:09 GMT
From:      Makoto Kishimoto <ksmakoto@dd.iij4u.or.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170467: Unintended effect of /usr/local/include/base64.h in building Firefox
Message-ID:  <201208072134.q77LY9qj068145@red.freebsd.org>
Resent-Message-ID: <201208072140.q77Le1ax027008@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170467
>Category:       ports
>Synopsis:       Unintended effect of /usr/local/include/base64.h in building Firefox
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 07 21:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Makoto Kishimoto
>Release:        8.3-STABLE
>Organization:
private
>Environment:
FreeBSD norikura.localdomain 8.3-STABLE FreeBSD 8.3-STABLE #0 r235428: Wed May 16 18:32:03 JST 2012     ksmakoto@norikura.localdomain:/export/obj/usr/src/sys/NORIKURA20120516  amd64
>Description:
Some people reports that building of Firefox failed with
 "error: 'BTOA_DataToAscii' was not declared in this scope" .

For example,
http://lists.freebsd.org/pipermail/freebsd-questions/2012-July/243943.html
http://lists.freebsd.org/pipermail/freebsd-questions/2012-July/243957.html

This is caused by unintended interference with Firefox local base64.h and /usr/local/include/base64.h .

Some ports install /usr/local/include/base64.h , or manually put it,
then, Firefox sourcecode include it mistaken, and build failed.
>How-To-Repeat:

>Fix:
This is not fix, but workaround.

Temporarily move or rename /usr/local/include/base64.h during build of Firefox,
(or uninstall the ports that have /usr/local/include/base64.h
 (security/heimdal))

A candidate of fix is modify heimdal ports to install
/usr/local/include/heimdal/base64.h , instead of /usr/local/include/base64.h .

But IMHO, the best is modify include search path of build of Firefox .

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208072134.q77LY9qj068145>