Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 155767

Summary: media-video/mmsv2-1.0.8.3 (Version Bump)
Product: Gentoo Linux Reporter: Laurento Frittella (mrfree) <laurento.frittella>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: bugzilla, lasse, matthiasbernges
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: media-video/mmsv2-1.0.8.ebuild
Compile on nocona cpu on amd64 systems

Description Laurento Frittella (mrfree) 2006-11-20 07:13:54 UTC
Here is the ebuild, changes in the ebuild:
* $MY_P: the package name is mms (instead of mmsv2)
* The xine player now is the default (instead of alsaplayer)
* some docs disappeared
Comment 1 Laurento Frittella (mrfree) 2006-11-20 07:17:04 UTC
Created attachment 102403 [details]
media-video/mmsv2-1.0.8.ebuild
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2006-11-20 07:24:58 UTC

*** This bug has been marked as a duplicate of 155766 ***
Comment 3 Laurento Frittella (mrfree) 2006-12-01 00:56:58 UTC
This is the *correct* bug report, #155766 is a mistake
Comment 4 Laurento Frittella (mrfree) 2006-12-01 00:57:43 UTC
*** Bug 155766 has been marked as a duplicate of this bug. ***
Comment 5 Matthias Nieuwenhuisen 2007-01-10 00:17:24 UTC
MMSv2 doesn't compile on Core 2 Duo (nocona) with Gentoo amd64, because it appends "-march=pentium3" for this and gives an error, that this is not an 64bit cpu. The attached core2configure.patch works for me with these changes to the ebuild:

*** configure	2007-01-10 00:47:05.000000000 +0100
--- configure.new	2007-01-10 00:46:54.000000000 +0100
*************** cpu_detect() {
*** 280,285 ****
--- 280,287 ----
  		proc=i686
  	elif test "$pmodel" -eq 9 -o "$pmodel" -eq 13; then
                  proc=pentium-m
+ 	elif test "$pmodel" -eq 15; then
+ 		proc=nocona
  	elif test "$pmodel" -ge 7; then
  		proc=pentium3
  	elif test "$pmodel" -ge 3; then




*** /home/nieuwenh/Desktop/mmsv2-1.0.8.ebuild	2007-01-09 23:58:03.000000000 +0100
--- mmsv2-1.0.8.ebuild	2007-01-10 01:03:26.000000000 +0100
*************** pkg_postinst() {
*** 84,86 ****
--- 84,93 ----
  	einfo
  	einfo "Documentation is available online: http://mms.sunsite.dk/doc/index.html"
  }
+ 
+ src_unpack() {
+ 	unpack ${A}
+ 	cd "${S}"
+ 	epatch "${FILESDIR}"/core2configure.patch
+ }
Comment 6 Matthias Nieuwenhuisen 2007-01-10 00:18:47 UTC
Created attachment 106274 [details, diff]
Compile on nocona cpu on amd64 systems
Comment 7 Matthias Nieuwenhuisen 2007-01-10 00:20:21 UTC
Comment on attachment 106274 [details, diff]
Compile on nocona cpu on amd64 systems

I posted this patch also to the developers of mmsv2
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-13 08:26:54 UTC
*** Bug 166616 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-04-14 12:52:50 UTC
*** Bug 174584 has been marked as a duplicate of this bug. ***
Comment 10 Lasse Bigum 2007-04-14 13:10:03 UTC
Hmm, I'm puzzled :)

Was this bug named 1.0.8.3 before?
I can't see an ebuild for 1.0.8.3, which I just uploaded in bug #174584.

Sorry for the duplicate though, if it was already named 1.0.8.3, but at least there is an ebuild now.

I have already written the project maintainer about the build system. It is a very broken way of handling the CPU and arch stuff on, so I hope that he will change the way it works now.
Comment 11 Steve Dibb (RETIRED) gentoo-dev 2007-08-25 16:01:03 UTC

*** This bug has been marked as a duplicate of bug 190191 ***