jjuran / metamage_1

Metamage open source, general repository, iteration 1
302 stars 27 forks source link

Authentication failed for '... freemount.git/' #8

Closed probonopd closed 5 years ago

probonopd commented 5 years ago

Cannot compile when cloned to my repostory:

sudo apt-get -y install libssl-dev
(...)

INSTALL_PREFIX=/usr ./configure
make ams-x11
Cloning into '../freemount'...
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/probonopd/freemount.git/'
make: *** [../freemount] Error 128

The problem is that it is looking for freemount.git at https://github.com/probonopd but it is not there, but at https://github.com/jjuran. Hence https://github.com/jjuran somehow needs to be hardcoded.

Build log: https://travis-ci.com/probonopd/metamage_1/builds/109089940

The Travis CI script I am working on: https://github.com/probonopd/metamage_1/blob/patch-1/.travis.yml

jjuran commented 5 years ago

Thanks for the report. The clone-repo script makes a point of not hard-coding repository paths, instead cloning prerequisite repos from the same parent location as its own. If I hard-code https://github.com/jjuran/..., then it will break on systems like Mac OS X 10.4 (whose OpenSSL is too old), for whom cloning from git://github.com/jjuran/... is the most direct option.

One option is to also fork freemount.git (and optionally portaudio-mirror.git, if you want sound). I'm open to eventually making Freemount a subtree of metamage_ anyway, but the PortAudio mirror will definitely stay as is.

Another is for me to add an environment variable you can use for overriding, e.g. METAMAGE_CLONE_REPO_ROOT=https://github.com/jjuran/

Finally, you can manually clone the secondary repos from wherever you like. The Makefile only cares that they exist, and won't inquire as to where they came from.

jjuran commented 5 years ago

(By the way, if you want me to see the build log, please copy it into a gist and link it here. Travis CI is JS;DR.)

probonopd commented 5 years ago

Finally, you can manually clone the secondary repos from wherever you like.

Thanks, that will probably do.