Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297803 - dev-java/jaxme-0.5.2 cannot compile without active Internet conection
Summary: dev-java/jaxme-0.5.2 cannot compile without active Internet conection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-21 17:01 UTC by João
Modified: 2010-04-16 13:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Strip DTD declaration from src/webapp/web.xml (jaxme-0.5.2.ebuild.diff,524 bytes, patch)
2010-02-10 19:42 UTC, Petr Pisar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description João 2009-12-21 17:01:09 UTC
If you have not a active Internet connection, and try 'emerge jaxme' the following error is returned:

urllib2.URLError: <urlopen error [Errno -3] Temporary failure in name
resolution>
Comment 1 Moritz Bechler 2010-01-02 19:46:23 UTC
(In reply to comment #0)
> If you have not a active Internet connection, and try 'emerge jaxme' the
> following error is returned:
> 
> urllib2.URLError: <urlopen error [Errno -3] Temporary failure in name
> resolution>
> 
also very annoying when a proxy with authentication is in place. To be a bit more specific, that error happens while rewriting src/webapp/web.xml (at least for the first time).
Comment 2 C W Rose 2010-02-10 16:12:16 UTC
I can't find out what it's looking for; anyone
any idea? It seems to be blocking Netbeans 6.8,
which is annoying.
Comment 3 Petr Pisar 2010-02-10 16:27:15 UTC
I suspect external DTD of processed XML. But its just a random guess, no evidences.
Comment 4 Petr Pisar 2010-02-10 19:12:54 UTC
Yep, this is it:

GET http://java.sun.com/dtd/web-app_2_3.dtd HTTP/1.1
Accept-Encoding: identity
Host: java.sun.com
Connection: close
User-Agent: Python-urllib/2.6

Someone should explain the parser not to fetch external DTDs or install required DTD as compile-time dependency at first (and populate local catalogue under /etc/xml).
Comment 5 Petr Pisar 2010-02-10 19:42:00 UTC
Created attachment 219133 [details, diff]
Strip DTD declaration from src/webapp/web.xml

Or strip problematic DTD reference when it's not used at all (the java-ant_bsfix_one() remove it either, but calls tool which loads the DTD).
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-16 13:39:17 UTC
Fixed (by not calling bsfix on web.xml at all, because it's pointless, there should've been build.xml instead).