Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527986 - dev-libs/DirectFB-1.7.6 - In function ‘uc_ovl_flip_region’: uc_overlay.c:249:19: error: ‘lock’ undeclared (first use in this function)
Summary: dev-libs/DirectFB-1.7.6 - In function ‘uc_ovl_flip_region’: uc_overlay.c:249:...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Graphics Project
Depends on:
Reported: 2014-11-02 09:44 UTC by Toralf Förster
Modified: 2015-02-16 07:58 UTC (History)
2 users (show)

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

emerge log (dev-libs:DirectFB-1.7.6:20141101-224726.log,280.42 KB, text/plain)
2014-11-02 09:44 UTC, Toralf Förster
Fixes cle266 gfxdriver compile issue (cle266_layer_api.patch,378 bytes, patch)
2015-02-10 23:46 UTC, Jonathan Horowitz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2014-11-02 09:44:26 UTC
Created attachment 388316 [details]
emerge log

an ~amd64 tinderbox gives :

prototypes -Wmissing-prototypes -Wno-strict-aliasing -ffast-math -O2 -pipe -D_GNU_SOURCE -std=gnu99 -c uc_ovl_hwset.c  -fPIC -DPIC -o .libs/uc_ovl_hwset.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -I../../systems -I../../src -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -ffast-math -O2 -pipe -D_GNU_SOURCE -std=gnu99 -c uc_overlay.c  -fPIC -DPIC -o .libs/uc_overlay.o
uc_ovl_hwset.c: In function ‘uc_ovl_update’:
uc_ovl_hwset.c:90:14: warning: variable ‘dy’ set but not used [-Wunused-but-set-variable]
      int dx, dy;             // Destination position
uc_ovl_hwset.c:90:10: warning: variable ‘dx’ set but not used [-Wunused-but-set-variable]
      int dx, dy;             // Destination position
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -I../../systems -I../../src  -D_REENTRANT   -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -ffast-math -O2 -pipe -D_GNU_SOURCE  -std=gnu99 -c -o uc_primary.lo uc_primary.c
uc_overlay.c: In function ‘uc_ovl_flip_region’:
uc_overlay.c:249:19: error: ‘lock’ undeclared (first use in this function)
     ucovl->lock = lock;
uc_overlay.c:249:19: note: each undeclared identifier is reported only once for each function it appears in
uc_overlay.c: At top level:
uc_overlay.c:315:5: warning: initialization from incompatible pointer type [enabled by default]
     .SetRegion          = uc_ovl_set_region,
uc_overlay.c:315:5: warning: (near initialization for ‘ucOverlayFuncs.SetRegion’) [enabled by default]
Makefile:621: recipe for target 'uc_overlay.lo' failed
make[3]: *** [uc_overlay.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -I../../systems -I../../src -D_REENTRANT -Wall -Wstrict-
Comment 1 renato gallo 2014-11-09 10:10:08 UTC
same here

emerge --info
Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.2, glibc-2.20, 3.16.3-gentoo x86_64)
System uname: Linux-3.16.3-gentoo-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     3795656 total,    516316 free
KiB Swap:    8388604 total,   7294420 free
Timestamp of tree: Fri, 07 Nov 2014 20:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p30
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.2.5, 3.3.5-r1, 3.4.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.3, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo sunrise
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X a52 aac aalib acl alsa amd64 apache2 apng atmo audit authfile auto-hinter autoipd avahi ban bash-completion bcmath berkdb bidi bittorrent bluetooth bzip2 cairo calendar case cdb cdda cddb cdr cgi cjk clamav clamdtop cli cnijtools courier cracklib crypt ctrls cups curl curlwrappers cxx dbus dc1394 dconf declarative deflate desktopglobe dga dhcpcd dirac directfb djvu dlz dri dts dvb dvd dynamicplugin eds embed enchant encode epydoc esd examples exec exif extras fbcon ffmpeg filter flac flatfile fluidsynth fontconfig fontforge foomaticdb fortran fpm ftp g3dvl gbm gd gdbm ggi gif gimp gme gmp gnome gnome-keyring gphoto2 gpm gstreamer gtk gtk3 gudev hpijs httpd hwdb iconv icu id3tag ident ieee1394 ifsession inifile inline-init-failopen intl introspection iodbc ip1900 ip3600 ip4600 ipmi ipq ix6550 java jce jpeg jpeg2k kate kde lame lapack large-pcap-64bit lcms libass libcaca libkms libnotify libproxy libtiger libv4l2 linux-smp-stats live lua lzma mad matroska mdnsresponder-compat mhash midi milter minizip mmx mng mod modplug modules mp190 mp240 mp3 mp540 mp630 mpeg mtp multilib musepack mx360 mx410 mx420 mx880 mysql mysqli mysqlnd mythtv ncurses nfq nls nptl nsplugin nspluginwrapper nss odbc odk ogg openexr opengl openmp openssl optimisememory oss ovftool pam pango pasteafter pcntl pcre pdf pdfimport pdo perl phonon php pic plasma playlist png policykit poll ppds projectm ps pulseaudio pvr python python2 python3 qalculate qt3support qwt rar ratio raw readline readme reload-error-restar remoteosd rewrite romio rpc rtsp run-as-root samba schroedinger scim screensaver script sdk sdl sdl-image semantic-desktop server session setup sftp shaper shine shout sitemisc skins slp smbsharemodes smp snmp soap sockets softquota spamassassin speex spell sql sqlite sqlite2 sse sse2 ssl static-ppds stream stunnel suhosin svg swat system-libvncserver systemd taglib tcpd templates theora threads tidy tiff tilepath tk tools trace truetype truetype-debugger twolame type3 udev udisks unicode upcall upnp ups_drivers_netxml-ups ups_drivers_nut-ipmipsu ups_drivers_snmp-ups usb utils v4l2 vaapi vala vcdx vdpau vix vlm vmware-tools vmware_guest_freebsd vmware_guest_linux vmware_guest_netware vmware_guest_solaris vmware_guest_winPre2k vmware_guest_windows vorbis vroot wddx webinterface webkit winbind wma-fixed wmf wxwidgets x264 xa xattr xml xmlreader xmlrpc xmlwriter xosd xpm xsl xv xvfb zip zlib zvbi" 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 auth_digest" 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" CURL_SSL="nss" 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" LINGUAS="it" 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"
Comment 2 Jonathan Horowitz 2015-02-10 23:46:09 UTC
Created attachment 396150 [details, diff]
Fixes cle266 gfxdriver compile issue

This bug seems to have been introduced to the upstream GIT repository in commit 6f63e59115688f8a5c86493a173e681482932f86.

I have submitted the same patch to, so that hopefully it will be fixed upstream. In the meantime, add this to your ebuild to get by the problem.
Comment 3 SpanKY gentoo-dev 2015-02-16 07:58:36 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add fix by Jonathan Horowitz for building the cle266 driver