Bug#395525: rhino: FTBFS: fails to build if no network access is available

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri Oct 27 17:01:32 CEST 2006


Package: rhino
Version: 1.6R2-1
Severity: serious
Justification: FTBFS

Hi,

During a rebuild of all packages in etch, I discovered that your package
failed to build on i386.

Relevant parts:
get-swing-ex:
    [mkdir] Created dir:
/build/root/rhino-1.6R2/toolsrc/org/mozilla/javascript/
tools/debugger/downloaded
      [get] Getting:
http://java.sun.com/products/jfc/tsc/articles/treetable2/do
wnloads/src.zip
      [get] To:
/build/root/rhino-1.6R2/toolsrc/org/mozilla/javascript/tools/deb
ugger/downloaded/swingExSrc.zip
      [get] Error getting
http://java.sun.com/products/jfc/tsc/articles/treetabl
e2/downloads/src.zip to
/build/root/rhino-1.6R2/toolsrc/org/mozilla/javascript/t
ools/debugger/downloaded/swingExSrc.zip

BUILD FAILED
/build/root/rhino-1.6R2/build.xml:37: The following error occurred while
executi
ng this line:
/build/root/rhino-1.6R2/toolsrc/build.xml:16: The following error
occurred while
 executing this line:
/build/root/rhino-1.6R2/toolsrc/org/mozilla/javascript/tools/debugger/build.xml:
16: java.net.ConnectException: Connection refused

The system I was building has filtered network access. Outgoing HTTP
requests were rejected during the build:
IN= OUT=eth1 SRC=10.69.1.41 DST=72.5.124.55 LEN=60 TOS=0x00 PREC=0x00
TTL=64 ID=43198 DF PROTO=TCP SPT=58279 DPT=80 WINDOW=5840 RES=0x00 SYN
URGP=0 
IN= OUT=eth1 SRC=10.69.1.41 DST=72.5.124.55 LEN=60 TOS=0x00 PREC=0x00
TTL=64 ID=43199 DF PROTO=TCP SPT=58279 DPT=80 WINDOW=5840 RES=0x00 SYN
URGP=0 

For many reassons, it is a bad idea to require network access during
builds. Quoting #393900:
- It's a privacy concern: without being asked, some information about
  the system is being sent to a remote host;
- It should be possible to autobuild the package on a buildd with no
  network access.
- The build has a high probability to fail lateron because of the
  referenced host (temporarily) disappearing.

About the archive rebuilt:
The rebuilt was done on about 60 AMD64 nodes of the Grid'5000 platform,
using a chroot containing an etch i386 environment (not unstable).
Internet was not accessible from the build nodes.

About Grid'5000:
The Grid'5000 project aims at building a highly reconfigurable
experimental Grid platform gathering 9 sites and featuring a total of
5000 CPUs. Its main purpose is to serve as an experimental testbed for
research in Grid Computing.  To learn more about Grid'5000, read
https://www.grid5000.fr/
-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |




More information about the pkg-java-maintainers mailing list