Issue 510 in protobuf: Make fails on FreeBSD 9.0

26 views
Skip to first unread message

prot...@googlecode.com

unread,
May 7, 2013, 5:39:54 AM5/7/13
to prot...@googlegroups.com
Status: New
Owner: liu...@google.com
Labels: Type-Defect Priority-Medium

New issue 510 by peter.robinett: Make fails on FreeBSD 9.0
http://code.google.com/p/protobuf/issues/detail?id=510

What steps will reproduce the problem?
1. portsnap fetch; portsnap update
2. cd /usr/ports/net/mosh
3. make

What is the expected output? What do you see instead?

Expected protobuf, as a dependency of Mosh (http://mosh.mit.edu/), to
compile successfully. Instead, it failed:

libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -pthread
-Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -pipe
-fno-strict-aliasing -MT descriptor.lo -MD -MP -MF .deps/descriptor.Tpo -c
google/protobuf/descriptor.cc -fPIC -DPIC -o .libs/descriptor.o
{standard input}: Assembler messages:
{standard input}:3314: Warning: end of file not at end of a line; newline
inserted
{standard input}:4042: Error: expected comma after name
`_ZN6google8protobuf17DescriptorBuilder17OptionInterpre' in .size directive
c++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[2]: *** [descriptor.lo] Error 1
gmake[2]: Leaving directory
`/usr/ports/devel/protobuf/work/protobuf-2.5.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/protobuf/work/protobuf-2.5.0'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/devel/protobuf.
*** Error code 1

Stop in /usr/ports/net/mosh.

What version of the product are you using? On what operating system?

Protocol Buffers 2.5.0 via Mosh

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

prot...@googlecode.com

unread,
May 7, 2013, 6:28:56 AM5/7/13
to prot...@googlegroups.com

Comment #1 on issue 510 by and...@mit.edu: Make fails on FreeBSD 9.0
http://code.google.com/p/protobuf/issues/detail?id=510

The similar report at
http://forums.freebsd.org/archive/index.php/t-28304.html suggests that you
may have run out of disk space during the compile?

prot...@googlecode.com

unread,
May 7, 2013, 7:44:58 AM5/7/13
to prot...@googlegroups.com

Comment #2 on issue 510 by peter.robinett: Make fails on FreeBSD 9.0
http://code.google.com/p/protobuf/issues/detail?id=510

My main partition has 50% (7 GB) free, though there isn't a lot of free
memory (200 MB). Reading more from that link, the machine was out of swap
space: `pid 2794 (cc1plus), uid 0, was killed: out of swap space`. As there
doesn't actually seem to be any swap on the machine, I assume it ran out of
memory while compiling.

So, the problem was all on my side. Thanks for your help.
Reply all
Reply to author
Forward
0 new messages