floodlight FTBFS (error: package org.jboss.netty.* does not exist)

Bug #1652766 reported by Hans Joachim Desserud on 2016-12-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
floodlight (Ubuntu)
Undecided
Unassigned

Bug Description

floodlight 0.90+dfsg-0ubuntu4 currently fails to build on Zesty with lots of error message related to org.jboss.netty.* classes. See below for a sample or https://launchpadlibrarian.net/298783247/buildlog_ubuntu-zesty-amd64.floodlight_0.90+dfsg-0ubuntu4_BUILDING.txt.gz for a complete build log.

It looks like the netty package has been updated to a new major version (4.x) since floodlight was intially packaged, and this might be the underlying cause for these errors. I see from https://github.com/floodlight/floodlight/releases that there has been several new releases of floodlight, including https://floodlight.atlassian.net/wiki/display/floodlightcontroller/Floodlight+v1.2 which mentions updated to netty 4. Maybe packaging a newer release would fix the issues?

Sample compilation errors:

compile:
    [javac] Compiling 356 source files to /<<BUILDDIR>>/floodlight-0.90+dfsg/target/bin
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] /<<BUILDDIR>>/floodlight-0.90+dfsg/src/main/java/net/floodlightcontroller/core/internal/Controller.java:76: error: package org.jboss.netty.bootstrap does not exist
    [javac] import org.jboss.netty.bootstrap.ServerBootstrap;
    [javac] ^
    [javac] /<<BUILDDIR>>/floodlight-0.90+dfsg/src/main/java/net/floodlightcontroller/core/internal/Controller.java:77: error: package org.jboss.netty.buffer does not exist
    [javac] import org.jboss.netty.buffer.ChannelBuffer;
    [javac] ^
    [javac] /<<BUILDDIR>>/floodlight-0.90+dfsg/src/main/java/net/floodlightcontroller/core/internal/Controller.java:78: error: package org.jboss.netty.buffer does not exist
    [javac] import org.jboss.netty.buffer.ChannelBuffers;
    [javac] ^
    [javac] /<<BUILDDIR>>/floodlight-0.90+dfsg/src/main/java/net/floodlightcontroller/core/internal/Controller.java:79: error: package org.jboss.netty.channel does not exist
    [javac] import org.jboss.netty.channel.Channel;
    [javac] ^

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

Other bug subscribers