ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Arseny Maslennikov <arseny@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: cmake macros
Date: Wed, 7 Jul 2021 19:18:28 +0300
Message-ID: <YOXT1JrIx9zkYIU2@cello> (raw)
In-Reply-To: <4b48d6ad-5f73-1abb-0711-ec349eb2a0e3@basealt.ru>

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

On Wed, Jul 07, 2021 at 01:37:25PM +0300, Nikolai Kostrigin wrote:
> Здравствуйте!
> 
> Имеем следующую картину для "-DWITH_BOOST=boost/boost_1_73_0 \" в spec
> MySQL:
> 
> - cmake из Sisyphus (_cmake__builddir = x86_64-alt-linux) ищет и находит
> (не без помощи Вашего патча [1], конечно)
> 
> -- Local boost dir /usr/src/RPM/BUILD/MySQL-8.0.25/boost/boost_1_73_0
> -- Found
> /usr/src/RPM/BUILD/MySQL-8.0.25/boost/boost_1_73_0/boost/version.hpp
> -- BOOST_VERSION_NUMBER is #define BOOST_VERSION 107300
> -- BOOST_INCLUDE_DIR /usr/src/RPM/BUILD/MySQL-8.0.25/boost/boost_1_73_0
> 
> 
> - в то же время, для p9, c тем же спеком (_cmake__builddir = BUILD)
> 
> не находит:
> 
> -- WITH_BOOST=/usr/src/RPM/BUILD/MySQL-8.0.25/BUILD/boost/boost_1_73_0
> -- BOOST_INCLUDE_DIR
> -- LOCAL_BOOST_DIR LOCAL_BOOST_DIR-NOTFOUND
> -- LOCAL_BOOST_ZIP LOCAL_BOOST_ZIP-NOTFOUND
> -- Could not find (the correct version of) boost.
> -- MySQL currently requires boost_1_73_0
> 
> CMake Error at cmake/boost.cmake:107 (MESSAGE):
>   You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=<directory>
> 
> Видим, что ищет он в BUILD/boost/boost_1_73_0, а не в
> boost/boost_1_73_0, как версия из Сизифа.

Спасибо за репорт!

> Это ожидаемое поведение и каждый должен городить костыли (чего не

Нет, конечно.
RPM из содержимого секций формирует скрипты для sh -e, это надо
учитывать, а макрос в cmake 3.16.3-alt2 не учитывает (точнее, не
полностью, но не полностью — не считается).

> хотелось бы, конечно) или Вы поправите поведение макросов в p9?

См. задание 277546.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2021-07-07 16:18 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-31  9:20 Arseny Maslennikov
2021-05-31 10:09 ` Andrey Cherepanov
2021-05-31 10:22   ` Grigory Ustinov
2021-05-31 10:38     ` Andrey Cherepanov
2021-05-31 10:50       ` Arseny Maslennikov
2021-05-31 11:06         ` Andrey Cherepanov
2021-05-31 11:53           ` [devel] noarch check failed Dmitry V. Levin
2021-05-31 14:26             ` Vladimir D. Seleznev
2021-05-31 14:28               ` Dmitry V. Levin
2021-05-31 14:32                 ` Vladimir D. Seleznev
2021-05-31 14:55                   ` Dmitry V. Levin
2021-05-31 17:03                     ` Andrey Savchenko
2021-05-31 17:36                     ` Vladimir D. Seleznev
2021-05-31 14:30               ` Arseny Maslennikov
2021-05-31 15:06             ` Arseny Maslennikov
2021-05-31 15:52               ` Yuri Sedunov
2021-06-01  9:16                 ` Yuri Sedunov
2021-05-31 10:45     ` [devel] I: cmake macros Arseny Maslennikov
2021-05-31 13:49       ` Aleksei Nikiforov
2021-05-31 14:06         ` [devel] noarch check failing Arseny Maslennikov
2021-05-31 16:33         ` [devel] I: cmake macros Arseny Maslennikov
2021-06-01  7:44           ` Aleksei Nikiforov
2021-05-31 10:39     ` Dmitry V. Levin
2021-05-31 10:46       ` Arseny Maslennikov
2021-05-31 12:02 ` Anton Farygin
2021-05-31 12:09   ` Sergey V Turchin
2021-05-31 12:13     ` Anton Farygin
2021-05-31 12:53       ` Arseny Maslennikov
2021-05-31 12:58         ` Sergey V Turchin
2021-05-31 13:02         ` Sergey V Turchin
2021-05-31 14:22           ` Arseny Maslennikov
2021-05-31 15:00             ` Anton Farygin
2021-05-31 15:04               ` Sergey V Turchin
2021-05-31 15:19                 ` Anton Farygin
2021-06-02  7:58                   ` Sergey V Turchin
2021-05-31 15:01             ` Sergey V Turchin
2021-05-31 13:06         ` Sergey V Turchin
2021-05-31 13:09         ` Sergey V Turchin
2021-05-31 13:11         ` Sergey V Turchin
2021-05-31 13:17         ` Sergey V Turchin
2021-05-31 13:28         ` Andrey Savchenko
2021-05-31 13:52           ` Arseny Maslennikov
2021-05-31 14:28             ` Arseny Maslennikov
2021-05-31 14:39             ` Andrey Savchenko
2021-05-31 14:52               ` [devel] циферки (was: I: cmake macros) Arseny Maslennikov
2021-05-31 14:57                 ` Andrey Savchenko
2021-05-31 15:10                   ` Arseny Maslennikov
2021-05-31 15:18                     ` Andrey Savchenko
2021-05-31 18:07           ` [devel] I: cmake macros Arseny Maslennikov
2021-06-02  7:56             ` Sergey V Turchin
2021-06-15 17:40           ` Mikhail Novosyolov
2021-05-31 15:01 ` Andrey Savchenko
2021-05-31 15:29   ` Arseny Maslennikov
2021-05-31 15:38     ` Anton Farygin
2021-05-31 15:43       ` Grigory Ustinov
2021-05-31 17:40         ` Andrey Savchenko
2021-05-31 15:51     ` Andrey Savchenko
2021-05-31 16:15       ` Arseny Maslennikov
2021-05-31 17:11         ` Andrey Savchenko
2021-06-02  8:02           ` Sergey V Turchin
2021-06-04  8:49 ` Sergey V Turchin
2021-06-15 12:20 ` Sergey Afonin
2021-06-15 18:26   ` Arseny Maslennikov
2021-06-16 19:00     ` Mikhail Novosyolov
2021-06-16 20:31       ` Vladislav Zavjalov
2021-06-22  5:24     ` Michael Shigorin
2021-06-22  8:51       ` Arseny Maslennikov
2021-06-23 10:55 ` Sergey Afonin
2021-06-23 11:21   ` Arseny Maslennikov
2021-07-07 10:37     ` Nikolai Kostrigin
2021-07-07 11:35       ` [devel] MySQL в p9 (was: I: cmake macros) Arseny Maslennikov
2021-07-07 12:17         ` Nikolai Kostrigin
2021-07-07 16:18       ` Arseny Maslennikov [this message]
2021-07-08 11:34         ` [devel] I: cmake macros Nikolai Kostrigin
2021-06-25 14:30   ` [devel] I: cmake macros already in p9 Arseny Maslennikov
2021-07-06  6:22     ` Sergey Afonin
2021-07-06  9:31       ` [devel] MySQL + mysql-workbench-community в p9 (was Re: I: cmake macros already in p9) Nikolai Kostrigin
2021-07-06  9:51         ` Nikolai Kostrigin
2021-07-06 12:43           ` Nikolai Kostrigin
2021-07-06 15:27             ` Sergey Y. Afonin

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=YOXT1JrIx9zkYIU2@cello \
    --to=arseny@altlinux.org \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git