Re: error: line 62: second %prep

Olaf Radicke <[email protected]> Tue, 21 Jan 2014 21:58:42 +0100 (CET)
Newsgroups gmane.linux.redhat.fedora.german
Message-ID <962591997.259091.1390337922928.open-xchange@app09.ox.hosteurope.de>

> Michael Schwendt <[email protected]> hat am 21. Januar 2014 um 20:49
> geschrieben:
>
> On Tue, 21 Jan 2014 17:50:05 +0100 (CET), Olaf Radicke wrote:
>
> > Fedora release 17 (Beefy Miracle)
>
> Beendet seit 2013-07-30.
> https://fedoraproject.org/wiki/End_of_life

Ich weiß. Es gibt bald ein neues Notebook. Lohnt nicht mehr
da ein Upgrade zu machen.

> Allerdings gehe ich nicht davon aus, daß es ein Bug in F17 ist/war.
> 
> > > Bekommst Du den Fehler mit allen Deinen rpms oder nur mit diesem?
> >
> > nein.
>
> Als Antwort auf beide Fragen?

Entschuldigung. Ich war abgelenkt. Kein anders RPM bereitet diese
Probleme bei mir.

> > Ich benutze ein kleine Makefile (siehe Anhang).
>
> Autsch. Das verkompliziert die Fehlersuche wiedermal unnötig. Nicht etwa,
> weil Makefiles kompliziert sind, sondern weil Du da bei diesem sehr
> eigenen Backofen schonmal einen Fehler eingebaut hattest oder mal
> wieder nicht alle Modifikation Deiner RPM Konfiguration offenlegst.

Ich habe das Projekt jetzt auf GitHub geschoben:
https://github.com/OlafRadicke/tntmake

> Geh' dochmal zurück auf den stinknormalen Weg, der für mehrere Tausend
> Pakete in Fedora 17 funktioniert hat: spec + tar.gz + rpmbuild

Das scheint witziger weise zu gehen...

or@augsburg:~/a-z/git/tntmake$ cp ./tntmake-1.tar.gz /home/or/rpmbuild/SOURCES/

or@augsburg:~/a-z/git/tntmake$ rpmbuild -vv -bb ./bin/tntmake.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jsOEwH
+ umask 022
+ cd /home/or/rpmbuild/BUILD
+ cd /home/or/rpmbuild/BUILD
+ rm -rf tntmake-1
+ /usr/bin/tar -xvvf -
+ /usr/bin/gzip -dc /home/or/rpmbuild/SOURCES/tntmake-1.tar.gz
drwxrwxr-x or/or             0 2014-01-21 14:03 tntmake-1/
drwxrwxr-x or/or             0 2014-01-21 21:53 tntmake-1/bin/
-rw-rw-r-- or/or           596 2014-01-21 17:47 tntmake-1/bin/BulidFile.rb
-rwxrwxr-x or/or          1105 2014-01-21 21:53 tntmake-1/bin/tntmake.rb
-rw-rw-r-- or/or          1132 2014-01-21 21:53 tntmake-1/bin/tntmake.spec
-rw-rw-r-- or/or          2033 2014-01-21 21:53 tntmake-1/bin/MakeRules.rb
-rw-rw-r-- or/or          1173 2014-01-21 21:53
tntmake-1/bin/getExampleConfigFile.rb
-rwxrwxr-x or/or           117 2014-01-21 21:53 tntmake-1/bin/tntmake
-rw-rw-r-- or/or           546 2014-01-21 17:47 tntmake-1/bin/BuildJob.rb
-rw-rw-r-- or/or          2266 2014-01-21 21:53 tntmake-1/bin/TNTMake.rb
drwxrwxr-x or/or             0 2014-01-21 14:03 tntmake-1/bin/resources/
-rw-rw-r-- or/or           752 2014-01-21 21:53
tntmake-1/bin/resources/configure.ac.template
-rw-rw-r-- or/or            76 2014-01-21 21:53
tntmake-1/bin/resources/Makefile.am.template
-rw-rw-r-- or/or           885 2014-01-21 21:53
tntmake-1/bin/resources/SubMakefile.am.am.template
-rw-rw-r-- or/or          1132 2014-01-21 21:53 tntmake-1/tntmake.spec
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tntmake-1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xYvXLv
+ umask 022
+ cd /home/or/rpmbuild/BUILD
+ cd tntmake-1
+ '[' '!' -d /home/or/rpmbuild/BUILDROOT/tntmake-1-1.i386/usr/lib/tntmake/ ']'
+ mkdir -p /home/or/rpmbuild/BUILDROOT/tntmake-1-1.i386/usr/lib/tntmake/
+ install /home/or/rpmbuild/BUILD/tntmake-1/bin/BuildJob.rb
/home/or/rpmbuild/BUILD/tntmake-1/bin/BulidFile.rb
/home/or/rpmbuild/BUILD/tntmake-1/bin/MakeRules.rb
/home/or/rpmbuild/BUILD/tntmake-1/bin/TNTMake.rb
/home/or/rpmbuild/BUILD/tntmake-1/bin/getExampleConfigFile.rb
/home/or/rpmbuild/BUILD/tntmake-1/bin/tntmake.rb
/home/or/rpmbuild/BUILDROOT/tntmake-1-1.i386/usr/lib/tntmake/
+ '[' '!' -d
/home/or/rpmbuild/BUILDROOT/tntmake-1-1.i386/usr/lib/tntmake/resources/ ']'
+ mkdir -p
/home/or/rpmbuild/BUILDROOT/tntmake-1-1.i386/usr/lib/tntmake/resources/
+ install /home/or/rpmbuild/BUILD/tntmake-1/bin/resources/Makefile.am.template
/home/or/rpmbuild/BUILD/tntmake-1/bin/resources/SubMakefile.am.am.template
/home/or/rpmbuild/BUILD/tntmake-1/bin/resources/configure.ac.template
/home/or/rpmbuild/BUILDROOT/tntmake-1-1.i386/usr/lib/tntmake/resources/
+ '[' '!' -d /home/or/rpmbuild/BUILDROOT/tntmake-1-1.i386/usr/bin/ ']'
+ mkdir -p /home/or/rpmbuild/BUILDROOT/tntmake-1-1.i386/usr/bin/
+ install /home/or/rpmbuild/BUILD/tntmake-1/bin/tntmake
/home/or/rpmbuild/BUILDROOT/tntmake-1-1.i386/usr/bin/tntmake
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Processing files: tntmake-1-1.noarch
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/bash /usr/bin/ruby
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/or/rpmbuild/BUILDROOT/tntmake-1-1.i386
Wrote: /home/or/rpmbuild/RPMS/noarch/tntmake-1-1.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.M7pldb
+ umask 022
+ cd /home/or/rpmbuild/BUILD
+ cd tntmake-1
+ /usr/bin/rm -rf /home/or/rpmbuild/BUILDROOT/tntmake-1-1.i386
+ exit 0


or@augsburg:~/a-z/git/tntmake$ ls /home/or/rpmbuild/RPMS/noarch/
tntmake-1-1.noarch.rpm

Wahrscheinlich ist es das einfachste, das Makefile um zubauen.


Gruß

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