After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 768019 - gst-python fails to compile for windows on fresh ubuntu 14.04
gst-python fails to compile for windows on fresh ubuntu 14.04
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: cerbero
1.8.1
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-24 19:41 UTC by Marcin Lewandowski
Modified: 2018-01-20 15:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marcin Lewandowski 2016-06-24 19:41:17 UTC
I am using fresh ubuntu 14.04 within docker to build gstreamer.

It seems that nettle needs some python libs that are not installed  during bootstrap


[(33/92) nettle -> fetch ]
checking for stdint.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for x86_64-w64-mingw32-as... x86_64-w64-mingw32-as
checking for x86_64-w64-mingw32-dlltool... (cached) x86_64-w64-mingw32-dlltool
checking for x86_64-w64-mingw32-objdump... (cached) x86_64-w64-mingw32-objdump
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... yes
checking ***** Error running 'build' command:
Recipe 'pygobject' failed at the build step 'configure'

if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc linker (x86_64-w64-mingw32-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
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
checking for library containing strerror... none required
checking for x86_64-w64-mingw32-gcc... (cached) x86_64-w64-mingw32-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-w64-mingw32-gcc accepts -g... (cached) yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... (cached) none needed
checking whether x86_64-w64-mingw32-gcc understands -c and -o together... (cached) yes
checking dependency style of x86_64-w64-mingw32-gcc... (cached) gcc3
/usr/bin/python2
checking whether python2 version >= 2.7... yes
checking for python2 version... (cached) 2.7
checking for python2 platform... (cached) win32
checking for python2 script directory... (cached) /root/cerbero-home/dist/windows_x86_64/lib/python2.7/site-packages
checking for python2 extension module directory... (cached) /root/cerbero-home/dist/windows_x86_64/lib/python2.7/site-packages
checking for python version... (cached) 2.7
checking for python platform... (cached) win32
checking for python script directory... (cached) /root/cerbero-home/dist/windows_x86_64/lib/python2.7/site-packages
checking for python extension module directory... (cached) /root/cerbero-home/dist/windows_x86_64/lib/python2.7/site-packages
checking for headers required to compile python extensions... found
checking for libraries required to embed python... no
configure: error: Python libs not found. Windows and Darwin require Python modules to be explicitly linked to libpython.
Running command './configure --prefix /root/cerbero-home/dist/windows_x86_64 --libdir /root/cerbero-home/dist/windows_x86_64/lib --with-python=python2 --disable-maintainer-mode  --disable-silent-rules  --disable-introspection  --host=x86_64-w64-mingw32 --build=x86_64-pc-linux --target=x86_64-w64-mingw32'

Here are my installed packages

$ dpkg -l | grep python | awk '{print $2}'
dh-python
libpython-dev:amd64
libpython-stdlib:amd64
libpython2.7:amd64
libpython2.7-dev:amd64
libpython2.7-minimal:amd64
libpython2.7-stdlib:amd64
libpython3-stdlib:amd64
libpython3.4-minimal:amd64
libpython3.4-stdlib:amd64
python
python-apt
python-apt-common
python-dev
python-libxml2
python-minimal
python-pycurl
python-software-properties
python-support
python2.7
python2.7-dev
python2.7-minimal
python3
python3-apt
python3-chardet
python3-dbus
python3-debian
python3-gi
python3-magic
python3-minimal
python3-pkg-resources
python3-pycurl
python3-six
python3-software-properties
python3.4
python3.4-minimal
Comment 1 Marcin Lewandowski 2016-06-24 19:50:14 UTC
It is related to gst-python, not nettle.
Comment 2 Sebastian Dröge (slomo) 2016-06-27 06:40:05 UTC
Probably nobody built gst-python for Windows with cerbero yet. Can you also provide the config.log?
Comment 3 Tim-Philipp Müller 2018-01-20 15:34:43 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!