Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456112 - dev-libs/DirectFB-1.6.3 - radeon_crtc1.c:157:50: error: too few arguments to function 'OldPrimaryLayerFuncs.SetRegion'
Summary: dev-libs/DirectFB-1.6.3 - radeon_crtc1.c:157:50: error: too few arguments to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-08 05:25 UTC by rainer
Modified: 2013-02-09 16:11 UTC (History)
6 users (show)

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


Attachments
build.log (build.log,363.27 KB, text/plain)
2013-02-08 05:27 UTC, rainer
Details
build.log (build.log,482.97 KB, text/plain)
2013-02-08 15:14 UTC, BillWho
Details
build.log -JM (build.log,300.31 KB, text/plain)
2013-02-08 16:18 UTC, Jason Mours
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rainer 2013-02-08 05:25:47 UTC
There is some error when updating DirectFB:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -I../../src -I../../systems -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -Werror-implicit-function-declaration -O2 -g2 -ffast-math -pipe -march=core2 -msse4 -mcx16 -msahf -O2 -pipe -D_GNU_SOURCE -std=gnu99 -Werror-implicit-function-declaration -c radeon_crtc1.c  -fPIC -DPIC -o .libs/radeon_crtc1.o
radeon_overlay.c:465:6: warning: initialization from incompatible pointer type [enabled by default]
radeon_overlay.c:465:6: warning: (near initialization for 'RadeonOverlayFuncs.SetRegion') [enabled by default]
radeon_overlay.c:467:6: warning: initialization from incompatible pointer type [enabled by default]
radeon_overlay.c:467:6: warning: (near initialization for 'RadeonOverlayFuncs.FlipRegion') [enabled by default]
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -I../../src -I../../systems -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -Werror-implicit-function-declaration -O2 -g2 -ffast-math -pipe -march=core2 -msse4 -mcx16 -msahf -O2 -pipe -D_GNU_SOURCE -std=gnu99 -Werror-implicit-function-declaration -c radeon_crtc2.c  -fPIC -DPIC -o .libs/radeon_crtc2.o
radeon_crtc2.c:541:6: warning: initialization from incompatible pointer type [enabled by default]
radeon_crtc2.c:541:6: warning: (near initialization for 'RadeonCrtc2LayerFuncs.SetRegion') [enabled by default]
radeon_crtc2.c:543:6: warning: initialization from incompatible pointer type [enabled by default]
radeon_crtc2.c:543:6: warning: (near initialization for 'RadeonCrtc2LayerFuncs.FlipRegion') [enabled by default]
radeon_crtc1.c: In function 'crtc1TestRegion':
radeon_crtc1.c:120:16: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
radeon_crtc1.c: In function 'crtc1SetRegion':
radeon_crtc1.c:157:50: error: too few arguments to function 'OldPrimaryLayerFuncs.SetRegion'
radeon_crtc1.c: At top level:
radeon_crtc1.c:167:1: warning: initialization from incompatible pointer type [enabled by default]
radeon_crtc1.c:167:1: warning: (near initialization for 'RadeonCrtc1LayerFuncs.SetRegion') [enabled by default]
make[3]: *** [radeon_crtc1.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/DirectFB-1.6.3/work/DirectFB-1.6.3/gfxdrivers/radeon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/DirectFB-1.6.3/work/DirectFB-1.6.3/gfxdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/DirectFB-1.6.3/work/DirectFB-1.6.3'
make: *** [all] Error 2


Reproducible: Always




# emerge --info
Portage 2.1.11.50 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.16.0, 3.6.5-gentoocfg-2012-06-28 x86_64)
=================================================================
System uname: Linux-3.6.5-gentoocfg-2012-06-28-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.2
KiB Mem:    16426724 total,   3287228 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 08 Feb 2013 04:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo.modulix.net/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/ ftp://de-mirror.org/gentoo/ http://de-mirror.org/gentoo/ rsync://de-mirror.org/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amd64 ao audiofile avahi bash-completion bcmath berkdb blas bluetooth branding bzip2 cairo calendar caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups curl curlwrappers cxx dbus dga directfb djvu dri dts dv dvd dvdr emacs emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran ftp gcj gd gdbm gif gimp ginac glut gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphviz gsm gstreamer gtk gtkhtml gzip hddtemp iconv icq ieee1394 imagemagick imap imlib iodbc ipv6 jabber java java6 javascript jbig jingle jpeg jpeg2k kde kontact lame lapack lash latex lcms ldap libgda libnotify lirc lm_sensors lzo mad matroska mikmod mime mmx mng modules mono mozilla mp3 mp4 mpeg mpi mplayer msn mudflap mule multilib musepack musicbrainz mysql mysqli nas ncurses neXt nls nntp nocd nptl nsplugin odbc offensive ofx ogg openal openexr opengl openmp osc oscar oss pam pango pcre pdf perl php plasma plotutils png policykit ppds pulseaudio python qt3support qt4 quicktime raw readline rss ruby samba scanner sdl semantic-desktop session smp sockets socks5 sox speex spell sqlite sqlite3 sse sse2 ssl startup-notification svg symlink syslog sysvipc szip tcl tcpd theora threads tiff truetype udev udisks unicode upower usb v4l v4l2 vcd vde video vnc vorbis wmf wxwidgets x264 xattr xcb xcomposite xemacs xft xml xosd xpm xsl xv xvid yahoo 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" 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="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" 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 rainer 2013-02-08 05:27:27 UTC
Created attachment 338284 [details]
build.log
Comment 2 BillWho 2013-02-08 15:14:09 UTC
Created attachment 338320 [details]
build.log
Comment 3 BillWho 2013-02-08 15:17:31 UTC
gentoo-gateway temp # emerge --info '=dev-libs/DirectFB-1.6.3'
Portage 2.1.11.50 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.16.0, 3.8.0-rc6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.0-rc6-x86_64-AMD_Phenom-tm-_9150e_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     3789760 total,     56908 free
KiB Swap:    8193076 total,   8186296 free
Timestamp of tree: Fri, 08 Feb 2013 13:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo x11 wish xarthisius mozilla gentoo-gateway
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/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=native -pipe"
DISTDIR="/home/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.the-best-hosting.net"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/wish /var/lib/layman/xarthisius /var/lib/layman/mozilla /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 apng auto-hinter automount branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dirac directfb dri dts dvd dvdr emboss encode exif extras fam ffmpeg firefox flac fontconfig fortran gallium gd gdbm gif gnome gpm gtk gusb hddtemp iconv introspection iostats ipv6 java jpeg kdrive lcms ldap libnotify live lm_sensors lock lua lua-cairo lua-imlib lxde mad math mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses network nls nptl ogg opengl openmp openvg orc pam pango pcre pdf png policykit ppds pulseaudio python qt-bundled qt3support qt4 readline rss scanner sdl session shared-dricore sound sox spell sqlite sse sse2 ssl startup-notification static-libs svg tcpd threads tiff truetype udev udisks unicode upower usb utp v4l vorbis wxwidgets x264 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" 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="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev 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"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Julian Ospald 2013-02-08 16:03:50 UTC
does it build with video_cards_radeon disabled?
Comment 5 Nikolaj Šujskij 2013-02-08 16:09:28 UTC
The same here.

Disabling radeon results in bug #456122
Comment 6 Jason Mours 2013-02-08 16:17:17 UTC
Posting my build.log. I'm not having problems with radeon_crtc2 , just radeon_crtc1.
Comment 7 Jason Mours 2013-02-08 16:18:00 UTC
Created attachment 338328 [details]
build.log -JM
Comment 8 Otto A. Schell 2013-02-09 01:18:56 UTC
x86 too…
…
…
…
radeon_crtc2.c:541:6: warning: initialization from incompatible pointer type [enabled by default]
radeon_crtc2.c:541:6: warning: (near initialization for 'RadeonCrtc2LayerFuncs.SetRegion') [enabled by default]
radeon_crtc2.c:543:6: warning: initialization from incompatible pointer type [enabled by default]
radeon_crtc2.c:543:6: warning: (near initialization for 'RadeonCrtc2LayerFuncs.FlipRegion') [enabled by default]
radeon_crtc1.c: In function 'crtc1TestRegion':
radeon_crtc1.c:120:16: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
radeon_crtc1.c: In function 'crtc1SetRegion':
radeon_crtc1.c:157:50: error: too few arguments to function 'OldPrimaryLayerFuncs.SetRegion'
radeon_crtc1.c: At top level:
radeon_crtc1.c:167:1: warning: initialization from incompatible pointer type [enabled by default]
radeon_crtc1.c:167:1: warning: (near initialization for 'RadeonCrtc1LayerFuncs.SetRegion') [enabled by default]
make[3]: *** [radeon_crtc1.lo] Error 1
…
…
Comment 9 Walter Meinl 2013-02-09 12:23:15 UTC
There are several build-fixes available from different distros. The one from openSUSE is to be found here (worked on my system x86_64)
http://www.mail-archive.com/opensuse-commit@opensuse.org/msg30661.html
Comment 10 Julian Ospald 2013-02-09 16:11:32 UTC
+*DirectFB-1.6.3-r1 (09 Feb 2013)
+
+  09 Feb 2013; Julian Ospald <hasufell@gentoo.org> -DirectFB-1.6.3.ebuild,
+  +DirectFB-1.6.3-r1.ebuild, +files/DirectFB-1.6.3-setregion.patch,
+  metadata.xml:
+  fix logic/syntax of --with-gfxdrivers and --with-inputdrivers, fix bug
+  #456112 , fix bug #456122 , drop broken video_cards_savage, remove old