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 07-20-2006, 05:53 AM   #31
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600

Please keep your posts about a single subject together. This one's basically an extension of your ongoing shell script help thread.

Rpmbuild outputs to a temp file and to stdout, so command 2>&1|tee somefile gets you a log.

Last edited by unSpawn; 07-20-2006 at 05:54 AM.
 
Old 07-20-2006, 06:01 AM   #32
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
thats a log file? looks more a like the rpmbuild code itself.

anyways i googled a bit and found this, have a look at it, maybe it turns out useful.
what it is
where 2 get it

basically i liked this:
Quote:
DESCRIPTION
Acme::ProgressBar provides a simple solution designed to provide accurate countdowns. No progress bar object needs to be created, and all the calculation of progress through total time required is handled by the module itself.
SYNOPSIS
use Acme::ProgressBar;
progress { do_something_slow };
[edit]
after reading the rpm spec file from sailu_mvn and after reading unSpawn's post i realized there is no way to interact with rpmbuild and find out what's its processing currently, hence no way of knowing when to print what progress status. certainly there must be a way but i don't think we can find it if we continue to use rpmbuild.[/edit]

Last edited by prozac; 07-20-2006 at 06:09 AM.
 
Old 07-20-2006, 06:02 AM   #33
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440

Original Poster
Blog Entries: 1

Rep: Reputation: 30
wonderful.
Thank you
i will get back
 
Old 07-20-2006, 06:04 AM   #34
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440

Original Poster
Blog Entries: 1

Rep: Reputation: 30
yeah it is but this will able everyone to know process as a concern. thats it
Thanks anyway
 
Old 07-20-2006, 07:57 AM   #35
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
[QUOTE=prozac]thats a log file? looks more a like the rpmbuild code itself.
/QUOTE]

i'm not referring buildscript_withlog as a logfile. i refer to that as another bash script that handles building and creates a logfile. the buildscript will be the child process while the main script that i'm showing you is the parent process. sorry if i was not clear.
 
Old 07-20-2006, 08:08 AM   #36
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
err. sorry prozac. my mistake again. you're not referring to my post right. sorry really.
 
Old 07-20-2006, 10:14 AM   #37
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
Quote:
Originally Posted by konsolebox
err. sorry prozac. my mistake again. you're not referring to my post right. sorry really.
no probs! it happens.
 
Old 07-20-2006, 10:45 PM   #38
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440

Original Poster
Blog Entries: 1

Rep: Reputation: 30
if you have merged all my three threads , it is a request to the moderator to change the subject line to "rpmbuild status+shell script help"
 
Old 07-21-2006, 02:40 AM   #39
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Quote:
Originally Posted by sailu_mvn
if you have merged all my three threads , it is a request to the moderator to change the subject line to "rpmbuild status+shell script help"
Title changed.
 
  


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
RPM-Build hkillen Linux - Software 4 06-27-2006 04:38 PM
Rpm-build abhijeetudas Linux - Software 3 12-06-2005 01:06 AM
build rpm file . bruse Linux - Newbie 4 09-11-2005 10:06 AM
cannot build source rpm/ rpm questions kpachopoulos Fedora 3 07-24-2005 09:15 AM
build rpm Santas Linux - Software 1 11-21-2003 05:45 PM

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

All times are GMT -5. The time now is 04:53 AM.

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