From: Vitaly Lipatov <lav@altlinux.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Cc: Dmitriy Khanzhin <dmitriy.khanzhin@gmail.com> Subject: Re: [devel] icewm-3:2.5.0-alt1: Sisyphus/x86_64 test rebuild failed Date: Sun, 11 Jul 2021 13:25:10 +0300 Message-ID: <cbb01beebd1efc59fb2be6b831a5f623@altlinux.ru> (raw) In-Reply-To: <f790de55-4cb5-895a-cad7-d97cec7a8445@gmail.com> Dmitriy Khanzhin писал 10.7.21 19:55: > 10.07.2021 10:20, ALT beekeeper пишет: >> Package: icewm-3:2.5.0-alt1 >> Status: Sisyphus/x86_64 test rebuild failed >> URL: >> http://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2021/0710/error/icewm-3:2.5.0-alt1 >> Cannot build this package. >> Please investigate. >> Excerpt from build log: >> ... > Здравствуйте, коллеги. > Перестал собираться icewm, я подозреваю, после обновления cmake. > Что изменилось в сборочной среде, о чем не предупредили? > И с чего начинать починку? В проекте используется некорректный способ добавления путей к заголовочным файлам — их вручную запихивают во флаги, в частности: INCLUDE(FindIntl) if(Intl_FOUND) LIST(APPEND nls_LIBS ${Intl_LIBRARIES}) LIST(APPEND nls_CFLAGS -I${Intl_INCLUDE_DIRS}) endif() ... target_compile_options(ice PUBLIC ${icewm_pc_flags}) Это взрывается, если Intl_INCLUDE_DIRS пустая или имеет несколько значений. Правильным является использование специального механизма для добавления путей: target_include_directories(${target_name} PRIVATE ${LIBYUV_INCLUDE_DIRS}) В нашем случае путь оказался пустой, и -I «съела» -o: -I/usr/include/fribidi -I -o CMakeFiles/ice.dir/udir.cc.o В качестве быстрого исправления можно заменить if(Intl_FOUND) на if(Intl_FOUND AND NOT Intl_IS_BUILT_IN) -- С уважением, Виталий Липатов, ALT Linux Team
next prev parent reply other threads:[~2021-07-11 10:25 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-10 16:51 ` Дмитрий Ханжин 2021-07-10 16:55 ` Dmitriy Khanzhin 2021-07-10 17:08 ` Dmitry V. Levin 2021-07-10 17:26 ` Vitaly Lipatov 2021-07-10 17:45 ` Arseny Maslennikov 2021-07-10 17:53 ` Vitaly Lipatov 2021-07-10 18:48 ` Dmitry V. Levin 2021-07-10 19:31 ` Vitaly Lipatov 2021-07-11 10:42 ` [devel] mariadb build failed Vitaly Lipatov 2021-07-10 18:36 ` [devel] icewm-3:2.5.0-alt1: Sisyphus/x86_64 test rebuild failed Aleksey Novodvorsky 2021-07-11 10:25 ` Vitaly Lipatov [this message] 2021-07-11 18:35 ` Dmitriy Khanzhin 2021-07-12 10:40 ` Vitaly Lipatov
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=cbb01beebd1efc59fb2be6b831a5f623@altlinux.ru \ --to=lav@altlinux.ru \ --cc=devel@lists.altlinux.org \ --cc=dmitriy.khanzhin@gmail.com \ /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