Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718070 - media-video/davinci-resolve: New package request
Summary: media-video/davinci-resolve: New package request
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2020-04-18 16:37 UTC by gletonai
Modified: 2024-04-13 09:34 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
davinci-resolve-16.2.ebuild (davinci-resolve-16.2.ebuild,15.91 KB, application/octet-stream)
2020-04-18 16:37 UTC, gletonai
Details
Manifest (Manifest,634 bytes, text/plain)
2020-04-18 16:38 UTC, gletonai
Details
davinci-resolve-16.2.ebuild (davinci-resolve-16.2.ebuild,15.93 KB, application/octet-stream)
2020-04-18 18:05 UTC, gletonai
Details
davinci-resolve-16.2.ebuild (davinci-resolve-16.2.ebuild,15.93 KB, application/octet-stream)
2020-04-18 18:15 UTC, gletonai
Details
Manifest (Manifest,634 bytes, text/plain)
2020-04-18 18:15 UTC, gletonai
Details
Manifest (Manifest,634 bytes, text/plain)
2020-04-19 10:17 UTC, gletonai
Details
davinci-resolve-16.2.ebuild (davinci-resolve-16.2.ebuild,16.65 KB, application/octet-stream)
2020-04-19 10:18 UTC, gletonai
Details
davinci-resolve-16.2.1.ebuild (davinci-resolve-16.2.1.ebuild,16.65 KB, application/octet-stream)
2020-04-21 19:03 UTC, gletonai
Details
Manifest (Manifest,950 bytes, text/plain)
2020-04-21 19:03 UTC, gletonai
Details
Manifest (Manifest,950 bytes, text/plain)
2020-04-22 07:06 UTC, gletonai
Details
davinci-resolve-16.2.1.ebuild (davinci-resolve-16.2.1.ebuild,16.64 KB, application/octet-stream)
2020-04-22 07:07 UTC, gletonai
Details
davinci-resolve-16.2.ebuild (davinci-resolve-16.2.ebuild,16.64 KB, application/octet-stream)
2020-04-22 07:07 UTC, gletonai
Details
davinci-resolve-17.4.4.ebuild (davinci-resolve-17.4.4.ebuild,2.36 KB, text/plain)
2022-02-23 19:30 UTC, Mario Fetka (geos_one)
Details
files/makeresolvedeb-gentoo.patch (makeresolvedeb-gentoo.patch,3.09 KB, patch)
2022-02-23 19:30 UTC, Mario Fetka (geos_one)
Details | Diff
davinci-resolve-18.0.1.ebuild (davinci-resolve-18.0.1.ebuild,2.40 KB, text/plain)
2022-08-12 13:07 UTC, Mario Fetka (geos_one)
Details
makeresolvedeb_gentoo_1.6.0.patch (makeresolvedeb_gentoo_1.6.0.patch,3.38 KB, patch)
2022-08-12 13:07 UTC, Mario Fetka (geos_one)
Details | Diff
davinci-resolve-18.1.ebuild (davinci-resolve-18.1.ebuild,2.41 KB, text/plain)
2022-11-17 13:24 UTC, Mario Fetka (geos_one)
Details
makeresolvedeb_gentoo_1.6.2.patch (makeresolvedeb_gentoo_1.6.2.patch,3.43 KB, patch)
2022-11-17 13:25 UTC, Mario Fetka (geos_one)
Details | Diff
davinci-resolve-18.1.1.ebuild (davinci-resolve-18.1.1.ebuild,2.44 KB, text/plain)
2022-12-21 14:41 UTC, Mario Fetka (geos_one)
Details
Updated ebuild with some QA fixes (davinci-resolve-18.1.1.ebuild,2.54 KB, text/plain)
2023-02-09 01:28 UTC, Luke A. Guest
Details
Renamed to latest version (davinci-resolve-18.1.3.ebuild,2.62 KB, text/plain)
2023-02-09 10:29 UTC, Luke A. Guest
Details
davinci-resolve-18.1.3.ebuild (davinci-resolve-18.1.3.ebuild,2.62 KB, text/plain)
2023-02-17 07:31 UTC, Mario Fetka (geos_one)
Details
makeresolvedeb_gentoo_1.6.4.patch (makeresolvedeb_gentoo_1.6.4.patch,3.01 KB, patch)
2023-02-17 07:32 UTC, Mario Fetka (geos_one)
Details | Diff
Patch for the 1.6.4 version of makeresolvedeb (makeresolvedeb_gentoo_1.6.4.patch,2.28 KB, patch)
2023-10-01 16:12 UTC, Luke A. Guest
Details | Diff
ebuild for 18.6 (davinci-resolve-18.6.ebuild,2.66 KB, application/vnd.gentoo.ebuild)
2023-10-01 16:13 UTC, Luke A. Guest
Details
New version (davinci-resolve-18.6.ebuild,2.93 KB, application/vnd.gentoo.ebuild)
2023-10-02 11:15 UTC, Luke A. Guest
Details
davinci-resolve-18.6.2.ebuild (davinci-resolve-18.6.2.ebuild,2.78 KB, text/plain)
2023-11-02 11:39 UTC, Mario Fetka (geos_one)
Details
18.6.4 build failure (build.log.gz,1.52 KB, application/gzip)
2024-01-26 12:05 UTC, Luke A. Guest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gletonai 2020-04-18 16:37:33 UTC
Created attachment 633612 [details]
davinci-resolve-16.2.ebuild

Hi!

Please find attached davinci-resolve-16.2.ebuild.

It will install the Blackmagic Design's DaVinci Resolve 16.2

It does not have many dependencies, it comes with bundled libs.

The ebuild is inspired by Daniel Tufvesson's makeresolvedeb script (https://www.danieltufvesson.com/makeresolvedeb#allversions) and an existing ebuild for a previus version by Matt Bilker (https://github.com/mbilker/gentoo-overlay/tree/master/media-video)

I'm new to ebuild writing so any feedback is welcome.
I suggest media-video/davinci-resolve.

Cheers,
Gaspar
Comment 1 gletonai 2020-04-18 16:38:34 UTC
Created attachment 633614 [details]
Manifest
Comment 2 gletonai 2020-04-18 18:05:12 UTC
Created attachment 633632 [details]
davinci-resolve-16.2.ebuild
Comment 3 gletonai 2020-04-18 18:15:13 UTC
Created attachment 633634 [details]
davinci-resolve-16.2.ebuild
Comment 4 gletonai 2020-04-18 18:15:44 UTC
Created attachment 633636 [details]
Manifest
Comment 5 gletonai 2020-04-19 10:17:38 UTC
Created attachment 633690 [details]
Manifest
Comment 6 gletonai 2020-04-19 10:18:06 UTC
Created attachment 633692 [details]
davinci-resolve-16.2.ebuild
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-04-20 14:55:01 UTC
Thanks for submitting a new package request.

You may want to:
* Debundle libs if you can (devendorise)
* Try submitting it to GURU: https://wiki.gentoo.org/wiki/Project:GURU
Comment 8 gletonai 2020-04-21 19:03:06 UTC
Created attachment 634030 [details]
davinci-resolve-16.2.1.ebuild
Comment 9 gletonai 2020-04-21 19:03:29 UTC
Created attachment 634032 [details]
Manifest
Comment 10 gletonai 2020-04-22 07:06:37 UTC
Created attachment 634048 [details]
Manifest
Comment 11 gletonai 2020-04-22 07:07:03 UTC
Created attachment 634050 [details]
davinci-resolve-16.2.1.ebuild
Comment 12 gletonai 2020-04-22 07:07:30 UTC
Created attachment 634052 [details]
davinci-resolve-16.2.ebuild
Comment 13 gletonai 2020-04-22 15:54:28 UTC
(In reply to Sam James (sec padawan) from comment #7)
> Thanks for submitting a new package request.
> 
> You may want to:
> * Debundle libs if you can (devendorise)
> * Try submitting it to GURU: https://wiki.gentoo.org/wiki/Project:GURU

Thanks, most of its libs depend on libc++ so not all libs can be replaced, I'll see what can be done.
Comment 14 Mario Fetka (geos_one) 2021-08-11 21:57:54 UTC
could you update the ebuild ?
Comment 15 vowstar 2021-10-27 03:06:49 UTC
https://github.com/vowstar/vowstar-overlay/tree/master/media-video/davinci-resolve

I've add davinci-resolve-17.4.ebuild to my overlay, and it tested on my environment. If it is stable, I'll move it to ::guru
Comment 16 Mario Fetka (geos_one) 2022-02-23 19:30:14 UTC
Created attachment 765723 [details]
davinci-resolve-17.4.4.ebuild
Comment 17 Mario Fetka (geos_one) 2022-02-23 19:30:42 UTC
Created attachment 765724 [details, diff]
files/makeresolvedeb-gentoo.patch
Comment 18 Mario Fetka (geos_one) 2022-02-23 19:33:39 UTC
my version uses the makeresolvedeb scripts to correct the resolve relase to work with debian as it also works with gentoo

the ebuild schould also work with davinci-resolve-studio

the patch just disables buildign of the deb package and correct the extraxt to be silend and fix the libinstall to use get_libdir instead.
Comment 19 Luke A. Guest 2022-05-03 17:34:23 UTC
I tried the 17.4.4 ebuild with 17.4.6 and it fails with:

>>> Emerging (1 of 1) media-video/davinci-resolve-17.4.6::lucretia
 * DaVinci_Resolve_17.4.6_Linux.zip BLAKE2B SHA512 size ;-) ...                                                                                                      [ ok ]
 * makeresolvedeb_1.5.1_multi.sh.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking DaVinci_Resolve_17.4.6_Linux.zip to /var/tmp/portage/media-video/davinci-resolve-17.4.6/work
>>> Unpacking makeresolvedeb_1.5.1_multi.sh.tar.gz to /var/tmp/portage/media-video/davinci-resolve-17.4.6/work
>>> Source unpacked in /var/tmp/portage/media-video/davinci-resolve-17.4.6/work
>>> Preparing source in /var/tmp/portage/media-video/davinci-resolve-17.4.6/work ...
 * Applying makeresolvedeb-gentoo.patch ...                                                                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/davinci-resolve-17.4.6/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-video/davinci-resolve-17.4.6/work ...
MakeResolveDeb 1.5.1

Detected DaVinci Resolve version 17.4.6

Checking for tar...found!

Using Resolve 17 conversion process
Extracting archive
fusermount: mount failed: Operation not permitted
open dir error: No such file or directory
Found 0 objects
[ERROR] Failed to extract DaVinci Resolve installer archive
>>> Source compiled.
>>> Test phase [not enabled]: media-video/davinci-resolve-17.4.6

>>> Install media-video/davinci-resolve-17.4.6 into /var/tmp/portage/media-video/davinci-resolve-17.4.6/image
cp: cannot stat '/var/tmp/portage/media-video/davinci-resolve-17.4.6/work/davinci-resolve_17.4.6-mrd1.5.1_amd64/lib': No such file or directory
 * ERROR: media-video/davinci-resolve-17.4.6::lucretia failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 127:  Called src_install
 *   environment, line 1266:  Called die
 * The specific snippet of code:
 *       cp -a ${DR}/lib "${ED}" || die;
 * 
 * If you need support, post the output of `emerge --info '=media-video/davinci-resolve-17.4.6::lucretia'`,
 * the complete build log and the output of `emerge -pqv '=media-video/davinci-resolve-17.4.6::lucretia'`.
 * The complete build log is located at '/var/tmp/portage/media-video/davinci-resolve-17.4.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/davinci-resolve-17.4.6/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/davinci-resolve-17.4.6/work'
 * S: '/var/tmp/portage/media-video/davinci-resolve-17.4.6/work'

>>> Failed to emerge media-video/davinci-resolve-17.4.6, Log file:

>>>  '/var/tmp/portage/media-video/davinci-resolve-17.4.6/temp/build.log'

 * Messages for package media-video/davinci-resolve-17.4.6:

 * ERROR: media-video/davinci-resolve-17.4.6::lucretia failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 127:  Called src_install
 *   environment, line 1266:  Called die
 * The specific snippet of code:
 *       cp -a ${DR}/lib "${ED}" || die;
 * 
 * If you need support, post the output of `emerge --info '=media-video/davinci-resolve-17.4.6::lucretia'`,
 * the complete build log and the output of `emerge -pqv '=media-video/davinci-resolve-17.4.6::lucretia'`.
 * The complete build log is located at '/var/tmp/portage/media-video/davinci-resolve-17.4.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/davinci-resolve-17.4.6/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/davinci-resolve-17.4.6/work'
 * S: '/var/tmp/portage/media-video/davinci-resolve-17.4.6/work'
Comment 20 Luke A. Guest 2022-05-03 17:36:27 UTC
emerge --info '=media-video/davinci-resolve-17.4.6::lucretia:


Portage 3.0.30 (python 3.10.2-final-0, default/linux/amd64/17.1/desktop, gcc-10.3.1, glibc-2.35-r2, 5.17.5-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.17.5-gentoo-x86_64-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-glibc2.35
KiB Mem:    32785196 total,   2162896 free
KiB Swap:   67108860 total,  67107568 free
Timestamp of repository gentoo: Tue, 03 May 2022 10:33:05 +0000
Head commit of repository gentoo: a6be8d5823b529e3bd07d0d6822dea3ed71902ab

Timestamp of repository poly-c: Tue, 03 May 2022 08:38:38 +0000
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r7::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.9.10::gentoo, 3.10.2-r1::gentoo, 3.11.0_alpha4::gentoo
dev-lang/rust-bin:         1.58.1::gentoo
dev-util/cmake:            3.23.1::gentoo
dev-util/meson:            0.61.3::gentoo
sys-apps/baselayout:       2.8::poly-c
sys-apps/openrc:           0.44.9::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.13.4-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils:        2.35.2::gentoo, 2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           11.1.0::gentoo, 12.0.1::gentoo, 13.0.1::gentoo, 14.0.0-r1::gentoo
sys-devel/gcc:             9.3.0-r1::gentoo, 10.3.1_p20211126::ada, 11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            10.0.1::gentoo, 11.1.0::gentoo, 12.0.1::gentoo, 13.0.1::gentoo, 14.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000

ada
    location: /home/laguest/src/gentoo-overlays/ada-overlay
    masters: gentoo
    priority: 20

lucretia
    location: /home/laguest/src/gentoo-overlays/lucretia
    masters: gentoo
    priority: 30

audio-overlay
    location: /var/lib/layman/audio-overlay
    sync-type: laymansync
    sync-uri: https://github.com/gentoo-audio/audio-overlay.git
    masters: gentoo
    priority: 50

bloody
    location: /var/lib/layman/bloody
    sync-type: laymansync
    sync-uri: https://github.com/bloodywing/bloody.git
    masters: gentoo
    priority: 50

dlang
    location: /var/lib/layman/dlang
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/dlang.git
    masters: gentoo
    priority: 50

dotnet
    location: /var/lib/layman/dotnet
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/dotnet.git
    masters: gentoo
    priority: 50

go-overlay
    location: /var/lib/layman/go-overlay
    sync-type: laymansync
    sync-uri: https://github.com/Dr-Terrible/go-overlay.git
    masters: gentoo
    priority: 50

haskell
    location: /var/lib/layman/haskell
    sync-type: laymansync
    sync-uri: https://github.com/gentoo-haskell/gentoo-haskell.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/java.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo
    priority: 50

lisp
    location: /var/lib/layman/lisp
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/lisp.git
    masters: gentoo
    priority: 50

poly-c
    location: /var/lib/layman/poly-c
    sync-type: laymansync
    sync-uri: rsync://rsync.gentoofan.org/poly-c
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

4nykey
    location: /var/lib/layman/4nykey
    sync-type: laymansync
    sync-uri: https://github.com/4nykey/4nykey.git
    masters: gentoo
    priority: 60

Installed sets: @llvm, @mesa
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf /usr/share/maven-bin-3.8/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ http://mirrors.evowise.com/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/ ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/ rsync://rsync.mirrorservice.org/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac aacs acl acpi activities alsa amd64 amr amrenc ao bluetooth bluray branding brightness-control browser-integration bzip2 cairo caps cdda cdio cdr celt cli collada color-management colord colorio cpudetection crypt cups dbus display-manager dri dssi dts dvd dvdr elogind encode exif fdk ffmpeg fftw flac fontconfig fortran frei0r gdbm gif gpm grub gstreamer gtk gtk2 gui heif ibus iconv icu imagemagick ipv6 jack jack-session jpeg jpeg2k kde kvazaar kwallet ladspa lash lcms libglvnd libilbc libnotify librtmp libsamplerate libsoxr libtirpc libv4l llvm lm_sensors lv2 mad matroska mng modplug mp3 mp4 mpeg mpi mtp multilib musepack ncurses networkmanager nls nptl nsm numpy ocr ogg omxil opencl opencv openexr opengl openh264 openimageio openmp opus osc otr pam pango pcre pdf phonon png policykit ppds pulseaudio python qalculate qml qt5 readline rtaudio rubberband s3tc sasl scanner schroedinger screencast sdk sdl seccomp sndfile spell split-usr ssdm ssl startup-notification svg theora tiff truetype udev udisks unicode upower usb v4l vaapi vc vdpau vorbis vpx vst vulkan wallpapers wavpack wayland webp wxwidgets x264 x265 xattr xcb xml xv xvid zlib" ABI_X86="64 32" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 f16c fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard libinput mouse wacom" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 AMDGPU ARM AVR BPF MSP430 Mips NVPTX RISCV WebAssembly" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-1 lua5-3 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_10" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 m68k mips mips64 mips64el mipsel riscv32 riscv64 x86_64" RUBY_TARGETS="ruby27" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


emerge -pqv '=media-video/davinci-resolve-17.4.6::lucretia':

[ebuild  N f  ] media-video/davinci-resolve-17.4.6  USE="udev -doc"
Comment 21 Luke A. Guest 2022-07-10 16:31:43 UTC
I get the same fusermount error using 17.4.4.
Comment 22 Mario Fetka (geos_one) 2022-08-12 10:23:05 UTC
at the moment searching the missing sandbox overwrite that is needed for the package extractor.
Comment 23 Mario Fetka (geos_one) 2022-08-12 12:48:20 UTC
found the missing part ebuild add to RESTRICT userpriv

i am working on updating to 18.0.1 at the moment.
Comment 24 Mario Fetka (geos_one) 2022-08-12 13:07:12 UTC
Created attachment 799425 [details]
davinci-resolve-18.0.1.ebuild
Comment 25 Mario Fetka (geos_one) 2022-08-12 13:07:37 UTC
Created attachment 799427 [details, diff]
makeresolvedeb_gentoo_1.6.0.patch
Comment 26 Mario Fetka (geos_one) 2022-08-12 13:20:02 UTC
the ebuild is also compatible with 17.4.6 just rename accordingly.
Comment 27 ymi 2022-10-11 10:15:18 UTC
Hello,

I'm not a programmer but using davinci-resolve-18.0.1.ebuild and makeresolvedeb_gentoo_1.6.0.patch I was able to install davinci-resolve-18.0.4. Thanks. However it required a few manual changes :

 - ebuild rennamed to davinci-resolve-18.0.4  (as indicated in a previous comment)
 - added  two lines in the ebuild :
      src_prepare() {
	mv "${WORKDIR}"/makeresolvedeb*.sh "${WORKDIR}"/makeresolvedeb.sh
    ++	rm  "/var/tmp/portage/media-video/davinci-resolve-18.0.4/files"
    ++	mkdir -p "/var/tmp/portage/media-video/davinci-resolve-18.0.4/files/"
	cp "/var/db/repos/local/media-video/davinci-resolve/makeresolvedeb_gentoo_${MRD_VER}.patch"  "${FILESDIR}/makeresolvedeb_gentoo_${MRD_VER}.patch"
   	rm  "/var/tmp/portage/media-video/davinci-resolve-18.0.4/files"
	mkdir -p "/var/tmp/portage/media-video/davinci-resolve-18.0.4/files/" 
  
  => strangely the FILESDIR was pointing to a file not a directory. the trick only works once then the files directory must be removed before a new install 


 - emerged dpkg and fakeroot
 - did : pkgdev manifest
 - created directory  /var/BlackmagicDesign  
 - emerged davinci-resolve

Davinci-resolve seems to start properly (at least I get the ui) but I'm still not sure if it works as expected since it's the first time I use it and have to learn.

ymi
Comment 28 ymi 2022-10-11 10:22:55 UTC
note that I also changed the cp line just after the two added lines
ymi
Comment 29 Mario Fetka (geos_one) 2022-10-29 05:56:44 UTC
could you post your build errors so i can see what is giong on
Comment 30 Mario Fetka (geos_one) 2022-11-17 13:24:58 UTC
Created attachment 833167 [details]
davinci-resolve-18.1.ebuild
Comment 31 Mario Fetka (geos_one) 2022-11-17 13:25:32 UTC
Created attachment 833169 [details, diff]
makeresolvedeb_gentoo_1.6.2.patch
Comment 32 Luke A. Guest 2022-11-30 16:45:41 UTC
I've tried the above 18.1 ebuild with the 1.6.2 makeresolvedeb and the patch, but get the same error with both 18.1 and 18.1.1.

# emerge -av =media-video/davinci-resolve-18.1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N f   ] media-video/davinci-resolve-18.1::lucretia  USE="doc udev" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB
Fetch Restriction: 1 package

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-video/davinci-resolve-18.1::lucretia
 * DaVinci_Resolve_18.1_Linux.zip BLAKE2B SHA512 size ;-) ...                                                                                                                [ ok ]
 * makeresolvedeb_1.6.2_multi.sh.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking DaVinci_Resolve_18.1_Linux.zip to /var/tmp/portage/media-video/davinci-resolve-18.1/work
>>> Unpacking makeresolvedeb_1.6.2_multi.sh.tar.gz to /var/tmp/portage/media-video/davinci-resolve-18.1/work
>>> Source unpacked in /var/tmp/portage/media-video/davinci-resolve-18.1/work
>>> Preparing source in /var/tmp/portage/media-video/davinci-resolve-18.1/work ...
 * Applying makeresolvedeb_gentoo_1.6.2.patch ...                                                                                                                            [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/davinci-resolve-18.1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-video/davinci-resolve-18.1/work ...
MakeResolveDeb 1.6.2

[WARNING] This should not be run as root or using sudo


Detected DaVinci Resolve version 18.1

Checking for tar...found!

Using Resolve 18 conversion process
Extracting archive
 * ACCESS DENIED:  mkdir:         /var/BlackmagicDesign
Found 3773 objects
Adding BlackmagicRAWPlayer
Adding BlackmagicRAWSpeedTest

[DONE] errors reported 0

>>> Source compiled.
 * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY -----------------------
 * LOG FILE: "/var/tmp/portage/media-video/davinci-resolve-18.1/temp/sandbox.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: BlackmagicDesign
A: /var/BlackmagicDesign
R: /var/BlackmagicDesign
C: mkdir -p -m 0777 /var/BlackmagicDesign DaVinci Resolve 
 * --------------------------------------------------------------------------------

>>> Failed to emerge media-video/davinci-resolve-18.1, Log file:

>>>  '/var/tmp/portage/media-video/davinci-resolve-18.1/temp/build.log'

There's nothing in the log that isn't above.
Comment 33 Luke A. Guest 2022-11-30 16:46:40 UTC
I've no idea where this "BlackmagicDesign" is coming from as the script has the separators in the paths.
Comment 34 Mario Fetka (geos_one) 2022-12-21 14:41:25 UTC
Created attachment 844531 [details]
davinci-resolve-18.1.1.ebuild
Comment 35 Mario Fetka (geos_one) 2022-12-21 14:42:03 UTC
(In reply to Luke A. Guest from comment #33)
> I've no idea where this "BlackmagicDesign" is coming from as the script has
> the separators in the paths.

needed to add another predict so that the  mkdir works.
Comment 36 Christophe_Y2k 2022-12-29 20:19:26 UTC
Hi and thanks for the great job.

I install Davinci Resolve Studio 18.1.1 and i can't activate the license key
always error message that say i can't activate. i contact support tech and they
finally can't help me the activation error persist

i read the log at :
/home/christophe/.local/share/DaVinciResolve/logs/ResolveDebug.txt

and have an error from Python 2:

<--->
0x7f9d24c24680 | Main                 | INFO  | 2022-12-29 15:19:54,757 | Show splash screen message: D??marrage
sh: ligne 1: python2 : commande introuvable

0x7f9d24c24680 | Main                 | INFO  | 2022-12-29 15:19:54,853 | Show splash screen message: V??rification des licences
<--->

Python 2 is end of life, but i install python 2.7 and re run Davinci Resolve Studio  and enter my license key and it can activate it.
After i remove python 2.7 and the software continue to run normally.
Comment 37 Christophe_Y2k 2023-01-02 11:01:46 UTC
With the davinci-resolve-studio-18.1.2 ebuild from overlay inode64-overlay :

missing "dev-libs/apr-util"

without Davinci Resolve Studio don't start
Comment 38 Luke A. Guest 2023-02-09 01:27:21 UTC
I got a lot of the following QA messages:

scanelf: rpath_security_checks(): Security problem NULL DT_RPATH in /var/tmp/portage/media-video/davinci-resolve-18.1.1/image/opt/resolve/bin/resolve

and some others.
Comment 39 Luke A. Guest 2023-02-09 01:28:33 UTC
Created attachment 850252 [details]
Updated ebuild with some QA fixes
Comment 40 Luke A. Guest 2023-02-09 01:28:55 UTC
(In reply to Luke A. Guest from comment #39)
> Created attachment 850252 [details]
> Updated ebuild with some QA fixes

This probably needs xdg updates as well in postinst/rm.
Comment 41 Luke A. Guest 2023-02-09 01:29:39 UTC
There have been 2 more updates to DaVinci since this.
Comment 42 Luke A. Guest 2023-02-09 10:29:52 UTC
Created attachment 850284 [details]
Renamed to latest version

I renamed the ebuild and emerged it, seems to work fine here.
Comment 43 ymi 2023-02-16 17:08:32 UTC
Hello,

In my previous comments (#27 and #28) I described how I was able to install Davinci Resolve 18.0.4, but I did not give the error messages I got then. Plus there was an error in  my comment : two lines were copied twice... Sorry for that and for the late reply.

Today, I tried and succeeded to install Resolve 18.1.3 with Makeresolvedeb_gentoo_1.6.2.

But I encountered the same errors as previously and I had to make the same modifications to the ebuild.

First the error messages I get with the original 18.1.3 ebuild :

/*** ____________________________________________

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-video/davinci-resolve-18.1.3::local
>>> Failed to emerge media-video/davinci-resolve-18.1.3, Log file:
>>>  '/var/tmp/portage/media-video/davinci-resolve-18.1.3/temp/build.log'
 * Package:    media-video/davinci-resolve-18.1.3:0
 * Repository: local
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux udev userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Applying makeresolvedeb_gentoo_1.6.2.patch ...
/var/tmp/portage/media-video/davinci-resolve-18.1.3/temp/environment: line 512: /var/tmp/portage/media-video/davinci-resolve-18.1.3/files/makeresolvedeb_gentoo_1.6.2.patch: No such file or directory
/var/tmp/portage/media-video/davinci-resolve-18.1.3/temp/environment: line 515: /var/tmp/portage/media-video/davinci-resolve-18.1.3/files/makeresolvedeb_gentoo_1.6.2.patch: No such file or directory
 [ !! ]
 * ERROR: media-video/davinci-resolve-18.1.3::local failed (prepare phase):
 *   patch -p1 -p0 failed with /var/tmp/portage/media-video/davinci-resolve-18.1.3/files/makeresolvedeb_gentoo_1.6.2.patch
 * 
 * Call stack:
 *               ebuild.sh, line  136:  Called src_prepare
 *             environment, line 1302:  Called eapply '-p0' '/var/tmp/portage/media-video/davinci-resolve-18.1.3/files/makeresolvedeb_gentoo_1.6.2.patch'
 *             environment, line  580:  Called _eapply_patch '/var/tmp/portage/media-video/davinci-resolve-18.1.3/files/makeresolvedeb_gentoo_1.6.2.patch'
 *             environment, line  518:  Called __helpers_die 'patch -p1 -p0 failed with /var/tmp/portage/media-video/davinci-resolve-18.1.3/files/makeresolvedeb_gentoo_1.6.2.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"
__________________________________ ***\


Now the modified ebuild contains 3 additional lines in the src_prepare() part :

/***______________________________
 
src_prepare() {
	mv "${WORKDIR}"/makeresolvedeb*.sh "${WORKDIR}"/makeresolvedeb.sh

	rm -rf  "/var/tmp/portage/media-video/davinci-resolve-18.1.3/files"          ### ADDED LINE ###
       mkdir -p "/var/tmp/portage/media-video/davinci-resolve-18.1.3/files/"        ### ADDED LINE ###
	cp "/var/db/repos/local/media-video/davinci-resolve/makeresolvedeb_gentoo_${MRD_VER}.patch"  "${FILESDIR}/makeresolvedeb_gentoo_${MRD_VER}.patch"    ### ADDED LINE ###

   	eapply -p0 "${FILESDIR}/makeresolvedeb_gentoo_${MRD_VER}.patch"

	eapply_user

	sed -i -e "s!#LIBDIR#!$(get_libdir)!" "${WORKDIR}"/makeresolvedeb.sh || die "Sed failed!"
}

__________________________________ ***\

After these 3 lines are added and "ebuild digest" performed again, the emerge works well. 
Resolve works well also.

I don't really understand the reason why I have to do that. There may be something wrong with my installation though.
If it helps, I can provide additional informations.

YMI
Comment 44 Mario Fetka (geos_one) 2023-02-17 07:31:37 UTC
Created attachment 851916 [details]
davinci-resolve-18.1.3.ebuild

with the suggested mods
Comment 45 Mario Fetka (geos_one) 2023-02-17 07:32:30 UTC
Created attachment 851918 [details, diff]
makeresolvedeb_gentoo_1.6.4.patch

updated patch for newest makeresolvedeb
Comment 46 ymi 2023-02-17 09:12:08 UTC
Hi,

Updated ebuild, makeresolve and patch are now working for me.

Actually, I had missed Comment#17, which indicates that the patch was to be placed in " /var/db/repos/local/media-video/davinci-resolve/files "

I had it in " /var/db/repos/local/media-video/davinci-resolve "

Now all is fine.
Thanks.
Comment 47 Vasyl Tretiakov 2023-05-25 16:20:02 UTC
Hi,

Given the libraries shipped by the vendor (installed in /opt/resolve/libs) cause issues like this (https://forums.gentoo.org/viewtopic-p-8787192.html?sid=29512ddfc417660cd4fe3108d802edcd), should we add a post-install script to remove the shipped libs if the local system already has those available (and likely more up-to-date/compatible)?
Comment 48 Mario Fetka (geos_one) 2023-07-20 10:29:49 UTC
the proble(In reply to Vasyl Tretiakov from comment #47)
> Hi,
> 
> Given the libraries shipped by the vendor (installed in /opt/resolve/libs)
> cause issues like this
> (https://forums.gentoo.org/viewtopic-p-8787192.
> html?sid=29512ddfc417660cd4fe3108d802edcd), should we add a post-install
> script to remove the shipped libs if the local system already has those
> available (and likely more up-to-date/compatible)?

the problem is how to find out what libs are up to date what are not.
and that is the the fun part.
Comment 49 Luke A. Guest 2023-10-01 16:12:32 UTC
Created attachment 871944 [details, diff]
Patch for the 1.6.4 version of makeresolvedeb
Comment 50 Luke A. Guest 2023-10-01 16:13:42 UTC
Created attachment 871945 [details]
ebuild for 18.6

I tried to install the latest version, but it fails:

ltrace /opt/resolve/bin/resolve 
/opt/resolve/bin/resolve: symbol lookup error: /usr/lib64/libpango-1.0.so.0: undefined symbol: g_string_free_and_steal
+++ exited (status 127) +++


$ eix -I pango
[I] x11-libs/pango
     Available versions:  1.42.4-r2^t 1.50.14^t [M](~)1.51.0^t {X debug +introspection sysprof test ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.50.14^t(17:03:29 01/10/23)(X introspection -debug -sysprof -test ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            https://www.pango.org/ https://gitlab.gnome.org/GNOME/pango
     Description:         Internationalized text layout and rendering library
Comment 51 Luke A. Guest 2023-10-02 11:15:37 UTC
Created attachment 872004 [details]
New version

So, this is saying to replace the glib libs, https://www.reddit.com/r/Fedora/comments/12z32r1/davinci_resolve_libpango_undefined_symbol_g/

But there's no need for that, just delete the packaged one. You might want to remove the use flag I added to do this and also fix the pax errors.
Comment 52 Mario Fetka (geos_one) 2023-11-02 11:39:49 UTC
Created attachment 873906 [details]
davinci-resolve-18.6.2.ebuild

with the suggested system-glib useflag
Comment 53 Luke A. Guest 2024-01-26 12:04:57 UTC
Failing for 18.6.4, same ebuild as 18.6.2.
Comment 54 Luke A. Guest 2024-01-26 12:05:59 UTC
Created attachment 883164 [details]
18.6.4 build failure
Comment 55 Luke A. Guest 2024-01-26 12:24:53 UTC
# emerge --info '=media-video/davinci-resolve-18.6.4::lucretia'
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.38-r7, 6.7.0-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.7.0-gentoo-x86_64-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-glibc2.38
KiB Mem:    32773832 total,   1058232 free
KiB Swap:   67108860 total,  64013940 free
Timestamp of repository gentoo: Mon, 22 Jan 2024 13:35:13 +0000
Head commit of repository gentoo: dc645550e9ab152c04b8422f6c4f02a1e0cde7ae

Timestamp of repository 4nykey: Wed, 17 Jan 2024 14:18:13 +0000
Head commit of repository 4nykey: 86238418ccaebe4c556edf407755b4cf16020928

Timestamp of repository audio-overlay: Mon, 15 Jan 2024 16:18:29 +0000
Head commit of repository audio-overlay: 4e427798afe042c1760e236674866b83bbb86a5d

Timestamp of repository dlang: Sun, 14 Jan 2024 21:03:11 +0000
Head commit of repository dlang: dc410da50aa955c8d2f28da84e58e9cf07b5e2bd

Timestamp of repository haskell: Sun, 21 Jan 2024 06:33:04 +0000
Head commit of repository haskell: 14a0d86a2ade1bf31ce5e921a04c7907e5901a86

Timestamp of repository java: Sat, 20 Jan 2024 10:19:53 +0000
Head commit of repository java: 2dfa1bb02c33f8d6fd14175f4c575648b66eeca4

Timestamp of repository kde: Sun, 21 Jan 2024 21:48:11 +0000
Head commit of repository kde: acfa3f05e5200ddb86b264b4ea38e837585d6aab

Timestamp of repository lisp: Sat, 20 Jan 2024 10:19:53 +0000
Head commit of repository lisp: fbd99a6092eba3f3ae569860a0819d2df0a162ef

Timestamp of repository qt: Sun, 14 Jan 2024 19:33:32 +0000
Head commit of repository qt: 776a0318580ae0c11b6c1cc7241a3fba2b818383

Timestamp of repository steam-overlay: Wed, 17 Jan 2024 23:18:13 +0000
Head commit of repository steam-overlay: 1b2ecf815a1503215214a4a8fd21c09610c46991

sh bash 5.2_p21-r1
ld GNU ld (Gentoo 2.41 p4) 2.41.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21-r1::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r1::gentoo
dev-build/cmake:           3.28.1::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.52.1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.0.0.9999::gentoo
sys-devel/gcc:             9.5.0::ada, 10.5.0::ada, 11.4.1_p20230824::ada, 12.3.1_p20230825::ada, 13.2.1_p20231014::ada
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             16.0.6::gentoo, 17.0.6::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.0.0.9999::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: True

4nykey
    location: /var/db/repos/4nykey
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/4nykey.git
    masters: gentoo
    volatile: False

audio-overlay
    location: /var/db/repos/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/audio-overlay.git
    masters: gentoo
    volatile: False

dlang
    location: /var/db/repos/dlang
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dlang.git
    masters: gentoo
    volatile: False

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo
    volatile: False

java
    location: /var/db/repos/java
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/java.git
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

lisp
    location: /var/db/repos/lisp
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/lisp.git
    masters: gentoo
    volatile: False

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10
    volatile: False

ada
    location: /home/laguest/src/gentoo-overlays/ada-overlay
    masters: gentoo
    priority: 20
    volatile: True

lucretia
    location: /home/laguest/src/gentoo-overlays/lucretia
    masters: gentoo
    priority: 30
    volatile: True

Installed sets: @llvm, @mesa
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/     http://ftp.agdsn.de/gentoo     http://ftp.romnet.org/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en_GB"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac aacs accessibility acl acpi activities alsa amd64 amr amrenc ao bluetooth bluray branding brightness-control brotli browser-integration bzip2 cairo caps cdda cdio cdr celt cli collada color-management colord colorio cpudetection crypt cuda cups dbus display-manager dri dssi dts dvd dvdr elogind encode evdev exif fdk ffmpeg fftw flac fontconfig fortran frei0r gamepad gdbm gif gpm grub gstreamer gtk gtk2 gui heif ibus iconv icu imagemagick ipv6 jack jack-session jpeg jpeg2k kde kvazaar kwallet ladspa lash lcms libilbc libnotify libproxy librtmp libsamplerate libsoxr libtirpc libv4l llvm lm_sensors lv2 lvm lzma mad matroska mng modplug mp3 mp4 mpeg mpi mtp multilib musepack ncurses networkmanager nls nsm numpy nvenc nvidia nvml ocr odbc ogg omxil opencl opencv openexr opengl openh264 openimageio openmp opus osc otr pam pango pcre pdf phonon png policykit postgres ppds pulseaudio python qalculate qml qt5 qt6 readline rtaudio rubberband s3tc sasl scanner schroedinger screencast sdk sdl seccomp semantic-desktop sndfile sound spell spirv split-usr ssdm ssl startup-notification svg test-rust theora tiff truetype udev udisks unicode upower usb v4l vc vdpau vorbis vpx vst vulkan wallpapers wavpack wayland webp wxwidgets x264 x265 xattr xcb xft xml xv xvid zlib" ABI_X86="64 32" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 f16c fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="evdev keyboard libinput mouse wacom" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AArch64 AMDGPU ARM AVR BPF MSP430 Mips NVPTX SPIRV RISCV WebAssembly" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-4 lua5-4 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 m68k mips mips64 mips64el mipsel ppc ppc64 ppc64le riscv32 riscv64 x86_64" RUBY_TARGETS="ruby31 ruby33" SANE_BACKENDS="snapscan" VIDEO_CARDS="amdgpu nvidia radeon radeonsi virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


# emerge -pqv '=media-video/davinci-resolve-18.6.4::lucretia'
[ebuild  NS   ] dev-qt/qtvirtualkeyboard-5.15.11 [6.6.1] USE="X%* spell -debug% -handwriting% -test" 
[ebuild    fU ] media-video/davinci-resolve-18.6.4 [18.6] USE="doc system-glib udev"
Comment 56 Luke A. Guest 2024-01-26 13:33:10 UTC
Same error for 18.6.2.
Comment 57 Luke A. Guest 2024-01-26 14:24:42 UTC
To install, the /usr/lib needs moving:

	cp -a ${DR}/usr "${ED}" || die
	mv ${ED}/usr/lib ${ED}/usr/lib64 || die
	cp -a ${DR}/var "${ED}" || die
Comment 58 Alexander Lopatin 2024-03-02 01:45:36 UTC
18.6.5 fails to run:

/opt/resolve/bin/resolve: symbol lookup error: /usr/lib64/libgdk_pixbuf-2.0.so.0: undefined symbol: g_task_set_static_name

Fix: rm -f "${ED}"/opt/resolve/libs/libgio-2.0.so*

Not sure whether rm -f "${ED}"/opt/resolve/libs/libgmodule-2.0.so* is needed (likely not).
Comment 59 Bearcat M. Şándor 2024-03-06 19:50:59 UTC
Could we have a 'studio' useflag to install the studio version as well?
Comment 60 Kirin Etheridge 2024-04-08 03:34:02 UTC
Adding the following to the 18.6.2 ebuild makes it run at all:
    rm -f "${ED}"/opt/resolve/libs/libgio-2.0.so*
    rm -f "${ED}"/opt/resolve/libs/libgmodule-2.0.so*

Removing libgmodule-2.0.so is needed, or else this happens:

/opt/resolve/bin/resolve: symbol lookup error: /usr/lib64/libgio-2.0.so.0: undefined symbol: g_module_open_full

Then the program fails with the following:
    log4cxx: setFile(./logs/rollinglog.txt,true) call failed.
    log4cxx: IO Exception : status code = 2

I used 18.6.4, which might matter.
Comment 61 Luke A. Guest 2024-04-13 09:34:50 UTC
v19 is out now.