build break help

Amir Sanjar v1sanjar at us.ibm.com
Tue Oct 15 12:33:39 UTC 2013


thanks Mikolaj, you said mvn-rpmbuild has been deprecated, what is the
replacement?

Best Regards
Amir Sanjar

PowerLinux Open Source Hadoop Architect
IBM Senior Software Engineer
Phone# 512-286-8393
Fax#      512-838-8858





From:	Mikolaj Izdebski <mizdebsk at redhat.com>
To:	bigdata at lists.fedoraproject.org
Date:	10/15/2013 01:40 AM
Subject:	Re: build break help
Sent by:	bigdata-bounces at lists.fedoraproject.org



On 10/15/2013 03:39 AM, Amir Sanjar wrote:
>
>
> Following below instructions listed at Test Suite section at
> https://fedoraproject.org/wiki/Changes/Hadoop#Test_suite
>
> Test suite
> In order to attempt to run any part of the test suite, you must first
build
> the components (F18,F19):
>    1.		 git clone
git://github.com/fedora-bigdata/hadoop-common.git
>    2.		 cd hadoop-common
>    3.		 git checkout -b fedora-2.0.5-alpha-test
>       origin/fedora-2.0.5-alpha-test
>    4.		 mvn-rpmbuild -Pdist,native -DskipTest -DskipTests
-DskipIT install

mvn-rpmbuild script is deprecated and retained (for now) only for
compatibility with legacy packages.  It should not be used.

> I get following errors (in red), any help in advance would be
appreciated .
>
>
[ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[98,30]

>  cannot find symbol
>   symbol:   method setHost(java.lang.String)
>   location: interface org.eclipse.jetty.server.Connector
>
[ERROR] /home/sanjar/development/hadoop/fedora/release-2.0.5/hadoop-common/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[99,30]

>  cannot find symbol
>   symbol:   method setPort(int)
>   location: interface org.eclipse.jetty.server.Connector

Looks like missing dependency (less likely) or incompatible dependency
version (more likely).

Generic algorithm in this case is:

Identify which dependencies differ
For each different dependency do:
  If upstream dependency is newer then
    update Fedora package providing the dependency
  else
    set dependency version in POM to the version used in Fedora
    port project (i.e. resolve compilation problems and test failures)
    create patch against upstream version
Build the package with created patches
Forward patches upstream

--
Mikolaj Izdebski
IRC: mizdebsk
_______________________________________________
bigdata mailing list
bigdata at lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/bigdata
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/bigdata/attachments/20131015/73cdb69c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/bigdata/attachments/20131015/73cdb69c/attachment.gif>


More information about the bigdata mailing list