Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332689 - libdrm-2.4.20-r1 doesn't compile: couldn't find cairo.h
Summary: libdrm-2.4.20-r1 doesn't compile: couldn't find cairo.h
Status: RESOLVED DUPLICATE of bug 332271
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-14 02:58 UTC by Danila Bespalov
Modified: 2010-08-14 14:24 UTC (History)
1 user (show)

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


Attachments
the first case (cairo.h not found) (build.log,53.73 KB, text/plain)
2010-08-14 03:06 UTC, Danila Bespalov
Details
the second case (when compiled with CFLAGS="-I/usr/include/cairo") (build.log,53.40 KB, text/plain)
2010-08-14 03:08 UTC, Danila Bespalov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Danila Bespalov 2010-08-14 02:58:58 UTC
The compilation fails with "modetest.c:59:19: error: cairo.h: No such file or directory".
When compiled like
CFLAGS="-I/usr/include/cairo" emerge -1 "=libdrm-2.4.20-r1"
it fails anyway with
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpng12
collect2: ld returned 1 exit status
Comment 1 Danila Bespalov 2010-08-14 03:01:18 UTC
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 13 Aug 2010 19:55:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10 AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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"
CXXFLAGS="-O2 -march=pentium4 -pipe -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://mirror.leaseweb.com/gentoo/ http://mirrors.163.com/gentoo/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/gamerlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa amr amrnb amrwb apm bash-completion berkdb branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr emboss encode exif expat fam ffmpeg firefox flac fortran gdbm gif git gpm hal handbook iconv icu id3tag imap ipv6 jabber java javascript joystick jpeg jpeg2k kde lcms ldap libcaca libnotify lua lzma mad mikmod mime mmx modules mp3 mp4 mpeg mtp mudflap musicbrainz mysql ncurses nls nocd nptl nptlonly nsplugin nss nvidia ogg openal opencore-amr opengl openmp pam pango pcre pdf perl php plasma png ppds pppd python qt3 qt3support qt4 quicktime raw readline reflection scanner sdl semantic_desktop session sockets sox spell spl sql sse sse2 ssl startup-notification subversion svg sysfs taglib tcpd threads tiff truetype unicode usb vim-syntax vorbis webkit win32codecs wmf wxwidgets x264 x86 xcb xml xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Danila Bespalov 2010-08-14 03:06:02 UTC
Created attachment 242877 [details]
the first case (cairo.h not found)
Comment 3 Danila Bespalov 2010-08-14 03:08:15 UTC
Created attachment 242879 [details]
the second case (when compiled with CFLAGS="-I/usr/include/cairo")
Comment 4 Danila Bespalov 2010-08-14 03:42:21 UTC
It compiled after I updated cairo-1.8.8 to 1.8.10, libdrm should depend on this.
Comment 5 Dane Smith (RETIRED) gentoo-dev 2010-08-14 14:20:32 UTC
Assigning to maintainer.
Comment 6 Dane Smith (RETIRED) gentoo-dev 2010-08-14 14:24:13 UTC

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