Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541854 - media-libs/gd-2.1.1: fails to build - libgd-2.1.1/src/webpimg.c:714:24: error: 'IMG_FMT_I420' undeclared
Summary: media-libs/gd-2.1.1: fails to build - libgd-2.1.1/src/webpimg.c:714:24: error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-02 01:01 UTC by Enne Eziarc
Modified: 2015-04-09 01:37 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,39.23 KB, text/x-log)
2015-03-02 01:01 UTC, Enne Eziarc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2015-03-02 01:01:38 UTC
Created attachment 397832 [details]
build.log

The error is coming from an automagic dependency on libvpx, which I don't even want enabled on this...

Build log attached, other required stuff below:

# emerge -pqv '=media-libs/gd-2.1.1::gentoo'; emerge --info '=media-libs/gd-2.1.1::gentoo'
[ebuild     U ] media-libs/gd-2.1.1 [2.0.35-r4] USE="jpeg png zlib -fontconfig -static-libs -truetype -xpm"

Portage 2.2.17 (python 3.3.5-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.9.2, glibc-2.20-r2, 3.18.1-zen-g361fc6105df4 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.1-zen-g361fc6105df4-x86_64-Intel_Xeon_E312xx_-Sandy_Bridge-with-gentoo-2.2
KiB Mem:     8169476 total,   2195560 free
KiB Swap:    4194272 total,   3940964 free
Timestamp of repository gentoo: Sun, 01 Mar 2015 00:45:01 +0000
sh dash 0.5.8.2
ld GNU gold (Gentoo 2.25 p1.0 2.25) 1.11
ccache version 3.2.1 [disabled]
app-shells/bash:          4.3_p33-r2::<unknown repository>
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::<unknown repository>
dev-lang/python:          2.7.9-r2::<unknown repository>, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.2.1-r1::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::<unknown repository>
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::<unknown repository>
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::<unknown repository>
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::<unknown repository> (virtual/os-headers)
sys-libs/glibc:           2.20-r2::<unknown repository>
Repositories:

gentoo
    location: /var/db/repositories/gentoo
    sync-type: websync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA MIT LPPL-1.3c GPL-2+ Artistic EPL-1.0 BSD PHP-3 MPL-2.0 W3C BSD-2 CNRI Boost-1.0 Apache-2.0 Apache-1.1 AFL-3.0 CDDL ZPL Artistic-2 MPL-1.1 MPL-1.0 APSL-2 wxWinLL-3.1 LGPL-2+ PHP-3.01 Sleepycat POSTGRESQL OFL-1.1 CPAL-1.0 GPL-2 GPL-3 IBM GPL-1+ APL-1.0 IPAfont NOSA CPL-1.0 Ms-PL LGPL-3 ZLIB LGPL-2.1+ HPND QPL nethack GPL-3+ LGPL-2.1 EUPL-1.1 PSF-2 Watcom-1.0 ECL-2.0 wxWinLL-3 LGPL-3+ ISC AGPL-3 ElementTree boehm-gc keynote scanlogd BSD-1 xtrs nap freemarker czyborra LPPL-1.3 File-MMagic BEER-WARE tcp_wrappers_license imagemagick Openwall xvt SNIA lsof psutils ipadic x2x YaTeX TermReadKey libtiff CeCILL-C rc photopc otter CPL-0.5 icu PCRE XC NCSA-HDF zpaq bea.ri.jsr173 w3m FVWM cryptopp IBPP-1.1 SVFL ipx-utils bufexplorer.vim CMake Sendmail-Open-Source tm-align wxWinLL-3 totd gsm gnuplot SMAIL gd RSA xboing Mini-XML TeX libmng BSD-with-attribution flexmock VTK perforce htmlc iASL ZSH Snd FLTK FastCGI LambdaMOO PIZZA-WARE BZIP2 minpack eGenixPublic-1.1 rwpng noweb CDDL-Schily Crypt-IDEA CFS buddy pngcrush FLEX Emacs JDOM tablelist canfep qmail-nelson docbook PHP-2.02 LPPL-1.3b feh Info-ZIP Allegro ngrep ACE mm Xdebug libodialog CLX dom4j inner-net IDPL mapm-4.9.5 matplotlib MIT-with-advertising JOVE NEWLIB alternate Mail-Sendmail Ispell netcat HTML-Tidy JNIC URT DES libpng SSLeay Subversion Princeton LIBGLOSS shrimp Time-modules LLGPL-2.1 ErlPL-1.1 JasPer2.0 Flashpix openafs-krb5-a xbatt TeX-other-free Old-MIT pngnq CRACKLIB IJG Time-Format Sendmail mpich2 tcltk regexp-UofT EPL-1.0 CNRI BSD-4 Apache-1.1 AFL-3.0 CDDL MIT gcc-runtime-library-exception-3.1 GPL-2+ LGPL-2.1 BSD PYTHON MPL-2.0 Unlicense Clear-BSD BSD-2 unicode CeCILL-2 PSF-2 GPL-2-with-MySQL-FLOSS-exception FTL PSF-2.3 PSF-2.4 Apache-2.0 qwt libstdc++ ZPL Artistic-2 libgcc OPENLDAP Ruby-BSD UoI-NCSA Boost-1.0 W3C LGPL-2+ LGPL-3-with-linking-exception Sleepycat LGPL-2-with-linking-exception GPL-2 GPL-2-with-font-exception Nokia-Qt-LGPL-Exception GPL-1 Transmission-OpenSSL-exception GPL-1+ GPL-2-with-linking-exception PSF-2.2 GPL-3 LGPL-3 LGPL-2 LGPL-2.1+ vim tanuki-community public-domain GPL-3+ Ruby ZLIB GPL-2-with-exceptions metapackage SGI-B-2.0 LGPL-2.1-with-linking-exception ECL-2.0 Clarified-Artistic WTFPL-2 LGPL-3+ ISC GPL-3-with-font-exception CC0-1.0 AGPL-3 OSL-1.1 MPL-1.1 MPL-1.0 LPPL-1.2 AFL-2.1 APSL-2 PHP-3.01 openssl IBM CPL-1.0 OSL-2.1 OSL-2.0 Ms-PL QPL-1.0 QPL BitTorrent EUPL-1.1 NPL-1.1 CC-BY-SA-3.0 LDP-1a CC-PD CC-BY-2.5 MaxMind2 man-pages-posix CC-BY-SA-2.5 wxWinFDL-3 quake1-textures LDP-1 man-pages myspell-en_CA-KevinAtkinson man-pages-posix-2013 mplus-fonts vlgothic CC-SA-1.0 CC-BY-3.0 UbuntuFontLicense-1.0 Unicode_Fonts_for_Ancient_Scripts Texinfo-manual BitstreamVera CC-BY-SA-4.0 GPL-2+ OFL-1.1 CC-BY-2.0 FDL-1.3+ FDL-1.1+ GPL-3+ FDL-1.2 FDL-1.3 FDL-1.1 CC-BY-SA-2.0 FreeArt GPL-2 GPL-3 ODbL-1.0 GPL-1 GPL-1+ IPAfont OFL DSL FDL-1.2+ OPL Arphic"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/var/tmp/portage-distdir"
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 webrsync-gpg"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
MAKEOPTS="-j8 -l8"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="amd64 bzip2 caps cli cracklib crypt cxx dri fortran iconv ipv6 libav mmx modules ncurses nls nptl openmp pcre readline session sse sse2 ssl tcpd unicode 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 sse sse2 avx sse3 sse4_1 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" INPUT_DEVICES="keyboard mouse 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="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 SpanKY gentoo-dev 2015-03-07 20:04:38 UTC
i guess you've got a broken install of libvpx on that system
Comment 2 SpanKY gentoo-dev 2015-03-07 20:09:53 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add USE=webp to control the libvpx dep
http://sources.gentoo.org/media-libs/gd/gd-2.1.1.ebuild?r1=1.2&r2=1.3
http://sources.gentoo.org/media-libs/gd/metadata.xml?r1=1.4&r2=1.5
Comment 3 Enne Eziarc 2015-03-07 23:48:54 UTC
(In reply to SpanKY from comment #1)
> i guess you've got a broken install of libvpx on that system

Eh, close enough guess - I had the 9999 ebuild installed for VP9-related stuff.
Comment 4 Alexander Petrenas 2015-03-29 18:45:03 UTC
So any news on building with media-libs/libvpx-9999? Maybe we need gd-9999?
Comment 5 SpanKY gentoo-dev 2015-04-09 01:37:21 UTC
(In reply to Alexander Petrenas from comment #4)

we don't generally track unreleased software.  you might want to follow bug 545956 though as that fails w/libvpx-1.4.0.