Github messages for voidlinux
 help / color / mirror / Atom feed
From: bastomiadi <bastomiadi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] build package mysql-workbench-community cmake get error
Date: Sat, 25 Sep 2021 21:50:45 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33123@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 3956 bytes --]

New issue by bastomiadi on void-packages repository

https://github.com/void-linux/void-packages/issues/33123

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  Void 5.13.19_1 x86_64 GenuineIntel notuptodate rrFFFFF
* package:  
  mysql-workbench-community
### Expected behavior
Can Build from src
### Actual behavior
error when build with cmake
### Steps to reproduce the behavior

- i make a new dir inside : ~/workspace/void-packages/srcpkgs : sudo mkdir mysql-workbench-community
- then inside that folder, i make a new file 'template' with : sudo nano template : 
# Template file for 'mysql-workbench-community'
pkgname=mysql-workbench-community
version=8.0.26
revision=1
wrksrc=${pkgname}-${version}-src
build_style=cmake
short_desc="MySQL Workbench is a unified visual tool for database architects, developers, and DBAs"
maintainer="Bastomi Adi Nugroho <bastomiadi@gmail.com>"
license="GPL-2.0-or-later, GPL-3.0-or-later"
homepage="https://www.mysql.com/products/workbench"
distfiles="https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-${version}-src.tar.gz"
checksum="529e385af60a4956045c4533e85f7d6e306230668497ba3e69d032e7c0eaecf8"

- i goto ~/workspace/void-packages/, and execute : ./xbps-src pkg -f mysql-workbench-community
- but get error : 
❯ ./xbps-src pkg -f mysql-workbench-community
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> mysql-workbench-community-8.0.26_1: removing autodeps, please wait...
=> mysql-workbench-community-8.0.26_1: building [cmake] for x86_64...
   [host] cmake-3.21.1_1: found (https://alpha.de.repo.voidlinux.org/current)
   [host] ninja-1.10.2_2: found (https://alpha.de.repo.voidlinux.org/current)
=> mysql-workbench-community-8.0.26_1: installing host dependencies: cmake-3.21.1_1 ninja-1.10.2_2 ...
=> mysql-workbench-community-8.0.26_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> mysql-workbench-community-8.0.26_1: running pre-configure hook: 01-override-config ...
=> mysql-workbench-community-8.0.26_1: running pre-configure hook: 02-script-wrapper ...
=> mysql-workbench-community-8.0.26_1: running do_configure ...
CMake Error: The current CMakeCache.txt directory /builddir/mysql-workbench-community-8.0.26-src/build/CMakeCache.txt is different than the directory /home/milosz/Projects/workbench/master-itch/src/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/builddir/mysql-workbench-community-8.0.26-src/CMakeLists.txt" does not match the source "/home/milosz/Projects/workbench/master-itch/src/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
=> ERROR: mysql-workbench-community-8.0.26_1: do_configure: 'CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" cmake ${cmake_args} ${configure_args} ${wrksrc}/${build_wrksrc}' exited with 1
=> ERROR:   in do_configure() at common/build-style/cmake.sh:67


![Screenshot from 2021-09-26 02-39-37](https://user-images.githubusercontent.com/13336571/134784189-bf242348-a1c5-444b-b292-1256f101aa4d.png)

             reply	other threads:[~2021-09-25 19:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-25 19:50 bastomiadi [this message]
2021-09-28 18:35 ` Chocimier
2021-09-28 18:35 ` [ISSUE] [CLOSED] " Chocimier
2021-09-29  2:57 ` bastomiadi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33123@inbox.vuxu.org \
    --to=bastomiadi@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).