Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2536 - mplayer fails to build

Attached to Project: Arch Linux
Opened by LB06 (LB06) - Sunday, 10 April 2005, 16:41 GMT
Last edited by dorphell (dorphell) - Monday, 11 April 2005, 05:27 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To dorphell (dorphell)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I get the following error message when I want to build mplayer with ABS:

msmpeg4.c: In function `msmpeg4_encode_dc':
msmpeg4.c:720: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make[1]: *** [msmpeg4.o] Error 1
make[1]: Leaving directory `/var/abs/local/mplayer-with-arts/src/MPlayer-1.0pre6a/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
==> ERROR: Build Failed. Aborting...

It also happens when I want to build mplayer with the stock PKGBUILD
(application/octet-stream)    PKGBUILD (1.2 KiB)
This task depends upon

Closed by  dorphell (dorphell)
Friday, 15 April 2005, 18:41 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Once again.. no bug here. [re-closed]
Comment by Judd Vinet (judd) - Friday, 15 April 2005, 00:35 GMT
Re-opened by request from Tomasz Bakiera
Comment by dorphell (dorphell) - Friday, 15 April 2005, 02:33 GMT
If you're going to request a bug to be reopened, it goes without saying that you need to comment on it. I closed it because this bug was not an issue on any of my 4 systems so if you want something to happen this time, you have to be more descriptive.

I don't think there's an issue here, something on your system is out of date, so try to work out the kinks and post a comment if you succeed. Make sure your PKGBUILD is up to date. I've attached the latest one in case you can't get the latest one for some reason.
Comment by Tomasz Bakiera (kog) - Friday, 15 April 2005, 06:28 GMT
[08:19][root@kog tomek]# locale
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=POSIX

[08:20][root@kog tomek]# srcpac -Sy
:: Synchronizing package databases...
--08:20:56-- ftp://ftp.archlinux.org/current/os/i686/current.db.tar.gz
=> `current.db.tar.gz.part'
Translacja ftp.archlinux.org... 67.15.6.85
Łączenie się z ftp.archlinux.org[67.15.6.85]:21... połączono.
Logowanie się jako anonymous ... Zalogowano się!
==> SYST ... zrobiono. ==> PWD ... zrobiono.
==> TYPE I ... zrobiono. ==> CWD /current/os/i686 ... zrobiono.
==> PASV ... zrobiono. ==> RETR current.db.tar.gz ... zrobiono.
Długość: 46,343 (nie autorytatywne)

100%[====================================>] 46,343 28.46K/s

08:21:00 (28.38 KB/s) - zapisano `current.db.tar.gz.part' [46343]

--08:21:01-- ftp://ftp.archlinux.org/extra/os/i686/extra.db.tar.gz
=> `extra.db.tar.gz.part'
Translacja ftp.archlinux.org... 67.15.6.85
Łączenie się z ftp.archlinux.org[67.15.6.85]:21... połączono.
Logowanie się jako anonymous ... Zalogowano się!
==> SYST ... zrobiono. ==> PWD ... zrobiono.
==> TYPE I ... zrobiono. ==> CWD /extra/os/i686 ... zrobiono.
==> PASV ... zrobiono. ==> RETR extra.db.tar.gz ... zrobiono.
Długość: 206,078 (nie autorytatywne)

100%[====================================>] 206,078 28.14K/s ETA 00:00

08:21:10 (28.31 KB/s) - zapisano `extra.db.tar.gz.part' [206078]


[08:22][root@kog tomek]# abs
Connected to cvs.archlinux.org
Updating collection arch/cvs
Edit base/filesystem/filesystem.install
Edit base/gettext/PKGBUILD
Edit base/lilo/PKGBUILD
Edit base/man-pages/PKGBUILD
Edit base/openssl/PKGBUILD
Edit base/syslog-ng/PKGBUILD
Edit base/syslog-ng/syslog-ng.conf
Edit daemons/mysql/PKGBUILD
Edit devel/php/PKGBUILD
Finished successfully
Connected to cvs.archlinux.org
Updating collection extra/cvs
Edit extra/system/lm_sensors/PKGBUILD
Edit extra/xfce4/xfprint/PKGBUILD
Checkout extra/xfce4/xfprint/xfprint.patch
Finished successfully
Connected to cvs.archlinux.org
Updating collection unstable/cvs
Finished successfully

[08:27][root@kog tomek]# srcpac -Sb mplayer

Source Targets: mplayer-1.0pre6a-2

Proceed with upgrade? [Y/n]
==> Making package: mplayer (pią kwi 15 08:27:16 CEST 2005)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Using local copy of MPlayer-1.0pre6a.tar.bz2
==> Downloading Blue-1.4.tar.bz2
--08:27:17-- ftp://ftp.mplayerhq.hu/MPlayer/Skin/Blue-1.4.tar.bz2
=> `Blue-1.4.tar.bz2'
Translacja ftp.mplayerhq.hu... 192.190.173.45
Łączenie się z ftp.mplayerhq.hu[192.190.173.45]:21... połączono.
Logowanie się jako anonymous ... Zalogowano się!
==> SYST ... zrobiono. ==> PWD ... zrobiono.
==> TYPE I ... zrobiono. ==> CWD /MPlayer/Skin ... zrobiono.
==> SIZE Blue-1.4.tar.bz2 ... zrobiono.
==> PASV ... zrobiono. ==> REST 221764 ... zrobiono.
==> RETR Blue-1.4.tar.bz2 ... zrobiono.
Długość: 221,764 [0 do końca]

100%[+++++++++++++++++++++++++++++++++++++] 221,764 --.--K/s

08:27:19 (0.00 B/s) - zapisano `Blue-1.4.tar.bz2' [221764]

==> Validating source files with MD5sums
MPlayer-1.0pre6a.tar.bz2 ... Passed
Blue-1.4.tar.bz2 ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error: Failed to build "mplayer"
[08:27][root@kog tomek]#



It happens every time, even if I delete Blue-1.4.tar.bz2 to download
it again


Comment by LB06 (LB06) - Friday, 15 April 2005, 13:26 GMT
I haven't requested to reopen this bugreport, even though I still haven't been able to fix it
Comment by dorphell (dorphell) - Friday, 15 April 2005, 14:47 GMT
That's not this bug, it's not a bug at all, you're not deleting your system-wide source cache. Delete it from /var/cache/pacman/src.

..So now someone who's having the issue described in the bug-summary, give more details. (Hint: Luk)
Comment by LB06 (LB06) - Friday, 15 April 2005, 17:35 GMT
Well, what can I say. I just su to root, execute abs, cd /var/abs/multimedia/mplayer and execute makepkg. C'est tout. I didn't do anything special. At first I thought it was my PKGBUILD that wasn't correct, but when I tried to build it with the stock PKGBUILD I got the excact same error message.

I've been watching the compile process and copied some warnings, but I don't think they have anything to do with my problem:

wine/debugtools.h:67: warning: useless keyword or type name in empty declaration
wine/debugtools.h:67: warning: empty declaration
win32.c:1706:2: warning: #warning FIXME
win32.c:3003:2: warning: #warning FIXME!

dsputil.o dsputil.c
dsputil.c: In function `dsputil_init':
dsputil.c:3636: warning: assignment from incompatible pointer type
dsputil.c:3637: warning: assignment from incompatible pointer type

snow.o snow.c
snow.c: In function `add_yblock':
snow.c:2177: warning: left shift count is negative
snow.c: In function `predict_plane':
snow.c:2241: warning: passing arg 5 of `add_yblock' discards qualifiers from pointer target type
snow.c: In function `common_init':
snow.c:2520: warning: assignment from incompatible pointer type
snow.c:2520: warning: assignment from incompatible pointer type
snow.c:2521: warning: assignment from incompatible pointer type
snow.c:2521: warning: assignment from incompatible pointer type
snow.c:2522: warning: assignment from incompatible pointer type
snow.c:2522: warning: assignment from incompatible pointer type
snow.c:2523: warning: assignment from incompatible pointer type
snow.c:2523: warning: assignment from incompatible pointer type

Comment by LB06 (LB06) - Friday, 15 April 2005, 17:55 GMT
I have found the problem. My CFLAGS were set to -march=pentium-m -O2 - pipe. I didn't realize they were too agressive, because I've never experienced any problems with these flag until now.

Loading...