Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673298 - dev-db/mariadb-10.3.10: //usr/bin/my_print_defaults: No such file or directory
Summary: dev-db/mariadb-10.3.10: //usr/bin/my_print_defaults: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-16 23:59 UTC by Albert W. Hopkins
Modified: 2018-12-18 02:40 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 Albert W. Hopkins 2018-12-16 23:59:06 UTC
I've installed mariadd.  However when I run "emerge --dev-db/mariadb" it fails with the following:

--
Configuring pkg...

 * Trying to get password for mysql 'root' user from 'mysql' section ...
/var/tmp/portage/dev-db/mariadb-10.3.10-r1/temp/environment: line 4880: //usr/bin/my_print_defaults: No such file or directory
 * Trying to get password for mysql 'root' user from 'client' section ...
/var/tmp/portage/dev-db/mariadb-10.3.10-r1/temp/environment: line 4880: //usr/bin/my_print_defaults: No such file or directory
/var/tmp/portage/dev-db/mariadb-10.3.10-r1/temp/environment: line 4880: //usr/bin/my_print_defaults: No such file or directory
/var/tmp/portage/dev-db/mariadb-10.3.10-r1/temp/environment: line 4880: //usr/bin/my_print_defaults: No such file or directory
/var/tmp/portage/dev-db/mariadb-10.3.10-r1/temp/environment: line 4880: //usr/bin/my_print_defaults: No such file or directory
--

my_print_defaults exists, but not in the specified location:

--
# find / -xdev -name my_print_defaults
/usr/libexec/mariadb/my_print_defaults
--

This used to work before upgrading to 10.3.10-r1.

--
# emerge --info '=dev-db/mariadb-10.3.10-r1::gentoo'
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/systemd, gcc-7.3.0, glibc-2.27-r6, 4.14.83-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.83-gentoo-x86_64-Intel_Xeon_E3-12xx_v2_-Ivy_Bridge,_IBRS-with-gentoo-2.6
KiB Mem:    10217840 total,    473752 free
KiB Swap:     524284 total,    524284 free
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          3.6.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os  -Qn -s"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -Qn -s"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --autounmask=n"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nodoc noinfo noman nostrip notitles parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/etc/default/grub /etc/locale.gen /etc/fstab /etc/issue /usr/share/doc"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="amd64 bindist ipv6 nptl openssl pam split-usr systemd udev unicode" ABI_X86="64" CURL_SSL="openssl" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_6" USERLAND="GNU"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-db/mariadb-10.3.10-r1::gentoo was built with the following:
USE="bindist innodb-snappy pam server sphinx systemd -backup (-client-libs) -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -jdbc -jemalloc -kerberos -latin1 -libressl -mroonga -numa -odbc -oqgraph -perl -profiling -rocksdb (-selinux) -sst-mariabackup -sst-rsync -sst-xtrabackup -static -systemtap -tcmalloc -test -tokudb -xml -yassl" ABI_X86="(64)"
CFLAGS="-Os -Qn -s -fno-strict-aliasing"
CXXFLAGS="-Os -Qn -s -felide-constructors -fno-strict-aliasing"
Comment 1 Larry the Git Cow gentoo-dev 2018-12-18 02:40:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=912b2cf39807f29cb4428dfd09e42e2d7f40a246

commit 912b2cf39807f29cb4428dfd09e42e2d7f40a246
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2018-12-18 02:40:34 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2018-12-18 02:40:34 +0000

    dev-db/mariadb: Version bump for 10.3.11
    
    Includes fixes for dangling symlink QA report
    and pkg_config path for my_print_defaults
    
    Closes: https://bugs.gentoo.org/673348
    Closes: https://bugs.gentoo.org/673298
    Closes: https://bugs.gentoo.org/660972
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 dev-db/mariadb/Manifest                                             | 1 +
 .../mariadb/{mariadb-10.3.10-r1.ebuild => mariadb-10.3.11.ebuild}   | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)