Bug 15121 - Unable to download mozilla/rhino in meta/java
Summary: Unable to download mozilla/rhino in meta/java
Status: RESOLVED MOVED
Alias: None
Product: Installation
Classification: Runtime
Component: Installation (show other bugs)
Version: 4.0.10
Hardware: x86 x86_64
: Undecided normal
Target Milestone: 0.0.0
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2023-05-12 14:14 UTC by Kirill Latyshov
Modified: 2023-05-18 14:40 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Latyshov 2023-05-12 14:14:30 UTC
There was a problem trying to install mozilla/rhino in meta/java. When trying to build an operating system with meta/java, I am getting the following errors:

WARNING: rhino-native-1.7r4-r0 do_fetch: Failed to fetch URL https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip, attempting MIRRORS if available
ERROR: rhino-native-1.7r4-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/kirill/yocto/poky/scripts/native-intercept:/home/kirill/yocto/poky/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/kirill/yocto/poky/build/tmp/work/x86_64-linux/rhino-native/1.7r4-r0/recipe-sysroot-native/usr/bin/python3-native:/home/kirill/yocto/poky/scripts:/home/kirill/yocto/poky/build/tmp/work/x86_64-linux/rhino-native/1.7r4-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/kirill/yocto/poky/build/tmp/work/x86_64-linux/rhino-native/1.7r4-r0/recipe-sysroot-native/usr/bin:/home/kirill/yocto/poky/build/tmp/work/x86_64-linux/rhino-native/1.7r4-r0/recipe-sysroot-native/usr/sbin:/home/kirill/yocto/poky/build/tmp/work/x86_64-linux/rhino-native/1.7r4-r0/recipe-sysroot-native/usr/bin:/home/kirill/yocto/poky/build/tmp/work/x86_64-linux/rhino-native/1.7r4-r0/recipe-sysroot-native/sbin:/home/kirill/yocto/poky/build/tmp/work/x86_64-linux/rhino-native/1.7r4-r0/recipe-sysroot-native/bin:/home/kirill/yocto/poky/bitbake/bin:/home/kirill/yocto/poky/build/tmp/hosttools"; export HOME="/home/kirill"; /usr/bin/env wget -t 2 -T 30 --passive-ftp -P /home/kirill/yocto/poky/build/downloads 'https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip' --progress=dot -v failed with exit code 8, no output
ERROR: rhino-native-1.7r4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip')
ERROR: Logfile of failure stored in: /home/kirill/yocto/poky/build/tmp/work/x86_64-linux/rhino-native/1.7r4-r0/temp/log.do_fetch.8721
ERROR: Task (virtual:native:/home/kirill/yocto/poky/meta-java/recipes-core/rhino/rhino_1.7r4.bb:do_fetch) failed with exit code '1'

Also I can't directly download the file from the link: https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip

In the local.conf I install openjdk-8.
Comment 1 Enrique Herrera 2023-05-15 14:46:50 UTC
I have the same issue, it started happening around beginning of May. We assumed that our cooperate network was blocking sites again.  It turns out that as not the case. 

The file that the recipe is trying to fetch is:

https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip


trying url one gets: Error downloading file.

there are no mirrors for this recipe.
Comment 2 Enrique Herrera 2023-05-15 14:52:06 UTC
(In reply to Enrique Herrera from comment #1)
> I have the same issue, it started happening around beginning of May. We
> assumed that our cooperate network was blocking sites again.  It turns out
> that as not the case. 
> 
> The file that the recipe is trying to fetch is:
> 
> https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip
> 
> 
> trying url one gets: Error downloading file.
> 
> there are no mirrors for this recipe.

forgot to mention that we are using "hardknott" branch
Comment 3 Kirill Latyshov 2023-05-16 11:23:01 UTC
(In reply to Enrique Herrera from comment #2)
> (In reply to Enrique Herrera from comment #1)
> > I have the same issue, it started happening around beginning of May. We
> > assumed that our cooperate network was blocking sites again.  It turns out
> > that as not the case. 
> > 
> > The file that the recipe is trying to fetch is:
> > 
> > https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip
> > 
> > 
> > trying url one gets: Error downloading file.
> > 
> > there are no mirrors for this recipe.
> 
> forgot to mention that we are using "hardknott" branch

The problem also occurs when using the Kirkstone branch.
Comment 4 Ross Burton 2023-05-18 14:40:01 UTC
meta-java uses GitHub Issues instead of Yocto bugzilla, there's an issue filed there too:

https://github.com/meta-java/meta-java/issues/4