Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586544 - www-client/chromium-52.0.2743.33 unexpected license
Summary: www-client/chromium-52.0.2743.33 unexpected license
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-21 04:49 UTC by DJ Dunn
Modified: 2016-06-29 20:20 UTC (History)
1 user (show)

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


Attachments
Full build log (build.log,39.40 KB, text/x-log)
2016-06-21 14:31 UTC, Alex Miller
Details
Commit 3c9d5afe45bf1c4656b8f630525433f29017cd08 (fix-bundled-ffmpeg.patch,1.23 KB, patch)
2016-06-28 07:05 UTC, Kamil Kamiński
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Dunn 2016-06-21 04:49:08 UTC
Checking licenses... 
UNEXPECTED LICENSE: /var/tmp/portage/www-client/chromium-52.0.2743.33/work/chromium-52.0.2743.33/third_party/ffmpeg/libavformat/autorename_libavformat_options.c: GENERATED FILE 
GENERATE FAILED: invalid licenses detected

Reproducible: Always




using libav-11.7
using useflag system-ffmpeg tries to install ffmpeg useflag -system-ffmpeg gives this error
Comment 1 Mike Gilbert gentoo-dev 2016-06-21 14:21:18 UTC
Please provide emerge --info and attach a full build log.
Comment 2 Alex Miller 2016-06-21 14:28:11 UTC
I have the same problem. My emerge --info:

gentoo-laptop ~ # emerge --info
Portage 2.3.0_rc1 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r2, 4.4.13-gentoo x86_64)
=================================================================
System uname: Linux-4.4.13-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_M_380_@_2.53GHz-with-gentoo-2.2
KiB Mem:     8021676 total,   1782348 free
KiB Swap:     433148 total,    433148 free
Timestamp of repository gentoo: Mon, 20 Jun 2016 01:45:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.4::gentoo, 3.5.1-r3::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.asia.gentoo.org/gentoo-portage
    priority: -1000

LocalOverlay
    location: /usr/local/portage
    masters: gentoo

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/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/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /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"
CPPFLAGS="-march=native -O2 -pipe"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/home/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/home/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="/home/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb branding bzip2 cairo caps cdda cdr cjk cli clutter cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran fuse gdbm gif glamor gpm gtk gtk3 iconv icu ios ipv6 jpeg lcms libav libcanberra libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf php png policykit postproc ppds pulseaudio readline samba sdl seccomp session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby22" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

I will also attach a full build log.
Comment 3 Alex Miller 2016-06-21 14:31:48 UTC
Created attachment 438264 [details]
Full build log
Comment 4 Kenton Groombridge 2016-06-22 19:15:01 UTC
I have two systems (one intel, one amd) both with same issue.
Comment 5 Michael Buchfink 2016-06-24 20:39:53 UTC
Same issue here.

As a workaround with use flag system-ffmpeg set, chromium-52.0.2743.33 will build.
Comment 6 Kamil Kamiński 2016-06-28 06:31:46 UTC
Same for chromium-52.0.2743.49:
UNEXPECTED LICENSE: /mnt/oldusr/portage-tmp/portage/www-client/chromium-52.0.2743.49/work/chromium-52.0.2743.49/third_party/ffmpeg/libavformat/autorename_libavformat_pcm.c: GENERATED FILE
GENERATE FAILED: invalid licenses detected.


Using system-ffmpeg is a no-go.
Comment 7 Kamil Kamiński 2016-06-28 07:05:25 UTC
Created attachment 439036 [details, diff]
Commit 3c9d5afe45bf1c4656b8f630525433f29017cd08

Edit:  Found this commit:
https://chromium.googlesource.com/chromium/third_party/ffmpeg/+/3c9d5afe45bf1c4656b8f630525433f29017cd08

Diff: https://chromium.googlesource.com/chromium/third_party/ffmpeg/+/3c9d5afe45bf1c4656b8f630525433f29017cd08%5E%21/#F0

Attached extracted patch.

After applying:

Checking licenses...
License checks passed.
Updating ffmpeg credits...
CreditsUpdater stats:
	529 files w/ known_credits
	4 generated_credits
	0 difficult_files files
Output: ./ffmpeg_generated.gni
Output: ./ffmpeg_generated.gypi
 * Configuring Chromium...
Comment 8 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2016-06-29 20:20:59 UTC
Fixed in https://gitweb.gentoo.org/repo/gentoo.git/commit/www-client/chromium?id=7d6a77bc7c1a786abd4659f920990b1a9df22671

Thanks Kamil for pointer to the upstream patch!