Heyas,
i'm currently quit confused. I had built with this spec file quite a few times, only 2 times successfully on f17, the build process has quite a few odd output:
Code:
rpmbuild -ba ~/rpmbuild/SPECS/script-tools.spec
Code:
# | Fedora : Script Tools 0.6.1 : (0) 2012.06.24-20.32.18 | #
# | sea's RPMbuild handler (0.1) | #
# | sea's SourceForge.net Manager (0.1) | #
# | Available projects: st | #
/tmp/tar.tmp
rm: Alle Argumente rekursiv entfernen? y
rm: Entfernen von „.git“ nicht möglich: Datei oder Verzeichnis nicht gefunden
tar: Entferne führende „/“ von Elementnamen
Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.Maqyro
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf script-tools-0.6.1
+ /usr/bin/mkdir -p script-tools-0.6.1
+ cd script-tools-0.6.1
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/script-tools-0.6.1.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Ausführung(%build): /bin/sh -e /var/tmp/rpm-tmp.N0KXZw
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd script-tools-0.6.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ exit 0
Ausführung(%install): /bin/sh -e /var/tmp/rpm-tmp.SrSWBF
+ umask 022
+ cd /root/rpmbuild/BUILD
+ '[' /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386 '!=' / ']'
+ rm -rf /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386
++ dirname /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386
+ mkdir -p /root/rpmbuild/BUILDROOT
+ mkdir /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386
+ cd script-tools-0.6.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ tar -axf /root/rpmbuild/SOURCES/script-tools-0.6.1.tar.gz
+ rm -rf /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386
+ mkdir -p /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools
+ mv tmp /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/
+ sudo mkdir -p /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/etc/profile.d
+ cat
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /root/rpmbuild/BUILD/script-tools-0.6.1
+ '[' noarch = noarch ']'
+ case "${QA_CHECK_RPATHS:-}" in
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: script-tools-0.6.1-4.fc17.noarch
Fehler: Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/doc
Fehler: Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/st
Fehler: Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/st.cfg
Fehler: Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/cfg
Fehler: Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/it
Fehler: Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/libs
Fehler: Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/lists
Fehler: Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/man
Fehler: Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/scripts
Fehler beim Bauen des RPM:
Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/doc
Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/st
Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/st.cfg
Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/cfg
Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/it
Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/libs
Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/lists
Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/man
Datei nicht gefunden: /root/rpmbuild/BUILDROOT/script-tools-0.6.1-4.fc17.i386/usr/share/script-tools/scripts
[root@nc210 st]# ��
The specfile is there:
http://sea.hostingsociety.com/dev/script-tools.spec
More files can be review on:
http://sea.hostingsociety.com/dev/
The issue is, scripts should be noarch, to my understanding at least, but for some reason rpmbuild suddenly changes "noarch" to "i386".
I have no idea what might be the cause for this...
I had search google with "rpmbuild ARCH mismatch", but that didnt brought any usefull information

Any hint or idea is very welcome.