aboutsummaryrefslogtreecommitdiff
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* NEWS: fix typoHEADmasterSam James26 hours1-1/+1
| | | | | | Reported by Eli. Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.66portage-3.0.66Sam James26 hours1-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James26 hours1-1/+40
| | | | | Bug: https://bugs.gentoo.org/933499 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: Announce unpack changesUlrich Müller41 hours1-0/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* NEWS: Fix FETCHCOMMAND spellingZac Medico2024-08-031-1/+1
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* _EbuildFetcherProcess: Handle SIGTERMZac Medico2024-08-031-0/+3
| | | | | | | | | | | | | | | | | | | | | Fix _EbuildFetcherProcess to handle SIGTERM, so that FETCHCOMMAND processes will not be left running in the background: * Convert the fetch function to an async_fetch coroutine function so that it can use asyncio.CancelledError handlers to terminate running processes. * Use multiprocessing.active_children() to detect and terminate any processes that asyncio.CancelledError handlers did not have an opportunity to terminate because the exception arrived too soon after fork/spawn. * Add unit test to verify that a child process is correctly killed when EbuildFetcher is cancelled, with short timeout in case it takes some time for the process to disappear. Bug: https://bugs.gentoo.org/936273 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* JobStatusDisplay: show length of merge-wait queueFlorian Schmaus2024-08-021-0/+1
| | | | | | | | | | Since FEATURES=merge-wait is now the default, the length of the merge-wait queue becomes more relevant. Hence show it as part of portage's job status display. Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1347 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* make.globals: add bcachefs_effective.* and bcachefs.* to PORTAGE_XATTR_EXCLUDEFlorian Schmaus2024-07-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Just like btrfs the bcachefs filesystem makes heaviy use of xattrs. In my case emerge --config gentoo-kernel failed with install-xattr: setxattr() failed: Operation not supported A strace revealed setxattr("/boot/efi/8410476acd4b1e12c678fc815c18f551/6.9.5-gentoo-dist/linux", "bcachefs_effective.background_co"..., "zstd", 4, 0) = -1 EOPNOTSUPP (Operation not supported) and indeed, the source file to the install operation was under /usr/src which had background compression enabled. As a result, install-xattr tried to copy the attribute over to the destination file and failed. Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1346 Signed-off-by: Sam James <sam@gentoo.org>
* config: Allow a repository to be configured using one of its aliasesJames Le Cuirot2024-07-101-0/+3
| | | | | | | | | | | | | | | | | | | Currently, the `[name]` in repos.conf can only match the primary name. This is inconvenient if a repository wants to change its name without breaking existing configurations. This raises the question of whether to then use the primary name or the alias in the UI and in the vardb. I went with the primary name because this is presumably the name that the repository actually wants you to use. If the configured name matches neither the primary name nor an alias, then emaint sync will simply claim that it is not found, but that behaviour is unchanged from before. Bug: https://bugs.gentoo.org/935830 Closes: https://github.com/gentoo/portage/pull/1358 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* vartree, movefile: Warn when rewriting a symlinkUlrich Müller2024-06-191-0/+2
| | | | | | | | | | See PMS section 13.4.1 (Rewriting): Any absolute symlink whose link starts with D must be rewritten with the leading D removed. The package manager should issue a notice when doing this. Bug: https://bugs.gentoo.org/934514 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* bin/ebuild.sh: disable globskipdots too in Bash 5.2Sam James2024-06-131-0/+6
| | | | | | | | | | | | See 69cac73ba0a7bcf2e2cff88c60d389895a550623. globskipdots is a new option in bash-5.2 that is also default-on in that release. The default value is not gated by BASH_COMPAT (see bug #907061), hence we need to disable it for older Bashes to avoid behaviour changes in ebuilds and eclasses. Bug: https://bugs.gentoo.org/907061 Signed-off-by: Sam James <sam@gentoo.org>
* emerge: Make --root-deps install build deps to ROOT plus / for all EAPIsJames Le Cuirot2024-06-111-0/+8
| | | | | | | | | | | Rather than instead of / for EAPI 6 and below. This changes the behaviour, but it is arguably not a breaking change, as no installations are being dropped. The previous behaviour was highly likely to break anyway. Bug: https://bugs.gentoo.org/435066 Closes: https://github.com/gentoo/portage/pull/1319 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.65portage-3.0.65Sam James2024-06-041-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: prepare forSam James2024-06-041-1/+63
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: fix typo in placeholderSam James2024-04-281-1/+1
| | | | | Fixes: 60d3ffc6b9168b0bfa0cd601b3664e261fc90685 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2024-04-281-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* meson.build, NEWS: prepare for portage-3.0.64portage-3.0.64Sam James2024-04-281-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2024-04-281-0/+93
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Update NEWSMike Gilbert2024-03-071-0/+2
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* Fix NEWSMike Gilbert2024-02-251-2/+1
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* Add workaround for loading libc on muslMike Gilbert2024-02-251-0/+7
| | | | | | | musl libc has no soname, which causes ctypes.util.find_library to fail. As a fallback, try to load "libc.so". Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.63portage-3.0.63Sam James2024-02-251-1/+29
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* bin/install-qa-check.d: 90gcc-warnings: drop GCC warnings with known (heavy) FPsSam James2024-02-251-0/+2
| | | | | | | | | | | | | | | | Drop -Wstringop-overflow, -Wstringop-overread, -Wstringop-truncation, -Waddress, and -Wreturn-local-addr for now because they cause too many FPs. We want only reliable warnings for this Portage QA check as we encourage people to report these upstream. Bug: https://gcc.gnu.org/PR88443 Bug: https://gcc.gnu.org/PR88781 Bug: https://gcc.gnu.org/PR93644 Bug: https://gcc.gnu.org/PR97048 Bug: https://gcc.gnu.org/PR103360 Bug: https://bugs.gentoo.org/925460 Signed-off-by: Sam James <sam@gentoo.org>
* emerge: Skip installed packages with emptytree in depgraph selectionGábor Oszkár Dénes2024-02-231-0/+6
| | | | | | | | | | | | | | Running emerge with emptytree tries to find the best match for every atom it needs to install. Sometimes the best matches would be already installed packages (with `operation=nomerge`), but these packages would be silently skipped with full emptytree installation. This change makes sure that emerge attempts to install every package. If the package has unmet requirements, emerge will complain. Bug: https://bugs.gentoo.org/651018 Signed-off-by: Gábor Oszkár Dénes <gaboroszkar@protonmail.com> Closes: https://github.com/gentoo/portage/pull/1272 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.62portage-3.0.62Sam James2024-02-221-4/+10
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2024-02-221-2/+46
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* ELF: add entries for ARC machinesMatoro Mahri2024-02-091-0/+1
| | | | | | Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/portage/pull/1166 Signed-off-by: Sam James <sam@gentoo.org>
* cnf: add arch-specific configuration example for arcMatoro Mahri2024-02-091-0/+6
| | | | | Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.61portage-3.0.61Sam James2024-01-051-1/+11
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: fix typoSam James2024-01-051-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* bintree: don't call trust helper unless bindb is writableSam James2024-01-021-1/+2
| | | | | | | | | | | | | | | | Followup to 6ae45739e208b7a9d59e0b6056be72a5791aae04. My qualm there wrt writable was whether or not doing something which mutated state (and therefore possibly the package list) would be confusing but that doesn't make much sense for a few reasons. Anyway, change the test to be not just for no-pretend, but also whether the bindb is writable too, as pretend is already a proxy for whether we may not have privileges (I can imagine someone possibly having bindb privileges but not /etc/portage/gnupg, so better to just head this off entirely). Bug: https://bugs.gentoo.org/915842 Bug: https://bugs.gentoo.org/920180 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: add placeholderSam James2024-01-021-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.60portage-3.0.60Sam James2024-01-021-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2024-01-021-0/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2024-01-021-0/+14
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: mention git sync improvement for --verbose or failureSam James2023-12-271-0/+3
| | | | | | See 1339a02103f57c456851d69d427bc130bcb671bc. Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.59portage-3.0.59Sam James2023-12-271-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-12-271-1/+28
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* ebuild.sh: Warn about colon-separated argument in sandbox functionsUlrich Müller2023-12-271-0/+4
| | | | | | | | | | | | | According to PMS and the Devmanual, only a single item is allowed as argument for addread, addwrite, adddeny and addpredict: https://projects.gentoo.org/pms/8/pms.html#x1-12300012.3.3 https://devmanual.gentoo.org/function-reference/sandbox-functions/ The previous usage message (contrary to Devmanual policy) had been added in commit 0c6454261c514f021a4ddce2415a68773027ed6a. Bug: https://bugs.gentoo.org/920654 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* depclean: return failure when no packages are selected for depcleanJohn Helmert III2023-12-151-0/+6
| | | | | | | | | | | | | | | Based on the preceding writemsg, one might think that this function could be used for more than depcleans, but there's no other reference to it in the codebase. With this patch: $ sudo ./bin/emerge --debug --verbose --depclean foo; echo $? myaction depclean myopts {'--debug': True, '--binpkg-respect-use': 'y', '--quiet-build': 'y', '--regex-search-auto': 'y', '--verbose': True} [DEBUG] Using selector: EpollSelector Signed-off-by: John Helmert III <ajak@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.58portage-3.0.58Sam James2023-12-141-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-12-101-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: add placeholderSam James2023-12-101-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS, meson.build: prepare for portage-3.0.57portage-3.0.57Sam James2023-12-101-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-12-101-0/+4
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-12-101-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-12-101-0/+12
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sets: VariableSet: flatten dependenciesSam James2023-12-091-0/+3
| | | | | | | | | This is needed to pick up www-client/firefox's BDEPEND of "|| ( virtual/rust:0/a virtual/rust:0/b ...)" for @rust-rebuild. Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1203 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-12-081-0/+3
| | | | | Bug: https://bugs.gentoo.org/919419 Signed-off-by: Sam James <sam@gentoo.org>
* NEWS: updateSam James2023-12-041-0/+4
| | | | Signed-off-by: Sam James <sam@gentoo.org>