Re: Mal wieder RPM-Bau

Olaf Radicke <[email protected]> Tue, 22 Oct 2013 21:29:20 +0200 (CEST)
Newsgroups gmane.linux.redhat.fedora.german
Message-ID <1028207179.605900.1382470160591.open-xchange@app03.ox.hosteurope.de>
Hallo Michael!

> Michael Schwendt <[email protected]> hat am 22. Oktober 2013 um 19:42
> geschrieben:
> On Tue, 22 Oct 2013 19:27:51 +0200 (CEST), Olaf Radicke wrote:
>
[...]
> > + /usr/bin/tar -xvvf -
> > + /usr/bin/gzip -dc
> > /home/or/Dokumente/git/olaf-system-post-init/olaf-system-post-init-2-1.tar.gz
> > drwxrwxr-x or/or             0 2013-10-22 19:19 ./olaf-system-post-init-2-1/
> > -rw-rw-r-- or/or          1266 2013-10-22 19:19
> > ./olaf-system-post-init-2-1/olaf-system-post-init.spec
> > + STATUS=0
> > + '[' 0 -ne 0 ']'
> > + cd olaf-system-post-init-2
> > /var/tmp/rpm-tmp.KU7yPI: line 35: cd: olaf-system-post-init-2: No such file
> > or
> > directory
> > error: Bad exit status from /var/tmp/rpm-tmp.KU7yPI (%prep)
>
> Der %prep Abschnitt wechselt automatisch in %{name}-%{version}, nicht in
> %{name}-%{version}-%{release}. Denn das Verzeichnis, in das gewechselt
> werden soll, ist das oberste Verzeichnis der ausgepackten Software.

Ich hab das jetzt mal geändert:
https://github.com/OlafRadicke/olaf-system-post-init/tree/no-release

Merkwürdiger weise werden aber nur source-rpms gebaut und keine Binaries.
Ich kann auch nicht sehen, das rpmbuild irgend was noch nicht schmecken
würde denn er gibt immer nur 0 zurück:

[...]

Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zrs5qH
+ umask 022
+ cd /home/or/rpmbuild/BUILD
+ cd olaf-system-post-init-2
+ echo 'Hallo Welt'
Hallo Welt
+ /usr/lib/rpm/brp-compress
/usr/lib/rpm/brp-compress: line 8: cd:
/home/or/rpmbuild/BUILDROOT/olaf-system-post-init-2-1.i386: No such file or
directory
+ /usr/lib/rpm/brp-strip /usr/bin/strip
find: `/home/or/rpmbuild/BUILDROOT/olaf-system-post-init-2-1.i386': No such file
or directory
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
find: `/home/or/rpmbuild/BUILDROOT/olaf-system-post-init-2-1.i386': No such file
or directory
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
find: `/home/or/rpmbuild/BUILDROOT/olaf-system-post-init-2-1.i386': No such file
or directory
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/or/rpmbuild/BUILDROOT/olaf-system-post-init-2-1.i386
Wrote: /home/or/rpmbuild/SRPMS/olaf-system-post-init-2-1.src.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bYGT2p
+ umask 022
+ cd /home/or/rpmbuild/BUILD
+ cd olaf-system-post-init-2
+ rm -fr /home/or/rpmbuild/BUILDROOT/olaf-system-post-init-2-1.i386
+ exit 0


Witziger weise hat er sich jetzt dazu entschlossen doch lieber wieder die
Release-Nummer im Pfadnamen haben zu wollen. Mir fällt es schwer da ein
System zu erkennen, wann mit und wann ohne Release-Nummer gearbeitet wird.

Ich hab es auch noch mal mit expliziter Angabe versucht:
https://github.com/OlafRadicke/olaf-system-post-init/tree/master

Läuft zwar durch, baut aber auch keine Binaries. Also muss noch mal ganz
wo anders ein Bug drinnen sein...

*Grübel*

Olaf


-------------------|-------------------|-------------------|-------------------|
--
de-users mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/de-users