Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

2 hours ago, Matgen84 said:

Hi @Slice

 

Thanks you for adding Aptiomemoryfix and AptioInput again 

 

I don't understand why in makepkg there is only Aptiomemoryfix and in makeiso only AptioInput

 

 

 

Capture d’écran 2019-10-05 à 17.55.39.png

Capture d’écran 2019-10-05 à 17.58.09.png

Screenshot 2019-10-05 at 21.46.59.png

  • Thanks 1
Link to comment
Share on other sites

10 hours ago, Slice said:

Screenshot 2019-10-05 at 21.46.59.png

 

Thanks a lot for explanations :) Can you tell me why AptioMemoryFix and AptioInputFix in Clover aren't the same size than those that are built from the original repo

Link to comment
Share on other sites

5 minutes ago, Matgen84 said:

 

Thanks a lot for explanations :) Can you tell me why AptioMemoryFix and AptioInputFix in Clover aren't the same size than those that are built from the original repo

Probably the virus that is present in all efi firmware, nah just joking

  • Haha 1
Link to comment
Share on other sites

11 minutes ago, Matgen84 said:

 

Thanks a lot for explanations :) Can you tell me why AptioMemoryFix and AptioInputFix in Clover aren't the same size than those that are built from the original repo

Original repo has XCODE5 compilation.

Clover repo has GCC53 compilation.

See the difference.

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

Quote

How to use git tag command or git describe head --tag command instead of vers.txt?

Just extract the value from output.

$ git tag -l

Result:

5071

5078

5081

5084

5089

5091

5093

5094

$ git describe --tags $(git rev-list --tags --max-count=1)

Result:

5094

  • Thanks 1
Link to comment
Share on other sites

Hi @Slice

 

I can't build Clover from Source with GitHub latest commit and I don't understand why. Please help me.

 

TOOLCHAIN_DIR: /Users/mathieu/src/opt/local
./ebuild.sh: line 635: syntax error near unexpected token `;;'

 

Edited by Matgen84
  • Like 1
Link to comment
Share on other sites

3 hours ago, Matgen84 said:

Hi @Slice

 

I can't build Clover from Source with GitHub latest commit and I don't understand why. Please help me.

 


TOOLCHAIN_DIR: /Users/mathieu/src/opt/local
./ebuild.sh: line 635: syntax error near unexpected token `;;'

 

 

Try again. It's been fixed with the last commit. :)

 

However, we seem to have a bug with this one. Check out Current booted revision. :D 

 

1180307329_Screenshot2019-10-07at20_42_43.thumb.png.3aebcd8a0c17595a533995b48ee39bd4.png

 

Edited by arsradu
  • Thanks 1
Link to comment
Share on other sites

On 10/3/2019 at 11:44 AM, arsradu said:

This is why I was suggesting switching from ftp:// to https:// so it can access the URLs.

The big problem is that mirrors are often unsyncronized or offline:

Quote

We no longer recommend creating web mirrors, because it has turned out that (a) few people can make use of them, and (b) many mirrors either became out of date or went offline relatively frequently. We don't want outdated information about the GNU project to be disseminated.

Nonetheless, if you wish to mirror www.gnu.org for your own purposes, that is ok with us. We recommend using mod_proxy. Here is an unsupported recipe of Apache directives for your <VirtualHost>:

 

On 10/3/2019 at 11:44 AM, arsradu said:

curl: (7) Failed to connect to ftp.gnu.org port 21: Operation timed out

..so why not open port 21 to your firewall?

Link to comment
Share on other sites

4 minutes ago, vector sigma said:

The big problem is that mirrors are often unsyncronized or offline:

Vector, I wasn't suggesting using mirrors. Just literally replacing this string "ftp://" with "https://" in the existing URLs. That's all.

Edited by arsradu
Link to comment
Share on other sites

3 minutes ago, arsradu said:

Vector, I wasn't suggesting using mirrors. Just literally replacing this string "ftp://" with "https://". That's all.

Status: gmp-6.1.2 not found.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.gnu.org

yep but...

Link to comment
Share on other sites

3 minutes ago, vector sigma said:

Status: gmp-6.1.2 not found.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ftp.gnu.org

yep but...

 

Needs to be replaced in all instances. :) 

 

In buildgcc.sh, build_gcc9.sh and buildgcc-4.9.sh.

 

It should look something like this.

 

2108130540_Screenshot2019-10-07at21_56_59.thumb.png.079066de6165f549949811e7ad33385f.png

Edited by arsradu
Link to comment
Share on other sites

3 minutes ago, vector sigma said:

It is by chance working using ftps://

for gmp there-s only one

 

ftps...? No. https. Not ftps. :)

 

And it's working fine:

 

[CHECK XCODE]
- Building GCC 9.2.0 toolchain for x64
- to /Users/jimmy/src/opt/local/cross/bin/x86_64-clover-linux-gnu
  Running on Mac OS X 10.15, with x86_64 architecture.
  Using Xcode SDK: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
Status: gmp-6.1.2 not found.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1900k  100 1900k    0     0  1027k      0  0:00:01  0:00:01 --:--:-- 1027k
Status: mpfr-4.0.2 not found.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1408k  100 1408k    0     0   942k      0  0:00:01  0:00:01 --:--:--  941k
Status: mpc-1.1.0 not found.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  684k  100  684k    0     0   574k      0  0:00:01  0:00:01 --:--:--  574k
Status: isl-0.21 not found.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1583k  100 1583k    0     0  2643k      0 --:--:-- --:--:-- --:--:-- 2639k
Status: binutils-2.32 not found.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 19.8M  100 19.8M    0     0  4774k      0  0:00:04  0:00:04 --:--:-- 4774k

 

Edited by arsradu
Link to comment
Share on other sites

7 minutes ago, arsradu said:

 

ftps...? No. https. Not ftps. :)

Bro, ftps (port 21), sftp (port 22). https is not the only protocol available... and ftp[etc.] is used by those have an access token to these repositories.. which can be different from http(s).

Edited by vector sigma
Link to comment
Share on other sites

1 minute ago, vector sigma said:

Bro, ftps (port 21), sftp (port 22). https is not the only protocolo availabl... and ftp[etc.] is used by those have an access token to these repositories..

So, are you suggesting trying ftps instead? I'm not sure I understand what you're suggesting. :))

 

The ftp port is blocked, not sure about ftps. I can try....if you think that could work. If not...I guess I'll always have to replace ftp(s) with https so I can download.

Link to comment
Share on other sites

Just now, arsradu said:

The ftp port is blocked, not sure about ftps. I can try....if you think that could work. If not...I guess I'll always have to replace ftp(s) with https so I can download.

I try is appreciated also because I-m not the mantainers of these/those scripts, we have to ask sir Zenith432 who made the script and if is ok for him. ftps should have no difference in the case. Plus https is not resolved here.. maybe there-s a redirection ad I have to add some flag for curl.

Link to comment
Share on other sites

12 minutes ago, vector sigma said:

I try is appreciated also because I-m not the mantainers of these/those scripts, we have to ask sir Zenith432 who made the script and if is ok for him. ftps should have no difference in the case. Plus https is not resolved here.. maybe there-s a redirection ad I have to add some flag for curl.

 

Nope. ftp or ftps makes no difference. It doesn't work with either one of them.

 

Also, if you remember, we did have the exact same issue before with buildgettext.sh. And it was fixed exactly the same way by Zenith. :) 

 

https://sourceforge.net/p/cloverefiboot/tickets/528/

Edited by arsradu
Link to comment
Share on other sites

50 minutes ago, arsradu said:

Nope. ftp or ftps makes no difference. It doesn't work with either one of them.

What's your ISP that block port 21 and port 22?

 

50 minutes ago, arsradu said:

Also, if you remember, we did have the exact same issue before with buildgettext.sh. And it was fixed exactly the same way by Zenith.

Was no longer in my head, but you too had the same concern about ftp and why not https, maybe for a simply reason... like an authenticated account: 

1902201546_Screenshot2019-10-07at22_00_34.png.396bc218ab8d52e718ccdab85583373d.png

or just because adviced by GNU for some reasons... and anyway before doing that I have to understand why the gnu links are not resolved for me with https...  why I asked you to try to open port 21 in your router's firewall... why I'm reluctant (i.e. to make you happy I've to make me crying).

Link to comment
Share on other sites

22 hours ago, vector sigma said:

What's your ISP that block port 21 and port 22?

 

Was no longer in my head, but you too had the same concern about ftp and why not https, maybe for a simply reason... like an authenticated account: 

1902201546_Screenshot2019-10-07at22_00_34.png.396bc218ab8d52e718ccdab85583373d.png

or just because adviced by GNU for some reasons... and anyway before doing that I have to understand why the gnu links are not resolved for me with https...  why I asked you to try to open port 21 in your router's firewall... why I'm reluctant (i.e. to make you happy I've to make me crying).

 

It's not my router. It's at work. :) I've got no control over ports and such. Works fine at home. But at home, I've got no restriction on the ports.  I don't know about authentication pop-up. I'm guessing switching to https will make that pop-up not show up anymore...? I don't know...

 

Thing is, it was fixed exactly like that before. :)) And it's exactly the same issue. So...if it wasn't an issue before to simply switch to https, why would it be an issue now? :))

 

Anyway, I don't want to make you cry. So, if this is causing issues for other people, I'll just make a backup of those 3 edited files, and replace them whenever I want to compile Clover. Simple as that. :)

 

Thank you very much for your feedback. :) Aaaand..happy downloading, if you're planning on upgrading to final version of Catalina (build 19A583) tonight.

Edited by arsradu
Link to comment
Share on other sites

6 minutes ago, arsradu said:

Thing is, it was fixed exactly like that before. :)) And it's exactly the same issue. So...if it wasn't an issue before to simply switch to https, why would it be an issue now? :))

Because of me? I'm a dog?:blush:

quip

6 minutes ago, arsradu said:

Anyway, I don't want to make you cry. So, if this is causing issues for other people, I'll just make a backup of those 3 edited files, and replace them whenever I want to compile Clover. Simple as that

I've to understand why and how to fix it...  

Edited by vector sigma
Link to comment
Share on other sites

Just now, vector sigma said:

Because of me? I'm a dog?:blush:

 

Your profile picture says you're a cat! I'm confused. :P 

 

Vector, look, it's ok man. I don't wanna cause anyone any troubles. And if changing this causes you other issues (although, again, the same exact thing has been done for compiling with buildgettext), and you seem to be ok with that...then let's just leave it.

Link to comment
Share on other sites

1 minute ago, arsradu said:

Your profile picture says you're a cat! I'm confused. :P 

a bad cat:cat: Lol.

 

3 minutes ago, arsradu said:

(although, again, the same exact thing has been done for compiling with buildgettext

It's a light year I didn't compile it as I have the same problem. Installed it using homebrew. Wait! ...something tells me that switching back to ftp...

Link to comment
Share on other sites

11 minutes ago, vector sigma said:

I've to understand why and how to fix it...  

 

If you're looking for an alternative fix for this...well, I don't know. And unfortunately I can't help you with that. :))

 

The issue is the restricted ports. And a valid workaround is simply using https in front of the URLs instead of ftp.

 

There might be other ways to fix this... But as I said, unfortunately that's the easiest fix I could find. :)) For a more "professional" fix...I'm not the guy to ask. :))

Link to comment
Share on other sites

×
×
  • Create New...