[opensuse-packaging] binary is linked against libraries in /usr/ or /opt
![](https://seccdn.libravatar.org/avatar/7689edd9ec408ec55061fddbe8607b56.jpg?s=120&d=mm&r=g)
Hello Mates, today i've tried to build tuxcmd (home:saigkill). The Package builds to the brp-check brp-rootfs with the Issue: http://pastebin.ca/1846034 Does anyone know, how to fix this? Have a nice evening... -- Sincerely yours Sascha Manns openSUSE Community & Support Agent openSUSE Marketing Team Blog: http://saigkill.wordpress.com Web: http://www.open-slx.de (openSUSE Box Support German) Web: http://www.open-slx.com (openSUSE Box Support English) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/bff0c215e01f23fcee6fe49e65fae458.jpg?s=120&d=mm&r=g)
On Fri, Mar 19, 2010 at 09:33:17PM +0100, Sascha 'saigkill' Manns wrote:
Hello Mates,
today i've tried to build tuxcmd (home:saigkill). The Package builds to the brp-check brp-rootfs with the Issue: http://pastebin.ca/1846034
Does anyone know, how to fix this?
Move it to /usr/bin/tuxcmd e.g. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/52505bac1e0f5b3052ed89f63d10292d.jpg?s=120&d=mm&r=g)
On 2010-03-19 21:33:17 +0100, Sascha 'saigkill' Manns wrote:
today i've tried to build tuxcmd (home:saigkill). The Package builds to the brp-check brp-rootfs with the Issue: http://pastebin.ca/1846034
Does anyone know, how to fix this?
move the binary from "/bin/" to "/usr/bin/". darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/638c5f9b9a41e53d4663197a58261c49.jpg?s=120&d=mm&r=g)
Hello, On Fri, 19 Mar 2010, Sascha 'saigkill' Manns wrote:
today i've tried to build tuxcmd (home:saigkill). The Package builds to the brp-check brp-rootfs with the Issue: http://pastebin.ca/1846034
Does anyone know, how to fix this?
Just as I thought: you don't provide a "prefix", as the Makefile misuses 'DESTDIR' as prefix. i.e. use: %build make DESTDIR="%{_prefix}" %install make DESTDIR="%{buildroot}%{_prefix}" install HTH, -dnh -- RAID: Es geht immer genau eine Platte mehr kaputt als durch die Redundanz aufgefangen werden könnte. -- Andreas Dau -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/a6ffef5dde34bf02c36fb9fb70f3e397.jpg?s=120&d=mm&r=g)
Hello David, On Sat, 20 Mar 2010, David Haller wrote:
On Fri, 19 Mar 2010, Sascha 'saigkill' Manns wrote:
Does anyone know, how to fix this?
Just as I thought: you don't provide a "prefix", as the Makefile misuses 'DESTDIR' as prefix.
i.e. use:
%build make DESTDIR="%{_prefix}"
%install make DESTDIR="%{buildroot}%{_prefix}" install
Thank you so much! this clears so many errors in my private repo at home it's not even funny. Could this error be published in the FAQ or under "Common Errors" in the Wiki ? Many thanks again. Have a nice weekend, Michael Förster -- "The word 'politics' is derived from the word 'poly', meaning 'many', and the word 'ticks', meaning 'blood sucking parasites'."
![](https://seccdn.libravatar.org/avatar/638c5f9b9a41e53d4663197a58261c49.jpg?s=120&d=mm&r=g)
Hello, On Sat, 20 Mar 2010, Michael Foerster wrote:
On Sat, 20 Mar 2010, David Haller wrote:
On Fri, 19 Mar 2010, Sascha 'saigkill' Manns wrote:
Does anyone know, how to fix this?
Just as I thought: you don't provide a "prefix", as the Makefile misuses 'DESTDIR' as prefix.
i.e. use:
%build make DESTDIR="%{_prefix}"
%install make DESTDIR="%{buildroot}%{_prefix}" install
Thank you so much! this clears so many errors in my private repo at home it's not even funny.
Could this error be published in the FAQ or under "Common Errors" in the Wiki ?
Above applies _only_ in the case, when a single vriable (here DESTDIR, often PREFIX) is used to install. I.e. when there's no DESTDIR or whatever variable with that function. HTH, -dnh -- If you hack enough tentacles off perl, there will be nothing left. Other languages have tentacles; perl _is_ tentacles. -- Richard Bos -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/a6ffef5dde34bf02c36fb9fb70f3e397.jpg?s=120&d=mm&r=g)
On Sat, 20 Mar 2010, David Haller wrote:
Hello,
On Sat, 20 Mar 2010, Michael Foerster wrote:
On Sat, 20 Mar 2010, David Haller wrote:
On Fri, 19 Mar 2010, Sascha 'saigkill' Manns wrote:
Does anyone know, how to fix this?
Just as I thought: you don't provide a "prefix", as the Makefile misuses 'DESTDIR' as prefix.
i.e. use:
%build make DESTDIR="%{_prefix}"
%install make DESTDIR="%{buildroot}%{_prefix}" install
Thank you so much! this clears so many errors in my private repo at home it's not even funny.
Could this error be published in the FAQ or under "Common Errors" in the Wiki ?
Above applies _only_ in the case, when a single vriable (here DESTDIR, often PREFIX) is used to install. I.e. when there's no DESTDIR or whatever variable with that function.
Yes this I understood. It's the thought / mechanism behind, what was the key, before I've had to use cp/mv to get the things done. This clears up my spec-files oh so nicely. Cheers, Michael -- "The word 'politics' is derived from the word 'poly', meaning 'many', and the word 'ticks', meaning 'blood sucking parasites'." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/7689edd9ec408ec55061fddbe8607b56.jpg?s=120&d=mm&r=g)
Am Samstag, 20. März 2010 01:30:21 wrote David Haller:
Hello,
On Fri, 19 Mar 2010, Sascha 'saigkill' Manns wrote:
today i've tried to build tuxcmd (home:saigkill). The Package builds to the brp-check brp-rootfs with the Issue: http://pastebin.ca/1846034
Does anyone know, how to fix this?
Just as I thought: you don't provide a "prefix", as the Makefile misuses 'DESTDIR' as prefix.
i.e. use:
%build make DESTDIR="%{_prefix}"
%install make DESTDIR="%{buildroot}%{_prefix}" install Great that works :-) Thanks for that hint ...
-- Sincerely yours Sascha Manns openSUSE Community & Support Agent openSUSE Marketing Team Blog: http://saigkill.wordpress.com Web: http://www.open-slx.de (openSUSE Box Support German) Web: http://www.open-slx.com (openSUSE Box Support English) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (5)
-
David Haller
-
Marcus Meissner
-
Marcus Rueckert
-
Michael Foerster
-
Sascha 'saigkill' Manns