| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We are reading multiple sections from my.cnf at once from my.cnf when
looking for the password for the mysql root user in
mysql-multilib-r1_pkg_config().
If each section has set a password option this will result in the following
invalid password value (with "set -x"):
++ local extra_options=
++ //usr/bin/my_print_defaults client mysql
++ sed -n '/^--password=/s,--password=,,gp'
+ MYSQL_ROOT_PASSWORD='*****
*****'
+ [[ *****
***** == \*\*\*\*\* ]]
+ set +x
Like you can see the two passwords are concatenated via newline in one
string which is not what we want.
With this commit we will no longer read all sections at once instead we
read section per section. We are now also telling the user where we are
looking for the password and where we found one. In addition this commit
adds a sanity check for newline to catch scenarios where the user for
example has inadvertently set multiple password options in one section
which we can't handle: In that case it is better to prompt for a password
like no password was set in my.cnf instead of initializing mysqld with a
mysql root password the user is not expecting.
Gentoo-Bug: https://bugs.gentoo.org/510724
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since dev-db/percona-server was bumped to EAPI=6 usage mysql_fx eclass is
no longer inherited [Link1] which results in an error like
> # emerge --config dev-db/percona-server
>
> Configuring pkg...
>
> * Creating the mysql database and setting proper permissions on it ...
> /var/tmp/portage/dev-db/percona-server-5.6.32.78.0/temp/environment: line 4697: mysql_version_is_at_least: command not found
To fix this problem I replaced the call to "mysql_version_is_at_least"
function from mysql_fx eclass with a call to "version_is_at_least" function
from versionator eclass we are already inheriting [Link2].
Link1: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mysql-multilib-r1.eclass?id=b3ae687988d49123628757aa8c5422bdd3b444fb#n46
Link2: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mysql-multilib-r1.eclass?id=b3ae687988d49123628757aa8c5422bdd3b444fb#n43
Gentoo-Bug: https://bugs.gentoo.org/594298
|
| |
|
| |
|
| |
|
|
|
|
| |
Package-Manager: portage-2.2.28
|
|
|
|
| |
Signed-off-by: layman <layman@localhost>
|
|
|
|
| |
This eclass has not been ported for EAPI 6 yet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While at it:
- dropped internal 'ghc-sanecabal()' helper
- factored out parallelism setup to new 'ghc-make-args()' function
- building initial Setup binary now also uses 'ghc-make-args()'
- dropped unused CABAL_MIN_VERSION global variable
Fixed bug in 'ghc-make-args()' to work on NOSMP ports of GHC:
We use 'qb0' to enable parallel GC. Parallel GC requires SMP
support and threaded runtime.
Reported by iota__ on arm/ghc-8 where there is support for
parallel make but not the SMP support:
,("Host platform","arm-unknown-linux")
,("Support SMP","NO")
,("Support parallel --make","YES")
,("RTS ways","l debug thr...
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
| |
|
| |
|
|
|
|
| |
Bug: 591160
|
| |
|
|
|
|
|
|
|
| |
This reverts commit ac8c7b0f47bb1f266193375b67a6fd566d0f76d5.
Makes packages with custom FEATURE_SUMMARY fail as can be seen in
https://bugs.gentoo.org/593230
|
|
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/2139
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
|
|
|
| |
Bug: https://bugs.gentoo.org/583762
|
| |
|
|
|
|
|
|
|
|
|
| |
Add a get_exeext function that can be used to obtain executable program
suffix specific to the platform, in line with get_libname and
get_modname. It is necessary to correctly reference built programs on
non-standard platforms where executables use some suffix (like .exe).
Original author: Gerhard Bräunlich
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've explored scalability of 'ghc --make -j' a bit in
https://ghc.haskell.org/trac/ghc/ticket/9221
Some takeaways:
- never specify -j<N> with N > CPU. garbage collector threads
waste kernel time running sched_yield()
- GHC allocates A Lot: large nursery decreases GC interruptions.
We fix it with '-A256M'
- for large nursery enabling work-stealing makes GC finish faster
on each collection cycle.
We fix it with -qb0
While at it move HCFLAGS setup after parallel defaults.
That allows user to override defaults with own HCFLAGS.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As part of the user requested feature from [Gentoo-Bug #543878]
eutils.eclass shows a warning regarding user applied patches in case of an
error [Link 1].
However this warning will always be shown even if no user patch were
applied at all (example: empty /etc/portage/<cat>/<pkg> directory).
This commit adds a new global variable "EPATCH_N_APPLIED_PATCHES" which
tracks the number of applied user patches. This allows us to only show the
notice when user patches were really applied.
Link: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?r1=1.443&r2=1.444
Gentoo-Bug: https://bugs.gentoo.org/543878
|
| |
|
|
|
|
| |
Add kdevelop-pg-qt SRC_URIs
|
|
|
|
| |
Prime example: dev-util/kdevplatform with 24 test* subdirs
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Homepage is https://www.kde.org/applications/office/kontact/
Package-Manager: portage-2.2.28
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Support for the creation of PT_PAX_FLAGS program headers in ELF objects is being
dropped in >=sys-devel/binutils-2.26.1. Running paxctl -C or -c either to create
a PT_PAX_FLAGS header or to convert a PT_GNU_STACK header on such ELF objects
results in broken executables. For backwards compatibility we continue to support
PT_PAX_FLAGS markings with paxctl but remove these unsafe methods from the eclass.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=590422
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
sys-kernel/git-sources.
This is to work around a possible bug in patch when attempting to patch
kernel trees checked out from git that remove a symlink and replace it
with a file of the same name. See Bug #507656.
Signed-off-by: Joshua Kinard <kumba@gentoo.org>
Acked-by: Mike Pagano <mpagano@gentoo.org>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- add EAPI 6 support;
- disable automatic support of future eclasses;
- disable bootstrap and src_prepare in EAPI=6 (PATCHES can be used
instead).
|