ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Yury Aliaev <mutab0r@rambler.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>,
	 ALT Linux Team development discussions
	<devel@lists.altlinux.org>
Subject: [devel] Что-то не так с python-modules-sip
Date: Wed, 03 Dec 2008 12:58:54 +0300
Message-ID: <4936585E.2000703@rambler.ru> (raw)

Добрый день!

Я взялся реанимировать свой пакет qtiplot, заодно решив его обновить. В 
процессе исправления сборки наткнулся на такое:

sipqtiApplicationWindow.cpp: In function 'PyObject* 
meth_ApplicationWindow_windows(PyObject*, PyObject*)':
sipqtiApplicationWindow.cpp:1144: error: 'MDIWindowList' was not 
declared in this scope
sipqtiApplicationWindow.cpp:1144: error: 'sipRes' was not declared in 
this scope
sipqtiApplicationWindow.cpp:1147: error: expected type-specifier before 
'MDIWindowList'
sipqtiApplicationWindow.cpp:1147: error: expected `;' before 'MDIWindowList'
sipqtiApplicationWindow.cpp:1151: error: type '<type error>' argument 
given to 'delete', expected pointer
make[1]: *** [../tmp/qtiplot/sipqtiApplicationWindow.o] Error 1

Стал копать, обнаружил, что в файле sipqtiApplicationWindow.cpp 
присутствует следующее:

MDIWindowList *sipRes;

При этом тип MDIWindowList нигде не определён. Насколько я понял, файл 
sipqtiApplicationWindow.cpp генерируется в процессе сборки из файла 
qti.sip, в котором, в числе прочего, есть следующий фрагмент:

typedef QList<MdiSubWindow*> MDIWindowList;

который, тем не менее никуда в .cpp и .h файлы не попадает.

Ладно, я решил, что это глюк нового qtiplot и решил посмотреть на старую 
версию (0.9.7.2), которая  раньше в Сизифе собиралась, потом сломавшись 
по другим причинам (те причины я как раз устранил). И, что вы думаете, и 
там вылезла абсолютно та же самая ошибка!

Я сильно подозреваю, что в этом виноват python-modules-sip или 
python-modules-sip-devel, который, насколько я понял, и занимается 
генерированием файла sipqtiApplicationWindow.cpp (и некоторых других). 
Изучая изменения в пакете python-modules-sip, я увидел следующее:

[mutabor@builder ~]$ rpm --changelog python-module-sip
* Втр Ноя 25 2008 Evgeny Sinelnikov <sin@altlinux.ru> 4.7.9-alt1
- New version

* Вск Авг 17 2008 Evgeny Sinelnikov <sin@altlinux.ru> 4.7.6-alt3
- Fixed rpath problem and libpython linking (#14655)

Т.е. новая сборка вышла как раз между тем моментом, когда qtiplot 
сломался и началом моих попыток его починить. С прежней версией, 
очевидно, было всё в порядке.

Т.к. в я совсем ничего не понимаю в sip'е, прошу помощи.

Заранее спасибо,
Юрий.


                 reply	other threads:[~2008-12-03  9:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4936585E.2000703@rambler.ru \
    --to=mutab0r@rambler.ru \
    --cc=devel@lists.altlinux.org \
    --cc=sisyphus@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