Package Details: python2-notify 0.1.1-14

Git Clone URL: (read-only, click to copy)
Package Base: python2-notify
Description: Python bindings for libnotify
Upstream URL:
Licenses: GPL
Conflicts: python-notify<=0.1.1-11
Replaces: python-notify<=0.1.1-11
Submitter: jonathon
Maintainer: jonathon
Last Packager: jonathon
Votes: 6
Popularity: 1.23
First Submitted: 2020-01-24 18:02
Last Updated: 2020-10-02 12:33

Latest Comments

Ptero-4 commented on 2020-09-30 06:27

Add gcc9 to the depends line and add "CC=/usr/bin/gcc-9 CXX=/usr/bin/g++-9" to both of the make invocations in the PKGBUILD.

attila123 commented on 2020-09-29 12:05

Hi, I tried to install it with yay on a freshly updated Arch.
It fails with the following error. Somebody please help.
Fails to build also on Gentoo:
Problem seems to be related to gcc 10.
I sent email about this to the upstream author (based on

/bin/sh ../libtool --tag=CC --mode=link gcc  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o -rpath /usr/lib/python2.7/site-packages/gtk-2.0/pynotify -module -avoid-version -export-symbols-regex init_pynotify pynotifymodule.lo pynotify.lo -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lharfbuzz -lfontconfig -lfreetype -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  
generating symbol list for `'
/usr/sbin/nm -B  .libs/pynotifymodule.o .libs/pynotify.o  | sed -n -e 's/^.*[   ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][  ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/sbin/sed 's/.* //' | sort | uniq > .libs/_pynotify.exp
grep -E -e "init_pynotify" ".libs/_pynotify.exp" > ".libs/_pynotify.expT"
mv -f ".libs/_pynotify.expT" ".libs/_pynotify.exp"
echo "{ global:" > .libs/_pynotify.ver
 cat .libs/_pynotify.exp | sed -e "s/\(.*\)/\1;/" >> .libs/_pynotify.ver
 echo "local: *; };" >> .libs/_pynotify.ver
 gcc -shared  .libs/pynotifymodule.o .libs/pynotify.o  -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lharfbuzz -lfontconfig -lfreetype -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -march=x86-64 -mtune=generic -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl, -Wl,-version-script -Wl,.libs/_pynotify.ver -o .libs/
/usr/sbin/ld: .libs/pynotify.o:(.bss+0x0): multiple definition of `_PyGObject_API'; .libs/pynotifymodule.o:(.bss+0x8): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:278:] Error 1
make[2]: Leaving directory '/home/avangel/.cache/yay/python2-notify/src/notify-python-0.1.1/src'
make[1]: *** [Makefile:299: all-recursive] Error 1
make[1]: Leaving directory '/home/avangel/.cache/yay/python2-notify/src/notify-python-0.1.1'
make: *** [Makefile:209: all] Error 2
==> ERROR: A failure occurred in build().
error making: python2-notify