Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

Cross compilation of custom ebuild for arm pulls invalid dep

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Author
Message
fariouche
n00b
n00b
Posts: 18
Joined: Sun May 14, 2006 10:08 am

Cross compilation of custom ebuild for arm pulls invalid dep

  • Quote

Post by fariouche » Sun Jun 28, 2015 5:44 pm

Hi,

I'm currently developping a DirectFB gfx driver for an arm platform.
I've setup my own overlay and a dedicated ebuild.
My ebuild has a dependency to DirectFB (of course), but when I try to emerge this package, it tries to pull DirectFB twice! (one for arm and one for x86)
I'm not using crossdev, but cross-compilation is working (I can emerge packages with no problems)

I think I'm missing a stupid point here... But I don't know what is it.

Thank you!

My ebuild is really simple!
An extract is here:

Code: Select all

SLOT="0"
KEYWORDS="arm"

RDEPEND=">=dev-libs/DirectFB-1.7.6[-multicore]"
DEPEND="${RDEPEND}"

The output of the emerge is:

Code: Select all

# emerge -avt DirectFB-py
setlocale: unsupported locale setting

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

 * Last emerge --sync was 95d 16h 21m 13s ago.

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] sys-libs/DirectFB-py-1.7.7::py to /usr/py/staging/  0 KiB
[ebuild  N     ]  dev-libs/DirectFB-1.7.6 to /usr/py/staging/ USE="dynload zlib -X -alsa -bmp -cddb -debug -divine -doc -drmkms -egl -fbcon -fusiondale -fusionsound -gif -gles2 -gstreamer -imlib2 -input_hub -jpeg -jpeg2k -mad -mng -mpeg2 -mpeg3 -multicore -opengl -oss -png -pnm -sawman -sdl -static-libs -svg (-swfdec) -tiff (-timidity) -tremor -truetype -v4l (-vdpau) -vorbis -webp (-xine)" INPUT_DEVICES="evdev keyboard mouse -dynapro -elo2300 -joystick -lirc -mutouch -tslib" VIDEO_CARDS="(-intel) (-mach64) (-mga) (-neomagic) (-nsc) (-nvidia) (-r128) (-radeon) (-s3) (-sis) (-tdfx) (-via) (-vmware)" 0 KiB
[ebuild  N     ]   sys-libs/zlib-1.2.8-r1 to /usr/py/staging/ USE="-minizip -static-libs" 558 KiB
[ebuild  N    ~]  dev-libs/DirectFB-1.7.6  USE="dynload zlib -X -alsa -bmp -cddb -debug -divine -doc -drmkms -egl -fbcon -fusiondale -fusionsound -gif -gles2 -gstreamer -imlib2 -input_hub -jpeg -jpeg2k -mad -mng -mpeg2 -mpeg3 -multicore -opengl -oss -png -pnm -sawman -sdl -static-libs -svg (-swfdec) -tiff -timidity -tremor -truetype -v4l -vdpau -vorbis -webp -xine" CPU_FLAGS_X86="mmx sse" INPUT_DEVICES="evdev keyboard mouse -dynapro -elo2300 -joystick -lirc -mutouch -tslib" VIDEO_CARDS="intel mach64 mga r128 radeon sis tdfx via vmware -neomagic -nsc -nvidia -s3" 5836 KiB

Total: 4 packages (4 new), Size of downloads: 6394 KiB

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by sys-libs/DirectFB-py-1.7.7::py
# required by DirectFB-py (argument)
=dev-libs/DirectFB-1.7.6 ~x86

Would you like to add these changes to your config files? [Yes/No] n
My emerge --info output shows: (I'm running under a chroot)

Code: Select all

Portage 2.2.14 (python 2.7.9-final-0, default/linux/arm, gcc-4.8.5, unavailable, 4.0.5 i686)
=================================================================
System uname: Linux-4.0.5-i686-Intel-R-_Core-TM-_i7_CPU_960_@_3.20GHz-with-gentoo-2.2
KiB Mem:    16436136 total,  11418316 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 25 Mar 2015 00:45:01 +0000
ld GNU ld (crosstool-NG 1.20.0) Linaro 2014.11-2 2.24.0.20141017
sys-apps/baselayout: 2.2
Repositories: gentoo py
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="arm-py-linux-gnueabihf"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/packages/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --buildpkg"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2"
GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/packages/packages"
PORTAGE_CONFIGROOT="/usr/py/staging/"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/packages/portage/py"
USE="arm berkdb bindist cli cracklib crypt cxx dri fortran iconv ipv6 libav minimal modules ncurses nls openmp pam pcre readline session ssl tcpd zlib" 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 author" 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 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" 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="exynos fbdev omap omapfb 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"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Top
fariouche
n00b
n00b
Posts: 18
Joined: Sun May 14, 2006 10:08 am

  • Quote

Post by fariouche » Sun Jun 28, 2015 10:19 pm

I made past it by commenting the DEPEND line in my ebuild....

I do not understand why, this does not make sense...
I'm currently updating portage, but I doubt it will solved it.
Top
Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic