Jump to content
1335 posts in this topic

Recommended Posts

22 hours ago, Mirone said:

I don't know if that would be the problem, because in the previous version (0.8.7) I managed to compile from your repository without any problem, I will try some things as soon as possible and I will share here if I have any success.

My OpenCore source file and UDK are not in the same git repository, you can use git clone to download to test whether the UDK repository can be downloaded completely, if it is not normal, it is limited

  • Like 1
On 12/10/2022 at 4:08 PM, Matgen84 said:

@btwise

Build commit cbf8a1c74fccac178d12de13531c962392dcb32b : OK

Build commit 76e56b6b81ade973ad5bc69bc74217f8a1ce7c13 : NO

Build commit 202735d898d97a5fc76eb87c93159f4f8b490db3 : NO

 

@btwise

 

Since OC developer upgrade to edk-stable-202211: I have issues. Can't build !

 

This afternoon, I update my local nasm to 2.15.05 (usr/local/bin) 🙂 Now I can build Opencore smoothly 😇

 

I hope that everything will be fine, for me, in the next few days

On 12/16/2022 at 12:18 AM, Matgen84 said:

 

@btwise

 

Since OC developer upgrade to edk-stable-202211: I have issues. Can't build !

 

This afternoon, I update my local nasm to 2.15.05 (usr/local/bin) 🙂 Now I can build Opencore smoothly 😇

 

I hope that everything will be fine, for me, in the next few days

oh,maybe my version of NASM has been relatively new, so I haven't had problems, others if can't compile, try to update the relevant compilation components

Edited by btwise
  • Like 1
4 hours ago, btwise said:

oh,maybe my version of NASM has been relatively new, so I haven't had problems, others if can't compile, try to update the relevant compilation components

I did that and it did not help. I have already let you know that the oscine step out from your branch does not work to download the UDK because of an expired ssl certificate. That is the error: 'https://codechina.csdn.net/btwise/audk.git/': SSL certificate problem: certificate has expired.
Also others already mentioned that in the comments of your repo. May be the oschina repos are not ins your hands and we need to wait until somebody has updated the certificates? 

35 minutes ago, Planet X said:

I did that and it did not help. I have already let you know that the oscine step out from your branch does not work to download the UDK because of an expired ssl certificate. That is the error: 'https://codechina.csdn.net/btwise/audk.git/': SSL certificate problem: certificate has expired.
Also others already mentioned that in the comments of your repo. May be the oschina repos are not ins your hands and we need to wait until somebody has updated the certificates? 

please use url https://gitcode.net/btwise/audk.git/ try it

Edited by btwise
2 hours ago, btwise said:

please use url https://gitcode.net/btwise/audk.git/ try it

That is another mistake in configuration because of an ssl certificate. The url will still go to https://codechina.csdn.net/btwise/audk.git/ which has an expired certificate. See here: Expired on: Saturday 3rd of december 2022 on 00:59:59 image.png.8d2d578cd4cc0b0844076a26e60cbdd1.png

Hi @Planet X
 

@btwise replace codechina.csdn by https://gitcode.net/btwise/ocbuild/-/raw/master/efibuild.sh on his Gitee repo. So local repo must be update or a new one must be created.

No more certificate issues. Try it.

4 minutes ago, Matgen84 said:

Hi @Planet X
 

@btwise replace codechina.csdn by https://gitcode.net/btwise/ocbuild/-/raw/master/efibuild.sh on his Gitee repo. So local repo must be update or a new one must be created.

No more certificate issues. Try it.

already replaced

28 minutes ago, Mirone said:

Screen.png

 

Since I update the two files (nasm ndisasm) to latest stable version 2.15.05 (copy/paste in /usr/local/bin). I can build again like before. Try it if you want.

 

Spoiler

在 Darwin 平台上构建

校验mtoc的hash值....

主工具链是: XCODE5 |  架构:X64

Current branch master is up to date.

更新UDK子模块内容,资源文件较大,根据你的网速会有不同的完成速度,请耐心等候...

./build_oc.tool: line 725:  9473 Terminated: 15          star $! git "$@"  (wd: ~/OC_NOACPI/OpenCorepkg/UDK)

正在设置EDK工作空间...

Testing...

构建EDK环境....

./build_oc.tool: line 837:  9605 Terminated: 15          star $! make "$@"

----------------------------------------------------------------

 

开始编译...

使用 XCODE5 工具链和??志在 DEBUG 版本中为 X64 架构构建 OpenCorePkg/OpenCorePkg.dsc ...

>|

编译完成!!

----------------------------------------------------------------

使用 XCODE5 工具链和??志在 RELEASE 版本中为 X64 架构构建 OpenCorePkg/OpenCorePkg.dsc ...

>\

编译完成!!

----------------------------------------------------------------

./build_oc.tool: line 861: 14238 Terminated: 15          star $! build "$@"  (wd: ~/OC_NOACPI/OpenCorepkg/UDK)

****************************************************************

 

打包中...

56+0 records in

56+0 records out

56 bytes transferred in 0.015344 secs (3650 bytes/sec)

56+0 records in

56+0 records out

56 bytes transferred in 0.000269 secs (208228 bytes/sec)

56+0 records in

56+0 records out

56 bytes transferred in 0.000267 secs (209715 bytes/sec)

56+0 records in

56+0 records out

56 bytes transferred in 0.000258 secs (217080 bytes/sec)

        

注意: 此版本的 ocvalidate 仅兼容 OpenCore 版本 0.8.8!

 

 

验证../../Docs/Sample.plist用了2毫秒完成,未发现问题.

 

注意: 此版本的 ocvalidate 仅兼容 OpenCore 版本 0.8.8!

 

 

验证../../Docs/SampleCustom.plist用了2毫秒完成,未发现问题.

编译成功!

----------------------------------------------------------------

运行检查架构脚本......

架构检查完成!

编译成功!

 

[Opération terminée]

 

Capture d’écran 2022-12-17 à 17.12.45.png

 

 

Edited by Matgen84
  • Like 1
9 minutes ago, Mirone said:

Nasm is not available for download, could you reupload?

 

I can't upload nasm file. I don't know why. 😪

You can donwload  here the full package. 

9 minutes ago, Mirone said:

Nasm is not available for download, could you reupload?

I downloaded the files from here: https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/macosx/ and I still can't compile.

Very strange ! It works for me. Do you also copy/paste ndisasm

 

Edited by Matgen84
  • Like 1
21 minutes ago, Matgen84 said:

 

I can't upload nasm file. I don't know why. 😪

You can donwload  here the full package. 

hello friend
Can I ask how the compiler can do that?
NO_ACPI_OPENCORE like you are discussing.

Spoiler

1101579039_Screenshot2022-12-17234435.thumb.png.d937724fce7c7d2aec897791b78cfc66.png

yes like this or not

Edited by naiclub
59 minutes ago, Matgen84 said:

 

This is exactly what I wanted to say to @Planet X but my English is very bad. Sorry.

Please try the link https://codechina.csdn.net/btwise/audk.git/ in your browser and see what happens. It does resolve to the same old codechina.csdn url.

Edited by Planet X
wrong url
13 minutes ago, naiclub said:

hello friend
Can I ask how the compiler can do that?
NO_ACPI_OPENCORE like you are discussing.

 

For those two files nasm and ndisasm: I manually copy/paste in /usr/local/bin these latest stable version 2.15.05. 

7 minutes ago, Matgen84 said:

 

For those two files nasm and ndisasm: I manually copy/paste in /usr/local/bin these latest stable version 2.15.05. 

not friends
I'm referring to how to create a compiled file that can be used.
What commands do you use?

Spoiler

259455035_Screenshot2022-12-17235522.png.6ff67f54807928f287e27f71a789849f.png

I just received the raw file, what should I do next?

Edited by naiclub
9 minutes ago, Planet X said:

Please try the link https://codechina.csdn.net/btwise/audk.git/ in your browser and see what happens. It does resolve to the same old codechina.csdn url.

@btwise has replaced codechina.csdn by https://gitcode.net/btwise/ocbuild/-/raw/master/efibuild.sh on his Gitee repo. So build_oc.tool in your local repo must manually be update or a new repo must be created.

 

The old codechina.csdn url doesn't exist anymore in the script.

 

Sorry for my bad English

5 minutes ago, naiclub said:

not friends
I'm referring to how to create a compiled file that can be used.
What commands do you use?

 

Hi Friend.
I don't understand what you means. To solve problems on my system,  I only use manually copy/paste in /usr/local/bin. After, I launched build_oc.tool as usual.

32 minutes ago, naiclub said:

not friends
I'm referring to how to create a compiled file that can be used.
What commands do you use?

  Reveal hidden contents

I just received the raw file, what should I do next?

For example this script

https://github.com/CloverHackyColor/CloverBootloader/blob/master/buildnasm.sh

  • Like 2

@Matgen84I use this build script:
echo "Get a copy of the project"
cd ~/Desktop/
git clone https://gitee.com/btwise/OpenCore_NO_ACPI
cd ~/Desktop/OpenCore_NO_ACPI
./build_oc.tool

 

That has worked until 3rd of December. Nothing has changed for me with the change of that URL. I see a directory UDK coming into my builder but a second later not will disappear and it stops.
 

开始下载/更新UDK资源,资源文件较大,根据你的网速会有不同的完成速度,请耐心等候...

>/

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

I have homebres with nasm installed. So what is going wrong since 3rd of December? 

 

B.t.w. on line 411 from efibuild.sh is stil that URL. It hasn't been changed. 

if [ "$NEW_BUILDSYSTEM" != "1" ]; then
  if [ "$OFFLINE_MODE" != "1" ]; then
    updaterepo "https://codechina.csdn.net/btwise/audk.git" UDK master || exit 1
  else
Edited by Planet X
  • Like 1
1 hour ago, Matgen84 said:

 

Hi Friend.
I don't understand what you means. To solve problems on my system,  I only use manually copy/paste in /usr/local/bin. After, I launched build_oc.tool as usual.

You are right, just replace the files and restart the computer and try to compile again, at least now I managed to compile.

 

Screen.png

NASM.zip

  • Like 2
1 hour ago, Planet X said:

@Matgen84I use this build script:
echo "Get a copy of the project"
cd ~/Desktop/
git clone https://gitee.com/btwise/OpenCore_NO_ACPI
cd ~/Desktop/OpenCore_NO_ACPI
./build_oc.tool

 

try:

./build_duet.tool after build_oc.tool

×
×
  • Create New...