Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590744 - media-video/raspberrypi-omxplayer: cleanup EAPI-5 based (was: add cross-compilation support)
Summary: media-video/raspberrypi-omxplayer: cleanup EAPI-5 based (was: add cross-compi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: EAPI5Removal
  Show dependency tree
 
Reported: 2016-08-08 09:35 UTC by Gerhard Bräunlich
Modified: 2021-08-28 07:13 UTC (History)
1 user (show)

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


Attachments
cross-compile support media-video/raspberrypi-omxplayer (cross.patch,1.25 KB, patch)
2016-08-08 09:35 UTC, Gerhard Bräunlich
Details | Diff
build.log (build.log,12.70 KB, text/x-log)
2016-08-08 14:18 UTC, Gerhard Bräunlich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Bräunlich 2016-08-08 09:35:38 UTC
Created attachment 442762 [details, diff]
cross-compile support media-video/raspberrypi-omxplayer

Cross emerging media-video/raspberrypi-omxplayer fails due to wrong include and library patchs.

The appended patch corrects the paths.
Comment 1 Coacher 2016-08-08 14:12:16 UTC
(In reply to Gerhard Bräunlich from comment #0)
> Cross emerging media-video/raspberrypi-omxplayer fails due to wrong include
> and library patchs.
Please attach complete 'build.log' where this problem can be seen.
Also attach the output of 'emerge --info'.
Comment 2 Gerhard Bräunlich 2016-08-08 14:18:39 UTC
Created attachment 442784 [details]
build.log

# armv6j-hardfloat-linux-gnueabi-emerge --info
Portage 2.2.28 (python 3.4.3-final-0, default/linux/arm/13.0/armv6j, gcc-4.9.3, unavailable, 4.4.6-gentoo x86_64)
=================================================================
System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-1620_v2_@_3.70GHz-with-gentoo-2.2
KiB Mem:    16318052 total,  11860500 free
KiB Swap:     557052 total,    557052 free
Timestamp of repository gentoo: Mon, 08 Aug 2016 08:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.3_p46::gentoo
dev-lang/python:     2.7.12::gentoo, 3.4.5::gentoo
sys-apps/baselayout: 2.2-r1::gentoo
sys-apps/sandbox:    2.10-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

cross-armv6j-hardfloat-linux-gnueabi
    location: /usr/armv6j-hardfloat-linux-gnueabi/usr/portage
    masters: gentoo
    priority: 10

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard"
CHOST="armv6j-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv6j"
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 xattr"
FFLAGS="-O2 -pipe -march=armv6j"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_CH.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/armv6j-hardfloat-linux-gnueabi/packages/"
PORTAGE_CONFIGROOT="/usr/armv6j-hardfloat-linux-gnueabi/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/usr/armv6j-hardfloat-linux-gnueabi/tmp/"
USE="acl arm avahi berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 minimal modules ncurses nls nptl openmp pam pcre readline seccomp session ssl tcpd udev unicode webserver xattr 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" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

# armv6j-hardfloat-linux-gnueabi-emerge -pqv raspberrypi-omxplayer 
[ebuild   R   ] media-video/raspberrypi-omxplayer-0_p20160528 [0_p20160528] to /usr/armv6j-hardfloat-linux-gnueabi/ USE="-X"
Comment 3 Patrice Clement gentoo-dev 2016-09-08 08:04:09 UTC
Hey fordfrog! Care to review https://github.com/gentoo/gentoo/pull/2217 and let me know about it? I can merge it if it looks good to you. Thanks.
Comment 4 Miroslav Šulc gentoo-dev 2016-09-08 08:56:11 UTC
(In reply to Patrice Clement from comment #3)
> Hey fordfrog! Care to review https://github.com/gentoo/gentoo/pull/2217 and
> let me know about it? I can merge it if it looks good to you. Thanks.

i have no experience with cross-compilation but the author seems to have so i'd give it a go. thanks! :-)
Comment 5 Patrice Clement gentoo-dev 2016-09-08 09:05:13 UTC
commit 2b82508e7082a8ba0117a9ebe71903006b140ca8 (HEAD -> master, origin/master, origin/HEAD)
Author:     Gerhard Bräunlich <wippbox@gmx.net>
AuthorDate: Sun Sep 4 12:15:42 2016 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Thu Sep 8 11:04:30 2016 +0200

media-video/raspberrypi-omxplayer: improvements.

* Add cross-compilation support.
* EAPI 6 bump.

Gentoo-Bug: https://bugs.gentoo.org/590744

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2217

Acked-By: Miroslav Šulc <fordfrog@gentoo.org>
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

.../files/cross-0_p20160528.patch                  | 15 ++++++
.../raspberrypi-omxplayer-0_p20160528-r1.ebuild    | 60 ++++++++++++++++++++++
2 files changed, 75 insertions(+)
create mode 100644 media-video/raspberrypi-omxplayer/files/cross-0_p20160528.patch
create mode 100644 media-video/raspberrypi-omxplayer/raspberrypi-omxplayer-0_p20160528-r1.ebuild

Commited, thanks!
Comment 6 Gerhard Bräunlich 2016-09-08 09:09:20 UTC
Thanks!
Comment 7 Andreas Sturmlechner gentoo-dev 2021-04-18 09:34:51 UTC
Live ebuild was omitted from EAPI-6 bump and is now outdated to an unknown degree.

Please consider removing if it is not part of the maintenance workflow.
Comment 8 Larry the Git Cow gentoo-dev 2021-04-18 12:11:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc6456751748894c364cad2aa2dae72761a541b

commit 0fc6456751748894c364cad2aa2dae72761a541b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-04-18 09:36:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-04-18 12:00:40 +0000

    media-video/raspberrypi-omxplayer: Drop 0_p20160217-r1 and 0_p20160528-r2
    
    Bug: https://bugs.gentoo.org/590744
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/raspberrypi-omxplayer/Manifest         |  1 -
 .../raspberrypi-omxplayer-0_p20160217-r1.ebuild    | 49 --------------------
 .../raspberrypi-omxplayer-0_p20160528-r2.ebuild    | 53 ----------------------
 3 files changed, 103 deletions(-)