Servus Mates, heute habe ich ein für mich neues Programm entdeckt, das noch nicht im OBS ist: yahqzee. Die Spec habe ich auch so geschriebne wie immer, aber ich bekomme trotzdem immer den selben Fehler: Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.64358 + umask 022 + cd /usr/src/packages/BUILD + cd yahqzee + make DESTDIR=/var/tmp/yahqzee-2009.27-build install make: Nothing to be done for `install'. + install -D -m644 yahtzee.png /var/tmp/yahqzee-2009.27- build/usr/share/pixmaps/yahtzee.png install: cannot stat `yahtzee.png': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.64358 (%install) Spec und Source sind im saigkill Repository. Hat jemand Lust sich das mal anzusehen? -- Sincerely yours Sascha Manns openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Project-Blog: http://lizards.opensuse.org/author/saigkill Private-Blog: http://saschasbacktrace.blogspot.com
On Thu, 2 Jul 2009 23:48:39 +0200, you wrote:
Spec und Source sind im saigkill Repository. Hat jemand Lust sich das mal anzusehen?
Du hättest schon die vollständige URL angeben können, also home:saigkill/yahqzee . Ich schaue es mir gerade mal an und werde mich melden, wenn ich was gefunden habe :) Philipp -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
Am Freitag 03 Juli 2009 01:09:53 wrote Philipp Thomas:
On Thu, 2 Jul 2009 23:48:39 +0200, you wrote:
Spec und Source sind im saigkill Repository. Hat jemand Lust sich das mal anzusehen?
Du hättest schon die vollständige URL angeben können, also home:saigkill/yahqzee . Das stimmt. Ich dachte mir, da ihr mir schon so oft geholfen habt, kennt ihr mein Repo :-D -- Sincerely yours
Sascha Manns openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Project-Blog: http://lizards.opensuse.org/author/saigkill Private-Blog: http://saschasbacktrace.blogspot.com
On Thu, 2 Jul 2009 23:48:39 +0200, you wrote:
+ install -D -m644 yahtzee.png /var/tmp/yahqzee-2009.27- build/usr/share/pixmaps/yahtzee.png install: cannot stat `yahtzee.png': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.64358 (%install)
yahtzee.png liegt ja auch im Verzeichnis mit den Quellen, daher muss install das gesagt werden. Mein zweiter sr behebt den Fehler.
Spec und Source sind im saigkill Repository. Hat jemand Lust sich das mal anzusehen?
Ich habe keine Ahnung von qmake, also weiss ich nicht, wie man qmake dazu bringt, Regeln fürs Installieren zu genrieren. Daher installiere ich halt yahtzee mit dem ersten sr "zu Fuss". Da ich auf der Maschine keine Root-Rechte habe, konnte ich das lokale Bauen nicht ausprobieren, das musst Du jetzt tun :) Philipp -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
Am Freitag 03 Juli 2009 01:19:07 wrote Philipp Thomas:
On Thu, 2 Jul 2009 23:48:39 +0200, you wrote:
+ install -D -m644 yahtzee.png /var/tmp/yahqzee-2009.27- build/usr/share/pixmaps/yahtzee.png install: cannot stat `yahtzee.png': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.64358 (%install)
yahtzee.png liegt ja auch im Verzeichnis mit den Quellen, daher muss install das gesagt werden. Mein zweiter sr behebt den Fehler.
Spec und Source sind im saigkill Repository. Hat jemand Lust sich das mal anzusehen?
Ich habe keine Ahnung von qmake, also weiss ich nicht, wie man qmake dazu bringt, Regeln fürs Installieren zu genrieren. Daher installiere ich halt yahtzee mit dem ersten sr "zu Fuss". Da ich auf der Maschine keine Root-Rechte habe, konnte ich das lokale Bauen nicht ausprobieren, das musst Du jetzt tun :) Habs mal probiert...
Hab jetzt: %prep %setup -q -n yahqzee %build export CFLAGS="%{optflags}" CXXFLAGS="%optflags" qmake yahtzee.pro make CFLAGS="%{optflags} -W -pipe -D_REENTRANT" CXXFLAGS="%{optflags} -W -pipe -D_REENTRANT" %install install -d %{buildroot}/%{_bindir} install -d %{buildroot}/%{_datadir} install -d %{_datadir}/applications install -d %{_datadir}/pixmaps install -o games -g games yahtzee %{buildroot}/%{_bindir} install -D -m644 %{S:2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/yahtzee.png %suse_update_desktop_file -i yahtzee BoardGames %clean rm -rf %buildroot %files %defattr(-,root,root) %{_bindir}/yahtzee %{_datadir}/applications/yahtzee.desktop %{_datadir}/pixmaps/yahtzee.png Jetzt kriege ich als Meldung: + install -o games -g games yahtzee /var/tmp/yahqzee-2009.27- build//usr/bin install: cannot change ownership of `/var/tmp/yahqzee-2009.27- build//usr/bin/yahtzee': Operation not permitted error: Bad exit status from /var/tmp/rpm-tmp.15147 (%install) Hat das mal jemand gehabt? P.S. Falls ich nerve einfach bescheid sagen :-) Aber es war eh nix los auf der Liste hier... -- Sincerely yours Sascha Manns openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Project-Blog: http://lizards.opensuse.org/author/saigkill Private-Blog: http://saschasbacktrace.blogspot.com
On 2009-07-03 12:46:57 +0200, Sascha 'saigkill' Manns wrote:
Am Freitag 03 Juli 2009 01:19:07 wrote Philipp Thomas:
On Thu, 2 Jul 2009 23:48:39 +0200, you wrote: install -o games -g games yahtzee %{buildroot}/%{_bindir}
<SNIP>
Jetzt kriege ich als Meldung: + install -o games -g games yahtzee /var/tmp/yahqzee-2009.27- build//usr/bin install: cannot change ownership of `/var/tmp/yahqzee-2009.27- build//usr/bin/yahtzee': Operation not permitted error: Bad exit status from /var/tmp/rpm-tmp.15147 (%install)
Hat das mal jemand gehabt?
Da du nicht als root baust, kannst du auch nicht einen beliebigen Owner festlegen. Installiere das File einfach per z.B. %__install yahtzee %{buildroot}%{_bindir} und dann setze die Berechtigungen in der %files Section: %attr(mode, owner, group) /path/to/file Marcus -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
On Fri, 3 Jul 2009 13:02:52 +0200, you wrote:
Da du nicht als root baust, kannst du auch nicht einen beliebigen Owner festlegen.
Stimmt, daran hatte ich nicht gedacht.
Installiere das File einfach per z.B. %__install yahtzee %{buildroot}%{_bindir} und dann setze die Berechtigungen in der %files Section: %attr(mode, owner, group) /path/to/file
Das ist in diesem Fall tatsächlich die bessere Lösung. Philipp -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
Am Freitag 03 Juli 2009 16:20:22 wrote Philipp Thomas:
On Fri, 3 Jul 2009 13:02:52 +0200, you wrote:
Da du nicht als root baust, kannst du auch nicht einen beliebigen Owner festlegen.
Stimmt, daran hatte ich nicht gedacht.
Installiere das File einfach per z.B. %__install yahtzee %{buildroot}%{_bindir} und dann setze die Berechtigungen in der %files Section: %attr(mode, owner, group) /path/to/file
Das ist in diesem Fall tatsächlich die bessere Lösung.
Philipp Klasse, vielen Dank Jungs, das Proggie läuft. Eine Verständnisfrage habe ich noch: Als ich anfing stand bei RPMLINT immer No-Binary.. Nach Thomas Patch lief es. Lag das jetzt daran, dass man es manuell installiieren musste? -- Sincerely yours
Sascha Manns openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Project-Blog: http://lizards.opensuse.org/author/saigkill Private-Blog: http://saschasbacktrace.blogspot.com
On Fri, 3 Jul 2009 20:34:49 +0200, you wrote:
Eine Verständnisfrage habe ich noch: Als ich anfing stand bei RPMLINT immer No-Binary.. Nach Thomas Patch lief es. Lag das jetzt daran, dass ^^^^^ Philipp, bitte.
man es manuell installiieren musste?
Ja, natürlich. Philipp -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
Am Samstag 04 Juli 2009 01:05:00 wrote Philipp Thomas:
On Fri, 3 Jul 2009 20:34:49 +0200, you wrote:
Eine Verständnisfrage habe ich noch: Als ich anfing stand bei RPMLINT immer No-Binary.. Nach Thomas Patch lief es. Lag das jetzt daran, dass
^^^^^ Philipp, bitte. Oha. Verzeihung. Philipp meinte ich ...
man es manuell installiieren musste? Warum funzte denn make install nicht? Müsste man da das Makefile ändern? Oder das Pro File? Das wäre für künftige (größere Programme) interessant. Hier ging das mit dem install "zu Fuß" ja. Aber wenn ich mal ein größeres Programm habe, wäre es vielleicht besser, das in den Quellen zu fixen... -- Sincerely yours
Sascha Manns openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Project-Blog: http://lizards.opensuse.org/author/saigkill Private-Blog: http://saschasbacktrace.blogspot.com
On Sat, 4 Jul 2009 17:10:19 +0200, you wrote:
Am Samstag 04 Juli 2009 01:05:00 wrote Philipp Thomas:
Warum funzte denn make install nicht?
Schrieb ich doch schon, weil qmake keine Make-Regeln generiert. Um das zu ändern, müsste man wahrscheinlich die .pro Datei ändern. Nur dafür müsste man sich mit qmake auskennen, ws zumindest ich nicht tue. Philipp -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
Am Samstag 04 Juli 2009 17:14:59 wrote Philipp Thomas:
On Sat, 4 Jul 2009 17:10:19 +0200, you wrote:
Am Samstag 04 Juli 2009 01:05:00 wrote Philipp Thomas:
Warum funzte denn make install nicht?
Schrieb ich doch schon, weil qmake keine Make-Regeln generiert. Um das zu ändern, müsste man wahrscheinlich die .pro Datei ändern. Nur dafür müsste man sich mit qmake auskennen, ws zumindest ich nicht tue. Danke Philipp. Hab jetzt wieder was gelernt :-)
-- Sincerely yours Sascha Manns openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Project-Blog: http://lizards.opensuse.org/author/saigkill Private-Blog: http://saschasbacktrace.blogspot.com
Hallo, Am Don, 02 Jul 2009, Sascha 'saigkill' Manns schrieb:
heute habe ich ein für mich neues Programm entdeckt, das noch nicht im OBS ist: yahqzee. Die Spec habe ich auch so geschriebne wie immer, aber ich bekomme trotzdem immer den selben Fehler: Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.64358 + umask 022 + cd /usr/src/packages/BUILD + cd yahqzee + make DESTDIR=/var/tmp/yahqzee-2009.27-build install make: Nothing to be done for `install'. + install -D -m644 yahtzee.png /var/tmp/yahqzee-2009.27- build/usr/share/pixmaps/yahtzee.png install: cannot stat `yahtzee.png': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.64358 (%install)
Spec und Source sind im saigkill Repository. Hat jemand Lust sich das mal anzusehen?
install -D -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/yahtzee.png Ich seh im '%prep' keine Stelle, an der du das .png ins Build-Verzeichnis (das ist das aktuelle beim %install) kopierst, woher soll das also kommen, wenn es nicht mit im Tarball steckt??? Analog wirst du evtl. auch noch das .desktop %{SOURCE1} installieren muessen. Aber du weißt, daß es schon ein IMO sehr gutes Qt Kniffel / Yahtzee Programm bei OS / im BS gibt? Name hab ich grad nicht drauf, kiriki ist es IIRC nicht, aber ich find's grad per webpin nicht und will nicht nur deswegen den anderen Rechner booten. Ich schau morgen mal, wenn die Kiste laeuft. Apropos finden: ich hab seit dem 22.6. (vorher schon ein paar Testversionen, wo noch nicht alles passte) ein packerl (python-uniconvertor) im home:dnh Repo, das bis heute nicht von webpin gefunden wird. Ist das normal, daß webpin so hinterherhinkt? -dnh -- "I'm a doctor, not a mechanic." -- Dr Leonard McCoy "I'm a mechanic, not a doctor." -- Volker Borchert -- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
participants (4)
-
David Haller
-
Marcus Hüwe
-
Philipp Thomas
-
Sascha 'saigkill' Manns