Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628060 - sys-apps/portage-2.3.7: quickpkg only creates package for lowest version when atom matches multiple slots
Summary: sys-apps/portage-2.3.7: quickpkg only creates package for lowest version when...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks: 627566
  Show dependency tree
 
Reported: 2017-08-16 21:34 UTC by Zac Medico
Modified: 2017-08-17 00:29 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 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.