mvn package build failure

Bug #782000 reported by Trent Larson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Social-P2P
Fix Committed
Medium
Ted

Bug Description

I just cloned the git repo here: git clone git://gitorious.org/social-p2p/core.git

Then I ran 'mvn package' and got dozens of compile errors. Here's the start:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/Users/tlarson/Documents/dev/social-p2p/src/main/java/gnu/social/transport/thrift/ThriftUiToAgentTransport.java:[5,44] package gnu.social.transport.thrift.UiToAgent does not exist

/Users/tlarson/Documents/dev/social-p2p/src/main/java/gnu/social/transport/thrift/ThriftUiToAgentTransport.java:[6,44] package gnu.social.transport.thrift.UiToAgent does not exist

/Users/tlarson/Documents/dev/social-p2p/src/main/java/gnu/social/transport/UiToAgentTransport.java:[3,34] cannot find symbol
symbol : class UiToAgent
location: package gnu.social.transport.thrift

Revision history for this message
Miron Cuperman (devrandom) wrote : Re: [Bug 782000] [NEW] mvn package build failure

You have first have to run bin/do-thrift.sh after installing thrift.
Sorry about the missing build instructions.

On 05/12/2011 09:25 PM, Trent Larson wrote:
> Public bug reported:
>
> I just cloned the git repo here: git clone git://gitorious.org/social-
> p2p/core.git
>
> Then I ran 'mvn package' and got dozens of compile errors. Here's the
> start:
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /Users/tlarson/Documents/dev/social-
> p2p/src/main/java/gnu/social/transport/thrift/ThriftUiToAgentTransport.java:[5,44]
> package gnu.social.transport.thrift.UiToAgent does not exist
>
> /Users/tlarson/Documents/dev/social-
> p2p/src/main/java/gnu/social/transport/thrift/ThriftUiToAgentTransport.java:[6,44]
> package gnu.social.transport.thrift.UiToAgent does not exist
>
> /Users/tlarson/Documents/dev/social-p2p/src/main/java/gnu/social/transport/UiToAgentTransport.java:[3,34] cannot find symbol
> symbol : class UiToAgent
> location: package gnu.social.transport.thrift
>
> ** Affects: social-p2p
> Importance: Undecided
> Status: New
>

Revision history for this message
Ted (tedks) wrote :

I'll write up a build document when I'm done with finals in about a week.

Changed in social-p2p:
assignee: nobody → Ted (tedks)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Trent Larson (larsontrent) wrote :

Sounds good. Just FYI: I successfully installed thrift, but I'm still getting errors like the following.

[INFO] Compilation failure

/Users/tlarson/Documents/dev/social-p2p/src/main/java/gnu/social/experimental/TestDB.java:[18,28] cannot find symbol
symbol : class OpaqueData
location: package gnu.social.agent.data

/Users/tlarson/Documents/dev/social-p2p/src/main/java/gnu/social/db/KVAdapter.java:[19,28] cannot find symbol
symbol : class OpaqueData
location: package gnu.social.agent.data

Revision history for this message
Ted (tedks) wrote :

Hm, I get the same error. I'll look into that, but I'm going to decide that's a different bug ;-)

Changed in social-p2p:
status: In Progress → Fix Committed
Revision history for this message
stepson (c-conduche-l) wrote :

mvn build works if changing the thrift library version

i check with miron how to post the changes I made this week end to pom.xml

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.