You are not logged in.

#1 2024-08-24 11:58:15

TheSilverFoxes
Member
Registered: 2024-08-24
Posts: 17

[RESOLVED] Error when compiling qt5-webkit for davinci-resolve-beta

[  3%] Generating ../../DerivedSources/JavaScriptCore/Bytecodes.h, ../../DerivedSources/JavaScriptCore/InitBytecodes.asm
[  3%] Generating ../../DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h
/home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:587:in `block in parseSequence': undefined method `=~' for #<Annotation:0x0000790c45dd3a40 @codeOrigin=#<CodeOrigin:0x0000790c45dd3b08 @sourceFile=#<SourceFile:0x0000790c43ba0c98 @name=#<Pathname:/home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm>, @fileNumber=3>, @lineNumber=511>, @type=:local, @string="Check if there are some unaligned slots we can use"> (NoMethodError)
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `loop'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:654:in `block in parseSequence'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `loop'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:814:in `parseData'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:818:in `parse'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:780:in `block in parseSequence'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `loop'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:625:in `block in parseSequence'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `loop'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:814:in `parseData'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:818:in `parse'
    from /home/nguyen/.cache/yay/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb:68:in `<main>'
make[2]: *** [Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/build.make:96: DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h] Error 1
make[1]: *** [CMakeFiles/Makefile2:1526: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
-> error making: qt5-webkit-exit status 4
==> Making package: davinci-resolve-beta 19.0b4-1 (Sat 24 Aug 2024 06:49:15 PM +07)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> qt5-webkit
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
-> error making: davinci-resolve-beta-exit status 8
-> Failed to install the following packages. Manual intervention is required:
qt5-webkit - exit status 4
davinci-resolve-beta - exit status 8

Any help? Thank you in advance.

EDIT: Reinstalled Arch, still no success.

UPDATE: The solution from Sving1024 worked nicely, I got the prebuilt package from the comments of the AUR for qt5-webkit, seems to be a problem with the PKGBUILD instead.

Last edited by TheSilverFoxes (2024-08-30 09:42:26)

Offline

#2 2024-08-28 02:21:34

TheSilverFoxes
Member
Registered: 2024-08-24
Posts: 17

Re: [RESOLVED] Error when compiling qt5-webkit for davinci-resolve-beta

Bump because no answer

Offline

#3 2024-08-28 05:33:08

loqs
Member
Registered: 2014-03-06
Posts: 18,055

Re: [RESOLVED] Error when compiling qt5-webkit for davinci-resolve-beta

Offline

#4 2024-08-30 05:16:41

TheSilverFoxes
Member
Registered: 2024-08-24
Posts: 17

Re: [RESOLVED] Error when compiling qt5-webkit for davinci-resolve-beta

Thank you! One problem though: how do I use the patch with yay?

Offline

#5 2024-08-30 06:46:25

Sving1024
Member
Registered: 2024-06-16
Posts: 27
Website

Re: [RESOLVED] Error when compiling qt5-webkit for davinci-resolve-beta

There is a comment reporting the error, it's not your problem, but the aur package's. Now the Maintainer is trying to solve this. BTW, he also gives a way to download a prebuilt package in the a comment. Just download the package there and use "pacman -U" to install that or consider using qt5-webkit-movableink-git in aur.

Offline

#6 2024-08-30 08:40:13

TheSilverFoxes
Member
Registered: 2024-08-24
Posts: 17

Re: [RESOLVED] Error when compiling qt5-webkit for davinci-resolve-beta

Sving1024 wrote:

There is a comment reporting the error, it's not your problem, but the aur package's. Now the Maintainer is trying to solve this. BTW, he also gives a way to download a prebuilt package in the a comment. Just download the package there and use "pacman -U" to install that or consider using qt5-webkit-movableink-git in aur.

Many thanks, the prebuilt package worked nicely.

But there is one problem when I try to run yay -S davinci-resolve-beta:
Removing src/
==> ERROR: DaVinci_Resolve_19.0b4_Linux.zip was not found in the build directory and is not a URL.
-> error downloading sources: /home/nguyen/.cache/yay/davinci-resolve-beta
    context: exit status 1
:: (1/1) Parsing SRCINFO: davinci-resolve-beta
==> Making package: davinci-resolve-beta 19.0b4-1
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: DaVinci_Resolve_19.0b4_Linux.zip was not found in the build directory and is not a URL.
-> error making: davinci-resolve-beta-exit status 1
-> Failed to install the following packages. Manual intervention is required:
davinci-resolve-beta - exit status 1

Last edited by TheSilverFoxes (2024-08-30 08:40:34)

Offline

#7 2024-08-30 09:33:54

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,411
Website

Re: [RESOLVED] Error when compiling qt5-webkit for davinci-resolve-beta

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2024-08-30 09:34:10

Sving1024
Member
Registered: 2024-06-16
Posts: 27
Website

Re: [RESOLVED] Error when compiling qt5-webkit for davinci-resolve-beta

I tried it on my arch. It seems that the PKGBUILD is broken for everyone. It's better to write a comment under the package to let others know the PKGBUILD has some problems. However, because it's an orphan package, the problem may not be solved in a short time. Maybe you should try other similar packages.  By the way, you can also try to download the DaVinci_Resolve_19.0b4_Linux.zip manually and put it in the src directory (may not work).

If you want to know more about aur, you can see this wiki page.
If you want to take over the package and become the maintainer of the package, the following wiki pages may be help

Offline

#9 2024-08-30 09:40:25

TheSilverFoxes
Member
Registered: 2024-08-24
Posts: 17

Re: [RESOLVED] Error when compiling qt5-webkit for davinci-resolve-beta

Fixed by using davinci-resolve package. Marking as solved.

Offline

Board footer

Powered by FluxBB