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

Bug 628060

Summary: sys-apps/portage-2.3.7: quickpkg only creates package for lowest version when atom matches multiple slots
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Binary packages supportAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: REGRESSION
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=628010
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 627566    

Description Zac Medico gentoo-dev 2017-08-16 21:34:24 UTC
Since commit cff2c0149142843316e1851c2e73bcec30f08471, the quickpkg_atom function returns prematurely in these 2 places:

@@ -154,16 +177,20 @@ def quickpkg_atom(options, infos, arg, eout):
 			eout.eerror(str(e))
 			del e
 			eout.eerror("Failed to create package: '%s'" % binpkg_path)
+			return 1
 		else:
 			eout.eend(0)
 			infos["successes"].append((cpv, s.st_size))
 			infos["config_files_excluded"] += len(excluded_config_files)
 			for filename in excluded_config_files:
 				eout.ewarn("Excluded config: '%s'" % filename)
+			return os.EX_OK
Comment 2 Zac Medico gentoo-dev 2017-08-17 00:29:15 UTC
Fixed in 2.3.8.