Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
makemkv / makemkvcon crash; cause segfaults in liborc
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1145
Location: Motown

PostPosted: Sun Jul 13, 2014 4:34 pm    Post subject: Reply with quote

Chewi wrote:
I've got it, I've got it! It's this.

Code:
export libc_cv_hashstyle=no


Verified that patching the files/eblits/src_compile.eblit to comment out that line and emerging glibc solves the problem.
_________________
A mouse is a device used to point at the xterm you want to type in.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2636
Location: Dallas area

PostPosted: Sun Jul 13, 2014 4:45 pm    Post subject: Reply with quote

darkphader wrote:
Chewi wrote:
I've got it, I've got it! It's this.

Code:
export libc_cv_hashstyle=no


Verified that patching the files/eblits/src_compile.eblit to comment out that line and emerging glibc solves the problem.


But will it cause problems in other apps or libs? That's what we don't know.

Of course I'm not sure why they overrode the autodetection at configure time.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.19, gcc-4.9.2, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4(2011)
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1145
Location: Motown

PostPosted: Sun Jul 13, 2014 4:58 pm    Post subject: Reply with quote

Anon-E-moose wrote:
But will it cause problems in other apps or libs? That's what we don't know.


Examining the bug https://bugs.gentoo.org/show_bug.cgi?id=347761 appears to show little danger. If I'm not mistaken it would only negatively affect when wants to compile with a specific hashstyle in LDFLAGS, such as LDFLAGS="--hash-style=gnu". That said, I'm not a dev but I doubt it's a dangerous change to make.
_________________
A mouse is a device used to point at the xterm you want to type in.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2636
Location: Dallas area

PostPosted: Sun Jul 13, 2014 5:28 pm    Post subject: Reply with quote

It was just a thought to keep in mind if you do it system-wide and have a problem start up out of the blue on some other program.
Though I agree that it shouldn't cause any problems.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.19, gcc-4.9.2, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4(2011)
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 812
Location: Edinburgh, Scotland

PostPosted: Sun Jul 13, 2014 6:07 pm    Post subject: Reply with quote

Yeah I didn't want to actually install the resulting libc, I just used LD_PRELOAD. I agree that it's probably a minor thing but I don't mess with glibc lightly. :wink:
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1145
Location: Motown

PostPosted: Sun Jul 13, 2014 9:52 pm    Post subject: Reply with quote

FWIW, I rebuilt the toolchain after the edit, then rebuilt emptytree @system and everything is fine.
_________________
A mouse is a device used to point at the xterm you want to type in.
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 812
Location: Edinburgh, Scotland

PostPosted: Mon Jul 14, 2014 1:48 pm    Post subject: Reply with quote

mike admin wrote:
Thanks a lot! This makes a lot of sense actually - hopefully it should be fixed in the next version.

:D
Back to top
View user's profile Send private message
frostwork
n00b
n00b


Joined: 11 Dec 2006
Posts: 60

PostPosted: Mon Aug 18, 2014 3:53 pm    Post subject: Reply with quote

yay, upstream fixed the bug with 1.8.12. finally makemkv is back on gentoo :}
http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224
a simple rename of ebuild and makefile-patch in files (in your local overlay) is enough until it hits portage

libmmbd.so emulating libaacs.so/libbdplus.so works fine too after setting the required symlinks.
might be a good idea to let depend all related packages on virtual/libaacs instead of the real media-libs/libaacs (and libbdplus oc)
and let the user decide via useflag if he wants to pull in libaacs or the libmmbd emulation(?).

btw libmmbd searches for its makemkvcon binary in hardcoded paths which doesn't respect $PATH and therefore doesn't find /opt/bin/makemkvcon.
creating a symlink into /usr/local/bin is enough to get the emulation working!

I also don't do automount in general, but as the bd seems to have to be mounted I started "devmon" (from udevil) manually so xbmc,vlc can detect the disc
Back to top
View user's profile Send private message
Chewi
Developer
Developer


Joined: 01 Sep 2003
Posts: 812
Location: Edinburgh, Scotland

PostPosted: Mon Aug 18, 2014 4:03 pm    Post subject: Reply with quote

frostwork wrote:
yay, upstream fixed the bug with 1.8.12. finally makemkv is back on gentoo :}


Woot! Finally! :D

frostwork wrote:
libmmbd.so emulating libaacs.so/libbdplus.so works fine too after setting the required symlinks.
might be a good idea to let depend all related packages on virtual/libaacs instead of the real media-libs/libaacs (and libbdplus oc)
and let the user decide via useflag if he wants to pull in libaacs or the libmmbd emulation(?).

btw libmmbd searches for its makemkvcon binary in hardcoded paths which doesn't respect $PATH and therefore doesn't find /opt/bin/makemkvcon.
creating a symlink into /usr/local/bin is enough to get the emulation working!


I already addressed both these issues in bug #509838. Sadly it's not seen any attention yet. Rather than messing about with symlinks and USE flags, you can simply set LIBAACS_PATH=libmmbd and LIBBDPLUS_PATH=libmmbd and it'll just work.
Back to top
View user's profile Send private message
frostwork
n00b
n00b


Joined: 11 Dec 2006
Posts: 60

PostPosted: Mon Aug 18, 2014 4:10 pm    Post subject: Reply with quote

ah, interesting env variables, thx! :}
MMBD_TRACE=1 might be also worth to mention as it shows that it can't find makemkvcon
Back to top
View user's profile Send private message
AmonAmarth
l33t
l33t


Joined: 03 Mar 2005
Posts: 719

PostPosted: Thu Sep 11, 2014 11:27 pm    Post subject: Reply with quote

frostwork wrote:
ah, interesting env variables, thx! :}
MMBD_TRACE=1 might be also worth to mention as it shows that it can't find makemkvcon

you saved my day! i tried to get the aacs emulation with makemkv to running since a few month and nearly gone insane why this was not working. with your hint regarding the env variable i figured out that the makemkvcon binary was not found... after setting a stupid symlink it is working like a charm! thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum