Your message dated Thu, 29 Oct 2026 13:59:53 +0000
with message-id <[email protected]>
and subject line Re: scala: FTBFS without network connexion
has caused the Debian Bug report #805409,
regarding scala: FTBFS without network connexion
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
805409: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805409
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 source
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/maven-repo

I fear a bootstraping issue here, not sure.

Thanks for packaging scala, that's very pleasant to have it easily installed.
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=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-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

-- 
La drogue était un milieu plutôt sain avant que le sport ne s'en mêle.
Script started on Tue Nov 17 13:37:43 2015
dpkg-buildpackage: source package scala
dpkg-buildpackage: source version 2.11.6-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Emmanuel Bourg <[email protected]>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build scala-2.11.6
 fakeroot debian/rules clean
dh clean --with javahelper --with maven_repo_helper
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/tmp/scala-2.11.6'
rm -rf build dists buildcharacter.properties debian/poms/*.pom.xml
make[1]: Leaving directory '/tmp/scala-2.11.6'
   jh_clean
   mh_clean
   dh_clean
 dpkg-source -b scala-2.11.6
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building scala using existing ./scala_2.11.6.orig.tar.xz
dpkg-source: info: building scala in scala_2.11.6-1.debian.tar.xz
dpkg-source: info: building scala in scala_2.11.6-1.dsc
 debian/rules build
dh build --with javahelper --with maven_repo_helper
   dh_testdir
   dh_auto_configure
   jh_linkjars
   debian/rules override_dh_auto_build
make[1]: Entering directory '/tmp/scala-2.11.6'
# Build Scala
ANT_OPTS="-Xmx1024M -Xss64M" \
ant -Dversion.number="2.11.6" \
    -Djunit.version=4.x \
    -Dextra.repo.url=file:///usr/share/maven-repo \
    -Djline.version=2.x \
    -Dstarr.version=2.11.x \
    fastdist-opt docs
Buildfile: /tmp/scala-2.11.6/build.xml

fastdist-opt:

init.git:

init:
     [copy] Copying 2 files to /tmp/scala-2.11.6/build/deps/junit
[artifact:dependencies] There were no dependencies specified
[artifact:dependencies] There were no dependencies specified
[artifact:dependencies] There were no dependencies specified
[artifact:dependencies] There were no dependencies specified
[artifact:dependencies] There were no dependencies specified
     [copy] Copying 4 files to /tmp/scala-2.11.6/build/deps/repl
[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:///usr/share/maven-repo
[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
[artifact:dependencies] [INFO] Unable to find resource 
'org.scala-lang.modules:scala-xml_2.11:java-source:sources:1.0.3' in repository 
central (file:///usr/share/maven-repo)
[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:///usr/share/maven-repo
[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
[artifact:dependencies] [INFO] Unable to find resource 
'org.scala-lang.modules:scala-xml_2.11:java-source:javadoc:1.0.3' in repository 
central (file:///usr/share/maven-repo)
[artifact:dependencies] Downloading: 
org/scala-lang/scala-library/2.11.x/scala-library-2.11.x-sources.jar from 
repository central at file:///usr/share/maven-repo
[artifact:dependencies] File: 
/usr/share/maven-repo/org/scala-lang/scala-library/2.11.x/scala-library-2.11.x-sources.jar
 does not exist
[artifact:dependencies] [INFO] Unable to find resource 
'org.scala-lang:scala-library:java-source:sources:2.11.x' in repository central 
(file:///usr/share/maven-repo)
[artifact:dependencies] Downloading: 
org/scala-lang/scala-library/2.11.x/scala-library-2.11.x-javadoc.jar from 
repository central at file:///usr/share/maven-repo
[artifact:dependencies] File: 
/usr/share/maven-repo/org/scala-lang/scala-library/2.11.x/scala-library-2.11.x-javadoc.jar
 does not exist
[artifact:dependencies] [INFO] Unable to find resource 
'org.scala-lang:scala-library:java-source:javadoc:2.11.x' in repository central 
(file:///usr/share/maven-repo)
[artifact:dependencies] Downloading: 
org/scala-lang/modules/scala-parser-combinators_2.11/1.0.3/scala-parser-combinators_2.11-1.0.3-sources.jar
 from repository central at file:///usr/share/maven-repo
[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-sources.jar
 does not exist
[artifact:dependencies] [INFO] Unable to find resource 
'org.scala-lang.modules:scala-parser-combinators_2.11:java-source:sources:1.0.3'
 in repository central (file:///usr/share/maven-repo)
[artifact:dependencies] Downloading: 
org/scala-lang/modules/scala-parser-combinators_2.11/1.0.3/scala-parser-combinators_2.11-1.0.3-javadoc.jar
 from repository central at file:///usr/share/maven-repo
[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-javadoc.jar
 does not exist
[artifact:dependencies] [INFO] Unable to find resource 
'org.scala-lang.modules:scala-parser-combinators_2.11:java-source:javadoc:1.0.3'
 in repository central (file:///usr/share/maven-repo)
     [copy] Copying 2 files to /tmp/scala-2.11.6/build/deps/scaladoc
     [echo] Using Scala 2.11.x for STARR.
[artifact:dependencies] Downloading: 
org/scala-lang/scala-compiler/2.11.x/scala-compiler-2.11.x.pom from repository 
central at file:///usr/share/maven-repo
[artifact:dependencies] File: 
/usr/share/maven-repo/org/scala-lang/scala-compiler/2.11.x/scala-compiler-2.11.x.pom
 does not exist
[artifact:dependencies] [INFO] Unable to find resource 
'org.scala-lang:scala-compiler:pom:2.11.x' in repository central 
(file:///usr/share/maven-repo)
[artifact:dependencies] Downloading: 
org/scala-lang/scala-compiler/2.11.x/scala-compiler-2.11.x.jar from repository 
central at file:///usr/share/maven-repo
[artifact:dependencies] File: 
/usr/share/maven-repo/org/scala-lang/scala-compiler/2.11.x/scala-compiler-2.11.x.jar
 does not exist
[artifact:dependencies] [INFO] Unable to find resource 
'org.scala-lang:scala-compiler:jar:2.11.x' in repository central 
(file:///usr/share/maven-repo)
[artifact:dependencies] An error has occurred while processing the Maven 
artifact tasks.
[artifact:dependencies]  Diagnosis:
[artifact:dependencies] 
[artifact:dependencies] Unable to resolve artifact: Missing:
[artifact:dependencies] ----------
[artifact:dependencies] 1) org.scala-lang:scala-compiler:jar:2.11.x
[artifact:dependencies] 
[artifact:dependencies]   Try downloading the file manually from the project 
website.
[artifact:dependencies] 
[artifact:dependencies]   Then, install it using the command: 
[artifact:dependencies]       mvn install:install-file -DgroupId=org.scala-lang 
-DartifactId=scala-compiler -Dversion=2.11.x -Dpackaging=jar 
-Dfile=/path/to/file
[artifact:dependencies] 
[artifact:dependencies]   Alternatively, if you host your own repository you 
can deploy the file there: 
[artifact:dependencies]       mvn deploy:deploy-file -DgroupId=org.scala-lang 
-DartifactId=scala-compiler -Dversion=2.11.x -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies] 
[artifact:dependencies]   Path to dependency: 
[artifact:dependencies]         1) org.apache.maven:super-pom:pom:2.0
[artifact:dependencies]         2) org.scala-lang:scala-compiler:jar:2.11.x
[artifact:dependencies] 
[artifact:dependencies] ----------
[artifact:dependencies] 1 required artifact is missing.
[artifact:dependencies] 
[artifact:dependencies] for artifact: 
[artifact:dependencies]   org.apache.maven:super-pom:pom:2.0
[artifact:dependencies] 
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   central (file:///usr/share/maven-repo)
[artifact:dependencies] 
[artifact:dependencies] 

BUILD FAILED
/tmp/scala-2.11.6/build.xml:117: The following error occurred while executing 
this line:
/tmp/scala-2.11.6/build-ant-macros.xml:8: The following error occurred while 
executing this line:
/tmp/scala-2.11.6/build.xml:361: Unable to resolve artifact: Missing:
----------
1) org.scala-lang:scala-compiler:jar:2.11.x

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.scala-lang 
-DartifactId=scala-compiler -Dversion=2.11.x -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.scala-lang 
-DartifactId=scala-compiler -Dversion=2.11.x -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
        1) org.apache.maven:super-pom:pom:2.0
        2) org.scala-lang:scala-compiler:jar:2.11.x

----------
1 required artifact is missing.

for artifact: 
  org.apache.maven:super-pom:pom:2.0

from the specified remote repositories:
  central (file:///usr/share/maven-repo)



Total time: 1 second
debian/rules:12: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory '/tmp/scala-2.11.6'
debian/rules:9: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

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

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 2.12.21+ds3-1

scala 2.12.21+ds3-2 built on the buildd in sbuild unshare mode, which has no
network during the build: Status: successful, 2026-10-28.
https://buildd.debian.org/status/fetch.php?pkg=scala&arch=all&ver=2.12.21%2Bds3-2&stamp=1793146795&raw=0
Our own unshare sbuilds of 2.12.21+ds3-1 also pass. Everything comes from
Build-Depends and /usr/share/maven-repo, nothing is downloaded.

Juan

--- End Message ---

Reply via email to