Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chromium os, arm-generic or panda
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
comariu
n00b
n00b


Joined: 27 May 2013
Posts: 4

PostPosted: Mon May 27, 2013 7:50 pm    Post subject: chromium os, arm-generic or panda Reply with quote

I am struggling for some time to get xorg-video omap and
I keep running in all kinds of dependencies.
I tried pulling out libdrm-2.4.3.6 sources, then xf86-video-omap-0.4.3
I passed libdrm-omap ebuild, but I cannot pass xf86-video-omap.
I am trying to emerge-panda xf86-video-omap it and I got these errors.

Code:
make[2]: Entering directory `/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/work/xf86-video-omap-0.4.3_build/src'
  CC       omap_exa.lo
  CC       drmmode_display.lo
  CC       omap_exa_utils.lo
  CC       omap_exa_null.lo
  CC       omap_xv.lo
  CC       omap_dri2.lo
  CC       omap_driver.lo
cc1plus: error: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wold-style-definition’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wnested-externs’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [drmmode_display.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1plus: error: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wold-style-definition’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wnested-externs’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: all warnings being treated as errors
cc1plus: error: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wold-style-definition’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wnested-externs’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: all warnings being treated as errors
cc1plus: error: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wold-style-definition’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wnested-externs’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [omap_exa_utils.lo] Error 1
cc1plus: error: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wold-style-definition’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wnested-externs’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [omap_exa.lo] Error 1
cc1plus: error: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wold-style-definition’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wnested-externs’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [omap_xv.lo] Error 1
make[2]: *** [omap_exa_null.lo] Error 1
cc1plus: error: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wold-style-definition’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command line option ‘-Wnested-externs’ is valid for C/ObjC but not for C++ [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [omap_dri2.lo] Error 1
make[2]: *** [omap_driver.lo] Error 1
make[2]: Leaving directory `/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/work/xf86-video-omap-0.4.3_build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/work/xf86-video-omap-0.4.3_build'
make: *** [all] Error 2
 * ERROR: x11-drivers/xf86-video-omap-0.4.3 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of 'emerge --info =x11-drivers/xf86-video-omap-0.4.3',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/xf86-video-omap-0.4.3'.
 * The complete build log is located at '/build/panda/tmp/portage/logs/x11-drivers:xf86-video-omap-0.4.3:20130527-194924.log'.
 * The ebuild environment file is located at '/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/temp/environment'.
 * S: '/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/work/xf86-video-omap-0.4.3'

>>> Failed to emerge x11-drivers/xf86-video-omap-0.4.3 for /build/panda/, Log file:

>>>  '/build/panda/tmp/portage/logs/x11-drivers:xf86-video-omap-0.4.3:20130527-194924.log'

 * Messages for package x11-drivers/xf86-video-omap-0.4.3 merged to /build/panda/:

 * ERROR: x11-drivers/xf86-video-omap-0.4.3 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of 'emerge --info =x11-drivers/xf86-video-omap-0.4.3',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/xf86-video-omap-0.4.3'.
 * The complete build log is located at '/build/panda/tmp/portage/logs/x11-drivers:xf86-video-omap-0.4.3:20130527-194924.log'.
 * The ebuild environment file is located at '/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/temp/environment'.
 * S: '/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/work/xf86-video-omap-0.4.3'


Thank you.



P.S.


Code:
(cr) marius@home1 /build/panda/usr/include $ emerge-panda --info
--- Invalid atom in /build/panda/etc/portage/package.unmask: >=x11-drivers/xf86-video-omap-0.4.3 ~arm
Portage 2.1.10.11-r9 (!/usr/local/portage/chromiumos/profiles/default/linux/arm/10.0/chromeos/, gcc-4.7.x-google, unavailable, 3.5.0-30-generic x86_64)
=================================================================
System uname: Linux-3.5.0-30-generic-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_740_@_1.73GHz-with-glibc2.2.5
Timestamp of tree: Unknown
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.10
dev-lang/python:          2.7.3-r4::chromiumos
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.1-r229::chromiumos
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.22-r17::chromiumos
sys-devel/gcc:            4.7.2-r45::chromiumos
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4-r6::chromiumos (virtual/os-headers)
sys-libs/glibc:           2.15-r5::chromiumos
Repositories: portage-stable x-crossdev chromiumos
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA -@CHROMEOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard -g"
CHOST="armv7a-cros-linux-gnueabi"
CONFIG_PROTECT="/etc/make.globals"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hard -g"
DISTDIR="/var/lib/portage/distfiles-target"
EMERGE_DEFAULT_OPTS="--oneshot"
FCFLAGS=""
FEATURES="allow-missing-manifests assume-digests binpkg-logs buildpkg clean-logs distlocks fixlafiles fixpackages force-mirror news nodoc noinfo noman parallel-fetch parallel-install protect-owned sandbox sfperms splitdebug unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="https://commondatastorage.googleapis.com/chromeos-localmirror https://commondatastorage.googleapis.com/chromeos-mirror/gentoo"
INSTALL_MASK="   /usr/lib*/*.la   /etc/init.d /etc/conf.d   /etc/logrotate.d   /etc/sandbox.d   /usr/share/bash-completion "
LANG="en_US"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/build/panda/packages/"
PORTAGE_BUNZIP2_COMMAND="pbunzip2 --ignore-trailing-garbage=1"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_CONFIGROOT="/build/panda/"
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="/build/panda/tmp/"
PORTDIR="/usr/local/portage/stable"
PORTDIR_OVERLAY="/usr/local/portage/chromiumos /mnt/host/source/src/overlays/overlay-panda"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi arm bindist bluetooth bzip2 cairo cmt cros-debug crypt cxx dri hardfp iconv modules mudflap ncurses neon nptl nptlonly opengles pam readline ssl sysfs unicode usb xorg 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" BOARD_USE="panda" 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 cmt cmt" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
comariu
n00b
n00b


Joined: 27 May 2013
Posts: 4

PostPosted: Tue May 28, 2013 3:39 pm    Post subject: ebuild-panda xf86-video-omap-0.4.3.ebuild ... Reply with quote

I reduced the question to a more followable content:
ebuild-panda xf86-video-omap-0.4.3.ebuild clean prepare compile
vbe.h. is missing !
How to I grab that header. emerge-panda xorg-server does not fetch that header.


Code:
/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/work/xf86-video-omap-0.4.3/src/drmmode_display.c:58:17: fatal error: vbe.h: No such file or directory
compilation terminated.
make[2]: *** [drmmode_display.lo] Error 1
make[2]: Leaving directory `/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/work/xf86-video-omap-0.4.3_build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/work/xf86-video-omap-0.4.3_build'
make: *** [all] Error 2
 * ERROR: x11-drivers/xf86-video-omap-0.4.3 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of 'emerge --info =x11-drivers/xf86-video-omap-0.4.3',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/xf86-video-omap-0.4.3'.
 * The complete build log is located at '/build/panda/tmp/portage/logs/x11-drivers:xf86-video-omap-0.4.3:20130528-153724.log'.
 * The ebuild environment file is located at '/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/temp/environment'.
 * S: '/build/panda/tmp/portage/x11-drivers/xf86-video-omap-0.4.3/work/xf86-video-omap-0.4.3'
(cr) (x11edev) marius@home1 ~/trunk/src/third_party/portage-stable/x11-drivers/xf86-video-omap $ ebuild-panda xf86-video-omap-0.4.3.ebuild clean prepare compile



Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum