Author Topic: Errors Trying to setup build environment  (Read 14944 times)

rperre

  • Guru
  • ****
  • Posts: 264
    • View Profile
Re: Errors Trying to setup build environment
« Reply #15 on: December 18, 2009, 06:20:07 pm »
setting it up under chroot now, seems to work better, just follow the wiki :P

Richard

rperre

  • Guru
  • ****
  • Posts: 264
    • View Profile
Re: Errors Trying to setup build environment
« Reply #16 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
« Last Edit: December 19, 2009, 04:46:05 pm by rperre »

rperre

  • Guru
  • ****
  • Posts: 264
    • View Profile
Re: Errors Trying to setup build environment
« Reply #17 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

rperre

  • Guru
  • ****
  • Posts: 264
    • View Profile
Re: Errors Trying to setup build environment
« Reply #18 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