Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8678

Packaging issue on gradle's library dependency

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Roger Shimizu <rogershimizu@gmail.com>
Newsgroups linux.debian.maint.java
Subject Packaging issue on gradle's library dependency
Date Sat, 19 Dec 2015 17:10:02 +0100
Message-ID <qHsf0-5oW-15@gated-at.bofh.it> (permalink)
X-Original-To debian-java@lists.debian.org
X-Mailbox-Line From debian-java-request@lists.debian.org Sat Dec 19 16:09:10 2015
Old-Return-Path <rogershimizu@gmail.com>
X-Amavis-Spam-Status No, score=-7.799 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-vk0-x22a.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=eD9+P/vD67JHTmei+pkdtOaNxo/nnEPwrO84ntJ9VMg=; b=P9IaFYIZUlQyHFBdsGsjD7FhmFLN3Lf3BasxMZhJx4Lhc2580KEZshJ5UlZkV4nXkL mpIdibPmJ0lP6qPdMCyom9uabrSDGfAGURVgSH3d79vOq5Fq7uOdP86jxCnLR01G+MaA qv9pA4ryJT+FTcFbXv+H0tOoQMNIOmeGORFrFeb7FjjhxNf2mfIbBrMMG5YtSeb3HRHJ MEcu0PfudB9W/omunQsm9Zo2weF5PLXOergwwuz0/dDkeJvVQeFy9aJNH3AyCjDj942N 5Dwts3sdlIZeFztSuHkT7l3a/cUUH7AtyXvmV/Z+Mkb8+G+gAImr2D79fxnqeS4ojkc0 hbhw==
X-Received by 10.31.154.213 with SMTP id c204mr6286774vke.38.1450540281048; Sat, 19 Dec 2015 07:51:21 -0800 (PST)
MIME-Version 1.0
Content-Type multipart/mixed; boundary=001a1140f52c2f6ce20527423a87
X-Mailing-List <debian-java@lists.debian.org> archive/latest/18997
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/CAEQ9gE=TBYC8cWkpFwNm+ZwA4bCXVUU32yvfH+aSSqrFE-oFhg@mail.gmail.com
Approved robomod@news.nic.it
Lines 122
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 20 Dec 2015 00:51:06 +0900
X-Original-Message-ID <CAEQ9gE=TBYC8cWkpFwNm+ZwA4bCXVUU32yvfH+aSSqrFE-oFhg@mail.gmail.com>
Xref csiph.com linux.debian.maint.java:8678

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Dear Java Team,

I'm in the progress of packaging a java program, smali. [0]
I met some problems, usually these should go to mentors list for help.
But it's quite java related, so here it is.

I cloned original repo from github, added the debian/ folder, and used
it's original gradle configuration to build. But it failed.
I already push it to my github in "pkg-smali" branch. [1]

the log looked like this:
==========================
Compiling build file '/home/roger/smali/baksmali/build.gradle' using
SubsetScriptTransformer.
    Replacing proguard:gradle:jar:5.2.1  ->  proguard:gradle:jar:debian

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':baksmali'.
> Could not resolve all dependencies for configuration ':baksmali:classpath'.
==========================
(full log is also enclosed)

I already installed proguard package by apt, also confirmed there's jar file:
- /usr/share/java/proguard.jar
inside this jar, there's "proguard/gradle/" folder.

So I don't know what's the problem.
I guess that maybe gradle need the "pom" file for the library, which
is lack of for proguard package.

Am I right? If so, do I need to submit a bugreport to proguard?

Sorry I'm a newbie of java packaging.
Please keep me in CC list when reply. Thank you!

BTW. Here's the command I tried to build:
  git clone https://github.com/rogers0/smali
  git checkout -b pkg-smali origin/pkg-smali
  gbp buildpackage -us -uc --git-verbose --git-ignore-branch 2>&1 |
tee ../log.txt

[0]: https://bugs.debian.org/808397
[1]: https://github.com/rogers0/smali/tree/pkg-smali

Cheers,
Roger

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar


Thread

Packaging issue on gradle's library dependency Roger Shimizu <rogershimizu@gmail.com> - 2015-12-19 17:10 +0100
  Re: Packaging issue on gradle's library dependency 殷啟聰 <seamlikok@gmail.com> - 2015-12-19 18:30 +0100
    Re: Packaging issue on gradle's library dependency Roger Shimizu <rogershimizu@gmail.com> - 2015-12-21 15:40 +0100
      Re: Packaging issue on gradle's library dependency 殷啟聰 <seamlikok@gmail.com> - 2015-12-21 16:10 +0100

csiph-web