summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Bug #338588 - Allow quickpkg to create packages even though theZac Medico2010-09-251-3/+10
| | | | current user doesn't have permission to lock /var/db/pkg.
* In EbuildIpc._receive_reply(), close the input_file when finished.v2.2_rc86Zac Medico2010-09-211-0/+2
|
* In EbuildIpc._wait(), use waitpid() instead of wait() since we reallyZac Medico2010-09-211-1/+1
| | | | only need to wait on one process.
* Bug #337465 - Make ebuild-ipc use an array in order to force aZac Medico2010-09-211-3/+16
| | | | single atomic read of a whole pickle.
* Make ebuild-ipc use select() for timeouts, instead of alarm signals.Zac Medico2010-09-211-29/+44
|
* Fix default() and default_src_install() definitions to account forZac Medico2010-09-201-0/+10
| | | | the new EAPI 4 default src_install implementation.
* Make ebuild-ipc use a normal read() call instead of array.fromfile()Zac Medico2010-09-201-13/+3
| | | | since that should work fine for blocking IO.
* Make ebuild-ipc kill the child IO process before it exits due to timeout.Zac Medico2010-09-201-1/+8
|
* Fix ebuild-ipc to correctly handle non-zero return codes fromZac Medico2010-09-201-4/+8
| | | | has_version ipc calls.
* Rewrite ebuild-ipc timeout handling to use forks.Zac Medico2010-09-201-62/+85
| | | | | | | Use forks so that the child process can handle blocking IO un-interrupted, while the parent handles all timeout considerations. This helps to avoid possible race conditions from interference between timeouts and blocking IO operations.
* Make ebuild-ipc show an additional 'read failed' message if the bufferZac Medico2010-09-201-1/+8
| | | | happens to be empty after the read loop.
* If ebuild-ipc times out during read, check if the read buffer isZac Medico2010-09-201-2/+4
| | | | non-empty in order to try to avoid a possible race condition.
* Revert "Add option -s to docompress command."Ulrich Mueller2010-09-201-7/+1
| | | | This reverts commit f2375609adc80ebe5395d84902af4045ecea2f73.
* Make repoman tolerate errors from utime() when fetching metadata.dtd.Zac Medico2010-09-191-2/+9
|
* Fix ebuild-ipc.py to timeout if necessary when opening input_fileZac Medico2010-09-181-2/+8
| | | | in blocking mode.
* Use blocking IO in ebuild-ipc.py and EbuildIpcDaemon._send_reply(),Zac Medico2010-09-181-17/+1
| | | | in hopes that it will be more portable (see bug #337465).
* Put more variables in PORTAGE_READONLY_VARS instead of usingZac Medico2010-09-172-24/+20
| | | | save_ebuild_env() to unset them.
* Rename READONLY_EBUILD_METADATA and READONLY_PORTAGE_VARS to startZac Medico2010-09-172-5/+6
| | | | with PORTAGE_, and make them both readonly.
* Remove unused PORTAGE_MASTER_PID variable.Zac Medico2010-09-171-1/+1
|
* Add virtual/linux-sources to repoman's RDEPEND.suspect check.Zac Medico2010-09-171-0/+1
| | | | http://archives.gentoo.org/gentoo-dev/msg_adb45dedc05bc023de23be90015e8629.xml
* Don't unset PORTAGE_BUILDDIR in save_ebuild_env() since it'sZac Medico2010-09-171-1/+1
| | | | readonly now.
* Add PORTAGE_BUILDDIR to READONLY_PORTAGE_VARS since it's extremelyZac Medico2010-09-171-1/+1
| | | | important now that ebuild-ipc relies on it.
* Bug #337180 - Add a --unmatched-removal option for stricter checkingZac Medico2010-09-151-0/+4
| | | | of package.mask and package.unmask files for unmatched removal atoms.
* Make ebuild-ipc.py close the output_file before trying to re-open itZac Medico2010-09-141-2/+6
| | | | after it has timed out.
* Bug #336433 - Don't filter the DCCC_PATH variable from environment sinceZac Medico2010-09-141-1/+1
| | | | that breaks distcc ebuilds.
* Add option -s to docompress command.Ulrich Mueller2010-09-141-1/+7
|
* Revert "Remove ebuild-helpers/preplib (bug 102297)"Zac Medico2010-09-141-0/+28
| | | | | This reverts commit 811689f349a91b44448bc8e294903abf990eac45. The preplib helper is still used by at least by stable sys-libs/lib-compat ebuilds.
* Make ebuild-ipc timeout messages show which operation timed out.Zac Medico2010-09-141-6/+11
|
* Bug #336142 - Make ebuild-ipc.py keep trying to communicate indefinitely,Zac Medico2010-09-141-36/+98
| | | | as long as $PORTAGE_BUILDDIR is locked.
* Remove ebuild-helpers/preplib (bug 102297)Sebastian Luther2010-09-131-28/+0
|
* Make sure atoms in profiles follow the profiles EAPISebastian Luther2010-09-131-1/+1
|
* Bug #336873 - Add a leading comma when matching --hash-style=gnuZac Medico2010-09-131-1/+1
| | | | in LDFLAGS, in order to try and filter out invalid settings.
* Bug #337031 - Don't make "always overflow destination buffers" gccv2.2_rc81Zac Medico2010-09-121-3/+4
| | | | warnings fatal for now.
* Bug #336142 - Use a longer timeout for ebuild-ipc, in case the system isZac Medico2010-09-121-1/+3
| | | | heavily loaded.
* Bug #273282 - Make install_qa_check() eqawarn about installation intov2.2_rc79Zac Medico2010-09-101-1/+12
| | | | | | these deprecated directories: etc/app-defaults usr/man usr/info usr/X11R6 usr/doc usr/locale
* Fix the "alway overflow" eerror message to not use the messageZac Medico2010-09-101-1/+1
| | | | intended for "implicit pointer".
* Make the "always overflow" gcc warning code use a separate variableZac Medico2010-09-101-8/+20
| | | | | from the "implicit pointer" code in install_qa_check(), so they don't interfere.
* Remove redundant local retval declaration in has_version().Zac Medico2010-09-101-1/+0
|
* Make ebuild-ipc.py suppress IOError just like it does for EOFErrorZac Medico2010-09-101-3/+1
| | | | when the buffer is non-empty.
* Make ebuild-ipc.py handle exceptions from pickle.loads().Zac Medico2010-09-101-11/+15
|
* Make ebuild-ipc.py display EOFError if no data is read from theZac Medico2010-09-101-2/+2
| | | | pipe.
* Add missing comma in tuple.Zac Medico2010-09-091-2/+2
|
* Make the "warning: call to .* will always overflow destination buffer"Zac Medico2010-09-091-0/+3
| | | | | gcc warning fatal. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion.
* Bug #336644 - Make ebuild-ipc.py use array.fromfile() to read picklesZac Medico2010-09-092-33/+36
| | | | | | | in single atomic non-blocking read() calls, similar to how AbstractPollTask._read_buf() does it. If the read fails, exit with status 2 so that best_version() and has_version() can detect the error and die when necessary.
* Filter the FEATURES variable out of the environment between phases,Zac Medico2010-09-071-2/+3
| | | | | | | so that it always matches the latest value from the config class and it can never be stale. With the ability to use package.env for per-package FEATURES settings, there's no need for bashrc to make persistent modifications to the FEATURES variable.
* Fix dyn_setup 'already setup' message to refer to setup instead ofZac Medico2010-09-071-1/+1
| | | | prepare.
* Move stale elog cleanup code from ebuild.sh to _doebuild_spawn(), soZac Medico2010-09-071-10/+11
| | | | that elog messages generated by bashrc are preserved when appropriate.
* Define EBUILD_MASTER_PID earlier in ebuild.sh, before $EBUILD isv2.2_rc76Zac Medico2010-09-061-4/+8
| | | | sourced.
* Bug #336285 - Add workaround to unpack() in order to prevent unzipZac Medico2010-09-061-0/+3
| | | | from interactively prompting under some error conditions.
* Remove all \a (alert/bell/beep) tokens (bug 336024)Sebastian Luther2010-09-063-26/+23
|