Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442896 - x11-drivers/xf86-video-omapfb-0.1.1_p3 - src/omapfb-driver.c:444:9: error: too many arguments to function 'pScreen->CloseScreen'
Summary: x11-drivers/xf86-video-omapfb-0.1.1_p3 - src/omapfb-driver.c:444:9: error: to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo ARM Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-12 18:52 UTC by Xavier Miller (RETIRED)
Modified: 2013-01-14 23:30 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,14.09 KB, text/plain)
2012-11-12 18:54 UTC, Xavier Miller (RETIRED)
Details
xf86-video-omapfb-0.1.1-closescreen.patch (xf86-video-omapfb-0.1.1-closescreen.patch,252 bytes, patch)
2013-01-07 15:31 UTC, Chris Reffett (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller (RETIRED) gentoo-dev 2012-11-12 18:52:58 UTC
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1_p3_build"
make -j1 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1_p3_build'
Making all in src
make[2]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1_p3_build/src'
/bin/sh ../libtool --tag=CC   --mode=compile armv7a-hardfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm   -O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard -fomit-frame-pointer -MT omapfb-driver.lo -MD -MP -MF .deps/omapfb-driver.Tpo -c -o omapfb-driver.lo /var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c
libtool: compile:  armv7a-hardfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard -fomit-frame-pointer -MT omapfb-driver.lo -MD -MP -MF .deps/omapfb-driver.Tpo -c /var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c  -fPIC -DPIC -o .libs/omapfb-driver.o
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c: In function 'OMAPFBFreeRec':
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:87:2: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) [-Wdeprecated-declarations]
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c: In function 'OMAPFBProbe':
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:188:7: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:229:25: warning: assignment from incompatible pointer type [enabled by default]
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:230:25: warning: assignment from incompatible pointer type [enabled by default]
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:231:25: warning: assignment from incompatible pointer type [enabled by default]
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:232:25: warning: assignment from incompatible pointer type [enabled by default]
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:241:2: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) [-Wdeprecated-declarations]
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c: In function 'OMAPFBPreInit':
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:273:6: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c: In function 'OMAPFBXvScreenInit':
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:417:3: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:215) [-Wdeprecated-declarations]
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c: In function 'OMAPFBCloseScreen':
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:444:9: warning: passing argument 1 of 'pScreen->CloseScreen' makes pointer from integer without a cast [enabled by default]
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:444:9: note: expected 'ScreenPtr' but argument is of type 'int'
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:444:9: error: too many arguments to function 'pScreen->CloseScreen'
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c: In function 'OMAPFBScreenInit':
/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/src/omapfb-driver.c:454:23: warning: assignment from incompatible pointer type [enabled by default]
make[2]: *** [omapfb-driver.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1_p3_build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1_p3_build'
make: *** [all] Error 2
emake failed
 * ERROR: x11-drivers/xf86-video-omapfb-0.1.1_p3 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3389:  Called xorg-2_src_compile
 *   environment, line 4078:  Called autotools-utils_src_compile
 *   environment, line  694:  Called die
 * The specific snippet of code:
 *       emake "$@" || die 'emake failed';
 * 
 * If you need support, post the output of `emerge --info '=x11-drivers/xf86-video-omapfb-0.1.1_p3'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/xf86-video-omapfb-0.1.1_p3'`.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1_p3_build'
 * S: '/var/tmp/portage/x11-drivers/xf86-video-omapfb-0.1.1_p3/work/xf86-video-omapfb-0.1.1/'

>>> Failed to emerge x11-drivers/xf86-video-omapfb-0.1.1_p3, Log file:


Reproducible: Always




emerge --info '=x11-drivers/xf86-video-omapfb-0.1.1_p3'
Portage 2.2.0_alpha142 (default/linux/arm/10.0/armv7a, gcc-4.7.2, glibc-2.16.0, 3.2.31-00067-g7cbb583-dirty armv7l)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.31-00067-g7cbb583-dirty-armv7l-ARMv7_Processor_rev_2_-v7l-with-gentoo-2.2
Timestamp of tree: Mon, 12 Nov 2012 18:00:01 +0000
ld GNU ld (GNU Binutils) 2.23
distcc 3.1 armv7a-hardfloat-linux-gnueabi [enabled]
app-shells/bash:          4.2_p39
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.4
sys-devel/binutils:       2.23
sys-devel/gcc:            4.7.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo local pd-overlay proaudio
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="@FREE freedist as-is"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard -fomit-frame-pointer"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /usr/lib/distcc/bin"
CXXFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg --quiet-build=n"
FCFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp"
FEATURES="assume-digests binpkg-logs buildpkg candy config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_BE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/var/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/overlay /var/lib/layman/pd-overlay /var/lib/layman/pro-audio"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apng arm bzip2 cairo cli cracklib crypt cxx extras fat fftw gif gpm gtk gtk3 gudev hwdb iconv id3tag imlib imlib2 jack jpeg libkms lzo modules mp3 mpeg mudflap ncurses nls nptl ntfs opengl openmp osc pam pcre pdf png portaudio pppd qt qt4 readline session smpeg sndfile sqlite ssl svg tcpd threads tiff truetype udev unicode vorbis xinerama zlib" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="omapfb" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

x11-drivers/xf86-video-omapfb-0.1.1_p3 was built with the following:
USE=""
CFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=hard -fomit-frame-pointer"
CXXFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=hard -fomit-frame-pointer"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,lazy"
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2012-11-12 18:54:20 UTC
Created attachment 329372 [details]
build.log
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2012-11-12 19:00:26 UTC
It seems the free OMAP Xorg driver is outdated.

Meanwhile, I will try the proprietary drivers
Comment 3 Chris Reffett (RETIRED) gentoo-dev Security 2013-01-07 15:12:27 UTC
Confirmed here on a Pandaboard ES.
Comment 4 Chris Reffett (RETIRED) gentoo-dev Security 2013-01-07 15:31:55 UTC
Created attachment 334736 [details, diff]
xf86-video-omapfb-0.1.1-closescreen.patch

One-liner that fixes the issue.
Comment 5 Chris Reffett (RETIRED) gentoo-dev Security 2013-01-14 23:30:08 UTC
Fixed in CVS.