Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 610764

Summary: [Tracker] Packages with duplicated phase functions
Product: Quality Assurance Reporter: Alex Efros <powerman-asdf>
Component: TrackersAssignee: Gentoo Quality Assurance Team <qa>
Status: UNCONFIRMED ---    
Severity: normal CC: dev-portage, fturco
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=365691
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 861497, 862615    
Bug Blocks:    

Description Alex Efros 2017-02-24 03:14:53 UTC
I've found a dozen of ebuilds which defines some function more than once, thus second definition will overwrite first one. In some ebuilds both functions are the same, so it's just a cleanup issue. But in other ebuilds both functions are different and thus it's most likely a bug. Let me know if you need separate bugreports for each package.

net-analyzer/nagios-core/nagios-core-3.5.1.ebuild
      2 pkg_postinst()
dev-libs/libxdiff/libxdiff-0.23-r1.ebuild
      2 src_install()
media-video/tovid/tovid-0.35.2-r1.ebuild
      2 pkg_postinst()
sys-process/runit/runit-2.1.2-r1.ebuild
      2 pkg_preinst()
dev-db/ctdb/ctdb-9999.ebuild
      2 src_prepare()
dev-python/foolscap/foolscap-0.11.0.ebuild
      2 python_test()
dev-python/foolscap/foolscap-0.10.1.ebuild
      2 python_test()
dev-python/foolscap/foolscap-0.8.0.ebuild
      2 python_test()
media-libs/libopenraw/libopenraw-0.0.9.ebuild
      2 pkg_postinst()
x11-libs/gdk-pixbuf-loader-webp/gdk-pixbuf-loader-webp-20160328234507.ebuild
      2 pkg_postinst()
games-strategy/endless-sky/endless-sky-0.9.1.ebuild
      2 pkg_postinst()

Maybe it worth to add automated check for this issue to repoman?
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-06 22:42:03 UTC
Let's call this one a tracker, I guess, and use bug 365691 for adding a check.