oracle / solaris-userland

Open Source software in Solaris using gmake based build system to drive building various software components.
Other
157 stars 65 forks source link

"gmake download" fails to correctly locate various original source distributions #14

Open nbriggs opened 2 years ago

nbriggs commented 2 years ago

When one is outside the Oracle network and therefore the INTERNAL_ARCHIVE_MIRROR, http://userland.us.oracle.com/source-archives is not available... various downloads fail because the source files are no longer available from the hardcoded locations in the Makefiles. For example in ksh93 it will attempt to do:

/scratch/clone/tools/userland-fetch --file INIT.2012-08-01.tgz --url 'http://www2.research.att.com/~astopen/download/tgz/INIT.2012-08-01.tgz' --hash 'sha256:c40cf57e9b2186271a9c362a560aa4a6e25ba911a8258ab931d2bbdbce44cfe5'

however INIT.2012-08-01.tgz is no longer available at that URL.

It would be helpful if all the external component source locations were revalidated and updated in the Makefiles.

alanc commented 1 year ago

In the meantime, you can download the multi-gigabyte complete FOSS archives from https://www.oracle.com/downloads/opensource/solaris-source-code-downloads.html and the missing tarballs should be in there.

nbriggs commented 1 year ago

Thanks. I've finished pulling down the complete set from the "Oracle Solaris 11.4.42 CBE" collection. With any luck that will fill in the holes for the missing older tar files, and the newer software will have the correct links. I'm building in:

% git rev-parse HEAD
3ab178979d21a7aafb68c43ca5091a7c6750b162
%

But... I see I can also download the open source that comes with the SRUs from there, though I note that someone mislabeled the SRU 56 part 4-of-4 (though it does link to the correct file) image

It would be really handy to have the prebuilt packages available for people using the CBE release. As it stands you often have to figure out the build-time dependencies for a package and make sure you build those and install them before you can build the one you really care about.

vlmarek commented 1 year ago

Sadly it is not possible to "just" re-validate the sources. Sometimes the community deletes the old version so we have to update and test new one. Sometimes the component is just gone. Sometimes the community uploads the same tarball just with new contents. We only know that at the moment we update the component the link worked. And this is the reason we provide the tarballs Alan pointed to.