Return-Path: X-Original-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B44D8D041 for ; Fri, 7 Dec 2012 20:29:01 +0000 (UTC) Received: (qmail 11902 invoked by uid 500); 7 Dec 2012 20:29:01 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 11876 invoked by uid 500); 7 Dec 2012 20:29:01 -0000 Mailing-List: contact mesos-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-dev@incubator.apache.org Delivered-To: mailing list mesos-dev@incubator.apache.org Received: (qmail 11867 invoked by uid 99); 7 Dec 2012 20:29:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2012 20:29:01 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bmahler@twitter.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vb0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2012 20:28:54 +0000 Received: by mail-vb0-f47.google.com with SMTP id e21so799073vbm.6 for ; Fri, 07 Dec 2012 12:28:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=twitter.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=7O4fx/AU1ysN8rX4FSF2JcxAr8803Ym+ya4Wp+ukXXw=; b=eSNaiv6kyx5sS7FoDebAfuix5Bl8vxbvndoHUnuJX+q520sasAeRvwXzqyPeK5sMxX N8zazRAtlZlGq3yY345L7VdU+Dxzy/v4uRDgLWD1uN6+zdi7OjDetiHTe/fVSCJJBAwS wKDjcyBB4maeb4G4k11Mhejhs+KMG2gxrn+cc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=7O4fx/AU1ysN8rX4FSF2JcxAr8803Ym+ya4Wp+ukXXw=; b=KGIPUtDXUUgQIm26oG2utvnTEyLRcTNER3wuXekAP3GIWhZrdZ5Xj4zeq4O4I82hGS JKqVUfYNyNJwbuiQ3MFFGUH/PGEENyGFEiaHlqbwii+kakP9GCPbGF6rvZkJahJiTqUw tDKSAvZB90r5nhp+oQkCb0FtLkoqsxeqpzi5UEHOXy/M1svz6x1qRe0uoKJtxqMpGaE6 CRuK3Oeol12+wURPApI5MT5BHNRsLAV6As8U92rxL6U5MAQSbpB0YiNo9Dk2LZjT+bD7 2R2TJ0KH51lxv1kJkhOD7qGQEakGcYj3NNFVjTNwvPN0bLXEqrp2s68yCNUnxDJmftTg 5QSQ== Received: by 10.52.180.131 with SMTP id do3mr3952498vdc.112.1354912113651; Fri, 07 Dec 2012 12:28:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.153.226 with HTTP; Fri, 7 Dec 2012 12:28:12 -0800 (PST) In-Reply-To: References: From: Benjamin Mahler Date: Fri, 7 Dec 2012 12:28:12 -0800 Message-ID: Subject: Re: Error building on Amazon Linux To: mesos-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=bcaec51969513c71de04d0490ffa X-Gm-Message-State: ALoCoQlFTK8Yuoj2eB47Mi2fss9oYObSxZAHNSfpoM3rWkZO9VJoMYT5CJLd5fIyAPeX/AkAh/m4 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51969513c71de04d0490ffa Content-Type: text/plain; charset=ISO-8859-1 Thanks for the report, I'll send out a review for this today. In the meantime, if you're keen to get going, a simple fix is to change third_party/libprocess/include/stout/protobuf.hpp line 131 from: } else if (length != size) { to: } else if (static_cast(length) != size) { It's interesting this only appears for you now, since this code was from 2011. On Fri, Dec 7, 2012 at 11:22 AM, Jim Donahue wrote: > This is off of trunk; gcc version is 4.6.2. > > Error message is "In function protobuf.hpp in function 'Result > protobuf::read(int, google::protobuf::Message*)': ... protobuf.hpp:131:24: > Comparison between signed and unsigned integer expressions > [-Werror=signed-compare]" > > Jim > > -----Original Message----- > From: Benjamin Mahler [mailto:bmahler@twitter.com] > Sent: Friday, December 07, 2012 11:09 AM > To: mesos-dev@incubator.apache.org > Subject: Re: Error building on Amazon Linux > > Thanks for the report, a few questions: > > Is this off of trunk? > Can you provide the gcc version? > Can you provide the unedited gcc error? (As in something with the line > number) > > Thanks! > > > On Fri, Dec 7, 2012 at 11:04 AM, Jim Donahue wrote: > > > I just tried building Mesos on Amazon Linux this morning, but it's > failing > > compiling protobuf.hpp in function Result protobuf::read(int, > > google::protobuf::Message*) with the error: > > > > Comparison between signed and unsigned integer expressions > > [-Werror=signed-compare] > > > > I think I've seen this before ... > > > > Jim Donahue > > Adobe Systems > > > > > --bcaec51969513c71de04d0490ffa--