Summary: | =app-backup/backintime-1.0.24-r1 - python_optimize is not to be used in pre/post* phases | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Strahl <c.a.strahl> |
Component: | Current packages | Assignee: | Michael Weber (RETIRED) <xmw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs, daniel, darw_dobz, jer, mihais23, Timewulf |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 496830 | ||
Attachments: |
backintime-1.0.24-r1-python.patch
backintime-1.0.24-r2.diff simply to resolve this error message. backintime-1.0.24-r2.diff to patch runtime error |
Description
Christian Strahl
2013-07-13 21:36:17 UTC
ping Index: backintime-1.0.24-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-backup/backintime/backintime-1.0.24-r1.ebuild,v retrieving revision 1.2 diff -u -B -r1.2 backintime-1.0.24-r1.ebuild --- backintime-1.0.24-r1.ebuild 28 Jul 2013 08:12:45 -0000 1.2 +++ backintime-1.0.24-r1.ebuild 2 Jan 2014 15:43:56 -0000 @@ -61,17 +61,6 @@ -i gnome/backintime-gnome \ -i kde4/backintime-kde4 || die - backintime_variants="common $(usex gnome gnome "") $(usex kde kde4 '')" - backintime_run() { - local variant - for variant in ${backintime_variants} ; do - einfo "$variant: run \"$@\"" - pushd "${S}"/${variant} || die - "${@}" || die - popd - done - } - if [ -n ${LINGUAS+x} ] ; then cd common/po || die for po in *.po ; do @@ -82,18 +71,27 @@ fi } +backintime_run() { + local variant + for variant in ${backintime_variants} ; do + pushd "${S}"/${variant} || die + default ${@} + popd + done +} + src_configure() { - backintime_run econf + backintime_variants="common $(usex gnome gnome "") $(usex kde kde4 '')" + + backintime_run } src_compile() { - backintime_run emake + backintime_run } src_install() { - backintime_run emake DESTDIR="${D}" install -} - -pkg_postinst() { + backintime_run DESTDIR="${D}" install python_optimize "${D}" + python_fix_shebang "${D}" } This should likely fix the other fail bugs, too. Created attachment 366782 [details, diff]
backintime-1.0.24-r1-python.patch
Copy paste fail
Created attachment 366868 [details, diff]
backintime-1.0.24-r2.diff simply to resolve this error message.
I was on IRC yesterday and offered to help a user named luyin to modify his ebuild so he could install to his. This patch allowed the ebuild to install without issue.
Created attachment 366870 [details, diff]
backintime-1.0.24-r2.diff to patch runtime error
After using the applying the previous patch, upon runtime, luyin received a runtime error that was traced to the version of dev-python/keyring installed. This forces <dev-python/keyring-3
*** Bug 508664 has been marked as a duplicate of this bug. *** same problem now with the new version 1.0.34 now in the tree +*backintime-1.0.36 (15 Aug 2014) + + 15 Aug 2014; Michael Weber <xmw@gentoo.org> +backintime-1.0.36.ebuild, + -backintime-1.0.34.ebuild, -backintime-1.0.8-r1.ebuild, + -backintime-1.0.8.ebuild, backintime-1.0.24-r1.ebuild: + Drop old, fix python_optimize invocation (bug 476776) and version bump (bug + 519810), thanks Christian Strahl. + (In reply to NP-Hardass from comment #5) > Created attachment 366870 [details, diff] [details, diff] > backintime-1.0.24-r2.diff to patch runtime error > > After using the applying the previous patch, upon runtime, luyin received a > runtime error that was traced to the version of dev-python/keyring > installed. This forces <dev-python/keyring-3 I need some time with a gnome/kde box to test the keyring-3 issue, keepng this open (In reply to Michael Weber from comment #9) > (In reply to NP-Hardass from comment #5) > > Created attachment 366870 [details, diff] [details, diff] [details, diff] > > backintime-1.0.24-r2.diff to patch runtime error > > > > After using the applying the previous patch, upon runtime, luyin received a > > runtime error that was traced to the version of dev-python/keyring > > installed. This forces <dev-python/keyring-3 > > I need some time with a gnome/kde box to test the keyring-3 issue, keepng > this open I cannot reproduce the problem, please open a new bug for this subject if the problem persists in 1.0.36. |