[MPlayer-users] rpmbuild fail for MPlayer-1.0rc2.tar.bz2

Anshuman G anshu.pg at gmail.com
Sat Oct 13 13:24:33 CEST 2007


Hello Dominik,

Alright , my bad habit, removed the --target and fired it again , got
same error.

[anshu at Fedora7 ~]$ sudo rpmbuild -bb  MPlayer-1.0rc2/rpm/mplayer.spec

==========================================
cc -I../libavcodec -I../libavformat -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I..
-I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
-march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/
-I/usr/include/SDL  -D_REENTRANT -I/usr/include/cdda
-I/usr/include/freetype2 -I/usr/include/fribidi
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -c -o
stream_dvb.o stream_dvb.c
stream_dvb.c: In function 'dvb_get_config':
stream_dvb.c:749: warning: 'conf_file' may be used uninitialized in
this function
cc -I../libavcodec -I../libavformat -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I..
-I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
-march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/
-I/usr/include/SDL  -D_REENTRANT -I/usr/include/cdda
-I/usr/include/freetype2 -I/usr/include/fribidi
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -c -o
stream_dvd.o stream_dvd.c
stream_dvd.c: In function 'dvd_parse_chapter_range':
stream_dvd.c:168: warning: passing argument 2 of 'strtol' from
incompatible pointer type
stream_dvd.c: In function 'open_s':
stream_dvd.c:934: error: invalid operands to binary &
stream_dvd.c:952: error: invalid operands to binary >>
stream_dvd.c:1003: error: invalid operands to binary &
stream_dvd.c:1024: error: invalid operands to binary >>
stream_dvd.c:1030: error: invalid operands to binary >>
make[1]: *** [stream_dvd.o] Error 1
make[1]: Leaving directory
`/home/anshu/rpmbuild/BUILD/mplayer-export-2007-10-13/stream'
make: *** [stream/stream.a] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.73120 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.73120 (%build)
[anshu at Fedora7 ~]$
==========================================


Now buildlog as follows, I don't know does this list permit attaching
.log files. or Should i use pastebin.ca ?


[anshu at Fedora7 ~]$ sudo rpmbuild -bp -vv
MPlayer-1.0rc2/rpm/mplayer.spec > rpmbuild.log 2>&1

===========================================================
[anshu at Fedora7 ~]$ cat rpmbuild.log
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: ========== +++ mplayer-1.0-0.20071013svn.fc7 i386/linux 0x0
D: opening  db index       /var/lib/rpm/Depends create mode=0x0
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D: opening  db index       /var/lib/rpm/Pubkeys rdonly mode=0x0
D:  read h#    1187 Header sanity check: OK
D: ========== DSA pubkey id b44269d0 4f2a6fd2 (h#1187)
D:  read h#    2277 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: SDL-devel                                     YES (db provides)
D:  read h#    2467 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: aalib-devel                                   YES (db provides)
D:  read h#    2047 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: alsa-lib-devel                                YES (db provides)
D:  read h#    1885 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: cdparanoia-devel                              YES (db provides)
D:  read h#      23 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: desktop-file-utils                            YES (db provides)
D:  read h#    2463 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: em8300-devel                                  YES (db provides)
D:  read h#    2460 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: enca-devel                                    YES (db provides)
D:  read h#    1504 Header sanity check: OK
D: ========== DSA pubkey id 692ac459 e42d547b (h#1504)
D:  read h#    2128 Header V3 DSA signature: OK, key ID e42d547b
D:  Requires: faac-devel                                    YES (db provides)
D:  read h#    2134 Header V3 DSA signature: OK, key ID e42d547b
D:  Requires: faad2-devel                                   YES (db provides)
D: ========== DSA pubkey id b44269d0 4f2a6fd2 (h#1187)
D:  read h#     413 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: fontconfig-devel                              YES (db provides)
D:  read h#    1400 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: freetype-devel >= 2.0.9                       YES (db provides)
D:  read h#    2466 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: fribidi-devel                                 YES (db provides)
D:  read h#     284 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: giflib-devel                                  YES (db provides)
D:  read h#    1768 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: gtk2-devel                                    YES (db provides)
D:  read h#    2459 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: ladspa-devel                                  YES (db provides)
D: ========== DSA pubkey id 692ac459 e42d547b (h#1504)
D:  read h#    2129 Header V3 DSA signature: OK, key ID e42d547b
D:  Requires: lame-devel                                    YES (db provides)
D: ========== DSA pubkey id b44269d0 4f2a6fd2 (h#1187)
D:  read h#    1257 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libGL-devel                                   YES (db provides)
D:  read h#     807 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libXinerama-devel                             YES (db provides)
D:  read h#     784 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libXv-devel                                   YES (db provides)
D:  read h#     852 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libXvMC-devel                                 YES (db provides)
D:  read h#     905 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libXxf86dga-devel                             YES (db provides)
D:  read h#     903 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libXxf86vm-devel                              YES (db provides)
D:  read h#    2457 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libcaca-devel                                 YES (db provides)
D: ========== DSA pubkey id 692ac459 e42d547b (h#1504)
D:  read h#    2455 Header V3 DSA signature: OK, key ID e42d547b
D:  Requires: libdca-devel                                  YES (db provides)
D: ========== DSA pubkey id b44269d0 4f2a6fd2 (h#1187)
D:  read h#    2458 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libdv-devel                                   YES (db provides)
D: ========== DSA pubkey id 692ac459 e42d547b (h#1504)
D:  read h#    2465 Header V3 DSA signature: OK, key ID e42d547b
D:  Requires: libdvdnav-devel                               YES (db provides)
D: ========== DSA pubkey id b44269d0 4f2a6fd2 (h#1187)
D:  read h#    1410 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libjpeg-devel                                 YES (db provides)
D:  read h#    2462 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libmpcdec-devel                               YES (db provides)
D:  read h#    2464 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libtheora-devel                               YES (db provides)
D:  read h#    2081 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libvorbis-devel                               YES (db provides)
D:  read h#    2468 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: lirc-devel                                    YES (db provides)
D:  read h#    2025 Header sanity check: OK
D: ========== DSA pubkey id 71295441 a109b1ec (h#2025)
D:  read h#    2470 Header V3 DSA signature: OK, key ID a109b1ec
D:  Requires: live-devel                                    YES (db provides)
D: ========== DSA pubkey id b44269d0 4f2a6fd2 (h#1187)
D:  read h#    2456 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: lzo-devel >= 2                                YES (db provides)
D:  read h#    2461 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: speex-devel >= 1.1                            YES (db provides)
D: ========== DSA pubkey id 692ac459 e42d547b (h#1504)
D:  read h#    2469 Header V3 DSA signature: OK, key ID e42d547b
D:  Requires: twolame-devel                                 YES (db provides)
D:  read h#    1594 Header V3 DSA signature: OK, key ID e42d547b
D:  Requires: x264-devel                                    YES (db provides)
D:  read h#    2133 Header V3 DSA signature: OK, key ID e42d547b
D:  Requires: xvidcore-devel >= 0.9.2                       YES (db provides)
D: ========== DSA pubkey id b44269d0 4f2a6fd2 (h#1187)
D:  read h#     493 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: docbook-dtds                                  YES (db provides)
D:  read h#    2306 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: docbook-style-xsl                             YES (db provides)
D:  read h#    1197 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libxml2                                       YES (db provides)
D:  read h#    1212 Header V3 DSA signature: OK, key ID 4f2a6fd2
D:  Requires: libxslt                                       YES (db provides)
D: closed   db index       /var/lib/rpm/Pubkeys
D: closed   db index       /var/lib/rpm/Depends
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49487
+ umask 022
+ cd /home/anshu/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/anshu/rpmbuild/BUILD
+ rm -rf mplayer-export-2007-10-13
+ /usr/bin/bzip2 -dc
/home/anshu/rpmbuild/SOURCES/mplayer-export-snapshot.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mplayer-export-2007-10-13
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ for lang in de es fr it
+ doconv iso-8859-1 utf-8 de
+ iconv -f iso-8859-1 -t utf-8 -o DOCS/man/de/mplayer.1.utf8
DOCS/man/de/mplayer.1
+ mv DOCS/man/de/mplayer.1.utf8 DOCS/man/de/mplayer.1
+ for lang in de es fr it
+ doconv iso-8859-1 utf-8 es
+ iconv -f iso-8859-1 -t utf-8 -o DOCS/man/es/mplayer.1.utf8
DOCS/man/es/mplayer.1
+ mv DOCS/man/es/mplayer.1.utf8 DOCS/man/es/mplayer.1
+ for lang in de es fr it
+ doconv iso-8859-1 utf-8 fr
+ iconv -f iso-8859-1 -t utf-8 -o DOCS/man/fr/mplayer.1.utf8
DOCS/man/fr/mplayer.1
+ mv DOCS/man/fr/mplayer.1.utf8 DOCS/man/fr/mplayer.1
+ for lang in de es fr it
+ doconv iso-8859-1 utf-8 it
+ iconv -f iso-8859-1 -t utf-8 -o DOCS/man/it/mplayer.1.utf8
DOCS/man/it/mplayer.1
+ mv DOCS/man/it/mplayer.1.utf8 DOCS/man/it/mplayer.1
+ for lang in hu pl
+ doconv iso-8859-2 utf-8 hu
+ iconv -f iso-8859-2 -t utf-8 -o DOCS/man/hu/mplayer.1.utf8
DOCS/man/hu/mplayer.1
+ mv DOCS/man/hu/mplayer.1.utf8 DOCS/man/hu/mplayer.1
+ for lang in hu pl
+ doconv iso-8859-2 utf-8 pl
+ iconv -f iso-8859-2 -t utf-8 -o DOCS/man/pl/mplayer.1.utf8
DOCS/man/pl/mplayer.1
+ mv DOCS/man/pl/mplayer.1.utf8 DOCS/man/pl/mplayer.1
+ for lang in ru
+ doconv koi8-r utf-8 ru
+ iconv -f koi8-r -t utf-8 -o DOCS/man/ru/mplayer.1.utf8 DOCS/man/ru/mplayer.1
+ mv DOCS/man/ru/mplayer.1.utf8 DOCS/man/ru/mplayer.1
+ mv DOCS/man/zh DOCS/man/zh_CN
+ exit 0
D: May free Score board((nil))
[anshu at Fedora7 ~]$

===========================================================



Best regards,
Anshuman Gholap



On 10/13/07, Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org> wrote:
> On Saturday, 13 October 2007 at 11:43,
> Why did you set --target? We also need full buildlog (and configure.log).
>
> Regards,
> R.
>
> --
> MPlayer developer and RPMs maintainer: http://mplayerhq.hu http://rpm.livna.org
> There should be a science of discontent. People need hard times and
> oppression to develop psychic muscles.
>         -- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-users mailing list