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

Bug#449031: patch for external/Makefile



Und es begab sich am 25.10.2009 02:51, dass Jonas Smedegaard schrieb:
> First of all: Thanks a lot for pushing!
No problem - my pleasure... ;-)

> 
> Back in... whoa, is it really that long ago? december 2008, it seems, I
> indeed felt that the upstream coding was too weird for proper packaging
> - the packaging done upstream was done through pulling in precompiled
> binaries via Subversion, if I recall correctly, which is inappropriate
> (to put it mildly) for official Debian packaging.  That said, the actual
> code looks looks really promising to me - it is just their way of
> stuffing surrounding libraries together that is quite unusual and far
> from usable to Debian.
> 
> I thought I had pushed my work back then to a Git in collab-maint, but
> you are right, I didn't.  In fact I haven't even kept my work in a local
> Git :-/
oh, what a pity.
I attached a patch (quick'n'dirty, nevermind its name - that was what I
started with) against chandler's SVN to get it least further than only
downloading external stuff - by simply commenting out/deleting the external
stuff, which is broken on OSA's website and already present in Debian (and
in Build-Depends). No idea, whether that will work - it still doesn't even
compile. (Of course, the control file also needs some adjustments,
particularly python-zopeinterface -> python-zope.interface and python2.6 ->
python (>= 2.5) IIRC)

The build stops after a long time (the OSA server for downloading the
external stuff is terribly slow) here:

In file included from ../src/gtk/gsockgtk.cpp:21:
../include/wx/gsocket.h:40: error: using typedef-name 'GSocket' after 'class'
/usr/include/glib-2.0/gio/giotypes.h:120: error: 'GSocket' has a previous
declaration here
In file included from ../include/wx/gsocket.h:179,
                 from ../src/gtk/gsockgtk.cpp:21:
../include/wx/unix/gsockunx.h:40: error: using typedef-name 'GSocket' after
'class'
/usr/include/glib-2.0/gio/giotypes.h:120: error: 'GSocket' has a previous
declaration here
../src/gtk/gsockgtk.cpp: In function 'void _GSocket_GDK_Input(void*, gint,
GdkInputCondition)':
../src/gtk/gsockgtk.cpp:34: error: 'struct _GSocket' has no member named
'Detected_Read'
../src/gtk/gsockgtk.cpp:36: error: 'struct _GSocket' has no member named
'Detected_Write'
../src/gtk/gsockgtk.cpp: In member function 'virtual bool
GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket*)':
../src/gtk/gsockgtk.cpp:56: error: 'struct _GSocket' has no member named
'm_gui_dependent'
../src/gtk/gsockgtk.cpp:57: error: 'struct _GSocket' has no member named
'm_gui_dependent'
../src/gtk/gsockgtk.cpp: In member function 'virtual void
GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket*)':
../src/gtk/gsockgtk.cpp:67: error: 'struct _GSocket' has no member named
'm_gui_dependent'
../src/gtk/gsockgtk.cpp: In member function 'virtual void
GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent)':
../src/gtk/gsockgtk.cpp:72: error: 'struct _GSocket' has no member named
'm_gui_dependent'
../src/gtk/gsockgtk.cpp:75: error: 'struct _GSocket' has no member named 'm_fd'
../src/gtk/gsockgtk.cpp:83: error: 'struct _GSocket' has no member named
'm_server'
../src/gtk/gsockgtk.cpp:90: error: 'struct _GSocket' has no member named 'm_fd'
../src/gtk/gsockgtk.cpp: In member function 'virtual void
GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent)':
../src/gtk/gsockgtk.cpp:98: error: 'struct _GSocket' has no member named
'm_gui_dependent'
../src/gtk/gsockgtk.cpp:108: error: 'struct _GSocket' has no member named
'm_server'
make[4]: *** [monodll_gsockgtk.o] Error 1
make[4]: Leaving directory
`/tmp/buildd/chandler-1.0.3.1~svn16692/external/wx/wxPython-r219/build_release'
make[3]: *** [wxWidgets] Error 2
make[3]: Leaving directory
`/tmp/buildd/chandler-1.0.3.1~svn16692/external/wx/wxPython-r219'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/tmp/buildd/chandler-1.0.3.1~svn16692/external/wx'
make[1]: *** [wx] Error 2
make[1]: Leaving directory `/tmp/buildd/chandler-1.0.3.1~svn16692/external'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package

I did not yet have the time to investigate this further.

> 
> Thanks a lot for the suggestion on chopping this big challenge into
> smaller pieces.  I will now dust off the the work I've done so far and
> put it into a Git for collab-maint as intended, and will appreciate any
> and all help in moving on with this - including poking me whenever I get
> too silent on this front for too long.
I have no idea about Git, but maybe that would be a good occasion to learn
it - if it wouldn't be so short of free-time ATM. Anyway, I will watch the
activity and maybe here and there try to do something on my own. And who
knows - maybe I will even be able to contribute some patch or whatever...

All the best,

Jan

-- 
Jan Beyer				happy Debian Maintainer	;-)	

mail	jan@beathovn.de			GPG key ID 0x0CA6B4AA
jabber	beathovn@jabber.org
web	http://www.beathovn.de/
--- chandler-1.0.3.1~svn16692.orig/external/Makefile
+++ chandler-1.0.3.1~svn16692/external/Makefile
@@ -22,8 +22,8 @@
 # built a working python 2.5
 #
 BUILD_ONLY_PY_SYSTEMS = \
-    setuptools \
-    zope.interface
+    #setuptools \
+    #zope.interface
 
 setuptools: $(EASY_INSTALL)
 	$(PYTHON) -c 'from pkg_resources import require; require("setuptools>=0.6c9")' || \
@@ -44,9 +44,6 @@
 PY_SYSTEMS = \
         PyLucene \
         $(PYICU_BUILD) \
-        $(ZOPE_BUILD) \
-        $(M2CRYPTO_BUILD) \
-        $(TWISTED_BUILD) \
         wx
 
 ALL_SYSTEMS = $(BUILD_ONLY_SYSTEMS) $(BINARY_SYSTEMS) $(BUILD_ONLY_PY_SYSTEMS) \

Reply to: