Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 814116 - media-libs/x265-3.5: didn't install library in some cases?
Summary: media-libs/x265-3.5: didn't install library in some cases?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 814662
  Show dependency tree
 
Reported: 2021-09-20 19:12 UTC by André Terpstra
Modified: 2021-09-25 19:23 UTC (History)
3 users (show)

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


Attachments
Compressed version of reporter's build log (media-libsx265-3520210917-054635.txt.bz2,100.69 KB, application/x-bzip2)
2021-09-20 20:34 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description André Terpstra 2021-09-20 19:12:32 UTC
when updating my ~amd64 system in order to remove python 3.8 I get stuck with a world update

Reproducible: Always

Actual Results:  
emerge output (partial):

>>> Install media-libs/x265-3.5 into /var/tmp/portage/media-libs/x265-3.5/image
 * abi_x86_64.amd64: running multilib-minimal_abi_src_install
 * main: running cmake_src_install
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-libs/x265-3.5/work/x265_3.5/source"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-libs/x265-3.5/work/x265-3.5_build-abi_x86_64.amd64-main"
[0/1] Install the project...
-- Install configuration: "Gentoo"
-- Installing: /var/tmp/portage/media-libs/x265-3.5/image/usr/lib64/libx265.a
-- Installing: /var/tmp/portage/media-libs/x265-3.5/image/usr/include/x265.h
-- Installing: /var/tmp/portage/media-libs/x265-3.5/image/usr/include/x265_config.h
-- Installing: /var/tmp/portage/media-libs/x265-3.5/image/usr/bin/x265
-- Set runtime path of "/var/tmp/portage/media-libs/x265-3.5/image/usr/bin/x265" to ""
>>> Completed installing media-libs/x265-3.5 into /var/tmp/portage/media-libs/x265-3.5/image

 * Final size of build directory: 83632 KiB (81.6 MiB)
 * Final size of installed tree:    784 KiB

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/bin/x265
 * QA Notice: Unresolved soname dependencies:
 * 
 *      /usr/bin/x265: libx265.so.199
 * 

>>> Installing (1 of 1) media-libs/x265-3.5::gentoo
>>> needed    obj /usr/lib64/libx265.so.192
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: media-libs/pulseaudio-qt-1.3-r1
 *  - /usr/lib64/libKF5PulseAudioQt.so.1.2.0
 *  - /usr/lib64/libKF5PulseAudioQt.so.2
 *      used by /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_findthisdevice.so (kde-misc/kdeconnect-21.08.1-r1)
 *      used by /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_pausemusic.so (kde-misc/kdeconnect-21.08.1-r1)
 *      used by /usr/lib64/qt5/plugins/kdeconnect/kdeconnect_systemvolume.so (kde-misc/kdeconnect-21.08.1-r1)
>>> package: media-libs/x265-3.5
 *  - /usr/lib64/libx265.so.192
 *      used by /usr/lib64/vlc/plugins/codec/libx265_plugin.so (media-video/vlc-3.0.16-r6)
>>> package: sci-libs/libqalculate-3.20.1-r1
 *  - /usr/lib64/libqalculate.so.21
 *  - /usr/lib64/libqalculate.so.21.13.0
 *      used by /usr/bin/step (kde-apps/step-21.08.1)
 *      used by /usr/lib64/qt5/plugins/kf5/krunner/calculator.so (kde-plasma/plasma-workspace-5.22.5)
Use emerge @preserved-rebuild to rebuild packages using these libraries



next, vlc fails with (partial output):

checking for THEORA... yes
checking for OGGSPOTS... yes
checking for png.h... yes
checking for png_set_alpha_mode in -lpng... yes
checking for jpeglib.h... yes
checking for libbpg.h... no
checking for X262... no
checking for X265... no
configure: error: Library x265 needed for x265 was not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-video/vlc-3.0.16-r6/work/vlc-3.0.16/config.log
 * ERROR: media-video/vlc-3.0.16-r6::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  127:  Called src_configure
 *             environment, line 2905:  Called econf '--disable-aa' '--disable-optimizations' '--disable-rpath' '--disable-update-check' '--enable-fast-install' '--enable-screen' '--enable-vcd' '--enable-vlc' '--enable-vorbis' '--enable-a52' '--enable-alsa' '--disable-aom' '--d
Comment 1 André Terpstra 2021-09-20 19:14:19 UTC
Sorry for perhaps a little cryptic report but it's not easy when you're not an expert
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-20 19:20:40 UTC
(In reply to André Terpstra from comment #0)
> when updating my ~amd64 system in order to remove python 3.8 I get stuck
> with a world update
> 
> Reproducible: Always
> 
> Actual Results:  
> emerge output (partial):
> 
> >>> Install media-libs/x265-3.5 into /var/tmp/portage/media-libs/x265-3.5/image
>  * abi_x86_64.amd64: running multilib-minimal_abi_src_install
>  * main: running cmake_src_install
>  * Source directory (CMAKE_USE_DIR):
> "/var/tmp/portage/media-libs/x265-3.5/work/x265_3.5/source"
>  * Build directory  (BUILD_DIR):    
> "/var/tmp/portage/media-libs/x265-3.5/work/x265-3.5_build-abi_x86_64.amd64-
> main"
> [0/1] Install the project...
> -- Install configuration: "Gentoo"
> -- Installing: /var/tmp/portage/media-libs/x265-3.5/image/usr/lib64/libx265.a
> -- Installing: /var/tmp/portage/media-libs/x265-3.5/image/usr/include/x265.h
> -- Installing:
> /var/tmp/portage/media-libs/x265-3.5/image/usr/include/x265_config.h
> -- Installing: /var/tmp/portage/media-libs/x265-3.5/image/usr/bin/x265
> -- Set runtime path of
> "/var/tmp/portage/media-libs/x265-3.5/image/usr/bin/x265" to ""
> >>> Completed installing media-libs/x265-3.5 into /var/tmp/portage/media-libs/x265-3.5/image
> 
>  * Final size of build directory: 83632 KiB (81.6 MiB)
>  * Final size of installed tree:    784 KiB
> 
> strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N
> __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R
> .note.gnu.gold-version
>    /usr/bin/x265
>  * QA Notice: Unresolved soname dependencies:
>  * 
>  *      /usr/bin/x265: libx265.so.199
>  * 


This is weird. It implies that the installed library is somehow broken. In fact, from your log output, the library is not installed at all. It installs the library fine here.

I think I really need to see the full log output from building x265. The VLC issue is a consequence of the x265 install going wrong.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-20 19:26:28 UTC
(In reply to Sam James from comment #2)
> (In reply to André Terpstra from comment #0)
> > when updating my ~amd64 system in order to remove python 3.8 I get stuck
> > with a world update
> > 
> > Reproducible: Always
> > 
> > Actual Results:  
> > emerge output (partial):
> > 
> > >>> Install media-libs/x265-3.5 into /var/tmp/portage/media-libs/x265-3.5/image
> >  * abi_x86_64.amd64: running multilib-minimal_abi_src_install
> >  * main: running cmake_src_install
> >  * Source directory (CMAKE_USE_DIR):
> > "/var/tmp/portage/media-libs/x265-3.5/work/x265_3.5/source"
> >  * Build directory  (BUILD_DIR):    
> > "/var/tmp/portage/media-libs/x265-3.5/work/x265-3.5_build-abi_x86_64.amd64-
> > main"
> > [0/1] Install the project...
> > -- Install configuration: "Gentoo"
> > -- Installing: /var/tmp/portage/media-libs/x265-3.5/image/usr/lib64/libx265.a
> > -- Installing: /var/tmp/portage/media-libs/x265-3.5/image/usr/include/x265.h
> > -- Installing:
> > /var/tmp/portage/media-libs/x265-3.5/image/usr/include/x265_config.h
> > -- Installing: /var/tmp/portage/media-libs/x265-3.5/image/usr/bin/x265
> > -- Set runtime path of
> > "/var/tmp/portage/media-libs/x265-3.5/image/usr/bin/x265" to ""
> > >>> Completed installing media-libs/x265-3.5 into /var/tmp/portage/media-libs/x265-3.5/image
> > 
> >  * Final size of build directory: 83632 KiB (81.6 MiB)
> >  * Final size of installed tree:    784 KiB
> > 
> > strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N
> > __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R
> > .note.gnu.gold-version
> >    /usr/bin/x265
> >  * QA Notice: Unresolved soname dependencies:
> >  * 
> >  *      /usr/bin/x265: libx265.so.199
> >  * 
> 
> 
> This is weird. It implies that the installed library is somehow broken. In
> fact, from your log output, the library is not installed at all. It installs
> the library fine here.
> 
> I think I really need to see the full log output from building x265. The VLC
> issue is a consequence of the x265 install going wrong.

Also, emerge --info please.
Comment 4 André Terpstra 2021-09-20 19:53:48 UTC
ZeusGentoo ~ # emerge --info
setlocale: unsupported locale setting
setlocale: unsupported locale setting
Portage 3.0.23 (python 3.10.0-candidate-2, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.0, glibc-2.33-r7, 5.14.6-gentoo-APT-2021 x86_64)
=================================================================
System uname: Linux-5.14.6-gentoo-APT-2021-x86_64-AMD_Ryzen_5_2600_Six-Core_Processor-with-glibc2.33
KiB Mem:    16327580 total,  12990328 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Mon, 20 Sep 2021 18:30:01 +0000
Head commit of repository gentoo: c99fa82c5e70fbc9b27a93f7a01f5fb1d37e6053
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.8.12::gentoo, 3.9.7::gentoo, 3.10.0_rc2::gentoo
dev-lang/rust:            1.55.0::gentoo
dev-util/cmake:           3.21.2::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver1 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-march=znver1 -O3 -pipe"
DISTDIR="/var/cache/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="-march=znver1 -O3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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="-march=znver1 -O3 -pipe"
GENTOO_MIRRORS="https://ftp.halifax.rwth-aachen.de/gentoo/ https://mirror.leaseweb.com/gentoo/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_NL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs"
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"
USE="7zip X a52 aac acl acpi activities alsa amd64 audit branding btrfs bzip2 cairo cdda cli creds crypt cups dbus declarative dri dts emboss encode exif fat ffmpeg flac gdbm gif gpm gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc lzma mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ntfs ogg opengl openmp pam pango pcre pdf plasma plymouth png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2019" ALSA_CARDS="hda-intel" 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" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_10" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev radeonsi vesa" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 5 André Terpstra 2021-09-20 20:08:13 UTC
The x265 build log is 15MB but I was able to store it for 24 hours in https://file.re/2021/09/20/media-libsx265-3520210917-054635/

I hope you can grab it from there.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-20 20:24:00 UTC
(In reply to André Terpstra from comment #5)
> The x265 build log is 15MB but I was able to store it for 24 hours in
> https://file.re/2021/09/20/media-libsx265-3520210917-054635/
> 
> I hope you can grab it from there.

Could you attach a compressed version for posterity while I look at this? Thanks!
Comment 7 André Terpstra 2021-09-20 20:28:23 UTC
(In reply to Sam James from comment #6)
> (In reply to André Terpstra from comment #5)
> > The x265 build log is 15MB but I was able to store it for 24 hours in
> > https://file.re/2021/09/20/media-libsx265-3520210917-054635/
> > 
> > I hope you can grab it from there.
> 
> Could you attach a compressed version for posterity while I look at this?
> Thanks!

Not now, but maybe tomorrow. Will I be able to avoid the 1 MB limit?
Comment 8 Piotr Karbowski (RETIRED) gentoo-dev 2021-09-20 20:31:30 UTC
Please attach full build.log, you can compress it to fit bugzilla.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-20 20:34:38 UTC
Created attachment 740406 [details]
Compressed version of reporter's build log
Comment 10 Piotr Karbowski (RETIRED) gentoo-dev 2021-09-21 18:23:10 UTC
Do you by any chance have some fun make.conf, package.env or /etc/portage/bashrc settings?

From attached by sam_ logs, it appears that your build in fact installed library, but a static one instead of dynamic.
Comment 11 André Terpstra 2021-09-21 18:41:21 UTC
(In reply to Piotr Karbowski from comment #10)
> Do you by any chance have some fun make.conf, package.env or
> /etc/portage/bashrc settings?
> 
> From attached by sam_ logs, it appears that your build in fact installed
> library, but a static one instead of dynamic.

No I don't even know what the latter two files are and I don't think I have them:

ZeusGentoo ~ # ls -al /etc/portage/         
total 16
drwxr-xr-x 1 root root  296 Jul 20 09:09 .
drwxr-xr-x 1 root root 3320 Sep 20 21:03 ..
-rw-r--r-- 1 root root 1168 Sep 15 21:16 make.conf
-rw-r--r-- 1 root root 1032 Sep  1  2020 make.conf.euse_backup
-rw-r--r-- 1 root root 1031 Sep  1  2020 make.conf~
lrwxrwxrwx 1 root root   82 Aug 31  2020 make.profile -> ../../var/db/repos/gentoo/profiles/default/linux/amd64/17.1/desktop/plasma/systemd
drwxr-xr-x 1 root root    0 Nov  4  2020 package.accept_keywords
drwxr-xr-x 1 root root    0 Jul 20 09:10 package.mask
drwxr-xr-x 1 root root    0 Jul 20 09:10 package.unmask
drwxr-xr-x 1 root root   64 Jul 12 12:36 package.use
drwxr-xr-x 1 root root   14 Sep 15 21:17 repo.postsync.d
drwxr-xr-x 1 root root   22 Jul 20  2020 repos.conf
drwxr-xr-x 1 root root   36 Jul 20  2020 savedconfig

My make.conf is also simple:

ZeusGentoo ~ # cat /etc/portage/make.conf
# COMMON_FLAGS="-march=native -O2 -pipe"
# march is autodetected, but just to be sure...
COMMON_FLAGS="-march=znver1 -O3 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

PORTAGE_LOGDIR=/var/log/portage

MAKEOPTS="-j12"

GENTOO_MIRRORS="https://ftp.halifax.rwth-aachen.de/gentoo/ https://mirror.leaseweb.com/gentoo/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo"

ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="*"

USE="7zip acpi audit btrfs creds fat ffmpeg lzma networkmanager ntfs plymouth pulseaudio vaapi vdpau -bluetooth -cdr -dvd -dvdr -fortran -gtk -ppp -wext -wifi"

CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"

VIDEO_CARDS="amdgpu fbdev radeonsi vesa"

ALSA_CARDS="hda-intel"

CAMERAS="canon"

# PYTHON_TARGETS="python3_8 python3_9 python3_10"
PYTHON_TARGETS="python3_9 python3_10"
# PYTHON_SINGLE_TARGET="python3_9"
Comment 12 Ionen Wolkens gentoo-dev 2021-09-21 19:17:48 UTC
So, my assumption is that you do not have dev-vcs/git installed and it triggers some mishandling in x265-3.5's new Version.cmake

So you could simply install git for now.

As for working around this in the ebuild, -DGIT_ARCHETYPE=1 to myabicmakeargs seems enough. If git is found it'll be overridden, otherwise use that type if missing (aka use the .txt version file).
Comment 13 Drew W 2021-09-22 04:56:12 UTC
I just ran into this issue while installing media-video/ffmpeg with USE="x265" and can confirm that installing dev-vcs/git prior to rebuilding x265 resolves the issue for me.
Comment 14 André Terpstra 2021-09-22 16:11:14 UTC
vlc now builds, thanks. Bug can be closed for me. At some point in the future, however, I would like to know when I can remove git again.
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-24 18:01:02 UTC
(In reply to André Terpstra from comment #14)
> vlc now builds, thanks. Bug can be closed for me. At some point in the
> future, however, I would like to know when I can remove git again.

Sure, that's why we'll keep it open ;)
Comment 16 Larry the Git Cow gentoo-dev 2021-09-25 03:43:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d41450c586971bf48a4a8cdf04e057b7af77066d

commit d41450c586971bf48a4a8cdf04e057b7af77066d
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-09-25 03:24:56 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-09-25 03:41:02 +0000

    media-libs/x265: quickfix for missing lib and .pc if no git(1)
    
    -DGIT_ARCHETYPE is not a real option but something the Version.cmake
    would hard set(...) and overwrite, however if dev-vcs/git is not
    found it skips that entirely.
    
    i.e. if GIT_FOUND then use .git if found, else use .txt version.
    
    Setting this tells it to use the latter if missing, if found then
    doing so does nothing given cmake will overwrite it.
    
    If no version/tag, the source/CMakeLists.txt acts on this comment:
    
        "# shared library is not installed if a tag is not found"
    
    Closes: https://bugs.gentoo.org/812398
    Closes: https://bugs.gentoo.org/814116
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-libs/x265/x265-3.5-r1.ebuild | 219 +++++++++++++++++++++++++++++++++++++
 media-libs/x265/x265-9999.ebuild   |   1 +
 2 files changed, 220 insertions(+)
Comment 17 André Terpstra 2021-09-25 18:19:30 UTC
which implies I can safely remove dev-vcs/git now?
Comment 18 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-25 19:23:08 UTC
(In reply to André Terpstra from comment #17)
> which implies I can safely remove dev-vcs/git now?

Yeah, should be able to now.