Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2013 19:33:56 GMT
From:      Michael Moll <kvedulv@kvedulv.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177084: devel/protobuf fails to build on sparc64
Message-ID:  <201303181933.r2IJXu7j012714@red.freebsd.org>
Resent-Message-ID: <201303181940.r2IJe2im099813@freefall.freebsd.org>

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

>Number:         177084
>Category:       ports
>Synopsis:       devel/protobuf fails to build on sparc64
>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:   Mon Mar 18 19:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Michael Moll
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD darkthrone.kvedulv.de 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243713: Sat Dec  1 00:54:35 CET 2012     mmoll@darkthrone.kvedulv.de:/usr/obj/usr/4

>Description:
After the last update of the port (to 2.5.0), when building devel/protobuf on a sparc64 machine, the following error is occouring:
[...]
/bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I..    -D_THREAD_SAFE -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wc
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -pipe -mcpuo
In file included from ./google/protobuf/stubs/atomicops.h:59,
                 from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
./google/protobuf/stubs/platform_macros.h:61:2: error: #error Host architecture was not detected as supported by protobuf
In file included from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
./google/protobuf/stubs/atomicops.h:188: error: stray '#' in program
./google/protobuf/stubs/atomicops.h:188: error: expected constructor, destructor, or type conversion before string constant
gmake[2]: *** [atomicops_internals_x86_gcc.lo] Error 1

>How-To-Repeat:
build devel/protobuf on a sparc64 machine (?)
>Fix:


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



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