LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-14-2014, 01:37 AM   #1
looop
Member
 
Registered: Oct 2011
Location: Denmark
Distribution: Fedora, Ubunut, macOS Mojave, RedHat, OpenBSD
Posts: 78

Rep: Reputation: Disabled
rpmbuild -ba: No such file or dir found in prep state


Hey I have problem with an rpmbuild of a library package.
The RPM build errors is:
Code:
RPM build errors:
  Bad exit status from /var/tmp/rpm-tmp.OSHds0 (%prep)
I get the error on this:
Code:
+ cd ninja-0_1
/var/tmp/rpm-tmp.OSHds0: line 53: cd: ninja-0_1: No such file or directory 
error: Bad exit status from /var/tmp/rpm-tmp.OSHds0 (%prep)
And no I have checked my prep state in the spec file a lot and there is no where I either remove nor create ninja-0_1. What is the meaning of this witchcraft ???

ninja is not the true name, but do to company secrets I keep it so
 
Old 07-14-2014, 02:15 AM   #2
looop
Member
 
Registered: Oct 2011
Location: Denmark
Distribution: Fedora, Ubunut, macOS Mojave, RedHat, OpenBSD
Posts: 78

Original Poster
Rep: Reputation: Disabled
A cover found the solution, in setup add:
Code:
-name ninja_0_1
 
  


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
Can't rebuild RPM - rpmbuild command not found defa0009 Linux - Newbie 11 12-10-2007 06:35 AM
rpmbuild: command not found ltt19 Linux - Software 7 11-28-2004 12:34 PM
Problems with libpng not found when using rpmbuild on a .src file superduty455 Linux - Software 5 09-16-2004 03:15 PM
rpmbuild: command not found zebra5 Linux - Software 3 10-08-2003 02:31 PM
rpmbuild-command not found arnold_it Linux - Software 4 08-11-2003 08:54 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:03 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