ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Fwd: python-module-notify-0.1.1-alt5: Sisyphus/x86_64 test rebuild failed
@ 2011-06-06  3:56 REAL
  2011-06-06  9:54 ` Alexey Shabalin
  0 siblings, 1 reply; 2+ messages in thread
From: REAL @ 2011-06-06  3:56 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Привет!

В связи с тем, что слом вызван обновлениями в GTK, я не уверен, что 
починю правильно. В смысле, починить сборку-то могу, но уверенности в 
её правильности у меня нет совсем.

-------- Исходное сообщение --------
Тема: python-module-notify-0.1.1-alt5: Sisyphus/x86_64 test rebuild failed
Дата: Sat,  4 Jun 2011 12:35:53 +0400 (MSD)
От: ALT beekeeper <beehive@altlinux.org>
Отвечать: devel@lists.altlinux.org
Кому: python@packages.altlinux.org
Копия: beehive@altlinux.org

Package: python-module-notify-0.1.1-alt5
Status: Sisyphus/x86_64 test rebuild failed
Cannot build this package.
Please investigate.
Excerpt from build log:

checking for x86_64-alt-linux-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from 
x86_64-alt-linux-gcc object... ok
checking for objdir... .libs
checking for x86_64-alt-linux-ar... no
checking for ar... ar
checking for x86_64-alt-linux-ranlib... no
checking for ranlib... ranlib
checking for x86_64-alt-linux-strip... no
checking for strip... strip
checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC
checking if x86_64-alt-linux-gcc PIC flag -fPIC works... yes
checking if x86_64-alt-linux-gcc static flag -static works... no
checking if x86_64-alt-linux-gcc supports -c -o file.o... yes
checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m 
elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: 
/etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m 
elf_x86_64) supports shared libraries... yes
checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC
checking if x86_64-alt-linux-g++ PIC flag -fPIC works... yes
checking if x86_64-alt-linux-g++ static flag -static works... no
checking if x86_64-alt-linux-g++ supports -c -o file.o... yes
checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m 
elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... cat: 
/etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a Python interpreter with version >= 2.3.5... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... 
${prefix}/lib/python2.6/site-packages
checking for python extension module directory... 
${exec_prefix}/lib64/python2.6/site-packages
checking for headers required to compile python extensions... found
checking for x86_64-alt-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for NOTIFY_PYTHON... yes
checking for pygtk defs... /usr/share/pygtk/2.0/defs
checking for pygtk codegen... /usr/bin/python 
/usr/share/pygobject/2.0/codegen/codegen.py
configure: creating ./config.status
config.status: creating notify-python.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands

notify-python v0.1.1

Now type make to compile
Then su to root and type: make install

+ '[' -n '' ']'
+ NPROCS=1
+ make -j1
make: Entering directory `/usr/src/RPM/BUILD/notify-python-0.1.1'
make  all-recursive
make[1]: Entering directory `/usr/src/RPM/BUILD/notify-python-0.1.1'
Making all in src
make[2]: Entering directory `/usr/src/RPM/BUILD/notify-python-0.1.1/src'
/bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc 
-DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"pynotify-python\" 
-DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -pthread 
-I/usr/include/python2.6/pygtk -I/usr/include/gtk-2.0 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/python2.6    -pipe -Wall -g -O2 -c -o pynotifymodule.lo 
pynotifymodule.c
mkdir .libs
  x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-DG_LOG_DOMAIN=\"pynotify-python\" -DDATADIR=\"/usr/share\" 
-DLIBDIR=\"/usr/lib64\" -pthread -I/usr/include/python2.6/pygtk 
-I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/python2.6 -pipe -Wall -g -O2 
-c pynotifymodule.c  -fPIC -DPIC -o .libs/pynotifymodule.o
pynotifymodule.c: In function 'init_pynotify':
pynotifymodule.c:19:2: warning: implicit declaration of function 
'pypynotify_register_classes'
pynotifymodule.c:20:2: warning: implicit declaration of function 
'pypynotify_add_constants'
/bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc 
-DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"pynotify-python\" 
-DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -pthread 
-I/usr/include/python2.6/pygtk -I/usr/include/gtk-2.0 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/python2.6    -pipe -Wall -g -O2 -c -o pynotify.lo 
pynotify.c
  x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-DG_LOG_DOMAIN=\"pynotify-python\" -DDATADIR=\"/usr/share\" 
-DLIBDIR=\"/usr/lib64\" -pthread -I/usr/include/python2.6/pygtk 
-I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/python2.6 -pipe -Wall -g -O2 
-c pynotify.c  -fPIC -DPIC -o .libs/pynotify.o
pynotify.c: In function '_wrap_notify_notification_new':
pynotify.c:168:5: error: 'GtkWidget' undeclared (first use in this 
function)
pynotify.c:168:5: note: each undeclared identifier is reported only 
once for each function it appears in
pynotify.c:168:16: error: 'attach' undeclared (first use in this function)
pynotify.c:175:9: warning: implicit declaration of function 'GTK_WIDGET'
pynotify.c:180:5: error: too many arguments to function 
'notify_notification_new'
/usr/include/libnotify/notification.h:114:21: note: declared here
pynotify.c: In function '_wrap_notify_notification_attach_to_widget':
pynotify.c:212:5: warning: implicit declaration of function 
'notify_notification_attach_to_widget'
pynotify.c: At top level:
pynotify.override:44:1: warning: 'pygalago_wrap_gobj_list' defined but 
not used
make[2]: *** [pynotify.lo] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/notify-python-0.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/notify-python-0.1.1'
make: *** [all] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/notify-python-0.1.1'
error: Bad exit status from /usr/src/tmp/rpm-tmp.22723 (%build)

RPM build errors:
     Bad exit status from /usr/src/tmp/rpm-tmp.22723 (%build)
Command exited with non-zero status 1
7.03user 19.63system 0:24.54elapsed 108%CPU (0avgtext+0avgdata 
148336maxresident)k
0inputs+0outputs (0major+1057124minor)pagefaults 0swaps
hsh-rebuild: rebuild of `python-module-notify-0.1.1-alt5.src.rpm' failed.
Command exited with non-zero status 1

-- 
Sincerely yours,
ALT beekeeper






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [devel] Fwd: python-module-notify-0.1.1-alt5: Sisyphus/x86_64 test rebuild failed
  2011-06-06  3:56 [devel] Fwd: python-module-notify-0.1.1-alt5: Sisyphus/x86_64 test rebuild failed REAL
@ 2011-06-06  9:54 ` Alexey Shabalin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Shabalin @ 2011-06-06  9:54 UTC (permalink / raw)
  To: ALT Linux Team development discussions

6 июня 2011 г. 7:56 пользователь REAL написал:
> Привет!
>
> В связи с тем, что слом вызван обновлениями в GTK, я не уверен, что починю
> правильно. В смысле, починить сборку-то могу, но уверенности в её
> правильности у меня нет совсем.
Всё, что сломалось по вине libnotify достаточно просто исправляется.
В вызове функции notify_notification_new нужно убрать последний аргумент.

Для notify-python патч можно взять тут:
http://pkgs.fedoraproject.org/gitweb/?p=notify-python.git;a=blob;f=libnotify07.patch

-- 
Alexey Shabalin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-06  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-06  3:56 [devel] Fwd: python-module-notify-0.1.1-alt5: Sisyphus/x86_64 test rebuild failed REAL
2011-06-06  9:54 ` Alexey Shabalin

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