Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733450 - media-video/handbrake-1.3.3: fails compilation during the configure phase
Summary: media-video/handbrake-1.3.3: fails compilation during the configure phase
Status: RESOLVED DUPLICATE of bug 730544
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Ian Whyman (thev00d00) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-21 18:18 UTC by Phil Rigby
Modified: 2020-08-19 18:32 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,47.12 KB, text/plain)
2020-07-21 20:10 UTC, Phil Rigby
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Rigby 2020-07-21 18:18:38 UTC
Trying to compile HandBrake-1.3.3, fails during the configuration portion.  I don't see a clear and obvious error message, not sure if it has something to do with GTK as it always fails after doing the touch of gtk/.stamp.configure


Reproducible: Always

Steps to Reproduce:
1. emerge handbrake
2.
3.
Actual Results:  
Compilation fails

Expected Results:  
Compilation succeeds

Tried this on two different Gentoo builds, same result.


emerge -pqv '=media-video/handbrake-1.3.3::gentoo'
[ebuild  N    ] media-video/handbrake-1.3.3  USE="fdk gtk -gstreamer -libav-aac -numa -nvenc -x265"

emerge --info '=media-video/handbrake-1.3.3::gentoo'
Portage 3.0.0 (python 3.7.8-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.1.0, glibc-2.31-r6, 5.7.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.7.9-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-gentoo-2.7
KiB Mem:    32905020 total,  10760732 free
KiB Swap:   34052416 total,  34052416 free
Timestamp of repository gentoo: Tue, 21 Jul 2020 13:30:01 +0000
Head commit of repository gentoo: 01ff22d8f3a70a893c674138d9197b4057c3f644
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p4) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo, 3.9.0_beta5::gentoo
dev-util/cmake:           3.17.3::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            10.1.0-r2::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
Repositories:

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

AstroFloyd
    location: /var/lib/layman/AstroFloyd
    masters: gentoo
    priority: 50

brave-overlay
    location: /var/lib/layman/brave-overlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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="-O2 -pipe -march=znver1"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="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 -march=znver1"
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="-O2 -pipe -march=znver1"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j8"
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="X a52 aac acl acpi activities alsa amd64 apic appindicator berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr emboss encode encoder exif flac fortran gdbm gentoo-syntax geolocation gif gnome-keyring gnuefi gpm gtk gtk3 iconv icu jpeg jumbo-build kde kipi kwallet lcms ldap libnotify libtirpc lzma mad mng modplug mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 rdp readline samba sdl seccomp semantic-desktop spell spice split-usr ssh ssl startup-notification svg symlink systemd tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vim vim-syntax vorbis webengine widgets win32codecs wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="nv nouveau vesa amdgpu fbdev nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-07-21 18:55:47 UTC
Can you include the build.log references in the error message?
Comment 2 Phil Rigby 2020-07-21 20:10:54 UTC
Created attachment 650140 [details]
build.log

build.log for failing compile
Comment 3 Phil Rigby 2020-07-21 20:11:21 UTC
Apologies, no idea why I missed doing that.
Comment 4 Fab 2020-07-29 13:20:06 UTC
Confirmed here. Same build log.
Comment 5 LB 2020-07-30 18:38:03 UTC
This looks like a dupe of 730034. The actual error is:

/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lx265

The rest is just other build threads finishing. 

Can you try building with an updated patch attached in 730034?
Comment 6 Phil Rigby 2020-07-30 20:02:39 UTC
Reading through the other post, I installed x265 separately first then tried Handbrake again, that worked.  It compiled without issue.

I did look for dupes before I logged this originally but I guess the reports were too different to show up in my search.
Comment 7 Don Wilburn 2020-08-04 18:12:23 UTC
Same problem, same fix.  I noted that I also had -x265 for a USE flag.  Maybe that's standard, but shouldn't be?  I didn't even have x265 installed and the previous handbrake worked.
Comment 8 Ben Kohler gentoo-dev 2020-08-19 18:32:07 UTC

*** This bug has been marked as a duplicate of bug 730544 ***