LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-16-2010, 03:52 PM   #1
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
infinite loop during lxsession-edit compile under VBox


The problem is mainly with VirtualBox not keeping proper time during the compile of lxsession-edit (a component of LXDE). Whatever the Makefiles are doing will update the time stamp on the po/Makefile which then causes a warning that the Makefile is in the future, which then causes the make process to restart the po/Makefile again... and again... etc.

I have tried changing the clock source using some kernel parameters "divider=10 clocksource=acpi_pm" which at least keeps the 'in the future' time from growing, but it's still 35 seconds in the future. Not to mention, the normal console time given by 'date' is behind my system clock.

So does anybody know how to stabilize the VBox timer or fix the recursive section of the Makefile? I don't know too much about Makefiles and I've done some searching to find that Virtualbox is known to have weird time issues.

Here is where it gets stuck:
Code:
Making all in po
make[2]: Entering directory `/usr/src/slacklet/source/lxde/tmp/lxsession-edit-0.1.1/po'
cd .. \
	  && CONFIG_FILES=po/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
	       /bin/sh ./config.status
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing default-1 commands
make[2]: Leaving directory `/usr/src/slacklet/source/lxde/tmp/lxsession-edit-0.1.1/po'
make[2]: Entering directory `/usr/src/slacklet/source/lxde/tmp/lxsession-edit-0.1.1/po'
make[2]: Warning: File `Makefile' has modification time 35 s in the future
and it repeats starting at "cd .. \"
The main Makefile and the file from the po/ directory are uploaded.


BTW: I can compile this program normally on the host and if I spam "touch -d <sometime in the past> Makefile", I can also compile it on the guest. My goal is to fix the problem so that I can eventually have an unattended compile of the package without having to worry about whatever VirtualBox decides to say the time is.
Attached Files
File Type: txt Makefile.main.txt (26.7 KB, 20 views)
File Type: txt Makefile.po.txt (6.9 KB, 10 views)

Last edited by lumak; 10-17-2010 at 06:26 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash infinite loop problems? stp001 Programming 2 03-14-2010 02:41 PM
infinite loop on fclose()? joe2748 Programming 10 03-05-2010 08:09 PM
Infinite loop while trying to install mplayer. dr_zayus69 Linux - Software 3 07-05-2008 06:34 AM
Infinite Loop ewt3y Programming 3 08-16-2005 09:48 AM
infinite loop beginner_84 Programming 5 08-15-2004 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration