aria2 has been updated to version 1.37.0 #25

Open
opened 2023-11-16 10:18:08 +01:00 by ray1025 · 16 comments
ray1025 commented 2023-11-16 10:18:08 +01:00 (Migrated from github.com)

aria2 has been updated to version 1.37.0. Could you please update the pro version?

aria2 has been updated to version 1.37.0. Could you please update the pro version?
synodriver commented 2023-11-19 13:57:51 +01:00 (Migrated from github.com)

I tried to build with docker, but just got errors,

=> ERROR [builder 4/4] RUN bash aria2-gnu-linux-build.sh      
...
#6 23.39 No schema files found: doing nothing.
..
#6 29.07 gzip: stdin: not in gzip format
#6 29.07 tar: Child returned status 1
#6 29.07 tar: Error is not recoverable: exiting now
------
executor failed running [/bin/sh -c bash $BUILD_SCRIPT]: exit code: 2

To build aria2 1.37.0 correctly, there maybe some modification to the build script I think.

I tried to build with docker, but just got errors, ``` => ERROR [builder 4/4] RUN bash aria2-gnu-linux-build.sh ... #6 23.39 No schema files found: doing nothing. .. #6 29.07 gzip: stdin: not in gzip format #6 29.07 tar: Child returned status 1 #6 29.07 tar: Error is not recoverable: exiting now ------ executor failed running [/bin/sh -c bash $BUILD_SCRIPT]: exit code: 2 ``` To build aria2 1.37.0 correctly, there maybe some modification to the build script I think.
CberYellowstone commented 2023-12-04 19:39:07 +01:00 (Migrated from github.com)

I tried to build with docker, but just got errors,

=> ERROR [builder 4/4] RUN bash aria2-gnu-linux-build.sh      
...
#6 23.39 No schema files found: doing nothing.
..
#6 29.07 gzip: stdin: not in gzip format
#6 29.07 tar: Child returned status 1
#6 29.07 tar: Error is not recoverable: exiting now
------
executor failed running [/bin/sh -c bash $BUILD_SCRIPT]: exit code: 2

To build aria2 1.37.0 correctly, there maybe some modification to the build script I think.

I fix it by update the dependence in dependences
but it still fail at last with

error: patch failed: src/prefs.cc:437
error: src/prefs.cc: patch does not apply
error: patch failed: src/prefs.h:389
error: src/prefs.h: patch does not apply

> I tried to build with docker, but just got errors, > > ``` > => ERROR [builder 4/4] RUN bash aria2-gnu-linux-build.sh > ... > #6 23.39 No schema files found: doing nothing. > .. > #6 29.07 gzip: stdin: not in gzip format > #6 29.07 tar: Child returned status 1 > #6 29.07 tar: Error is not recoverable: exiting now > ------ > executor failed running [/bin/sh -c bash $BUILD_SCRIPT]: exit code: 2 > ``` > > To build aria2 1.37.0 correctly, there maybe some modification to the build script I think. I fix it by update the dependence in [dependences](https://github.com/P3TERX/Aria2-Pro-Core/blob/master/dependences) but it still fail at last with >error: patch failed: src/prefs.cc:437 error: src/prefs.cc: patch does not apply error: patch failed: src/prefs.h:389 error: src/prefs.h: patch does not apply
CberYellowstone commented 2023-12-04 19:41:05 +01:00 (Migrated from github.com)

To build aria2 1.37.0 correctly, there maybe some modification to the build script I think.

i think the patches should also be updated

> To build aria2 1.37.0 correctly, there maybe some modification to the build script I think. i think the patches should also be updated
CberYellowstone commented 2023-12-04 19:41:16 +01:00 (Migrated from github.com)

@P3TERX

@P3TERX
shahidabrar commented 2023-12-14 19:12:35 +01:00 (Migrated from github.com)

i was able to build on manjaro kde from aur package named as aria2-pro.
aria2c.tar.gz

i was able to build on manjaro kde from aur package named as aria2-pro. [aria2c.tar.gz](https://github.com/P3TERX/Aria2-Pro-Core/files/13676828/aria2c.tar.gz)
JarmoHu commented 2023-12-16 10:40:33 +01:00 (Migrated from github.com)

The "no-want-digest-header" option has been already added to the original code. So I think we may delete "patch/0004-option-add-option-to-disable-want-digest-header.patch"

The "no-want-digest-header" option has been already added to the original code. So I think we may delete "patch/0004-option-add-option-to-disable-want-digest-header.patch"
CberYellowstone commented 2024-04-22 08:45:04 +02:00 (Migrated from github.com)

@P3TERX 大佬能看看这个吗,最近看到你博客更新了抱一丝希望来问问

@P3TERX 大佬能看看这个吗,最近看到你博客更新了抱一丝希望来问问
JarmoHu commented 2024-04-22 09:35:12 +02:00 (Migrated from github.com)

@P3TERX 大佬能看看这个吗,最近看到你博客更新了抱一丝希望来问问

自己去编译一个吧

> @P3TERX 大佬能看看这个吗,最近看到你博客更新了抱一丝希望来问问 自己去编译一个吧
CberYellowstone commented 2024-04-22 09:38:11 +02:00 (Migrated from github.com)

@P3TERX 大佬能看看这个吗,最近看到你博客更新了抱一丝希望来问问

自己去编译一个吧

参见之前的发言,旧的patch无法应用于最新版了,直接编译会报错,有一个PullRequest,但试过也没能编译成功

> > @P3TERX 大佬能看看这个吗,最近看到你博客更新了抱一丝希望来问问 > > 自己去编译一个吧 参见[之前的发言](https://github.com/P3TERX/Aria2-Pro-Core/issues/25#issuecomment-1839247849),旧的patch无法应用于最新版了,直接编译会报错,有一个PullRequest,但试过也没能编译成功
CberYellowstone commented 2024-04-22 09:39:35 +02:00 (Migrated from github.com)

@P3TERX 大佬能看看这个吗,最近看到你博客更新了抱一丝希望来问问

自己去编译一个吧

没注意那个pr就是你发起的XD,不知为何我在本地试过几次编译你的版本也没成功

> > @P3TERX 大佬能看看这个吗,最近看到你博客更新了抱一丝希望来问问 > > 自己去编译一个吧 没注意那个pr就是你发起的XD,不知为何我在本地试过几次编译你的版本也没成功
JarmoHu commented 2024-04-22 10:59:03 +02:00 (Migrated from github.com)
https://github.com/JarmoHu/Aria2-Pro-Core/actions
JsonSong89 commented 2024-11-11 07:31:32 +01:00 (Migrated from github.com)

https://github.com/JarmoHu/Aria2-Pro-Core/actions
大佬,用你的build action
先是 actions/upload-artifact@v2过期
升级了actions/upload-artifact@v3 之后再build,还是报错:

 > [builder 4/4] RUN bash aria2-gnu-linux-build-amd64.sh:
38.22  /bin/mkdir -p '/tmp/aria2-build-libs/lib/cmake/expat-2.4.1'
38.22  /usr/bin/install -c -m 644 cmake/autotools/expat-config-version.cmake cmake/autotools/expat-noconfig.cmake cmake/expat-config.cmake '/tmp/aria2-build-libs/lib/cmake/expat-2.4.1'
38.23  /bin/mkdir -p '/tmp/aria2-build-libs/lib/pkgconfig'
38.23  /usr/bin/install -c -m 644 expat.pc '/tmp/aria2-build-libs/lib/pkgconfig'
38.23 make[2]: Leaving directory '/tmp/expat'
38.23 make[1]: Leaving directory '/tmp/expat'
39.09 
39.09 gzip: stdin: not in gzip format
39.09 tar: Child returned status 1
39.09 tar: Error is not recoverable: exiting now
> https://github.com/JarmoHu/Aria2-Pro-Core/actions 大佬,用你的build action 先是 actions/upload-artifact@v2过期 升级了actions/upload-artifact@v3 之后再build,还是报错: ```sh > [builder 4/4] RUN bash aria2-gnu-linux-build-amd64.sh: 38.22 /bin/mkdir -p '/tmp/aria2-build-libs/lib/cmake/expat-2.4.1' 38.22 /usr/bin/install -c -m 644 cmake/autotools/expat-config-version.cmake cmake/autotools/expat-noconfig.cmake cmake/expat-config.cmake '/tmp/aria2-build-libs/lib/cmake/expat-2.4.1' 38.23 /bin/mkdir -p '/tmp/aria2-build-libs/lib/pkgconfig' 38.23 /usr/bin/install -c -m 644 expat.pc '/tmp/aria2-build-libs/lib/pkgconfig' 38.23 make[2]: Leaving directory '/tmp/expat' 38.23 make[1]: Leaving directory '/tmp/expat' 39.09 39.09 gzip: stdin: not in gzip format 39.09 tar: Child returned status 1 39.09 tar: Error is not recoverable: exiting now ```
JarmoHu commented 2024-11-11 11:07:01 +01:00 (Migrated from github.com)

https://github.com/JarmoHu/Aria2-Pro-Core/actions
大佬,用你的build action
先是 actions/upload-artifact@v2过期
升级了actions/upload-artifact@v3 之后再build,还是报错:

 > [builder 4/4] RUN bash aria2-gnu-linux-build-amd64.sh:
38.22  /bin/mkdir -p '/tmp/aria2-build-libs/lib/cmake/expat-2.4.1'
38.22  /usr/bin/install -c -m 644 cmake/autotools/expat-config-version.cmake cmake/autotools/expat-noconfig.cmake cmake/expat-config.cmake '/tmp/aria2-build-libs/lib/cmake/expat-2.4.1'
38.23  /bin/mkdir -p '/tmp/aria2-build-libs/lib/pkgconfig'
38.23  /usr/bin/install -c -m 644 expat.pc '/tmp/aria2-build-libs/lib/pkgconfig'
38.23 make[2]: Leaving directory '/tmp/expat'
38.23 make[1]: Leaving directory '/tmp/expat'
39.09 
39.09 gzip: stdin: not in gzip format
39.09 tar: Child returned status 1
39.09 tar: Error is not recoverable: exiting now

我也不知道,我不是大佬,只是改了很少一部分文件而已。可能是编译环境不一样了。话说作者都弃坑这个项目了,为啥还要研究他

> > https://github.com/JarmoHu/Aria2-Pro-Core/actions > > 大佬,用你的build action > > 先是 actions/upload-artifact@v2过期 > > 升级了actions/upload-artifact@v3 之后再build,还是报错: > > ```shell > > [builder 4/4] RUN bash aria2-gnu-linux-build-amd64.sh: > 38.22 /bin/mkdir -p '/tmp/aria2-build-libs/lib/cmake/expat-2.4.1' > 38.22 /usr/bin/install -c -m 644 cmake/autotools/expat-config-version.cmake cmake/autotools/expat-noconfig.cmake cmake/expat-config.cmake '/tmp/aria2-build-libs/lib/cmake/expat-2.4.1' > 38.23 /bin/mkdir -p '/tmp/aria2-build-libs/lib/pkgconfig' > 38.23 /usr/bin/install -c -m 644 expat.pc '/tmp/aria2-build-libs/lib/pkgconfig' > 38.23 make[2]: Leaving directory '/tmp/expat' > 38.23 make[1]: Leaving directory '/tmp/expat' > 39.09 > 39.09 gzip: stdin: not in gzip format > 39.09 tar: Child returned status 1 > 39.09 tar: Error is not recoverable: exiting now > ``` 我也不知道,我不是大佬,只是改了很少一部分文件而已。可能是编译环境不一样了。话说作者都弃坑这个项目了,为啥还要研究他
JarmoHu commented 2024-11-11 11:53:59 +01:00 (Migrated from github.com)

你看我的最新版本,就是一个依赖包的下载地址改了
https://github.com/JarmoHu/Aria2-Pro-Core/actions

你看我的最新版本,就是一个依赖包的下载地址改了 https://github.com/JarmoHu/Aria2-Pro-Core/actions
JsonSong89 commented 2024-11-19 04:04:22 +01:00 (Migrated from github.com)

可以了
把Dockerfile中的git.io/aria2c.sh脚本替换一下
这个脚本就是下载编译后的aria2c 二进制文件 ,把这个下载的文件替换成楼上大佬的编译产物
然后就可以了

可以了 把Dockerfile中的git.io/aria2c.sh脚本替换一下 这个脚本就是下载编译后的aria2c 二进制文件 ,把这个下载的文件替换成楼上大佬的编译产物 然后就可以了
antman666 commented 2024-12-09 02:45:28 +01:00 (Migrated from github.com)

I have updated this aria2 to 1.37.0 with openssl 3.5, it's here if you're interested

I have updated this aria2 to 1.37.0 with openssl 3.5, it's [here](https://github.com/antman666/Aria2-Pro-Core) if you're interested
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Division/Aria2-Pro-Core#25
No description provided.