Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2011 16:08:45 GMT
From:      Oliver Hartmann <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163288: devel/libzvbi fails to compile
Message-ID:  <201112141608.pBEG8jX6055131@freefall.freebsd.org>
Resent-Message-ID: <201112141610.pBEGA9fl055210@freefall.freebsd.org>

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

>Number:         163288
>Category:       ports
>Synopsis:       devel/libzvbi fails to compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 14 16:10:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
>Description:
Building library devel/libzvbi with CLANG ends up in the following error:

===>  Building for libzvbi-0.2.33_3
/usr/bin/make  all-recursive
Making all in m4
Making all in src
/usr/bin/make  all-recursive
Making all in dvb
if /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H  -I. -I. -I..  -I..  -I/usr/local/include  -D_REENTRANT  -D_GNU_SOURCE -I/usr/local/include   -O3 -fno-strict-aliasing -pipe -march=native -I/usr/local/include -MT bit_slicer.lo -MD -MP -MF ".deps/bit_slicer.Tpo" -c -o bit_slicer.lo bit_slicer.c;  then mv -f ".deps/bit_slicer.Tpo" ".deps/bit_slicer.Plo"; else rm -f ".deps/bit_slicer.Tpo"; exit 1; fi
mkdir .libs
 clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -I/usr/local/include -O3 -fno-strict-aliasing -pipe -march=native -I/usr/local/include -MT bit_slicer.lo -MD -MP -MF .deps/bit_slicer.Tpo -c bit_slicer.c  -fPIC -DPIC -o .libs/bit_slicer.o
In file included from bit_slicer.c:28:
./misc.h:56:5: error: invalid token at start of a preprocessor expression
#if #cpu (i386)
    ^
./misc.h:59:5: error: invalid token at start of a preprocessor expression
#if #cpu (i686)
    ^
2 errors generated.
*** Error code 1

Stop in /usr/ports/devel/libzvbi/work/zvbi-0.2.33/src.
*** Error code 1

Stop in /usr/ports/devel/libzvbi/work/zvbi-0.2.33/src.
*** Error code 1

Stop in /usr/ports/devel/libzvbi/work/zvbi-0.2.33/src.
*** Error code 1

Stop in /usr/ports/devel/libzvbi/work/zvbi-0.2.33.
*** Error code 1

Stop in /usr/ports/devel/libzvbi/work/zvbi-0.2.33.
*** Error code 1

Stop in /usr/ports/devel/libzvbi.

===>>> make failed for devel/libzvbi
===>>> Aborting update

===>>> Update for devel/libzvbi failed
===>>> Aborting update

>How-To-Repeat:

>Fix:


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



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