Processed: Re: Bug#835430: libphonenumber: FTBFS in unstable (org.easymock:easymockclassextension:jar:debian artifact not available)

2016-08-27 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> notfound 835430 libphonenumber/7.1.0-4
Bug #835430 [src:libphonenumber] libphonenumber: FTBFS in unstable 
(org.easymock:easymockclassextension:jar:debian artifact not available)
No longer marked as found in versions libphonenumber/7.1.0-4.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
835430: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835430
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#835430: libphonenumber: FTBFS in unstable (org.easymock:easymockclassextension:jar:debian artifact not available)

2016-08-25 Thread Sebastiaan Couwenberg

On 08/25/16 20:02, Markus Koschany wrote:

I think the issue is not unrelated to protobuf 3.0.0. Yesterday I filed
https://bugs.debian.org/835358 because protobuf used a wrong pom.xml
file which provides important information like groupids or artifactids.

So this bug got resolved today but now I see that the new pom.xml file
differs in one important aspect from earlier ones, e.g. from  version
2.6.1 [1]. The pom.xml file for version 3.0.0 [2] declares junit and
easymock as dependencies while the older one sets the scope to test
only. At the moment the dependencies are required at build time and I
think that shouldn't be necessary.

I'm attaching a patch that should address this issue for all
reverse-dependencies but it must be applied in src:protobuf. If there
are no objections, I'm going ahead and file another bug report tomorrow.


That sounds good, please go ahead and file the protobuf bugreport. Since 
libprotobuf-java pulls in those dependencies, it should either depend on 
the respective packages or not require them as per your patch.


Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#835430: libphonenumber: FTBFS in unstable (org.easymock:easymockclassextension:jar:debian artifact not available)

2016-08-25 Thread Markus Koschany
On 25.08.2016 18:08, Bas Couwenberg wrote:
> Source: libphonenumber
> Version: 7.1.0-4
> Severity: serious
> Justification: makes the package in question unusable or mostly so
> Control: block 835170 by -1
> 
> Dear Maintainer,
> 
> The recent upload of protobuf 3.0.0 to unstable has started an
> uncoordinated transition (#835170). Unfortunately your package FTBFS due
> to an unrelated issue:

Hi Bas,

I think the issue is not unrelated to protobuf 3.0.0. Yesterday I filed
https://bugs.debian.org/835358 because protobuf used a wrong pom.xml
file which provides important information like groupids or artifactids.

So this bug got resolved today but now I see that the new pom.xml file
differs in one important aspect from earlier ones, e.g. from  version
2.6.1 [1]. The pom.xml file for version 3.0.0 [2] declares junit and
easymock as dependencies while the older one sets the scope to test
only. At the moment the dependencies are required at build time and I
think that shouldn't be necessary.

I'm attaching a patch that should address this issue for all
reverse-dependencies but it must be applied in src:protobuf. If there
are no objections, I'm going ahead and file another bug report tomorrow.

Regards,

Markus


[1]
https://anonscm.debian.org/cgit/pkg-protobuf/pkg-protobuf.git/tree/java/pom.xml?h=debian/2.6.1-2

[2] https://sources.debian.net/src/protobuf/3.0.0-4/java/core/pom.xml/
From: Markus Koschany 
Date: Thu, 25 Aug 2016 18:58:17 +0200
Subject: protobuf-java

---
 java/core/pom.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/java/core/pom.xml b/java/core/pom.xml
index 39d6781..20ed02a 100644
--- a/java/core/pom.xml
+++ b/java/core/pom.xml
@@ -22,14 +22,17 @@
 
   junit
   junit
+  test
 
 
   org.easymock
   easymock
+  test
 
 
   org.easymock
   easymockclassextension
+  test
 
   
 


signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#835430: libphonenumber: FTBFS in unstable (org.easymock:easymockclassextension:jar:debian artifact not available)

2016-08-25 Thread Bas Couwenberg
Source: libphonenumber
Version: 7.1.0-4
Severity: serious
Justification: makes the package in question unusable or mostly so
Control: block 835170 by -1

Dear Maintainer,

The recent upload of protobuf 3.0.0 to unstable has started an
uncoordinated transition (#835170). Unfortunately your package FTBFS due
to an unrelated issue:

 [ERROR] Failed to execute goal on project cpp-build: Could not resolve 
dependencies for project 
com.google.i18n.phonenumbers.tools:cpp-build:jar:1.0-SNAPSHOT: Cannot access 
central (https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.easymock:easymockclassextension:jar:debian has not been downloaded from it 
before. -> [Help 1]

The full buildlog is attached.

Kind Regards,

Bas
I: using cowbuilder as pbuilder
dpkg-checkbuilddeps: Unmet build dependencies: g++-6 libgtest-dev 
libprotobuf-dev (>= 3.0.0-4) libre2-dev protobuf-compiler (>= 3.0.0-4) 
default-jdk-doc libmaven-assembly-plugin-java libmaven-exec-plugin-java 
libmaven-war-plugin-java libprotobuf-java (>= 3.0.0-4) libservlet3.1-java-doc
W: Unmet build-dependency in source
dpkg-buildpackage: source package libphonenumber
dpkg-buildpackage: source version 7.1.0-5
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Markus Koschany 
 dpkg-source --before-build libphonenumber-7.1.0
 fakeroot debian/rules clean
test -x debian/rules
mkdir -p "."
/usr/share/maven-debian-helper/copy-repo.sh 
/home/bas/tmp/debian/libphonenumber-7.1.0/debian
mh_patchpoms -plibphonenumber7-java --debian-build --keep-pom-version 
--maven-repo=/home/bas/tmp/debian/libphonenumber-7.1.0/debian/maven-repo  
--build-no-docs --ignore-rules=debian/maven.ignoreRules 
--clean-ignore-rules=debian/maven.cleanIgnoreRules
touch debian/stamp-poms-patched
cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp 
/usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar 
-Dproperties.file.manual=/home/bas/tmp/debian/libphonenumber-7.1.0/debian/maven.properties
 -Dclassworlds.conf=/etc/maven2/m2-debian.conf 
org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml 
-Dmaven.repo.local=/home/bas/tmp/debian/libphonenumber-7.1.0/debian/maven-repo  
clean
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your 
local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Libphonenumber build tools
[INFO]   Libphonenumber common library for build tools
[INFO]   Libphonenumber C++ build tools
[INFO]   Libphonenumber Data tools
[INFO]   Libphonenumber Java and JavaScript build tools
[INFO]   Unnamed - com.googlecode.libphonenumber:libphonenumber-parent:pom:7.1.0
[INFO]   Unnamed - com.googlecode.libphonenumber:libphonenumber:jar:7.1.0
[INFO]   Unnamed - com.googlecode.libphonenumber:prefixmapper:jar:2.28
[INFO]   Unnamed - com.googlecode.libphonenumber:carrier:jar:1.18
[INFO]   Unnamed - com.googlecode.libphonenumber:geocoder:jar:2.28
[INFO]   Unnamed - 
com.google.i18n.phonenumbers:libphonenumber-build-parent:pom:1.0-SNAPSHOT
[INFO] 
[INFO] Building Libphonenumber build tools
[INFO]task-segment: [clean]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] 
[INFO] Building Libphonenumber common library for build tools
[INFO]task-segment: [clean]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] 
[INFO] Building Libphonenumber C++ build tools
[INFO]task-segment: [clean]
[INFO] 
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.codehaus.mojo:exec-maven-plugin' does not exist or no 
valid version could be found
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 second
[INFO] Finished at: Thu Aug 25 14:39:17 CEST 2016
[INFO] Final Memory: 4M/120M
[INFO] 
/usr/share/cdbs/1/class/maven.mk:99: recipe for target 'cleanbuilddir' failed
make: [cleanbuilddir] Error 1 (ignored)
rm -f -r /home/bas/tmp/debian/libphonenumber-7.1.0/debian/maven-repo 
debian/stamp-maven-build
rm -f debian/*.substvars
/usr/bin/make -f debian/rules unpatch-poms
make[1]: Entering directory '/home/bas/tmp/debian/libphonenumber-7.1.0'
mh_unpatchpoms