You are not logged in.

#1 2016-08-04 16:39:55

krypt
Member
Registered: 2016-05-15
Posts: 26

[SOLVED] Openpht compile issue

Apparently to be able to build openpht we need to downgrade the packages below. But I don't want to downgrade any packages,

gcc-libs to version <=5.3.0
glibc to version <=2.23-1
llvm-libs to version <=3.7.1

They seem have fixed the gcc dependency issue in this commit https://github.com/RasPlex/OpenPHT/comm … 7dad6abd9a

I'm pretty new to both git and aur so this might sound a weird question but is there way to merge the commit into the aur package?

Thanks.

Last edited by krypt (2016-08-04 20:05:26)

Offline

#2 2016-08-04 17:19:19

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] Openpht compile issue

you can get patch from the git commit. In github you can add '.patch' to the end of the commit url, to get a raw patch, e.g. https://github.com/RasPlex/OpenPHT/comm … bd9a.patch

Then modify the PKGBUILD to apply the patch: https://wiki.archlinux.org/index.php/Patching_in_ABS
If the patch doesn't apply, you can try fixing the source by hand and create a new patch from that.

It may be simpler to convert the PKGBUILD to retrieve and build the source directly from the git repo: https://wiki.archlinux.org/index.php/VC … guidelines

Offline

#3 2016-08-04 18:10:47

krypt
Member
Registered: 2016-05-15
Posts: 26

Re: [SOLVED] Openpht compile issue

The patch worked and the build process progressed a bit more. However, soon another compile error raised. It seems this commit was not enough. But I've learned a lot about AUR in the process so thank you very much!

Last edited by krypt (2016-08-04 18:10:57)

Offline

Board footer

Powered by FluxBB