pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/47698



The following reply was made to PR pkg/47698; it has been noted by GNATS.

From: Blue Rats <rodent%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/47698
Date: Thu, 28 Mar 2013 01:40:00 +0000

 > I don't see this failing in joerg's or jperkin's bulk builds.
 > Where exactly doesn't it build?
 
 tail of the build:
 
 if /bin/sh ../libtool --tag=3DCC --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I=
 =2E -I.. -DG_LOG_DOMAIN=3D\"pynotify-python\" -DDATADIR=3D\"/usr/pkg/share\=
 " -DLIBDIR=3D\"/usr/pkg/lib\" -D_REENTRANT -pthread -I/usr/pkg/include/pygt=
 k-2.0 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/include -I/usr/pkg/include/glib=
 /glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/lib/gtk-2.0/include -I=
 /usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/gdk-pi=
 xbuf-2.0 -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/gio-unix-2.0/=
  -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/includ=
 e/libpng15 -I/usr/pkg/include/harfbuzz   -I/usr/pkg/include/python2.7  -I/u=
 sr/include -I/usr/pkg/include -I/usr/pkg/include/gettext -I/usr/pkg/include=
 /freetype2  -mfpmath=3Dsse -msse3 -march=3Dnative -I/usr/include -I/usr/pkg=
 /include -I/usr/pkg/include/gettext -I/usr/pkg/include/freetype2 -MT pynoti=
 fy.lo -MD -MP -MF ".deps/pynotify.Tpo" -c -o pynotify.lo pynotify.c; \
 then mv -f ".deps/pynotify.Tpo" ".deps/pynotify.Plo"; else rm -f ".deps/pyn=
 otify.Tpo"; exit 1; fi
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=3D\"pynotify-=
 python\" -DDATADIR=3D\"/usr/pkg/share\" -DLIBDIR=3D\"/usr/pkg/lib\" -D_REEN=
 TRANT -pthread -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/incl=
 ude/pygtk-2.0 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/inclu=
 de/gtk-2.0 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include =
 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/glib/glib-2=
 =2E0 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/lib/glib-2.0/i=
 nclude -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/lib/gtk-2.0/=
 include -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/atk=
 -1.0 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/cairo =
 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/gdk-pixbuf-=
 2.0 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/pango-1=
 =2E0 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/glib/g=
 io-unix-2.0/ -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/includ=
 e/pixman-1 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/=
 freetype2 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/l=
 ibpng15 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/har=
 fbuzz -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/pytho=
 n2.7 -I/usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/gettex=
 t -mfpmath=3Dsse -msse3 -march=3Dnative -MT pynotify.lo -MD -MP -MF .deps/p=
 ynotify.Tpo -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 fo=
 r each function it appears in
 pynotify.c:168:16: error: 'attach' undeclared (first use in this function)
 pynotify.c:180:88: error: expected expression before ')' token
 pynotify.c:180:88: error: too many arguments to function 'notify_notificati=
 on_new'
 /usr/pkgsrc/stable/sysutils/py-notify/work/.buildlink/include/libnotify/not=
 ification.h:114:21: note: declared here
 gmake[2]: *** [pynotify.lo] Error 1
 gmake[2]: Leaving directory `/usr/pkgsrc/stable/sysutils/py-notify/work/not=
 ify-python-0.1.1/src'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/pkgsrc/stable/sysutils/py-notify/work/not=
 ify-python-0.1.1'
 gmake: *** [all] Error 2
 *** Error code 2
 
 This is with pkgsrc-2012Q4, though. Duplicated this on another machine with=
  a similar setup, only without PREFER_PKGSRC=3Dyes.
 
 > Don't comment out USE_LIBTOOL, just remove it.
 
 Sorry, I sort of rushed through this and forgot to delete it.
 
 > Is pkg-config really not used any longer? How does it now find libnotify?
 
 Using setup,py, i suppose (not really a python packager). Here's the releva=
 nt parts of the build:
 
 cc -DNDEBUG -mfpmath=3Dsse -msse3 -march=3Dnative -DHAVE_DB_185_H -I/usr/in=
 clude -I/usr/pkg/include -I/usr/pkg/include/gettext -I/usr/pkg/include/ncur=
 ses -mfpmath=3Dsse -msse3 -march=3Dnative -I/usr/include -I/usr/pkg/include=
  -I/usr/pkg/include/gettext -I/usr/pkg/include/freetype2 -I/usr/include -I/=
 usr/pkg/include -I/usr/pkg/include/gettext -I/usr/pkg/include/freetype2 -fP=
 IC -I/usr/pkg/include/python2.7 -c notify/gc.c -o build/temp.netbsd-6.0.1-a=
 md64-2.7/notify/gc.o
 cc -pthread -shared -L/usr/pkgsrc/lang/python27/work/Python-2.7.3 -L/usr/li=
 b -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/li=
 b -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -mfpmath=3Dsse -msse3 -march=3Dnative -=
 I/usr/include -I/usr/pkg/include -I/usr/pkg/include/gettext -I/usr/pkg/incl=
 ude/freetype2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/gettext =
 -I/usr/pkg/include/freetype2 build/temp.netbsd-6.0.1-amd64-2.7/notify/gc.o =
 -lpython2.7 -o build/lib.netbsd-6.0.1-amd64-2.7/notify/gc.so -L/usr/lib -Wl=
 ,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
 
 hplip had no problem building and running with this version. Also worth not=
 ing:  this version builds with wip/libnotify.
 
 > Why do you bump API depends? (ABI is sufficient in nearly all cases)
 
 I figured since upstream said the older version was no longer supported tha=
 t it didn't make sense to keep it around. The 0.2.x series might also be ba=
 ckwards-incompatible with the 0.1.x branch.
 


Home | Main Index | Thread Index | Old Index