[From nobody Thu Oct 29 14:11:04 2026
Received: (at submit) by bugs.debian.org; 17 Nov 2015 21:11:27 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
 (2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.2 required=4.0 tests=BAYES_00, FOURLA, HAS_PACKAGE,
 MONOTONE_WORDS_2_15,MURPHY_DRUGS_REL8,PGPSIGNATURE,RCVD_IN_DNSWL_HI,
 SPF_SOFTFAIL autolearn=ham autolearn_force=no
 version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 73; hammy, 150; neutral, 319; spammy,
 0. spammytokens: hammytokens:0.000-+--H*c:pgp-sha256,
 0.000-+--UD:xz, 
 0.000-+--UD:tar.xz, 0.000-+--H*u:2014-03-12, 0.000-+--H*UA:2014-03-12
Return-path: &lt;martin.quinson@ens-rennes.fr&gt;
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83])
 by buxtehude.debian.org with esmtps (TLS1.2:RSA_ARCFOUR_128_SHA1:128)
 (Exim 4.84) (envelope-from &lt;martin.quinson@ens-rennes.fr&gt;)
 id 1ZynXC-0003dx-Tu
 for submit@bugs.debian.org; Tue, 17 Nov 2015 21:11:27 +0000
X-IronPort-AV: E=Sophos;i=&quot;5.20,309,1444687200&quot;; 
 d=&quot;asc'?scan'208&quot;;a=&quot;187962700&quot;
Received: from arennes-552-1-14-169.w92-135.abo.wanadoo.fr (HELO localhost)
 ([92.135.69.169])
 by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256;
 17 Nov 2015 22:11:16 +0100
Date: Tue, 17 Nov 2015 22:11:15 +0100
From: Martin Quinson &lt;martin.quinson@ens-rennes.fr&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: scala: FTBFS without network connexion
Message-ID: &lt;20151117211115.GA21006@chaipa.loria.fr&gt;
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol=&quot;application/pgp-signature&quot;; boundary=&quot;St7VIuEGZ6dlpu13&quot;
Content-Disposition: inline
X-Reportbug-Version: 6.6.4
User-Agent: Mutt/1.5.23 (2014-03-12)
Delivered-To: submit@bugs.debian.org


--St7VIuEGZ6dlpu13
Content-Type: multipart/mixed; boundary=&quot;cNdxnHkX5QqsyA0e&quot;
Content-Disposition: inline


--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: scala
Version: 2.11.7
Severity: serious
Justification: FTBFS

Hello,

it seems that the patch to stop maven from downloading some stuff from the
internet is not effective because the package still fails to build from sou=
rce
when I unplug the net.

The very bad news is that from what I understand from the logs, it tries to
download scala itself to build scala:

| [artifact:dependencies] Downloading: org/scala-lang/scala-compiler/2.11.x=
 /scala-compiler-2.11.x.pom from repository central at file:///usr/share/ma=
ven-repo

I fear a bootstraping issue here, not sure.

Thanks for packaging scala, that's very pleasant to have it easily installe=
d.
Mt



-- System Information:
Debian Release: stretch/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=3Dfr_FR.UTF-8, LC_CTYPE=3Dfr_FR.UTF-8 (charmap=3DUTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages scala depends on:
ii  default-jre-headless [java6-runtime-headless]    2:1.7-52
ii  openjdk-7-jre-headless [java6-runtime-headless]  7u75-2.5.4-2
ii  openjdk-8-jre-headless [java6-runtime-headless]  8u66-b01-1

scala recommends no packages.

scala suggests no packages.

-- no debconf information

--=20
La drogue =E9tait un milieu plut=F4t sain avant que le sport ne s'en m=EAle.

--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=logs
Content-Transfer-Encoding: quoted-printable

Script started on Tue Nov 17 13:37:43 2015
dpkg-buildpackage: source package scala=0D
dpkg-buildpackage: source version 2.11.6-1=0D
dpkg-buildpackage: source distribution unstable=0D
dpkg-buildpackage: source changed by Emmanuel Bourg &lt;ebourg@apache.org&gt;=0D
dpkg-buildpackage: host architecture amd64=0D
 dpkg-source --before-build scala-2.11.6=0D
 fakeroot debian/rules clean=0D
dh clean --with javahelper --with maven_repo_helper=0D
   dh_testdir=0D
   debian/rules override_dh_auto_clean=0D
make[1]: Entering directory '/tmp/scala-2.11.6'=0D
rm -rf build dists buildcharacter.properties debian/poms/*.pom.xml=0D
make[1]: Leaving directory '/tmp/scala-2.11.6'=0D
   jh_clean=0D
   mh_clean=0D
   dh_clean=0D
 dpkg-source -b scala-2.11.6=0D
dpkg-source: info: using source format '3.0 (quilt)'=0D
dpkg-source: info: building scala using existing ./scala_2.11.6.orig.tar.xz=
=0D
dpkg-source: info: building scala in scala_2.11.6-1.debian.tar.xz=0D
dpkg-source: info: building scala in scala_2.11.6-1.dsc=0D
 debian/rules build=0D
dh build --with javahelper --with maven_repo_helper=0D
   dh_testdir=0D
   dh_auto_configure=0D
   jh_linkjars=0D
   debian/rules override_dh_auto_build=0D
make[1]: Entering directory '/tmp/scala-2.11.6'=0D
# Build Scala=0D
ANT_OPTS=3D&quot;-Xmx1024M -Xss64M&quot; \=0D
ant -Dversion.number=3D&quot;2.11.6&quot; \=0D
    -Djunit.version=3D4.x \=0D
    -Dextra.repo.url=3Dfile:///usr/share/maven-repo \=0D
    -Djline.version=3D2.x \=0D
    -Dstarr.version=3D2.11.x \=0D
    fastdist-opt docs=0D
Buildfile: /tmp/scala-2.11.6/build.xml=0D
=0D
fastdist-opt:=0D
=0D
init.git:=0D
=0D
init:=0D
     [copy] Copying 2 files to /tmp/scala-2.11.6/build/deps/junit=0D
[artifact:dependencies] There were no dependencies specified=0D
[artifact:dependencies] There were no dependencies specified=0D
[artifact:dependencies] There were no dependencies specified=0D
[artifact:dependencies] There were no dependencies specified=0D
[artifact:dependencies] There were no dependencies specified=0D
     [copy] Copying 4 files to /tmp/scala-2.11.6/build/deps/repl=0D
[artifact:dependencies] Downloading: org/scala-lang/modules/scala-xml_2.11/=
1.0.3/scala-xml_2.11-1.0.3-sources.jar from repository central at file:///u=
sr/share/maven-repo=0D
[artifact:dependencies] File: /usr/share/maven-repo/org/scala-lang/modules/=
scala-xml_2.11/1.0.3/scala-xml_2.11-1.0.3-sources.jar does not exist=0D
[artifact:dependencies] [INFO] Unable to find resource 'org.scala-lang.modu=
les:scala-xml_2.11:java-source:sources:1.0.3' in repository central (file:/=
//usr/share/maven-repo)=0D
[artifact:dependencies] Downloading: org/scala-lang/modules/scala-xml_2.11/=
1.0.3/scala-xml_2.11-1.0.3-javadoc.jar from repository central at file:///u=
sr/share/maven-repo=0D
[artifact:dependencies] File: /usr/share/maven-repo/org/scala-lang/modules/=
scala-xml_2.11/1.0.3/scala-xml_2.11-1.0.3-javadoc.jar does not exist=0D
[artifact:dependencies] [INFO] Unable to find resource 'org.scala-lang.modu=
les:scala-xml_2.11:java-source:javadoc:1.0.3' in repository central (file:/=
//usr/share/maven-repo)=0D
[artifact:dependencies] Downloading: org/scala-lang/scala-library/2.11.x/sc=
ala-library-2.11.x-sources.jar from repository central at file:///usr/share=
/maven-repo=0D
[artifact:dependencies] File: /usr/share/maven-repo/org/scala-lang/scala-li=
brary/2.11.x/scala-library-2.11.x-sources.jar does not exist=0D
[artifact:dependencies] [INFO] Unable to find resource 'org.scala-lang:scal=
a-library:java-source:sources:2.11.x' in repository central (file:///usr/sh=
are/maven-repo)=0D
[artifact:dependencies] Downloading: org/scala-lang/scala-library/2.11.x/sc=
ala-library-2.11.x-javadoc.jar from repository central at file:///usr/share=
/maven-repo=0D
[artifact:dependencies] File: /usr/share/maven-repo/org/scala-lang/scala-li=
brary/2.11.x/scala-library-2.11.x-javadoc.jar does not exist=0D
[artifact:dependencies] [INFO] Unable to find resource 'org.scala-lang:scal=
a-library:java-source:javadoc:2.11.x' in repository central (file:///usr/sh=
are/maven-repo)=0D
[artifact:dependencies] Downloading: org/scala-lang/modules/scala-parser-co=
mbinators_2.11/1.0.3/scala-parser-combinators_2.11-1.0.3-sources.jar from r=
epository central at file:///usr/share/maven-repo=0D
[artifact:dependencies] File: /usr/share/maven-repo/org/scala-lang/modules/=
scala-parser-combinators_2.11/1.0.3/scala-parser-combinators_2.11-1.0.3-sou=
rces.jar does not exist=0D
[artifact:dependencies] [INFO] Unable to find resource 'org.scala-lang.modu=
les:scala-parser-combinators_2.11:java-source:sources:1.0.3' in repository =
central (file:///usr/share/maven-repo)=0D
[artifact:dependencies] Downloading: org/scala-lang/modules/scala-parser-co=
mbinators_2.11/1.0.3/scala-parser-combinators_2.11-1.0.3-javadoc.jar from r=
epository central at file:///usr/share/maven-repo=0D
[artifact:dependencies] File: /usr/share/maven-repo/org/scala-lang/modules/=
scala-parser-combinators_2.11/1.0.3/scala-parser-combinators_2.11-1.0.3-jav=
adoc.jar does not exist=0D
[artifact:dependencies] [INFO] Unable to find resource 'org.scala-lang.modu=
les:scala-parser-combinators_2.11:java-source:javadoc:1.0.3' in repository =
central (file:///usr/share/maven-repo)=0D
     [copy] Copying 2 files to /tmp/scala-2.11.6/build/deps/scaladoc=0D
     [echo] Using Scala 2.11.x for STARR.=0D
[artifact:dependencies] Downloading: org/scala-lang/scala-compiler/2.11.x/s=
cala-compiler-2.11.x.pom from repository central at file:///usr/share/maven=
-repo=0D
[artifact:dependencies] File: /usr/share/maven-repo/org/scala-lang/scala-co=
mpiler/2.11.x/scala-compiler-2.11.x.pom does not exist=0D
[artifact:dependencies] [INFO] Unable to find resource 'org.scala-lang:scal=
a-compiler:pom:2.11.x' in repository central (file:///usr/share/maven-repo)=
=0D
[artifact:dependencies] Downloading: org/scala-lang/scala-compiler/2.11.x/s=
cala-compiler-2.11.x.jar from repository central at file:///usr/share/maven=
-repo=0D
[artifact:dependencies] File: /usr/share/maven-repo/org/scala-lang/scala-co=
mpiler/2.11.x/scala-compiler-2.11.x.jar does not exist=0D
[artifact:dependencies] [INFO] Unable to find resource 'org.scala-lang:scal=
a-compiler:jar:2.11.x' in repository central (file:///usr/share/maven-repo)=
=0D
[artifact:dependencies] An error has occurred while processing the Maven ar=
tifact tasks.=0D
[artifact:dependencies]  Diagnosis:=0D
[artifact:dependencies] =0D
[artifact:dependencies] Unable to resolve artifact: Missing:=0D
[artifact:dependencies] ----------=0D
[artifact:dependencies] 1) org.scala-lang:scala-compiler:jar:2.11.x=0D
[artifact:dependencies] =0D
[artifact:dependencies]   Try downloading the file manually from the projec=
t website.=0D
[artifact:dependencies] =0D
[artifact:dependencies]   Then, install it using the command: =0D
[artifact:dependencies]       mvn install:install-file -DgroupId=3Dorg.scal=
a-lang -DartifactId=3Dscala-compiler -Dversion=3D2.11.x -Dpackaging=3Djar -=
Dfile=3D/path/to/file=0D
[artifact:dependencies] =0D
[artifact:dependencies]   Alternatively, if you host your own repository yo=
u can deploy the file there: =0D
[artifact:dependencies]       mvn deploy:deploy-file -DgroupId=3Dorg.scala-=
lang -DartifactId=3Dscala-compiler -Dversion=3D2.11.x -Dpackaging=3Djar -Df=
ile=3D/path/to/file -Durl=3D[url] -DrepositoryId=3D[id]=0D
[artifact:dependencies] =0D
[artifact:dependencies]   Path to dependency: =0D
[artifact:dependencies]   	1) org.apache.maven:super-pom:pom:2.0=0D
[artifact:dependencies]   	2) org.scala-lang:scala-compiler:jar:2.11.x=0D
[artifact:dependencies] =0D
[artifact:dependencies] ----------=0D
[artifact:dependencies] 1 required artifact is missing.=0D
[artifact:dependencies] =0D
[artifact:dependencies] for artifact: =0D
[artifact:dependencies]   org.apache.maven:super-pom:pom:2.0=0D
[artifact:dependencies] =0D
[artifact:dependencies] from the specified remote repositories:=0D
[artifact:dependencies]   central (file:///usr/share/maven-repo)=0D
[artifact:dependencies] =0D
[artifact:dependencies] =0D
=0D
BUILD FAILED=0D
/tmp/scala-2.11.6/build.xml:117: The following error occurred while executi=
ng this line:=0D
/tmp/scala-2.11.6/build-ant-macros.xml:8: The following error occurred whil=
e executing this line:=0D
/tmp/scala-2.11.6/build.xml:361: Unable to resolve artifact: Missing:=0D
----------=0D
1) org.scala-lang:scala-compiler:jar:2.11.x=0D
=0D
  Try downloading the file manually from the project website.=0D
=0D
  Then, install it using the command: =0D
      mvn install:install-file -DgroupId=3Dorg.scala-lang -DartifactId=3Dsc=
ala-compiler -Dversion=3D2.11.x -Dpackaging=3Djar -Dfile=3D/path/to/file=0D
=0D
  Alternatively, if you host your own repository you can deploy the file th=
ere: =0D
      mvn deploy:deploy-file -DgroupId=3Dorg.scala-lang -DartifactId=3Dscal=
a-compiler -Dversion=3D2.11.x -Dpackaging=3Djar -Dfile=3D/path/to/file -Dur=
l=3D[url] -DrepositoryId=3D[id]=0D
=0D
  Path to dependency: =0D
  	1) org.apache.maven:super-pom:pom:2.0=0D
  	2) org.scala-lang:scala-compiler:jar:2.11.x=0D
=0D
----------=0D
1 required artifact is missing.=0D
=0D
for artifact: =0D
  org.apache.maven:super-pom:pom:2.0=0D
=0D
=66rom the specified remote repositories:=0D
  central (file:///usr/share/maven-repo)=0D
=0D
=0D
=0D
Total time: 1 second=0D
debian/rules:12: recipe for target 'override_dh_auto_build' failed=0D
make[1]: *** [override_dh_auto_build] Error 1=0D
make[1]: Leaving directory '/tmp/scala-2.11.6'=0D
debian/rules:9: recipe for target 'build' failed=0D
make: *** [build] Error 2=0D
dpkg-buildpackage: error: debian/rules build gave error exit status 2=0D

Script done on Tue Nov 17 13:37:47 2015

--cNdxnHkX5QqsyA0e--

--St7VIuEGZ6dlpu13
Content-Type: application/pgp-signature; name=&quot;signature.asc&quot;
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWS5fzAAoJEJi9lyRPc76nYxYP/RtIW/WjpTugCENy8+FBVM/S
q4+OeHgVnAlemVNgs4pnlPm/3aVDgp0rF6WsveI0u+KThXenjocm9WBTh7N986hS
ITZvyEwXAeWsv7OMQyQ85KW6nJwupKWRQ4DAY3LcB9QbFsubbns+E1W8jPgA5ymf
hYiaa2cbnv0s8i8eS/BQSoQF2prX09aeREyLhMiQWqNbqkt5vXbOgekf6zUSRwKk
WVhoHFhX0o89tER8cgukdDNXz+reNSiufvewrHoREQPepePCa3+5hCO4UQEX1YzY
paBT7HabOD3Sc8FGhW4BOtbQD15ss7N9O+QRhLbtmfwfJnGUBdZlJ9dxpIGAODwn
B8uZ/qHALHgQ1jQeqJ1/EcuvCdYOPuHHViGFAQ2QHarHrgSBW6QlSsIEphSj90O1
O2retVOYCJiviIYplwpqTjIqh/dbu2Xoe6GQ5TOMq+28RS2oReWd1LxvLwxu1rGw
U6OVxgabRXqUKDPIIwiWX+GEiHiyhhCgFwq1N6he2aaAowxe5ZuOj5p04x+KMKUE
kWiJkIMJXVlMs443eWI1v1Eyldt8xL4ktsvsEUTqMuv/AFxflHnD6U49WqOBJKOL
yGm8QlPvjiuU7F40st3MMkfPjPdNcLayjakrRiPexQtgeVIFA/kVVZ4oOq5OB1nr
Kd7T3FweJGae+m2KMzK5
=ROIV
-----END PGP SIGNATURE-----

--St7VIuEGZ6dlpu13--
]