LinuxMCE Forums

General => Developers => Topic started by: rperre on December 15, 2009, 04:34:41 am

Title: Errors Trying to setup build environment
Post by: rperre on December 15, 2009, 04:34:41 am
OK, i'm using virtualbox under windooze 7. running ubuntu 0810, everything fine there.

Did update dist-upgrade, also all good. took a snapshot :P because i had to do it many times before.....

I'm using the building linuxmce 0810 wiki http://wiki.linuxmce.org/index.php/Building_LinuxMCE_0810 (http://wiki.linuxmce.org/index.php/Building_LinuxMCE_0810)

ok than i go into building, everything seems to go fine untill i start the "preparing for build" part

I got a liblircclient0 error, it need the package liblircclient0 0.8.3-0ubuntu2+lmce2_i386.deb but  liblircclient0 0.8.3-0ubuntu2 is already installed..... ? ok so i installed this lmce2 package manual and after that it ran smooth all the way to the actual build scripts.

Than at the build-replacements.sh (i'm running them all manual for the first time as recommended) after 2 hours of building libxine i get the following output (i left some of the middle part out because of the 20000 character limit for posting)
Code: [Select]
19:13:55  *** STEP: Building replacement debs                                               
19:13:55  Building lirc                                                                     
19:17:37  Building libxine                                                                 
21:13:05  Building alsa-utils                                                               
21:13:06  ERROR: Undefined error in build-scripts/build-replacements.sh                                               
                                                                                                                     

 ID GTAGS GRTAGS GSYMS GPATH tags
make[3]: Leaving directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/xine-lib-1.1.16.3-0ubuntu2~xine/src'
rm -f Makefile                                                                                                   
make[2]: Leaving directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/xine-lib-1.1.16.3-0ubuntu2~xine/src'
Making distclean in lib                                                                                           
make[2]: Entering directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/xine-lib-1.1.16.3-0ubuntu2~xine/lib'
make[3]: Entering directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/xine-lib-1.1.16.3-0ubuntu2~xine'   
make[3]: Leaving directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/xine-lib-1.1.16.3-0ubuntu2~xine'     
rm -rf .libs _libs                                                                                                 
test -z "libxineposix.la" || rm -f l
ibxineposix.la                                                                 
rm -f "./so_locations"                                                                                             
rm -f *.o                                                                                                         
rm -f *~ \#* .*~ .\#*                                                                                             
rm -f *.lo                                                                                                         
rm -f *.tab.c                                                                                                     
test -z "" || rm -f                                                                                               
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags                                                                       
rm -rf .deps                                                                                                       
rm -f Makefile                                                                                                     
make[2]: Leaving directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/xine-lib-1.1.16.3-0ubuntu2~xine/lib'
Making distclean in include                                                                                       
make[2]: Entering directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/xine-lib-1.1.16.3-0ubuntu2~xine/include'                                                                                                                     
make[3]: Entering directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/xine-lib-1.1.16.3-0ubuntu2~xine'       

>>>>>>>CUT OUT OUTPUT HERE>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

make[2]: Leaving directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/xine-lib-1.1.16.3-0ubuntu2~xine'
rm -f config.status config.cache config.log configure.lineno config.status.lineno
rm -f Makefile
make[1]: Leaving directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/xine-lib-1.1.16.3-0ubuntu2~xine'
dh_clean build-stamp configure-stamp install-stamp po/*.gmo \
            po/stamp-po binary-*-stamp all-files-stamp \
            generate-arch-files-stamp \
            debian/libxine1-bin.install.i386 \
            debian/libxine1-bin.install.amd64 \
            debian/libxine1*.install.kfreebsd* \
            config.h config.log \
            a.out # XXX fix the configure script to not create this
dpkg-buildpackage: binary only upload (no source included)
/usr/local/lmce-build
/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/alsa-utils-1.0.18 /usr/local/lmce-build
dpkg-buildpackage -rfakeroot -us -uc -b -tc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package alsa-utils
dpkg-buildpackage: source version 1.0.18-1ubuntu11~dia1
dpkg-buildpackage: source changed by Radu C <radu.cx@gmail.com>
dpkg-buildpackage: host architecture i386
dpkg-checkbuilddeps: Unmet build dependencies: libasound2-dev (>= 1.0.18) xmlto
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)

Can anybody tell me what i am doing wrong or if i need to add a step somewhere.

appreciate any help,

Richard
Title: Re: Errors Trying to setup build environment
Post by: hari on December 15, 2009, 09:25:32 pm
dpkg-checkbuilddeps: Unmet build dependencies: libasound2-dev ..

did you try to install that package?

br Hari
Title: Re: Errors Trying to setup build environment
Post by: Marie.O on December 16, 2009, 03:25:22 pm
As we have some additional packages that we need, there are some additional build packages that are needed. hari pinted out, do a dpkg-checkbuilddeps in the corresponding directory. It will give you a list of needed debs.
Title: Re: Errors Trying to setup build environment
Post by: rperre on December 16, 2009, 04:25:50 pm
thank you i will try that.

libasound2-dev is installed, i will be looking for others.

on a closer look i install the liblircclient-dev 0.8.2-0ubuntu2+lmce2 package instead of the normal liblircclient-dev 0.8.2-0ubuntu2 could this be the problem?

UPDATE: looked at the version of libasound2-dev and it's an earlier version than asked for, will be upgrading it.

thanks

Richard
Title: Re: Errors Trying to setup build environment
Post by: rperre on December 16, 2009, 07:31:56 pm
Just to keep track of what i need to do, here are the packages i had to install and how:

>>>>>>>manually installed

liblircclient0
wget http://deb.linuxmce.org/ubuntu/dists/intrepid/lmce-alpha-latest/binary-i386/liblircclient0_0.8.3-0ubuntu2+lmce2_i386.deb
dpkg -i liblircclient0_0.8.3-0ubuntu2+lmce2_i386.deb

liblircclient-dev
wget http://deb.linuxmce.org/ubuntu/dists/intrepid/lmce-alpha-latest/binary-i386/liblircclient-dev_0.8.3-0ubuntu2+lmce2_i386.deb
dpkg -i liblircclient-dev_0.8.3-0ubuntu2+lmce2_i386.deb

>>>>>>>Upgrade libasound2-dev manually (was older version than needed)

wget http://http.us.debian.org/debian/pool/main/a/alsa-lib/libasound2-dev_1.0.21a-1_i386.deb
dpkg - i libasound2-dev_1.0.21a-1_i386.deb

>>>>>>>Update these with apt-get

apt-get install xmlto doxygen libc6-dev-amd64 lib64gcc1 gcc-multilib python2.4-dev

Will update the wiki with a add-on when i'm done if you all think it's needed?

Still get error when it tries to copy the alsa-lib*.deb: No such file or directory.

Richard
Title: Re: Errors Trying to setup build environment
Post by: apagg on December 16, 2009, 09:31:02 pm
Did you add the avenard repos?
Title: Re: Errors Trying to setup build environment
Post by: los93sol on December 16, 2009, 09:49:41 pm
I ran into the same issues as rperre when I was setting up a little over a month ago.  Can someone please take the information in this thread and fix the scripts or update the wiki?

NOTE:  I did have the avenard repos when I attempted this.  Though it does seem to me that they should be added for you when setting up a builder as part of the prep scripts.
Title: Re: Errors Trying to setup build environment
Post by: rperre on December 16, 2009, 10:08:02 pm
Avenard is added:

Next error i got is after or in building libasound2-plugins

dpkg-checkbuilddeps: Unmet build dependencies: lib64asound2-dev (>= 1.0.18)

checked version and sure enough 1.0.17 is installed

wget http://http.us.debian.org/debian/pool/main/a/alsa-lib/lib64asound2_1.0.21a-1_i386.deb
dpkg -i lib64asound2_1.0.21a-1_i386.deb

Since i saw a reference to the plugins, i also installed that

wget http://http.us.debian.org/debian/pool/main/a/alsa-plugins/lib64asound2-plugins_1.0.21-3_i386.deb
dpkg -i lib64asound2-plugins_1.0.21-3_i386.deb

and trying again,

Richard
Title: Re: Errors Trying to setup build environment
Post by: los93sol on December 16, 2009, 10:09:01 pm
Are you using 64 bit or 32?
Title: Re: Errors Trying to setup build environment
Post by: rperre on December 16, 2009, 10:16:16 pm
32 bit

I don't know why it wants this 64 bit stuff, but it will give me an error, so i'll install it.

forgot lib64asound2-dev i guess, so installed it:

wget http://http.us.debian.org/debian/pool/main/a/alsa-lib/lib64asound2-dev_1.0.21a-1_i386.deb
dpkg - i lib64asound2-dev_1.0.21a-1_i386.deb

I started to comment out the already build packages in the build-script to save some time.

Richard
Title: Re: Errors Trying to setup build environment
Post by: rperre on December 16, 2009, 10:22:03 pm
While Building vdr-plugin-xineliboutput in build-replacments.sh next error came up?

Code: [Select]
15:17:13  Building vdr-plugin-xineliboutput                                                 
15:17:45  ERROR: Undefined error in build-scripts/build-replacements.sh                     


USE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o equalizer.o equalizer.c                                                                                                 
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o frontend_local.o frontend_local.c                                                             
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o frontend_svr.o frontend_svr.c                                                                 
In file included from frontend_svr.c:43:                                                                           
tools/sdp.h: In function ‘char* vdr_sdp_description(const char*, int, int, const char*, uint32_t, int, int)’:       
tools/sdp.h:89: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result                                                                                                 
frontend_svr.c: In member function ‘void cXinelibServer::Handle_ClientConnected(int)’:                             
frontend_svr.c:1692: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result                                                                                           
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/cxsocket.o tools/cxsocket.c                                                             
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/udp_pes_scheduler.o tools/udp_pes_scheduler.c                                           
In file included from tools/udp_pes_scheduler.c:36:                                                                 
tools/sdp.h: In function ‘char* vdr_sdp_description(const char*, int, int, const char*, uint32_t, int, int)’:       
tools/sdp.h:89: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result                                                                                                 
tools/udp_pes_scheduler.c: In member function ‘virtual void cUdpScheduler::Action()’:                               
tools/udp_pes_scheduler.c:680: warning: ignoring return value of ‘int nice(int)’, declared with attribute warn_unused_result                                                                                                           
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/backgroundwriter.o tools/backgroundwriter.c                                             
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/playlist.o tools/playlist.c                                                             
tools/playlist.c: In member function ‘virtual void cID3Scanner::Action()’:                                         
tools/playlist.c:146: warning: ignoring return value of ‘int nice(int)’, declared with attribute warn_unused_result
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/http.o tools/http.c                                                                     
cc -g -Wall -O2 -fPIC    -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include  tools/vdrdiscovery.c -o tools/vdrdiscovery.o                                                                                         
tools/vdrdiscovery.c: In function ‘udp_discovery_broadcast’:                                                       
tools/vdrdiscovery.c:115: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result 
tools/vdrdiscovery.c:123: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result 
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/time_pts.o tools/time_pts.c                                                             
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools.o tools.c                                                                               
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/metainfo_menu.o tools/metainfo_menu.c                                                   
cc mpg2c.c -o mpg2c                                                                                                 
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o black_720x576.o black_720x576.c                                                               
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o nosignal_720x576.o nosignal_720x576.c                                                         
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o vdrlogo_720x576.o vdrlogo_720x576.c                                                           
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -shared -fvisibility=hidden  xineliboutput.o device.o frontend.o osd.o config.o menu.o setup_menu.o i18n.o menuitems.o media_player.o equalizer.o frontend_local.o frontend_svr.o tools/cxsocket.o tools/udp_pes_scheduler.o tools/backgroundwriter.o tools/playlist.o tools/http.o tools/vdrdiscovery.o tools/time_pts.o tools.o tools/metainfo_menu.o black_720x576.o nosignal_720x576.o vdrlogo_720x576.o -lrt  -o libvdr-xineliboutput.so
cc -g -Wall -O2 -fPIC    -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include  xine_sxfe_frontend.c
In file included from xine_sxfe_frontend.c:205:
xine_frontend.c: In function ‘fe_frame_output_cb’:
xine_frontend.c:288: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
xine_frontend.c: In function ‘fe_xine_open’:
xine_frontend.c:728: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
cc -g -Wall -O2 -fPIC    -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include  xine/post.c -o xine/post.o
xine/post.c: In function ‘__pplugin_retrieve_parameters’:
xine/post.c:86: warning: ‘xine_xmalloc’ is deprecated (declared at /usr/include/xine/xineutils.h:624)
xine/post.c: In function ‘pplugin_parse_and_load’:
xine/post.c:279: warning: ‘xine_xmalloc’ is deprecated (declared at /usr/include/xine/xineutils.h:624)
xine/post.c:285: warning: ‘xine_xmalloc’ is deprecated (declared at /usr/include/xine/xineutils.h:624)
xine/post.c: In function ‘_pplugin_join_deinterlace_and_post_elements’:
xine/post.c:504: warning: ‘xine_xmalloc’ is deprecated (declared at /usr/include/xine/xineutils.h:624)
xine/post.c: In function ‘_pplugin_join_visualization_and_post_elements’:
xine/post.c:576: warning: ‘xine_xmalloc’ is deprecated (declared at /usr/include/xine/xineutils.h:624)
cc -g -Wall -O2 -fPIC    -shared -fvisibility=hidden  xine_sxfe_frontend.o xine/post.o -L/usr/X11R6/lib -lX11 -lXv -lXext -lXrender -lxine   -o libxineliboutput-sxfe.so
/usr/bin/ld: cannot find -lxine
collect2: ld returned 1 exit status
make[1]: *** [libxineliboutput-sxfe.so] Error 1
make[1]: Leaving directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/vdr-plugin-xineliboutput-1.0.1+lmce'
make: *** [common-build-arch] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Still looking for what i can do here,

Richard
Title: Re: Errors Trying to setup build environment
Post by: niz23 on December 16, 2009, 10:55:26 pm
rperre,

It´s because you have no libxine.
see one of the last rows with error output from linker.

Do you have libxine and it´s -dev package installed?

/niz23

While Building vdr-plugin-xineliboutput in build-replacments.sh next error came up?

Code: [Select]
15:17:13  Building vdr-plugin-xineliboutput                                                 
15:17:45  ERROR: Undefined error in build-scripts/build-replacements.sh                     


USE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o equalizer.o equalizer.c                                                                                                 
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o frontend_local.o frontend_local.c                                                             
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o frontend_svr.o frontend_svr.c                                                                 
In file included from frontend_svr.c:43:                                                                           
tools/sdp.h: In function ‘char* vdr_sdp_description(const char*, int, int, const char*, uint32_t, int, int)’:       
tools/sdp.h:89: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result                                                                                                 
frontend_svr.c: In member function ‘void cXinelibServer::Handle_ClientConnected(int)’:                             
frontend_svr.c:1692: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result                                                                                           
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/cxsocket.o tools/cxsocket.c                                                             
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/udp_pes_scheduler.o tools/udp_pes_scheduler.c                                           
In file included from tools/udp_pes_scheduler.c:36:                                                                 
tools/sdp.h: In function ‘char* vdr_sdp_description(const char*, int, int, const char*, uint32_t, int, int)’:       
tools/sdp.h:89: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result                                                                                                 
tools/udp_pes_scheduler.c: In member function ‘virtual void cUdpScheduler::Action()’:                               
tools/udp_pes_scheduler.c:680: warning: ignoring return value of ‘int nice(int)’, declared with attribute warn_unused_result                                                                                                           
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/backgroundwriter.o tools/backgroundwriter.c                                             
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/playlist.o tools/playlist.c                                                             
tools/playlist.c: In member function ‘virtual void cID3Scanner::Action()’:                                         
tools/playlist.c:146: warning: ignoring return value of ‘int nice(int)’, declared with attribute warn_unused_result
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/http.o tools/http.c                                                                     
cc -g -Wall -O2 -fPIC    -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include  tools/vdrdiscovery.c -o tools/vdrdiscovery.o                                                                                         
tools/vdrdiscovery.c: In function ‘udp_discovery_broadcast’:                                                       
tools/vdrdiscovery.c:115: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result 
tools/vdrdiscovery.c:123: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result 
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/time_pts.o tools/time_pts.c                                                             
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools.o tools.c                                                                               
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o tools/metainfo_menu.o tools/metainfo_menu.c                                                   
cc mpg2c.c -o mpg2c                                                                                                 
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o black_720x576.o black_720x576.c                                                               
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o nosignal_720x576.o nosignal_720x576.c                                                         
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include -o vdrlogo_720x576.o vdrlogo_720x576.c                                                           
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -shared -fvisibility=hidden  xineliboutput.o device.o frontend.o osd.o config.o menu.o setup_menu.o i18n.o menuitems.o media_player.o equalizer.o frontend_local.o frontend_svr.o tools/cxsocket.o tools/udp_pes_scheduler.o tools/backgroundwriter.o tools/playlist.o tools/http.o tools/vdrdiscovery.o tools/time_pts.o tools.o tools/metainfo_menu.o black_720x576.o nosignal_720x576.o vdrlogo_720x576.o -lrt  -o libvdr-xineliboutput.so
cc -g -Wall -O2 -fPIC    -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include  xine_sxfe_frontend.c
In file included from xine_sxfe_frontend.c:205:
xine_frontend.c: In function ‘fe_frame_output_cb’:
xine_frontend.c:288: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
xine_frontend.c: In function ‘fe_xine_open’:
xine_frontend.c:728: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
cc -g -Wall -O2 -fPIC    -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.0.1"' -DHAVE_XRENDER=1 -DHAVE_XDPMS=1 -DHAVE_XINERAMA=1 -DUSE_ICONV=1 -DNOSIGNAL_IMAGE_FILE='"/usr/share/libxine1-xvdr/nosignal.mpg"' -Wall -I/usr/include/vdr/include  xine/post.c -o xine/post.o
xine/post.c: In function ‘__pplugin_retrieve_parameters’:
xine/post.c:86: warning: ‘xine_xmalloc’ is deprecated (declared at /usr/include/xine/xineutils.h:624)
xine/post.c: In function ‘pplugin_parse_and_load’:
xine/post.c:279: warning: ‘xine_xmalloc’ is deprecated (declared at /usr/include/xine/xineutils.h:624)
xine/post.c:285: warning: ‘xine_xmalloc’ is deprecated (declared at /usr/include/xine/xineutils.h:624)
xine/post.c: In function ‘_pplugin_join_deinterlace_and_post_elements’:
xine/post.c:504: warning: ‘xine_xmalloc’ is deprecated (declared at /usr/include/xine/xineutils.h:624)
xine/post.c: In function ‘_pplugin_join_visualization_and_post_elements’:
xine/post.c:576: warning: ‘xine_xmalloc’ is deprecated (declared at /usr/include/xine/xineutils.h:624)
cc -g -Wall -O2 -fPIC    -shared -fvisibility=hidden  xine_sxfe_frontend.o xine/post.o -L/usr/X11R6/lib -lX11 -lXv -lXext -lXrender -lxine   -o libxineliboutput-sxfe.so
/usr/bin/ld: cannot find -lxine
collect2: ld returned 1 exit status
make[1]: *** [libxineliboutput-sxfe.so] Error 1
make[1]: Leaving directory `/var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu/vdr-plugin-xineliboutput-1.0.1+lmce'
make: *** [common-build-arch] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Still looking for what i can do here,

Richard

Title: Re: Errors Trying to setup build environment
Post by: rperre on December 17, 2009, 04:10:33 pm
I guess i'm thinking it get's build so it must be installed, but it is not installed. Just another one to add to the list.

I mean there must be something i'm missing somewhere that i get all these unmet dependencies and non installed packages?

wget http://security.ubuntu.com/ubuntu/pool/main/x/xine-lib/libxine1_1.1.15-0ubuntu3.3_i386.deb
dpkg -i libxine1_1.1.15-0ubuntu3.3_i386.deb

after this it told me that libxine1 1.1.16.3-0ubuntu2~xine-vdpau~intrepid~ppa2 is installed

ok so let's install libxine-dev

wget http://security.ubuntu.com/ubuntu/pool/main/x/xine-lib/libxine-dev_1.1.15-0ubuntu3.3_i386.deb
dpkg -i libxine-dev_1.1.15-0ubuntu3.3_i386.deb

After this i ran yet another build-replacements.sh

Richard


Title: Re: Errors Trying to setup build environment
Post by: rperre on December 17, 2009, 04:24:22 pm
The error remains the same after install libxine and the -dev

Richard
Title: Re: Errors Trying to setup build environment
Post by: rperre on December 18, 2009, 04:03:04 pm
ok, i tried to go on and the build-scripts/build-makerelease.sh and build-scripts/import-databases.sh actually ran without any errors, than i went on to the build-scripts/build-maindebs.sh and got the following error. Seems to me that i need everything build correct before this will all go through

Code: [Select]
root@rperre-vbox-lmce-development:/usr/local/lmce-build# build-scripts/build-maindebs.sh                                                                               
18:38:15  *** STEP: Running MakeRelease                                             
18:38:19  Performing search'n'replace on the sources                               
18:40:45  Cleaning MakeRelease debs output directory                               
18:40:45  Compiling and building packages                                           
19:06:46  ERROR: MakeRelease failed                                                 


ssor(XEvent&)’:
Xine_Stream.cpp:1120: warning: ‘int xine_gui_send_vo_data(xine_stream_t*, int, void*)’ is deprecated (declared at /usr/include/xine.h:1124)                             
Xine_Stream.cpp:1120: warning: ‘int xine_gui_send_vo_data(xine_stream_t*, int, void*)’ is deprecated (declared at /usr/include/xine.h:1124)                             
g++ -c -I.. -I../DCE -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -Wall -fPIC -ggdb3  XineMediaInfo.cpp -o XineMediaInfo.o                                 
g++ -c -I.. -I../DCE -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -Wall -fPIC -ggdb3  ../utilities/linux/window_manager/WMController/WMController.cpp -o ../utilities/linux/window_manager/WMController/WMController.o                         
g++ -c -I.. -I../DCE -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -Wall -fPIC -ggdb3  ../utilities/linux/window_manager/wmctrl/wmctrl.cpp -o ../utilities/linux/window_manager/wmctrl/wmctrl.o                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::wm_info(Display*)’:                                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:562: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:565: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:575: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:579: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:588: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:592: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:602: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:609: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::showing_desktop(Display*)’:                                                       
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:668: warning: deprecated conversion from string constant to ‘char*’                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::change_viewport(Display*)’:                                                       
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:679: warning: deprecated conversion from string constant to ‘char*’                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::change_geometry(Display*)’:                                                       
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:696: warning: deprecated conversion from string constant to ‘char*’                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::change_number_of_desktops(Display*)’:                                             
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:716: warning: deprecated conversion from string constant to ‘char*’                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::switch_desktop(Display*, char*)’:                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:737: warning: deprecated conversion from string constant to ‘char*’                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::window_to_desktop(Display*, Window, int)’:                                         
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:807: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:810: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:823: warning: deprecated conversion from string constant to ‘char*’                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::activate_window(Display*, Window, gboolean)’:                                     
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:833: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:836: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:846: warning: deprecated conversion from string constant to ‘char*’                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:856: warning: deprecated conversion from string constant to ‘char*’                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::close_window(Display*, Window)’:                                                   
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:865: warning: deprecated conversion from string constant to ‘char*’                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::window_state(Display*, Window, char*)’:                                           
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:953: warning: deprecated conversion from string constant to ‘char*’                                                 
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘gboolean WmCtrl::wm_supports(Display*, const gchar*)’:                                         
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:970: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::window_move_resize(Display*, Window, char*)’:                                     
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1030: warning: deprecated conversion from string constant to ‘char*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘bool WmCtrl::CurrentDesktop(long unsigned int&)’:                                             
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1251: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1253: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::list_desktops(Display*)’:                                                         
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1294: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1297: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1307: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1310: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1322: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1327: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1338: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1345: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1352: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1355: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘Window* WmCtrl::get_client_list(Display*, long unsigned int*)’:                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1569: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1572: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘int WmCtrl::list_windows(Display*, std::list<WinInfo, std::allocator<WinInfo> >*)’:           
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1652: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1689: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1692: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1697: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1701: warning: deprecated conversion from string constant to ‘gchar*’                                               
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1723: warning: deprecated conversion from string constant to ‘gchar*’
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘gchar* WmCtrl::get_window_class(Display*, Window)’:
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1816: warning: deprecated conversion from string constant to ‘gchar*’
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘gchar* WmCtrl::get_window_title(Display*, Window)’:
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1842: warning: deprecated conversion from string constant to ‘gchar*’
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1844: warning: deprecated conversion from string constant to ‘gchar*’
../utilities/linux/window_manager/wmctrl/wmctrl.cpp: In member function ‘Window WmCtrl::get_active_window(Display*)’:
../utilities/linux/window_manager/wmctrl/wmctrl.cpp:1995: warning: deprecated conversion from string constant to ‘gchar*’
g++ -o Xine_Player Main.o Xine_Player.o ../Gen_Devices/Xine_PlayerBase.o Colorspace_Utils.o JpegEncoderDecoder.o Xine_Stream_Factory.o Xine_Stream.o XineMediaInfo.o ../utilities/linux/window_manager/WMController/WMController.o ../utilities/linux/window_manager/wmctrl/wmctrl.o  -L../lib -L/usr/X11R6/lib  -L../Xine_Player -ljpeg -lxine-lXtst -lX11 -lglib-2.0 -lXmu -lcdda_interface  -ldvdnav_xine_custom -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
/usr/bin/ld: cannot find -lxine
collect2: ld returned 1 exit status
make: *** [Xine_Player] Error 1
make clean; make bin ***FAILED***
Error: make clean; make bin failed!
BuildSource failed for: 117 Pluto Xine Player
Aborting!


Richard
Title: Re: Errors Trying to setup build environment
Post by: rperre on December 18, 2009, 06:20:07 pm
setting it up under chroot now, seems to work better, just follow the wiki :P

Richard
Title: Re: Errors Trying to setup build environment
Post by: rperre on December 19, 2009, 01:22:09 am
Same unmet dependecies errors keep coming back, tkmedia is trying also and getting the same.

I did the following, i followed the wiki for chroot and everything went ok, the following is all for the building part.

build-scripts/checkout-svn.sh
build-scripts/import-win32bins.sh

both ran completely

installed  doxygen libc6-dev-amd64 lib64gcc1 gcc-multilib python2.4-dev before running build-replacements.sh
possy changed the script around a bit, and it is at least running libxine completely.

and dpkg libasound and lib64asound
(you want to install these packages from the /var/lmce-build/svn/branches/LinuxMCE-0810/ubuntu) these packages are not there until you run the build-scripts/build-replacements.sh first and let the error of unmet dependencies come up. This takes a while depending on your processing power (mine takes about 2 hours to build libxine, Q6600 quad core with 4Gb memory). Just to not have to wait i commented out the libxine build in the script before i ran it the second time, this time it completed.

build-scripts/build-makerelease.sh
build-scripts/import-databases.sh

both ran completely

Now running
build-scripts/build-maindebs.sh

will update with findings,

Richard
Title: Re: Errors Trying to setup build environment
Post by: rperre on December 19, 2009, 06:25:10 pm
after 2 hours of pre-compiling and building the following error came up:

Code: [Select]
root@rperre-vbox-lmce-development:/usr/local/lmce-build# build-scripts/build-maindebs.sh                                                                         
15:13:17  *** STEP: Running MakeRelease                                         
15:13:19  Performing search'n'replace on the sources                             
15:16:05  Cleaning MakeRelease debs output directory                             
15:16:05  Compiling and building packages                                       
17:15:43  ERROR: MakeRelease failed                                             


 //home/samba/www_docs/graphics/Basic/cursors/pointers_bw/speed_shape_3.xbm.msk --> /var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619/root//usr/pluto/orbiter/skins/Basic/cursors/pointers_bw/speed_shape_3.xbm.msk                   
COPY: //home/samba/www_docs/graphics/Basic/cursors/pointers_bw/speed_shape_-3.xbm.msk --> /var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619/root//usr/pluto/orbiter/skins/Basic/cursors/pointers_bw/speed_shape_-3.xbm.msk           
Depends list:                                                                   
PreDepends list:                                                                 
Replaces:                                                                       
Conflicts:                                                                       
Provides:                                                                       
sed -i 's/^Depends:.*$/Depends: ${shlibs:Depends}, ${misc:Depends}/' /var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619/debian/control               
sed -i 's/^.*dh_strip.*$/       # dh_strip/g' /var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619/debian/rules                                         
dpkg-buildpackage -b -rfakeroot -us -uc                                         
dpkg-buildpackage: warning: using a gain-root-command while being root           
dpkg-buildpackage: set CFLAGS to default value: -g -O2                           
dpkg-buildpackage: set CPPFLAGS to default value:                               
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions       
dpkg-buildpackage: set FFLAGS to default value: -g -O2                           
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2                         
dpkg-buildpackage: source package pluto-skins-basic                             
dpkg-buildpackage: source version 2.0.0.44.09121922619                           
dpkg-buildpackage: source changed by LinuxMCE Developers <developers@linuxmce.org>                                                                               
dpkg-buildpackage: host architecture i386                                       
 fakeroot debian/rules clean                                                     
dh_testdir                                                                       
dh_testroot                                                                     
rm -f build-stamp configure-stamp                                               
# Add here commands to clean up after the build process.                         
/usr/bin/make clean                                                             
make[1]: Entering directory `/var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619'                                                                     
make[1]: `clean' is up to date.                                                 
make[1]: Leaving directory `/var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619'                                                                       
dh_clean                                                                         
 debian/rules build                                                             
dh_testdir                                                                       
# Add here commands to configure the package.                                   
touch configure-stamp                                                           
dh_testdir                                                                       
# Add here commands to compile the package.                                     
/usr/bin/make                                                                   
make[1]: Entering directory `/var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619'                                                                     
make[1]: `none' is up to date.                                                   
make[1]: Leaving directory `/var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619'                                                                       
#docbook-to-man debian/pluto-skins-basic.sgml > pluto-skins-basic.1             
touch build-stamp                                                               
 fakeroot debian/rules binary                                                   
dh_testdir                                                                       
dh_testroot                                                                     
dh_clean -k                                                                     
dh_installdirs                                                                   
# Add here commands to install the package into debian/pluto-skins-basic.       
/usr/bin/make DESTDIR=/var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619/debian/pluto-skins-basic install                                             
make[1]: Entering directory `/var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619'                                                                     
cp -a root/* /var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619/debian/pluto-skins-basic || true                                                     
make[1]: Leaving directory `/var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619'                                                                       
dh_testdir                                                                       
dh_testroot                                                                     
dh_installchangelogs                                                             
dh_installdocs                                                                   
dh_installexamples                                                               
dh_installman                                                                   
dh_link                                                                         
# dh_strip                                                                       
dh_compress                                                                     
dh_fixperms                                                                     
dh_installdeb                                                                   
dh_shlibdeps                                                                     
dh_gencontrol                                                                   
dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}       
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}         
dh_md5sums                                                                       
dh_builddeb                                                                     
dpkg-deb: building package `pluto-skins-basic' in `../pluto-skins-basic_2.0.0.44.09121922619_i386.deb'.                                                           
 dpkg-genchanges -b >../pluto-skins-basic_2.0.0.44.09121922619_i386.changes     
dpkg-genchanges: binary-only upload - not including any source code             
dpkg-buildpackage: binary only upload (no source included)                       
dpkg-buildpackage returned 0                                                     
chdir /var/lmce-build/out/tmp/pluto-skins-basic-2.0.0.44.09121922619             
====================================================                             
Creating sources for : Pluto Development Dependencies#: 206 Source: #0           
====================================================                             
21                                                                               
sources: 1                                                                       
Sources:                                                                         
Ubuntu Pluto Addons:20dev_ubuntu main                                           
Scanning for files...                                                           
Found: 1 files                                                                   
Ready to create: 1 packages                                                     
        Creating source: Ubuntu Pluto Addons                                     
        --------------------------                                               
chdir /var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619     
Maintainer name : LinuxMCE Developers                                           
Email-Address   : developers@linuxmce.org                                       
Date            : Sat, 19 Dec 2009 17:11:56 +0000                               
Package Name    : pluto-devel-dependencies                                       
Version         : 2.0.0.44.09121922619                                           
License         : gpl                                                           
Using dpatch    : no                                                             
Type of Package : Single                                                         
Hit <enter> to confirm: Done. Please edit the files in the debian/ subdirectory now. You should also                                                             
check that the pluto-devel-dependencies Makefiles install into $DESTDIR and not in / .                                                                           
COPY: //home/README.Devel.Dependencies --> /var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619/root//home/README.Devel.Dependencies             
Depends list:                                                                   
PreDepends list: , g++, gcc, make, subversion, cvs, ssh, cdrecord, vim           
Replaces:                                                                       
Conflicts:                                                                       
Provides:                                                                       
sed -i 's/^Depends:.*$/Depends: ${shlibs:Depends}, ${misc:Depends}\nPre-Depends: ${shlibs:Depends}, ${misc:Depends}, g++, gcc, make, subversion, cvs, ssh, cdrecord, vim/' /var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619/debian/control                                                                     
sed -i 's/^.*dh_strip.*$/       # dh_strip/g' /var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619/debian/rules                                 
dpkg-buildpackage -b -rfakeroot -us -uc                                         
dpkg-buildpackage: warning: using a gain-root-command while being root           
dpkg-buildpackage: set CFLAGS to default value: -g -O2                           
dpkg-buildpackage: set CPPFLAGS to default value:                               
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions       
dpkg-buildpackage: set FFLAGS to default value: -g -O2                           
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2                         
dpkg-buildpackage: source package pluto-devel-dependencies                       
dpkg-buildpackage: source version 2.0.0.44.09121922619                           
dpkg-buildpackage: source changed by LinuxMCE Developers <developers@linuxmce.org>                                                                               
dpkg-buildpackage: host architecture i386                                       
 fakeroot debian/rules clean                                                     
dh_testdir                                                                       
dh_testroot                                                                     
rm -f build-stamp configure-stamp                                               
# Add here commands to clean up after the build process.                         
/usr/bin/make clean                                                             
make[1]: Entering directory `/var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619'                                                               
make[1]: `clean' is up to date.                                                 
make[1]: Leaving directory `/var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619'                                                               
dh_clean                                                                         
 debian/rules build                                                             
dh_testdir                                                                       
# Add here commands to configure the package.                                   
touch configure-stamp                                                           
dh_testdir                                                                       
# Add here commands to compile the package.                                     
/usr/bin/make                                                                   
make[1]: Entering directory `/var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619'                                                               
make[1]: `none' is up to date.                                                   
make[1]: Leaving directory `/var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619'                                                               
#docbook-to-man debian/pluto-devel-dependencies.sgml > pluto-devel-dependencies.1
touch build-stamp                                                               
 fakeroot debian/rules binary                                                   
dh_testdir                                                                       
dh_testroot                                                                     
dh_clean -k                                                                     
dh_installdirs                                                                   
# Add here commands to install the package into debian/pluto-devel-dependencies.
/usr/bin/make DESTDIR=/var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619/debian/pluto-devel-dependencies install                               
make[1]: Entering directory `/var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619'                                                               
cp -a root/* /var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619/debian/pluto-devel-dependencies || true                                       
make[1]: Leaving directory `/var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619'                                                               
dh_testdir                                                                       
dh_testroot                                                                     
dh_installchangelogs                                                             
dh_installdocs                                                                   
dh_installexamples                                                               
dh_installman                                                                   
dh_link                                                                         
# dh_strip                                                                       
dh_compress                                                                     
dh_fixperms                                                                     
dh_installdeb                                                                   
dh_shlibdeps                                                                     
dh_gencontrol                                                                   
dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}       
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}         
dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}       
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}         
dh_md5sums                                                                       
dh_builddeb                                                                     
dpkg-deb: building package `pluto-devel-dependencies' in `../pluto-devel-dependencies_2.0.0.44.09121922619_i386.deb'.                                             
 dpkg-genchanges -b >../pluto-devel-dependencies_2.0.0.44.09121922619_i386.changes
dpkg-genchanges: binary-only upload - not including any source code
dpkg-buildpackage: binary only upload (no source included)
dpkg-buildpackage returned 0
chdir /var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.09121922619
====================================================
Creating sources for : Pluto System Database#: 211 Source: #0
====================================================
21
sources: 1
Sources:
Ubuntu Pluto Addons:20dev_ubuntu main
Scanning for files...
Package: 211 Executing: sqlCVS $PLUTO_BUILD_CRED -n -v -s "InfraredGroup_Command:FK_Device,InfraredGroup_Command:FK_Users,InfraredGroup_Command_Preferred:FK_InfraredGroup_Command" -r constants -D main_sqlcvs_ubuntu dump from dir: /var/lmce-build/svn/branches/LinuxMCE-0810/src/database
Failed to connect to MySQL:Can't connect to MySQL server on 'dcerouter' (110)
 Copyright (C) 2004 Pluto, Inc., a Florida Corporation
 www.plutohome.com
 Phone: +1 (877) 758-8648
This program is distributed according to the terms
of the Pluto Public License, available at:
 http://plutohome.com/index.php?section=public_license
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the Pluto Public License for more details.

-------

Database host:localhost user:root pass: name:main_sqlcvs_ubuntu port:3306
Users:
In table: DeviceTemplate:FK_Manufacturer:1127 Manufacturer:PK_Manufacturer:NULL
Database integrity check failed
Caught exception: Database integrity check failed
***DATABASE SCHEMA INVALID. IMPORT IS THE ONLY VALID OPTION***
Database is invalid. Import
is the only available options
Description: Pluto System Database
Path: pluto/database
sqlCVS $PLUTO_BUILD_CRED -n -v -s "InfraredGroup_Command:FK_Device,InfraredGroup_Command:FK_Users,InfraredGroup_Command_Preferred:FK_InfraredGroup_Command" -r constants -D main_sqlcvs_ubuntu dump ***FAILED***
Error: sqlCVS $PLUTO_BUILD_CRED -n -v -s "InfraredGroup_Command:FK_Device,InfraredGroup_Command:FK_Users,InfraredGroup_Command_Preferred:FK_InfraredGroup_Command" -r constants -D main_sqlcvs_ubuntu dump failed!
GetNonSourceFilesToMove failed
Aborting!

any help appriciated,

Richard
Title: Re: Errors Trying to setup build environment
Post by: rperre on December 20, 2009, 08:56:43 pm
The last error might have been caused by a broken sqlcvs database fromt the import-databases.sh.

i'm running import-databases.sh again and will report if this fixed it.

Richard