Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645110 - app-arch/xz-utils should inherit preserve-libs.eclass directly
Summary: app-arch/xz-utils should inherit preserve-libs.eclass directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 645108
  Show dependency tree
 
Reported: 2018-01-20 13:05 UTC by Ulrich Müller
Modified: 2018-04-30 11:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2018-01-20 13:05:10 UTC
The following ebuilds inherit eutils for preserve_old_lib{,_notify}. Since these functions have been split off to preserve-libs.eclass, the following ebuilds should be updated to inherit preserve-libs directly.

   app-arch/xz-utils-5.2.2
   app-arch/xz-utils-5.2.3
   app-arch/xz-utils-9999

Please also check if preserve_old_lib{,_notify} were the only functions for which eutils was needed, in which case it can be dropped.
Comment 1 Patrick Lauer gentoo-dev 2018-04-30 06:15:06 UTC
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
/var/tmp/portage/app-arch/xz-utils-5.2.4/temp/environment: line 1460: preserve_old_lib_notify: command not found
>>> app-arch/xz-utils-5.2.4 merged.
>>> Regenerating /etc/ld.so.cache...

This is now actively broken :)
Comment 2 Ulrich Müller gentoo-dev 2018-04-30 10:03:56 UTC
(In reply to Patrick Lauer from comment #1)
> >>> Regenerating /etc/ld.so.cache...
> >>> Original instance of package unmerged safely.
> /var/tmp/portage/app-arch/xz-utils-5.2.4/temp/environment: line 1460:
> preserve_old_lib_notify: command not found
> >>> app-arch/xz-utils-5.2.4 merged.
> >>> Regenerating /etc/ld.so.cache...
> 
> This is now actively broken :)

This is because eutils has been dropped in xz-utils-5.2.4.ebuild, but preserve-libs hasn't been added.
Comment 3 Larry the Git Cow gentoo-dev 2018-04-30 11:31:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2baa84cb266df2a1cf405f147aaf88b75dff0112

commit 2baa84cb266df2a1cf405f147aaf88b75dff0112
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-04-30 11:30:41 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-04-30 11:31:30 +0000

    app-arch/xz-utils: Revbump to fix preserve-libs functionality.
    
    Closes: https://bugs.gentoo.org/645110
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 app-arch/xz-utils/{xz-utils-5.2.4.ebuild => xz-utils-5.2.4-r1.ebuild} | 2 +-
 app-arch/xz-utils/xz-utils-9999.ebuild                                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2018-04-30 11:36:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=840b795517085fb6eff1a95fa0e93f487dbdbe5d

commit 840b795517085fb6eff1a95fa0e93f487dbdbe5d
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-04-30 11:27:15 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-04-30 11:35:56 +0000

    app-arch/xz-utils: Inherit preserve-libs eclass
    
    Closes: https://bugs.gentoo.org/645110
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 app-arch/xz-utils/xz-utils-5.2.2.ebuild | 2 +-
 app-arch/xz-utils/xz-utils-5.2.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)