Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560730 - dev-db/percona-server-5.6.26.74.0 - touch: cannot touch ‘mysql/storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake’: No such file or directory
Summary: dev-db/percona-server-5.6.26.74.0 - touch: cannot touch ‘mysql/storage/tokudb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-17 21:05 UTC by Thomas Deutschmann (RETIRED)
Modified: 2015-09-18 14:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
percona-server has renamed ft-index directory (ftdir-percona-server.patch,944 bytes, patch)
2015-09-17 21:40 UTC, Thomas Deutschmann (RETIRED)
Details | Diff
percona-server has renamed ft-index directory (ftdir-percona-server.patch,943 bytes, patch)
2015-09-17 21:42 UTC, Thomas Deutschmann (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2015-09-17 21:05:55 UTC
Hi,

 * [39;49;00mPackage:    dev-db/percona-server-5.6.26.74.0
 * [39;49;00mRepository: gentoo
 * [39;49;00mMaintainer: mysql-bugs@gentoo.org
 * [39;49;00mUSE:        abi_x86_64 amd64 client-libs community elibc_glibc kernel_linux perl server ssl tcmalloc test tools userland_GNU
 * [39;49;00mFEATURES:   preserve-libs sandbox test userpriv usersandbox
 * [39;49;00mPackage:    dev-db/percona-server-5.6.26.74.0
 * [39;49;00mRepository: gentoo
 * [39;49;00mMaintainer: mysql-bugs@gentoo.org
 * [39;49;00mUSE:        abi_x86_64 amd64 client-libs community elibc_glibc kernel_linux perl server ssl tcmalloc test tools userland_GNU
 * [39;49;00mFEATURES:   preserve-libs sandbox test userpriv usersandbox
>>> Unpacking source...
 * MySQL MY_DATADIR is /var/lib/mysql
 * MySQL datadir found in /var/lib/mysql
 * A new one will not be created.
>>> Unpacking percona-server-5.6.26-74.0.tar.gz to /var/tmp/portage/dev-db/percona-server-5.6.26.74.0/work
>>> Unpacking mysql-extras-20150717-1707Z.tar.bz2 to /var/tmp/portage/dev-db/percona-server-5.6.26.74.0/work
>>> Source unpacked in /var/tmp/portage/dev-db/percona-server-5.6.26.74.0/work
>>> Preparing source in /var/tmp/portage/dev-db/percona-server-5.6.26.74.0/work/mysql ...
 * using '01050_all_mysql_config_cleanup-5.6.patch'
 * >    fix bug #156301 mysql_config wrongly retains too much info from CFLAGS
 * using '02040_all_embedded-library-shared-5.5.10.patch'
 * >    Take libmysqld to be a proper shared library.
 * using '20001_all_fix-minimal-build-cmake-mysql-5.6.20.patch'
 * >    Fix the minimal build by reordering CMakeLists.txt
 * using '20006_all_cmake_elib-percona-5.6.22.patch'
 * >    Add ELIBPATH to split client and embedded libs
 * >    Also install static libs by ENABLE_STATIC_LIBS
 * using '20007_all_cmake-debug-werror-5.6.22.patch'
 * >    Remove -Werror from USE="debug" builds
 * using '20008_all_mysql-tzinfo-symlink.patch'
 * >    Backport tzinfo symlink fix from MariaDB bug 491176
 * using '20009_all_mysql_myodbc_symbol_fix-5.6.patch'
 * >    Export missing symbols
 * using '20018_all_percona-server-5.6.25-without-clientlibs-tools.patch'
 * >    Split building of client libraries, server and client tools
 * Applying various patches (bugfixes/updates) ...
 *   01050_all_mysql_config_cleanup-5.6.patch ...
[A[112C [ ok ]
 *   02040_all_embedded-library-shared-5.5.10.patch ...
[A[112C [ ok ]
 *   20001_all_fix-minimal-build-cmake-mysql-5.6.20.patch ...
[A[112C [ ok ]
 *   20006_all_cmake_elib-percona-5.6.22.patch ...
[A[112C [ ok ]
 *   20007_all_cmake-debug-werror-5.6.22.patch ...
[A[112C [ ok ]
 *   20008_all_mysql-tzinfo-symlink.patch ...
[A[112C [ ok ]
 *   20009_all_mysql_myodbc_symbol_fix-5.6.patch ...
[A[112C [ ok ]
 *   20018_all_percona-server-5.6.25-without-clientlibs-tools.patch ...
[A[112C [ ok ]
 * Done with patching
touch: cannot touch ‘/var/tmp/portage/dev-db/percona-server-5.6.26.74.0/work/mysql/storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake’: No such file or directory
sed: can't read /var/tmp/portage/dev-db/percona-server-5.6.26.74.0/work/mysql/storage/tokudb/ft-index/ft/CMakeLists.txt: No such file or directory
 * ERROR: dev-db/percona-server-5.6.26.74.0::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4688:  Called mysql-multilib_src_prepare
 *   environment, line 4149:  Called mysql-cmake_src_prepare
 *   environment, line 3811:  Called die
 * The specific snippet of code:
 *           sed -i 's/ build_lzma//' "${S}/storage/tokudb/ft-index/ft/CMakeLists.txt" || die;


I don't have tokudb USE flag set:

[ebuild     U  ] dev-db/percona-server-5.6.26.74.0:0/18::gentoo [5.6.26.74.0:0/18::gentoo] USE="client-libs community perl server ssl tcmalloc {test} tools (-cluster) -debug (-embedded) -extraengine -jemalloc -latin1 -pam -profiling (-selinux) -static -static-libs -systemtap -tokudb% -tokudb-backup-plugin%"

Reproducible: Always
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2015-09-17 21:40:08 UTC
Created attachment 412150 [details, diff]
percona-server has renamed ft-index directory

I am proposing the attached patch to match percona-server's renamed ft-index directory (PerconaFT).
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2015-09-17 21:42:12 UTC
Created attachment 412152 [details, diff]
percona-server has renamed ft-index directory

Patch updated.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2015-09-17 22:13:14 UTC
BTW:

CMake Warning (dev) in storage/tokudb/PerconaFT/portability/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "tokuportability" has an INTERFACE_LINK_LIBRARIES property which
  differs from its LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    -lpthread;-lpthread;dl;rt

  LINK_INTERFACE_LIBRARIES:

    -lpthread;dl;rt

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in storage/tokudb/PerconaFT/ft/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "ft" has an INTERFACE_LINK_LIBRARIES property which differs from its
  LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    -lpthread;z

  LINK_INTERFACE_LIBRARIES:

    z

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at storage/tokudb/PerconaFT/portability/CMakeLists.txt:22 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "build_jemalloc" of target
  "tokuportability_static_conv" does not exist.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at storage/tokudb/PerconaFT/ft/CMakeLists.txt:87 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "build_snappy" of target "ft" does not exist.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at storage/tokudb/PerconaFT/ft/CMakeLists.txt:88 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "build_snappy" of target "ft_static" does not exist.
This warning is for project developers.  Use -Wno-dev to suppress it.


For full build log see https://bugs.gentoo.org/attachment.cgi?id=412156
Comment 4 Brian Evans (RETIRED) gentoo-dev 2015-09-18 14:53:19 UTC
Fixed.  forgot to update the eclasses on bump :(