Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464750 - kde-base/pykde4-4.10.1 fails to apply arm patch
Summary: kde-base/pykde4-4.10.1 fails to apply arm patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-05 16:14 UTC by Markus Meier
Modified: 2013-04-12 14:07 UTC (History)
0 users

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


Attachments
pykde4-4.4.4-arm-sip.patch.out (pykde4-4.4.4-arm-sip.patch.out,3.36 KB, text/plain)
2013-04-05 16:14 UTC, Markus Meier
Details
pykde4-4.10.1-arm-sip.patch (pykde4-4.10.1-arm-sip.patch,629 bytes, patch)
2013-04-06 07:16 UTC, Michael Palimaka (kensington)
Details | Diff
pykde4-4.10.1-arm-sip.patch (pykde4-4.10.1-arm-sip.patch,630 bytes, patch)
2013-04-11 11:09 UTC, Michael Palimaka (kensington)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2013-04-05 16:14:59 UTC
Created attachment 344516 [details]
pykde4-4.4.4-arm-sip.patch.out

I've seen this for some time, but never have reported it... last known working version for me is kde-base/pykde4-4.9.5.

 * Maintainer: kde@gentoo.org
 * USE:        arm elibc_glibc kernel_linux python_targets_python2_5 python_targets_python2_6 python_targets_python2_7 python_targets_python3_1 python_targets_python3_2 semantic-desktop test userland_GNU
 * FEATURES:   sandbox test userpriv usersandbox
 * It seems that you need to set USE_PYTHON to make sure that legacy
 * packages will be built with respect to PYTHON_TARGETS correctly:
 *
 *      USE_PYTHON='2.5 2.6 2.7 3.1 3.2'
 *
 * Please note that after changing the USE_PYTHON variable, you may need
 * to run 'python-updater' to rebuild affected packages.
 *
 * For more information on python.eclass compatibility, please see
 * the appropriate python-r1 User's Guide chapter [1].
 *
 * [1] http://www.gentoo.org/proj/en/Python/python-r1/user-guide.xml#doc_chap2
 * python3_1: running scan_python_versions
 * python3_2: running scan_python_versions
 * python2_5: running scan_python_versions
 * python2_6: running scan_python_versions
 * python2_7: running scan_python_versions
>>> Unpacking source...
>>> Unpacking pykde4-4.10.1.tar.xz to /var/tmp/portage/kde-base/pykde4-4.10.1/work
>>> Source unpacked in /var/tmp/portage/kde-base/pykde4-4.10.1/work
>>> Preparing source in /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1 ...
 * Applying pykde4-4.4.4-arm-sip.patch ...

 * Failed Patch: pykde4-4.4.4-arm-sip.patch !
 *  ( /usr/portage/kde-base/pykde4/files/pykde4-4.4.4-arm-sip.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/kde-base/pykde4-4.10.1/temp/pykde4-4.4.4-arm-sip.patch.out

 * ERROR: kde-base/pykde4-4.10.1 failed (prepare phase):
 *   Failed Patch: pykde4-4.4.4-arm-sip.patch!
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 5075:  Called epatch '/usr/portage/kde-base/pykde4/files/pykde4-4.4.4-arm-sip.patch'
 *   environment, line 2338:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";


Portage 2.1.11.60 (default/linux/arm/13.0/armv5te/desktop, gcc-4.7.2, glibc-2.17, 3.7.0 armv5tel)
=================================================================
System uname: Linux-3.7.0-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-2.2
KiB Mem:      513800 total,     73964 free
KiB Swap:    2104508 total,   2098480 free
Timestamp of tree: Tue, 02 Apr 2013 17:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.5.4-r5, 2.6.8-r1, 2.7.3-r3, 3.1.5-r1, 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-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv5te -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /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=armv5te -pipe"
DISTDIR="/mnt/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --jobs=2 --keep-going --with-bdeps=y"
FCFLAGS="-O2 -pipe -march=armv5te"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe -march=armv5te"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
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://minil/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 arm berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv jpeg lcms libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell ssl startup-notification svg tcpd test threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_5 python2_6 python2_7 python3_1 python3_2" RUBY_TARGETS="ruby18 ruby19" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Michael Palimaka (kensington) gentoo-dev 2013-04-06 07:16:09 UTC
Created attachment 344600 [details, diff]
pykde4-4.10.1-arm-sip.patch

(This is why we used to drop keywords with a new major version.)

I don't have access to any arm hardware, so can you test if this rebased patch works?
Comment 2 Markus Meier gentoo-dev 2013-04-10 21:08:04 UTC
(In reply to comment #1)
> Created attachment 344600 [details, diff] [details, diff]
> pykde4-4.10.1-arm-sip.patch
> 
> (This is why we used to drop keywords with a new major version.)
> 
> I don't have access to any arm hardware, so can you test if this rebased
> patch works?

the patch applies fine, but the configure phase fails (at least with python-3.1):

>>> Creating Manifest for /usr/portage/kde-base/pykde4
 * pykde4-4.10.1.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                                                                   [ ok ]
 * It seems that you need to set USE_PYTHON to make sure that legacy
 * packages will be built with respect to PYTHON_TARGETS correctly:
 *
 *      USE_PYTHON='2.5 2.6 2.7 3.1 3.2'
 *
 * Please note that after changing the USE_PYTHON variable, you may need
 * to run 'python-updater' to rebuild affected packages.
 *
 * For more information on python.eclass compatibility, please see
 * the appropriate python-r1 User's Guide chapter [1].
 *
 * [1] http://www.gentoo.org/proj/en/Python/python-r1/user-guide.xml#doc_chap2
 * python3_1: running scan_python_versions
 * python3_2: running scan_python_versions
 * python2_5: running scan_python_versions
 * python2_6: running scan_python_versions
 * python2_7: running scan_python_versions
>>> Unpacking source...
>>> Unpacking pykde4-4.10.1.tar.xz to /var/tmp/portage/kde-base/pykde4-4.10.1/work
>>> Source unpacked in /var/tmp/portage/kde-base/pykde4-4.10.1/work
>>> Preparing source in /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1 ...
 * Applying pykde4-4.10.1-arm-sip.patch ...                                                                                                                                                                                                                              [ ok ]
 * Will copy sources from /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1
 * python3_1: copying to /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1-python3_1
 * python3_2: copying to /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1-python3_2
 * python2_5: copying to /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1-python2_5
 * python2_6: copying to /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1-python2_6
 * python2_7: copying to /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1-python2_7
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1 ...
 * python3_1: running run_in_build_dir configuration
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1-python3_1"
cmake --no-warn-unused-cli -C /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1-python3_1/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DWITH_PolkitQt=OFF -DWITH_QScintilla=OFF -DWITH_Soprano=ON -DWITH_Nepomuk=ON -DWITH_KdepimLibs=ON -DPYTHON_EXECUTABLE=/usr/bin/python3.1 -DPYKDEUIC4_ALTINSTALL=TRUE -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1-python3_1/gentoo_rules.cmake  /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1-python3_1/gentoo_common_config.cmake
CMake Error: Error in cmake code at
/var/tmp/portage/kde-base/pykde4-4.10.1/work/pykde4-4.10.1/CMakeLists.txt:299:
Parse error.  Function missing ending ")".  End of file reached.
-- Configuring incomplete, errors occurred!
 * ERROR: kde-base/pykde4-4.10.1 failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 5059:  Called python_foreach_impl 'run_in_build_dir' 'configuration'
 *   environment, line 4630:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 3962:  Called _multibuild_run '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 3960:  Called _python_multibuild_wrapper 'run_in_build_dir' 'configuration'
 *   environment, line  908:  Called run_in_build_dir 'configuration'
 *   environment, line 4958:  Called configuration
 *   environment, line 5057:  Called kde4-base_src_configure
 *   environment, line 3448:  Called cmake-utils_src_configure
 *   environment, line 1509:  Called _execute_optionaly 'src_configure'
 *   environment, line  473:  Called enable_cmake-utils_src_configure
 *   environment, line 1851:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
Comment 3 Michael Palimaka (kensington) gentoo-dev 2013-04-11 11:09:03 UTC
Created attachment 345208 [details, diff]
pykde4-4.10.1-arm-sip.patch

Sorry, I missed a ).
Comment 4 Markus Meier gentoo-dev 2013-04-12 04:45:30 UTC
(In reply to comment #3)
> Created attachment 345208 [details, diff] [details, diff]
> pykde4-4.10.1-arm-sip.patch
> 
> Sorry, I missed a ).

this patch looks good, applies cleanly and emerges w/o issues. thanks!
Comment 5 Michael Palimaka (kensington) gentoo-dev 2013-04-12 14:07:17 UTC
Thanks, fixed in CVS and git.

+  12 Apr 2013; Michael Palimaka <kensington@gentoo.org>
+  +files/pykde4-4.10.1-arm-sip.patch, -files/pykde4-4.4.4-arm-sip.patch,
+  pykde4-4.10.1.ebuild, pykde4-4.10.2.ebuild:
+  Update arm patch wrt bug #464750.

http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=0bdd10998bbed05491d76c9aad4ae7d8f4a23f1f