Author Topic: Build 0810 Errors  (Read 2189 times)

willfly

  • Newbie
  • *
  • Posts: 11
    • View Profile
Build 0810 Errors
« on: July 13, 2009, 08:30:35 am »
Hi All,

When I try to build 0810 following the 0810 build procedure, it is said errors like below.
Any clues? Thanks in advance.

root@localhost:/usr/local/lmce-build/build-scripts# ./import-databases.sh                                                         
05:31:07  *** STEP: Importing Databases                                                                                           
05:31:07  Getting a sqldump of main_sqlcvs                                                                                       
06:07:44  Getting a sqldump of myth_sqlcvs                                                                                       
06:08:56  Getting a sqldump of pluto_media                                                                                       
06:12:35  Getting a sqldump of pluto_security                                                                                     
06:13:15  Getting a sqldump of pluto_telecom                                                                                     
06:14:20  Getting a sqldump of lmce_game                                                                                         
06:15:11  Running Search'n'Replace on the sqldumps (MakeRelase_PrepFiles)                                                         
06:15:27  Importing pluto_main_build database                                                                                     
06:15:27  ERROR: Undefined error in ./import-databases.sh                                                                         


R! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.090            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.099            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.107            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.115            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.123            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.132            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.132            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.140            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.140            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.148            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.157            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.165            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.173            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.182            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.190            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb                                                                                                                                                             
01      07/13/09 6:15:24.195            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.199            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.204            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.208            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb                                                                                                                                                             
01      07/13/09 6:15:24.208            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb                                                                                                                                                             
01      07/13/09 6:15:24.217            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb                                                                                                                                                             
01      07/13/09 6:15:24.226            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.234            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.242            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.250            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.259            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.267            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.275            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.284            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.292            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb                                                                                                                                                             
01      07/13/09 6:15:24.300            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb
01      07/13/09 6:15:24.305            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb
01      07/13/09 6:15:24.313            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.322            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.330            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb
01      07/13/09 6:15:24.338            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb
01      07/13/09 6:15:24.347            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.355            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb
01      07/13/09 6:15:24.359            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb
01      07/13/09 6:15:24.368            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.376            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.385            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.393            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.401            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb
01      07/13/09 6:15:24.410            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_replacementsdeb
01      07/13/09 6:15:24.418            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.426            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.434            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.434            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.443            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.443            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.451            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.451            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.459            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.467            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.476            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.484            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.492            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/13/09 6:15:24.501            MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
10      07/13/09 6:15:27.452            Processing file '/var/lmce-build/tmp/databases/pluto_security.sql'
10      07/13/09 6:15:27.452            Processing file '/var/lmce-build/tmp/databases/pluto_media.sql'
10      07/13/09 6:15:27.752            Processing file '/var/lmce-build/tmp/databases/pluto_telecom.sql'
10      07/13/09 6:15:27.752            Processing file '/var/lmce-build/tmp/databases/myth_sqlcvs.sql'
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)


Will
« Last Edit: July 13, 2009, 08:48:55 am by willfly »

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: Build 0810 Errors
« Reply #1 on: July 13, 2009, 08:44:05 am »
Please be sure that mysql in your chroot is appropriately modified to NOT connect to a network port, and to only open the unix socket.

Also, be sure that MySQL is started in the chroot before building.

-Thom

willfly

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Build 0810 Errors
« Reply #2 on: July 13, 2009, 04:33:33 pm »
Thom,

Thanks for your reply. A little confused about the chroot, why don't we build on the existing sys, while setup the build env in chroot directory?

Thanks.

Will

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: Build 0810 Errors
« Reply #3 on: July 13, 2009, 05:38:47 pm »
traditionally, the builder was a separate machine. Zaerc made changes to the build system so that it could be run in a chroot.

You can take the stuff from the /var/lmce-build/svn/LinuxMCE-0810/src/lib directory, and put it into the src/lib of a clean checkout, and use my devtools.tar.gz for active dev...but the builder is there to make sure that any packages you build will build correctly.

-Thom

willfly

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Build 0810 Errors
« Reply #4 on: July 14, 2009, 01:18:23 pm »
Thom,

Thanks, it works. But now I met another error. :(
Any clue?

root@localhost:/usr/local/lmce-build/build-scripts# ./build-maindebs.sh                                                                                               
03:55:11  *** STEP: Running MakeRelease                                                                                                                             
03:55:12  Performing search'n'replace on the sources                                                                                                                 
03:56:16  Cleaning MakeRelease debs output directory                                                                                                                 
03:56:16  Compiling and building packages                                                                                                                           
05:31:19  ERROR: MakeRelease failed                                                                                                                                 


:IRTrans_Ethernet_Data::CreateData(DCE::DeviceData_Impl*, char*, long unsigned int, char*)':
../Gen_Devices/IRTrans_EthernetBase.cpp:13: warning: unused variable 'iPK_Device'           
../Gen_Devices/IRTrans_EthernetBase.cpp:14: warning: unused variable 'iPK_Installation'     
g++ -c -I.. -I../DCE -I/usr/include/mysql  -DLINUX -Wall -fPIC -ggdb3  ../LIRC_DCE/IRReceiverBase.cpp -o ../LIRC_DCE/IRReceiverBase.o
../LIRC_DCE/IRReceiverBase.cpp: In constructor 'DCE::IRReceiverBase::IRReceiverBase(DCE::Command_Impl*)':                           
../LIRC_DCE/IRReceiverBase.cpp:44: warning: unused variable 'iResult'                                                               
../LIRC_DCE/IRReceiverBase.cpp:45: warning: unused variable 'iResult2'                                                               
g++ -c -I.. -I../DCE -I/usr/include/mysql  -DLINUX -Wall -fPIC -ggdb3  ../VFD_LCD/VFD_LCD_Base.cpp -o ../VFD_LCD/VFD_LCD_Base.o     
../VFD_LCD/VFD_LCD_Base.cpp: In member function 'virtual int DCE::VFD_LCD_Base::UpdateDisplay()':                                   
../VFD_LCD/VFD_LCD_Base.cpp:138: warning: suggest parentheses around assignment used as truth value                                 
../VFD_LCD/VFD_LCD_Base.cpp:142: warning: suggest parentheses around assignment used as truth value                                 
../VFD_LCD/VFD_LCD_Base.cpp:146: warning: suggest parentheses around assignment used as truth value                                 
../VFD_LCD/VFD_LCD_Base.cpp:150: warning: suggest parentheses around assignment used as truth value                                 
../VFD_LCD/VFD_LCD_Base.cpp: In member function 'virtual void DCE::VFD_LCD_Base::DisplayDate()':                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:225: warning: deprecated conversion from string constant to 'char*'                                     
../VFD_LCD/VFD_LCD_Base.cpp:228: warning: comparison between signed and unsigned integer expressions                                 
../VFD_LCD/VFD_LCD_Base.cpp:230: warning: comparison between signed and unsigned integer expressions                                 
../VFD_LCD/VFD_LCD_Base.cpp: In member function 'virtual void DCE::VFD_LCD_Base::DisplayMessage(VFD_LCD_Message*)':                 
../VFD_LCD/VFD_LCD_Base.cpp:286: warning: comparison between signed and unsigned integer expressions                                 
../VFD_LCD/VFD_LCD_Base.cpp: In member function 'virtual void DCE::VFD_LCD_Base::GetNowPlaying(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, int)':                                                     
../VFD_LCD/VFD_LCD_Base.cpp:326: warning: comparison between signed and unsigned integer expressions                                                                 
../VFD_LCD/VFD_LCD_Base.cpp:340: warning: comparison between signed and unsigned integer expressions                                                                 
g++ -c -I.. -I../DCE -I/usr/include/mysql  -DLINUX -Wall -fPIC -ggdb3  ../VFD_LCD/CoreMenuStructure.cpp -o ../VFD_LCD/CoreMenuStructure.o                           
../VFD_LCD/CoreMenuStructure.cpp: In constructor 'DCE::CoreMenuStructure::CoreMenuStructure(DCE::VFD_LCD_Base*)':                                                   
../VFD_LCD/CoreMenuStructure.cpp:33: warning: unused variable 'pMenuNode3'                                                                                           
../VFD_LCD/CoreMenuStructure.cpp: In member function 'virtual void DCE::ActiveProcess::Enter()':                                                                     
../VFD_LCD/CoreMenuStructure.cpp:68: warning: unused variable 'b'                                                                                                   
g++ -c -I.. -I../DCE -I/usr/include/mysql  -DLINUX -Wall -fPIC -ggdb3  ../VFD_LCD/MenuNode.cpp -o ../VFD_LCD/MenuNode.o                                             
../VFD_LCD/MenuNode.cpp: In member function 'void DCE::MenuNode::Render(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*)':                                                                                 
../VFD_LCD/MenuNode.cpp:33: warning: comparison between signed and unsigned integer expressions                                                                     
../VFD_LCD/MenuNode.cpp:37: warning: comparison between signed and unsigned integer expressions                                                                     
../VFD_LCD/MenuNode.cpp:40: warning: comparison between signed and unsigned integer expressions                                                                     
../VFD_LCD/MenuNode.cpp:43: warning: comparison between signed and unsigned integer expressions                                                                     
../VFD_LCD/MenuNode.cpp: In member function 'virtual void DCE::MenuNode::Down()':                                                                                   
../VFD_LCD/MenuNode.cpp:64: warning: comparison between signed and unsigned integer expressions                                                                     
../VFD_LCD/MenuNode.cpp: In member function 'virtual void DCE::MenuNode::Left()':                                                                                   
../VFD_LCD/MenuNode.cpp:73: warning: statement has no effect                                                                                                         
../VFD_LCD/MenuNode.cpp: In member function 'virtual void DCE::MenuNode::Right()':                                                                                   
../VFD_LCD/MenuNode.cpp:80: warning: comparison between signed and unsigned integer expressions                                                                     
g++ -o IRTrans_Ethernet Main.o IRTrans_Ethernet.o ../Gen_Devices/IRTrans_EthernetBase.o ../LIRC_DCE/IRReceiverBase.o ../VFD_LCD/VFD_LCD_Base.o ../VFD_LCD/CoreMenuStructure.o ../VFD_LCD/MenuNode.o  -L../lib  -lIRBase -lSerial -lMessageTranslation -lSerializeClass -lDCECommon -lPlutoUtils -lpthread -lmysqlclient_r                 
cp IRTrans_Ethernet ../bin                                                                                                                                           
./post_make.sh IRTrans_Ethernet                                                                                                                                     
make clean; make bin succeeded                                                                                                                                       
/var/lmce-build/svn/branches/LinuxMCE-0810/src/bin/IRTrans_Ethernet exists                                                                                           
====================================================                                                                                                                 
Compiling source package: 711 Chromoflex LED Stripe Source                                                                                                           
====================================================                                                                                                                 
        Checking directory: src/bin                                                                                                                                 
        ------------------------                                                                                                                                     
Deciding to do snr on: /var/lmce-build/svn/branches/LinuxMCE-0810//src/Chromoflex_USP3                                                                               
Found 3                                                                                                                                                             
Doing snr on /var/lmce-build/svn/branches/LinuxMCE-0810//src/Chromoflex_USP3/Main.cpp                                                                               
Doing snr on /var/lmce-build/svn/branches/LinuxMCE-0810//src/Chromoflex_USP3/Chromoflex_USP3.h                                                                       
Doing snr on /var/lmce-build/svn/branches/LinuxMCE-0810//src/Chromoflex_USP3/Chromoflex_USP3.cpp                                                                     
Package: 711 Executing: make clean; make bin                                                                                                                         
for dir in ; do cd $dir; make clean; cd ..; done                                                                                                                     
rm -f Main.o Chromoflex_USP3.o ../Gen_Devices/Chromoflex_USP3Base.o Main.d Chromoflex_USP3.d ../Gen_Devices/Chromoflex_USP3Base.d Chromoflex_USP3.bin Chromoflex_USP3.so >/dev/null                                                                                                                                                       
Computing dependencies for ../Gen_Devices/Chromoflex_USP3Base.cpp done                                                                                               
Computing dependencies for Chromoflex_USP3.cpp done                                                                                                                 
Computing dependencies for Main.cpp done                                                                                                                             
g++ -c -I.. -I../DCE -I/usr/include/mysql -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES  -Wall -fPIC -ggdb3  Main.cpp -o Main.o                                 
g++ -c -I.. -I../DCE -I/usr/include/mysql -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES  -Wall -fPIC -ggdb3  Chromoflex_USP3.cpp -o Chromoflex_USP3.o           
Chromoflex_USP3.cpp: In member function 'virtual void DCE::Chromoflex_USP3::ReceivedCommandForChild(DCE::DeviceData_Impl*, std::string&, DCE::Message*)':           
Chromoflex_USP3.cpp:135: warning: unused variable 'address'                                                                                                         
g++ -c -I.. -I../DCE -I/usr/include/mysql -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES  -Wall -fPIC -ggdb3  ../Gen_Devices/Chromoflex_USP3Base.cpp -o ../Gen_Devices/Chromoflex_USP3Base.o                                                                                                                                           
../Gen_Devices/Chromoflex_USP3Base.cpp: In member function 'virtual DCE::DeviceData_Impl* DCE::Chromoflex_USP3_Data::CreateData(DCE::DeviceData_Impl*, char*, long unsigned int, char*)':                                                                                                                                                 
../Gen_Devices/Chromoflex_USP3Base.cpp:13: warning: unused variable 'iPK_Device'                                                                                     
../Gen_Devices/Chromoflex_USP3Base.cpp:14: warning: unused variable 'iPK_Installation'                                                                               
g++ -o Chromoflex_USP3 Main.o Chromoflex_USP3.o ../Gen_Devices/Chromoflex_USP3Base.o  -L../lib  -lmysqlclient_r -lSerializeClass -lDCECommon -lPlutoUtils -lpthread 
cp Chromoflex_USP3 ../bin                                                                                                                                           
./post_make.sh Chromoflex_USP3                                                                                                                                       
make clean; make bin succeeded                                                                                                                                       
/var/lmce-build/svn/branches/LinuxMCE-0810/src/bin/Chromoflex_USP3 exists                                                                                           
Skipping: PThread because it is not compatible                                                                                                                       
====================================================                                                                                                                 
Compiling source package: 713 LinuxMCE VistaICM2 Support Source                                                                                                     
====================================================                                                                                                                 
        Checking directory: src/bin                                                                                                                                 
        ------------------------                                                                                                                                     
Deciding to do snr on: /var/lmce-build/svn/branches/LinuxMCE-0810//src/VistaICM2                                                                                     
Found 3                                                                                                                                                             
Doing snr on /var/lmce-build/svn/branches/LinuxMCE-0810//src/VistaICM2/Main.cpp                                                                                     
Doing snr on /var/lmce-build/svn/branches/LinuxMCE-0810//src/VistaICM2/VistaICM2.h                                                                                   
Doing snr on /var/lmce-build/svn/branches/LinuxMCE-0810//src/VistaICM2/VistaICM2.cpp                                                                                 
Package: 713 Executing: make clean ; make bin                                                                                                                       
for dir in ; do cd $dir; make clean; cd ..; done                                                                                                                     
rm -f Main.o VistaICM2.o ../Gen_Devices/VistaICM2Base.o Main.d VistaICM2.d ../Gen_Devices/VistaICM2Base.d VistaICM2 VistaICM2.so >/dev/null                         
Computing dependencies for ../Gen_Devices/VistaICM2Base.cpp done                                                                                                     
Computing dependencies for VistaICM2.cpp done                                                                                                                       
Computing dependencies for Main.cpp done                                                                                                                             
g++ -c -I.. -I../DCE -I/usr/include/mysql -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES  -Wall -fPIC -ggdb3  Main.cpp -o Main.o
g++ -c -I.. -I../DCE -I/usr/include/mysql -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES  -Wall -fPIC -ggdb3  VistaICM2.cpp -o VistaICM2.o
g++ -c -I.. -I../DCE -I/usr/include/mysql -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES  -Wall -fPIC -ggdb3  ../Gen_Devices/VistaICM2Base.cpp -o ../Gen_Devices/VistaICM2Base.o
../Gen_Devices/VistaICM2Base.cpp: In member function 'virtual DCE::DeviceData_Impl* DCE::VistaICM2_Data::CreateData(DCE::DeviceData_Impl*, char*, long unsigned int,char*)':
../Gen_Devices/VistaICM2Base.cpp:13: warning: unused variable 'iPK_Device'
../Gen_Devices/VistaICM2Base.cpp:14: warning: unused variable 'iPK_Installation'
g++ -o VistaICM2 Main.o VistaICM2.o ../Gen_Devices/VistaICM2Base.o  -L../lib  -lcurl -lmysqlclient_r -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
cp VistaICM2 ../bin
./post_make.sh VistaICM2
make: execvp: ./post_make.sh: Permission denied
make: *** [VistaICM2] Error 127
make clean ; make bin ***FAILED***
Error: make clean ; make bin failed!
BuildSource failed for: 714 LinuxMCE VistaICM2 Support
Aborting!

Will

sambuca

  • Guru
  • ****
  • Posts: 447
    • View Profile
Re: Build 0810 Errors
« Reply #5 on: July 14, 2009, 02:04:29 pm »
Maybe it's related to http://svn.linuxmce.org/trac.cgi/changeset/22144 and http://svn.linuxmce.org/trac.cgi/changeset/22143 . Have you tried to do a svn update after those commits?

best regards,
sambuca

willfly

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Build 0810 Errors
« Reply #6 on: July 14, 2009, 03:36:59 pm »

sambuca,

Thanks for your reply. I think so  :'(. I will change the code back and try again. Will it be OK?

Will

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: Build 0810 Errors
« Reply #7 on: July 14, 2009, 04:04:29 pm »
Please re-run the builder, you should be okay now. It was caused by a file with improper permissions, which I had to remove and re-check back in. :)

-Thom

willfly

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Build 0810 Errors
« Reply #8 on: July 15, 2009, 07:55:31 am »
Thom,

Thanks. I changed the file's permission to 755. It works.
Now another error.  :'(   Any clues?

root@localhost:/usr/local/lmce-build/build-scripts# ./build-maindebs.sh
03:51:18  *** STEP: Running MakeRelease                               
03:51:19  Performing search'n'replace on the sources                   
03:51:56  Cleaning MakeRelease debs output directory                   
03:51:56  Compiling and building packages                             
05:39:48  ERROR: MakeRelease failed                                   
                                                                                                                                                                                   
                                                                                                                                                                                   
ering directory `/var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.0805082200'                                                                                             
make[1]: `none' is up to date.                                                                                                                                                     
make[1]: Leaving directory `/var/lmce-build/out/tmp/pluto-devel-dependencies-2.0.0.44.0805082200'                                                                                   
#docbook-to-man debian/pluto-devel-dependencies.sgml > pluto-devel-dependencies.1                                                                                                   
touch build-stamp                                                                                                                                                                   
 fakeroot debian/rules binary                                                                                                                                                       
dh_testdir                                                                                                                                                                         
perl: warning: Setting locale failed.                                                                                                                                               
perl: warning: Please check that your locale settings:                                                                                                                             
        LANGUAGE = "",                                                                                                                                                             
        LC_ALL = (unset),                                                                                                                                                           
        LANG = "en_US.UTF-8"                                                                                                                                                       
    are supported and installed on your system.                                                                                                                                     
perl: warning: Falling back to the standard locale ("C").                                                                                                                           
dh_testroot                                                                                                                                                                         
perl: warning: Setting locale failed.                                                                                                                                               
perl: warning: Please check that your locale settings:                                                                                                                             
        LANGUAGE = "",                                                                                                                                                             
        LC_ALL = (unset),                                                                                                                                                           
        LANG = "en_US.UTF-8"                                                                                                                                                       
    are supported and installed on your system.                                                                                                                                     
perl: warning: Falling back to the standard locale ("C").                                                                                                                           
dh_clean -k                                                                                                                                                                         
...........                                                                                                                             
perl: warning: Falling back to the standard locale ("C").                                                                                                                           
perl: warning: Setting locale failed.                                                                                                                                               
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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.0805082200
====================================================
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:1123 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!

Will

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: Build 0810 Errors
« Reply #9 on: July 15, 2009, 08:24:56 am »
DUDE,

you're getting old build errors. LET IT RUN build.sh completely again, IT WILL WORK THIS TIME.

-Thom

willfly

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Build 0810 Errors
« Reply #10 on: July 15, 2009, 02:00:59 pm »
Thom,

Thanks. The build is in progress. Just a little confused, why mysql automatically changed? I remember I have made the sed and restart mysql, why it is changed? and add the port?

Appreciate your help.

Will

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: Build 0810 Errors
« Reply #11 on: July 15, 2009, 03:44:26 pm »
with each build, a new copy of the database is fetched, and imported. Did you not notice this?

You should not have to make the sed at all. Please. Just let...the builder...do its thing.

-Thom

LegoGT

  • Regular Poster
  • **
  • Posts: 29
    • View Profile
    • Medium Rare Brain
Re: Build 0810 Errors
« Reply #12 on: July 21, 2009, 12:03:58 am »
Database host:localhost user:root pass: name:main_sqlcvs_ubuntu port:3306
Users:
In table: DeviceTemplate:FK_Manufacturer:1123 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!

Will


I've seen that error before (after I started mucking around the with the build process). I ended up having to recreate the environment from scratch:

Code: [Select]
sudo apt-get remove mysql-server
sudo apt-get autoremove
sudo rm -r /var/lmce-build/

After that then follow the Wiki instructions for Building 0810 from Source (http://wiki.linuxmce.org/index.php/Building_LinuxMCE_0810)

roughly:
  • apt-get update/upgrade
  • install mysql-server
  • sed cmd
  • start mysql
  • svn update UbuntuHelper
  • install.sh
  • create builder custom.conf file
  • prepare.sh
  • build.sh

...magic!
« Last Edit: July 21, 2009, 12:08:43 am by LegoGT »
A brain dump of my neverending projects: http://MediumRareBrain.com

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5501
  • DOES work for LinuxMCE.
    • View Profile
Re: Build 0810 Errors
« Reply #13 on: July 21, 2009, 12:24:13 am »
The error you saw, was from an old schema checkout. Simply re-running the build script would have gotten a new copy of the checkout to build, and fixed the problem.

-Thom