* [devel] Новый Qt 5.9.2-alt1.S1 Fwd: [#191389] FAILED telegram-desktop.git=1.1.23-alt3
@ 2017-10-21 21:59 ` Vitaly Lipatov
2017-10-21 23:57 ` Vitaly Lipatov
2017-10-23 17:56 ` Vitaly Lipatov
0 siblings, 2 replies; 6+ messages in thread
From: Vitaly Lipatov @ 2017-10-21 21:59 UTC (permalink / raw)
To: ALT Devel discussion list
С новым Qt получил ошибку сборки
http://git.altlinux.org/tasks/191389/logs/events.1.2.log
...
Generating MOC predefs moc_predefs.h
AutoMoc: Error: moc predefs generation command failed
AutoMoc: Command:
--
AutoMoc: Command output:
x86_64-alt-linux-g++: error: unrecognized command line option
'-bTelegram_pch/stdafx.h'
Используется cmake:
$ grep MOC CMakeLists.txt
set(CMAKE_AUTOMOC ON)
set_target_properties(Telegram PROPERTIES AUTOMOC_MOC_OPTIONS
-bTelegram_pch/stdafx.h)
Похоже, что параметр для moc
-b <file> Prepend #include <file> (preserve default
include).
стал передаваться в компилятор.
Изменил строку на
set(CMAKE_AUTOMOC_MOC_OPTIONS ${CMAKE_AUTOMOC_MOC_OPTIONS} "-b"
"Telegram_pch/stdafx.h")
--
С уважением,
Виталий Липатов,
Etersoft
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Новый Qt 5.9.2-alt1.S1 Fwd: [#191389] FAILED telegram-desktop.git=1.1.23-alt3
2017-10-21 21:59 ` [devel] Новый Qt 5.9.2-alt1.S1 Fwd: [#191389] FAILED telegram-desktop.git=1.1.23-alt3 Vitaly Lipatov
@ 2017-10-21 23:57 ` Vitaly Lipatov
2017-10-22 5:53 ` Alexey V. Vissarionov
2017-10-23 15:35 ` Sergey V Turchin
2017-10-23 17:56 ` Vitaly Lipatov
1 sibling, 2 replies; 6+ messages in thread
From: Vitaly Lipatov @ 2017-10-21 23:57 UTC (permalink / raw)
To: ALT Linux Team development discussions
Vitaly Lipatov писал 22.10.17 0:59:
...
Теперь получаю такую ошибку (в локальном hasher всё в порядке):
2017-Oct-21 23:44:58 :: [x86_64] #100 telegram-desktop.git 1.1.23-alt3:
build start
-- Found gtk+-3.0, version 3.22.24
Package xdamage was not found in the pkg-config search path.
Perhaps you should add the directory containing `xdamage.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xdamage', required by 'egl', not found
Package xdamage was not found in the pkg-config search path.
Perhaps you should add the directory containing `xdamage.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xdamage', required by 'egl', not found
Package xdamage was not found in the pkg-config search path.
Perhaps you should add the directory containing `xdamage.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xdamage', required by 'egl', not found
-- Checking for module 'appindicator3-0.1'
-- Found appindicator3-0.1, version 12.10.0
Package xdamage was not found in the pkg-config search path.
Perhaps you should add the directory containing `xdamage.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xdamage', required by 'egl', not found
Package xdamage was not found in the pkg-config search path.
Perhaps you should add the directory containing `xdamage.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xdamage', required by 'egl', not found
Такое случается
https://lists.altlinux.org/pipermail/sisyphus-cybertalk/2012-June/083092.html
и даже было не так давно у меня, но я забыл, как побороть.
--
С уважением,
Виталий Липатов,
Etersoft
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Новый Qt 5.9.2-alt1.S1 Fwd: [#191389] FAILED telegram-desktop.git=1.1.23-alt3
2017-10-21 23:57 ` Vitaly Lipatov
@ 2017-10-22 5:53 ` Alexey V. Vissarionov
2017-10-22 11:23 ` Vitaly Lipatov
2017-10-23 15:35 ` Sergey V Turchin
1 sibling, 1 reply; 6+ messages in thread
From: Alexey V. Vissarionov @ 2017-10-22 5:53 UTC (permalink / raw)
To: ALT Linux Team development discussions
[-- Attachment #1: Type: text/plain, Size: 653 bytes --]
On 2017-10-22 02:57:41 +0300, Vitaly Lipatov wrote:
> Теперь получаю такую ошибку (в локальном hasher всё в порядке):
> Package xdamage was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xdamage.pc'
> to the PKG_CONFIG_PATH environment variable
Самое очевидное:
% apf find xdamage.pc
libXdamage-devel
Чуть менее очевидное: xdamage.pc может находиться в /usr/lib/pkgconfig,
/usr/lib64/pkgconfig или даже /usr/share/pkgconfig
--
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net
[-- Attachment #2: Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Новый Qt 5.9.2-alt1.S1 Fwd: [#191389] FAILED telegram-desktop.git=1.1.23-alt3
2017-10-22 5:53 ` Alexey V. Vissarionov
@ 2017-10-22 11:23 ` Vitaly Lipatov
0 siblings, 0 replies; 6+ messages in thread
From: Vitaly Lipatov @ 2017-10-22 11:23 UTC (permalink / raw)
To: ALT Linux Team development discussions; +Cc: Alexey V. Vissarionov, aris
Alexey V. Vissarionov писал 22.10.17 8:53:
> On 2017-10-22 02:57:41 +0300, Vitaly Lipatov wrote:
>
> > Теперь получаю такую ошибку (в локальном hasher всё в порядке):
> > Package xdamage was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `xdamage.pc'
> > to the PKG_CONFIG_PATH environment variable
>
> Самое очевидное:
>
> % apf find xdamage.pc
> libXdamage-devel
Нет, там что-то с поиском pc-файлов, которые реально не нужны. Мне Юрий
объяснял как-то, но я забыл.
Типа это наведённая проблема.
Типа вот так:
$ grep egl /usr/lib/pkgconfig/Qt5Core.pc
qt_config=shared release c++11 c++14 c++1z concurrent dbus
reduce_exports reduce_relocations release_tools stl properties animation
textcodec big_codecs clock-monotonic codecs textdate datestring
doubleconversion eventfd filesystemiterator filesystemwatcher gestures
glib itemmodel proxymodel identityproxymodel inotify library mimetype
process statemachine regularexpression settings sharedmemory
sortfilterproxymodel stringlistmodel systemsemaphore temporaryfile
threadsafe-cloexec translation xmlstream xmlstreamreader xmlstreamwriter
accessibility accessibility-atspi-bridge action clipboard colornames
cssparser cursor desktopservices imageformat_xpm draganddrop opengl egl
(в списке есть egl)
и отсюда зависимость на xdamage
$ pkg-config --print-requires-private egl
libdrm >= 2.4.75
x11
xext
xdamage >= 1.1
xfixes
x11-xcb
xcb
xcb-glx >= 1.8.1
xcb-dri2 >= 1.8
xxf86vm
--
С уважением,
Виталий Липатов,
Etersoft
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Новый Qt 5.9.2-alt1.S1 Fwd: [#191389] FAILED telegram-desktop.git=1.1.23-alt3
2017-10-21 23:57 ` Vitaly Lipatov
2017-10-22 5:53 ` Alexey V. Vissarionov
@ 2017-10-23 15:35 ` Sergey V Turchin
1 sibling, 0 replies; 6+ messages in thread
From: Sergey V Turchin @ 2017-10-23 15:35 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Sunday, 22 October 2017 02:57:41 MSK Vitaly Lipatov wrote:
> и даже было не так давно у меня, но я забыл, как побороть.
Почитать лог, а не тот его кусок.
--
Regards, Sergey.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] Новый Qt 5.9.2-alt1.S1 Fwd: [#191389] FAILED telegram-desktop.git=1.1.23-alt3
2017-10-21 21:59 ` [devel] Новый Qt 5.9.2-alt1.S1 Fwd: [#191389] FAILED telegram-desktop.git=1.1.23-alt3 Vitaly Lipatov
2017-10-21 23:57 ` Vitaly Lipatov
@ 2017-10-23 17:56 ` Vitaly Lipatov
1 sibling, 0 replies; 6+ messages in thread
From: Vitaly Lipatov @ 2017-10-23 17:56 UTC (permalink / raw)
To: ALT Linux Team development discussions; +Cc: viy
Vitaly Lipatov писал 22.10.17 0:59:
> С новым Qt получил ошибку сборки
>
> http://git.altlinux.org/tasks/191389/logs/events.1.2.log
>
> ...
> Generating MOC predefs moc_predefs.h
> AutoMoc: Error: moc predefs generation command failed
> AutoMoc: Command:
> --
> AutoMoc: Command output:
> x86_64-alt-linux-g++: error: unrecognized command line option
> '-bTelegram_pch/stdafx.h'
Приношу извинения за Qt, причина в cmake:
https://bugzilla.altlinux.org/show_bug.cgi?id=34055
Не мог поверить, что это из-за
2017-10-19 Igor Vlasenko <viy at altlinux.ru> 3.9.2-alt0.3
- NMU: set cmake sharedir to %_datadir/ cmake, not CMake
Проверял, что с alt0.2 всё собирается.
В итоге какой-то бред, проблемы уже нет, но появилась проблема с
линковкой:
CMakeFiles/Telegram.dir/SourceFiles/ui/widgets/input_fields.cpp.o: In
function `Ui::FlatInput::focusOutEvent(QFocusEvent*)':
/usr/src/RPM/BUILD/telegram-desktop-1.1.23/Telegram/SourceFiles/ui/widgets/input_fields.cpp:1626:
undefined reference to `Ui::FlatInput::blurred()'
CMakeFiles/Telegram.dir/SourceFiles/ui/widgets/input_fields.cpp.o: In
function `Ui::FlatInput::keyPressEvent(QKeyEvent*)':
/usr/src/RPM/BUILD/telegram-desktop-1.1.23/Telegram/SourceFiles/ui/widgets/input_fields.cpp:1720:
undefined reference to `Ui::FlatInput::submitted(bool)'
--
С уважением,
Виталий Липатов,
Etersoft
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-10-23 17:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-21 21:59 ` [devel] Новый Qt 5.9.2-alt1.S1 Fwd: [#191389] FAILED telegram-desktop.git=1.1.23-alt3 Vitaly Lipatov
2017-10-21 23:57 ` Vitaly Lipatov
2017-10-22 5:53 ` Alexey V. Vissarionov
2017-10-22 11:23 ` Vitaly Lipatov
2017-10-23 15:35 ` Sergey V Turchin
2017-10-23 17:56 ` Vitaly Lipatov
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