#2756 NORM Untriag: sugar-jhbuild failures on Gentoo AMD64

Zarro Boogs per Child bugtracker at laptop.org
Sun Aug 12 00:49:29 EDT 2007


#2756: sugar-jhbuild failures on Gentoo AMD64
----------------------------+-----------------------------------------------
 Reporter:  mcfletch        |       Owner:  krstic            
     Type:  defect          |      Status:  new               
 Priority:  normal          |   Milestone:  Untriaged         
Component:  infrastructure  |     Version:  Git as of bug date
 Keywords:                  |    Verified:  0                 
----------------------------+-----------------------------------------------
 Trying to build Sugar on a modern, up-to-date Gentoo AMD64 box, here are
 the failures seen:

 dbus-python:
 {{{
 checking for headers required to compile python extensions... not found
 configure: error: could not find Python headers
 *** error during stage configure of dbus-python: ########## Error running
 ./configure --prefix /home/mcfletch/olpc/build/sugar-jhbuild/build
 --libdir '${exec_prefix}/lib64'   *** [4/43]
 }}}

 the machine already has dev-python/dbus-python-0.80.2 installed, so skip
 that package for now.

 telepathy-salut:

 {{{
 ./.libs/libsalut-convenience.a(tube-dbus.o): In function `filter_cb':
 /home/mcfletch/olpc/build/sugar-jhbuild/source/telepathy-salut-olpc-
 trial2/src/tube-dbus.c:171: undefined reference to `dbus_message_marshal'
 ./.libs/libsalut-convenience.a(tube-dbus.o): In function
 `data_received_cb':
 /home/mcfletch/olpc/build/sugar-jhbuild/source/telepathy-salut-olpc-
 trial2/src/tube-dbus.c:849: undefined reference to
 `dbus_message_demarshal'
 collect2: ld returned 1 exit status
 make[3]: *** [telepathy-salut] Error 1
 make[3]: Leaving directory `/home/mcfletch/olpc/build/sugar-jhbuild/source
 /telepathy-salut-olpc-trial2/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/home/mcfletch/olpc/build/sugar-jhbuild/source
 /telepathy-salut-olpc-trial2/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/mcfletch/olpc/build/sugar-jhbuild/source
 /telepathy-salut-olpc-trial2'
 make: *** [all] Error 2
 *** error during stage build of telepathy-salut: ########## Error running
 make   *** [14/43]
 }}}

 which is likely a problem with the version of dbus, detection of the
 headers for the version installed, or possibly a need for a function
 defined only in the version of python-dbus skipped previously.

 libabiword:

 Failing due to what looks like a 64-bit platform issue in setting the
 library include path:

 {{{
 -L/home/mcfletch/olpc/build/sugar-jhbuild/build/lib
 }}}

 is used where:

 {{{
 -L/home/mcfletch/olpc/build/sugar-jhbuild/build/lib64
 }}}

 should be used.  The /usr/lib64 path is specified on the search path, so
 if we were building on the root the build would likely continue past this
 point.

 {{{
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-
 gnu/bin/ld: cannot find -lwv
 collect2: ld returned 1 exit status
 make[4]: *** [abiword] Error 1
 make[4]: Leaving directory `/home/mcfletch/olpc/build/sugar-
 jhbuild/source/libabiword/src/wp/main/unix'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/home/mcfletch/olpc/build/sugar-
 jhbuild/source/libabiword/src/wp/main'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/mcfletch/olpc/build/sugar-
 jhbuild/source/libabiword/src/wp'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/mcfletch/olpc/build/sugar-
 jhbuild/source/libabiword/src'
 make: *** [all-recursive] Error 1
 *** error during stage build of libabiword: ########## Error running make
 *** [19/43]
 }}}

 xulrunner:

 This one looks like a Python 2.4/Python 2.5 issue (ssize_t conversion
 issue).  Also likely an AMD64-only issue.

 {{{
 c++ -o PyGInputStream.o -c -fvisibility=hidden -DOSTYPE=\"Linux2.6\"
 -DOSARCH=Linux -DBUILD_ID=0000000000 -I/usr/include/python2.5
 -I../../../../dist/include/xpcom -I../../../../dist/include/string
 -I../../../../dist/include   -I../../../../dist/include/pyxpcom
 -I../../../../dist/include/nspr  -DMOZ_PNG_READ -DPNG_NO_MMX_CODE
 -DMOZ_PNG_WRITE  -I../../../../dist/sdk/include    -fPIC   -fno-rtti -fno-
 exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-
 virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-
 long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O
 -DPYTHON_SO=\"libpython2.5.so\"   -DMOZILLA_CLIENT -include
 ../../../../mozilla-config.h -Wp,-MD,.deps/PyGInputStream.pp
 PyGInputStream.cpp
 PyGInputStream.cpp: In member function 'virtual nsresult
 PyG_nsIInputStream::Read(char*, PRUint32, PRUint32*)':
 PyGInputStream.cpp:108: error: cannot convert 'int*' to 'Py_ssize_t*' for
 argument '3' to 'int PyObject_AsReadBuffer(PyObject*, const void**,
 Py_ssize_t*)'
 gmake[6]: *** [PyGInputStream.o] Error 1
 gmake[6]: Leaving directory `/home/mcfletch/olpc/build/sugar-
 jhbuild/source/xulrunner-1.9a6/extensions/python/xpcom/src'
 gmake[5]: *** [libs] Error 2
 gmake[5]: Leaving directory `/home/mcfletch/olpc/build/sugar-
 jhbuild/source/xulrunner-1.9a6/extensions/python/xpcom'
 gmake[4]: *** [libs] Error 2
 gmake[4]: Leaving directory `/home/mcfletch/olpc/build/sugar-
 jhbuild/source/xulrunner-1.9a6/extensions/python'
 gmake[3]: *** [libs] Error 2
 gmake[3]: Leaving directory `/home/mcfletch/olpc/build/sugar-
 jhbuild/source/xulrunner-1.9a6/extensions'
 gmake[2]: *** [libs_tier_app] Error 2
 gmake[2]: Leaving directory `/home/mcfletch/olpc/build/sugar-
 jhbuild/source/xulrunner-1.9a6'
 gmake[1]: *** [tier_app] Error 2
 gmake[1]: Leaving directory `/home/mcfletch/olpc/build/sugar-
 jhbuild/source/xulrunner-1.9a6'
 make: *** [default] Error 2
 *** error during stage build of xulrunner: ########## Error running make
 *** [24/43]
 }}}

-- 
Ticket URL: <https://dev.laptop.org/ticket/2756>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list