openSUSE Forums > openSUSE Build Service (OBS) » Error: "prg" is not allowed anymore in FHS 2.2

Go Back   openSUSE Forums > openSUSE Build Service (OBS)
Forums FAQ Members List Search Today's Posts Mark Forums Read


openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 31-Mar-2009, 05:10
Puzzled Penguin
 
Join Date: Mar 2009
Posts: 2
tafkad hasn't been rated much yet
Default Error: "prg" is not allowed anymore in FHS 2.2

Hi,

I'm building an tool in the buildservice. Everything seems ok in the most repositorys, only in opensuse 11.1 the building process failed with the following statement

I: File is compiled without RPM_OPT_FLAGS
W: prg no-rpm-opt-flags <cmdline>rg_test.c,prg.c
... running 03-check-binary-kernel-log
... running 04-check-filelist
... checking filelist
prg: "/usr/local/bin/prg_test" is not allowed anymore in FHS 2.2

I've seen that the tool is created successfully in the tmp dir.

Now i'm interested what that means and where there is the Error?
Reply With Quote
  #2 (permalink)  
Old 31-Mar-2009, 08:56
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,673
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: Error: "prg" is not allowed anymore in FHS 2.2

Quote:
Originally Posted by tafkad
Hi,

I'm building an tool in the buildservice. Everything seems ok in the
most repositorys, only in opensuse 11.1 the building process failed with
the following statement

I: File is compiled without RPM_OPT_FLAGS
W: prg no-rpm-opt-flags <cmdline>rg_test.c,prg.c
... running 03-check-binary-kernel-log
... running 04-check-filelist
... checking filelist
prg: "/usr/local/bin/prg_test" is not allowed anymore in FHS 2.2

I've seen that the tool is created successfully in the tmp dir.

Now i'm interested what that means and where there is the Error?

Hi
You need to have a read here;
<http://www.pathname.com/fhs/2.2/>

Basically it means /usr/local/bin is not allowed anymore. I think you
need to use /opt instead.

It can be overridden, but I think your should look at trying to get it
running in the correct location.

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel 2.6.27.19-3.2-pae
up 17:52, 1 user, load average: 0.56, 0.28, 0.15
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Reply With Quote
  #3 (permalink)  
Old 31-Mar-2009, 09:55
Puzzled Penguin
 
Join Date: Mar 2009
Posts: 2
tafkad hasn't been rated much yet
Default Re: Error: "prg" is not allowed anymore in FHS 2.2

Thank you, that was the problem, Now the buildingprocess will run clean.
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2