New version of makemkv is available and old one won't emerge.
Simply copying the makemkv-1.7.7.ebuild to makemkv-1.7.8.ebuild and also copying files/makemkv-1.7.7-makefile.linux.patch to files/makemkv-1.7.8-makefile.linux.patch to a local overlay did the trick for me. Also make sure you cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/ as the ebuild (portage messages) suggest otherwise you will get a coredump.
yes that works for the install but i am not able to register the product as a regular user.
Nevermind that. it was becuase i had created the ~/.MakeMKV with root so my user could not write to it. Not enough coffee in me yet lol.
1.7.9 is still out. Also working with 1.7.7 patch.
1.7.9 is not working for me. I can emerge it but when I run /opt/bin/makemkv it just hangs around never bringing up the gui. Can you confirm that it works for you?
I can alos confirm that even tho makemkv-1.7.9 compiles fine with the 1.7.7 patch it fail to start. Running makemkv or makemkvcon just hangs and the process has to be killed.
I have reported the problem upstream. If you want to follow what's going on see this link: http://www.makemkv.com/forum2/viewtopic.php?f=3&t=5648
1.7.9 does not work for me, nor do older versions. I think part of the problem are my compiler flags. I have CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" which works okay otherwise. Using this flags the makemkv gui does not even show up and makemkvcon also segfaults immediately. If I use -Os instead of -O2 the gui starts up but freezes immediately and exits with a fatal error shortly afterwards. For makemkvcon I can get the help output but if I issue "makemkvcon info disc:0" I get a segmentation fault as well. emerge --info Portage 2.1.11.9 (default/linux/x86/10.0, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo i686) ================================================================= System uname: Linux-3.5.7-gentoo-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.1 Timestamp of tree: Fri, 09 Nov 2012 17:15:01 +0000 ccache version 3.1.7 [enabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.4 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo sunrise portage-billie ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/media/system/source/distfiles" EMERGE_DEFAULT_OPTS="--oneshot --with-bdeps=y" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs buildpkg candy ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans xattr" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/" LANG="POSIX" LC_ALL="POSIX" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu" LINGUAS="de en" MAKEOPTS="-j3" PKGDIR="/media/system/source/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--human-readable" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/media/system/tmp" PORTDIR="/media/system/repositories/portage" PORTDIR_OVERLAY="/media/system/repositories/sunrise /media/system/repositories/portage-billie" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X \ a52 aac aacplus aalib acl alsa amr ao archive ares bash-completion berkdb bidi bl bluray branding bs2b bzip2 cairo caps cdda cddb cdio cdparanoia chardet cli consolekit cracklib crypt css cups curl cxx dbus dga dirac djvu dri dts dv dvb dvd dvdr encode exif faac faad fam fat fbcon ffmpeg fftw flac fontconfig fortran gd gdbm gif gimp gnutls gpm gs gsm gstreamer gtk gtk3 iconv icu id3tag idn ieee1394 imagemagick imlib introspection ipv6 java jbig jpeg jpeg2k kate ladspa lame lcms libass libcaca libcanberra libmpeg2 libnotify libproxy libsamplerate libv4l libv4l2 live lua lzma lzo mac mad midi mikmod mmap mms mmx mmxext mng modplug modules mono motif mp3 mp4 mpeg mpg123 mudflap musepack nano-syntax ncurses nettle nls nptl nsplugin ogg openal opencore-amr opengl openmp opus oss pam pcre pdf phonon png pnm policykit postproc postscript pppd pvr qt3support qt4 quicktime readline rle scanner schroedinger session sid slang sndfile sound speex spell sse sse2 sse3 ssl ssse3 startup-notification svg taglib tcpd theora threads tiff truetype udev unicode v4l v4l2 vaapi vcd vidix vim-syntax vorbis vpx wavpack webkit win32codecs wmf wxwidgets x264 x86 xattr xcb xine xml xmp xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="fbdev v4l vesa vga nv nouveau" XFCE_PLUGINS="clock logout trash" USE_PYTHON="2.7" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Have you tried cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/ as the ebuild (portage messages) suggests? That made the version 1.7.8 work for me. Surely the coredump should be fixed but this is at least a workaround.
(In reply to comment #9) > Have you tried > > cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/ > Sure!
I(In reply to comment #6) > I can alos confirm that even tho makemkv-1.7.9 compiles fine with the 1.7.7 > patch it fail to start. Running makemkv or makemkvcon just hangs and the > process has to be killed. I am having the exact same problem. can anyone confirm that 1.7.9 starts? I am on amd64 btw.
You can still emerge 1.7.7 if you download these to /usr/portage/distfiles/ first: http://www.makemkv.com/download/old/makemkv-oss-1.7.7.tar.gz http://www.makemkv.com/download/old/makemkv-bin-1.7.7.tar.gz I suggest a 1.7.7-r1 ebuild with the corrected paths.
Test ebuild for makemkv 1.7.8 committed to tree. Hopefully this one has no issues. Changelog for 1.7.9 does not look that interesting in any case whereas 1.7.8 has bigger improvements - http://www.makemkv.com/download/history.html - we'll have to wait and see if upstream can figure out what they broke in 1.7.9 before I bump it.
makemkv v1.7.9 is working for me. No segmentation fault or something else.
1.7.10. is out and works with 1.7.8 ebuild. For sure you need to change the src uri and remove the "old", until 1.7.11 is out :) And copy the patch to the right version.
1.7.10 still does not work at all for me.
(In reply to comment #16) > 1.7.10 still does not work at all for me. Same here :-(
In that case, I'm tempted to just leave 1.7.8 in tree as that version seems to work quite well for everyone....and skip 1.7.9/1.7.10 for now, but if problems are still occur with 1.7.11 - I'll have to look into it more. The moving of source distfiles with new releases is annoying.....
(In reply to comment #18) > In that case, I'm tempted to just leave 1.7.8 in tree as that version seems > to work quite well for everyone....and skip 1.7.9/1.7.10 for now, but if > problems are still occur with 1.7.11 - I'll have to look into it more. > > The moving of source distfiles with new releases is annoying..... Well for me there is no version which works. Maybe this is Gentoo specific or specific to my system. Until now I could not figure out what is wrong here.
Maybe we need to get more info from users to see if there is a pattern here. I see you are using glibc 2.15 and x86.....and that glibc dependencies/bugs were mentioned in one of the recent makemkv updates. I'm using glibc 2.11 on amd64 with a somewhat older kernel and makemkv 1.7.8 works fine. If we can get more datapoints, maybe we can determine if there is a specific kernel version or glibc or arch issue... I suspect that there isn't anything specific to gentoo here, it's just that gentoo users typically are the first to see incompatibilities with newer system software updates.
(In reply to comment #20) > get more datapoints: Package information app-shells/bash 4.2_p42 dev-java/java-config 2.1.12-r1 dev-lang/python 2.7.3-r3 dev-util/ccache (none) dev-util/cmake 2.8.10.2-r1 dev-util/pkgconfig 0.28 sys-apps/baselayout 2.2 sys-apps/openrc 0.11.8 sys-apps/sandbox 2.6 sys-devel/autoconf 2.13 2.69 sys-devel/automake 1.11.6 1.12.6 1.13.1 sys-devel/binutils 2.23.1 sys-devel/gcc 4.7.2 sys-devel/gcc-config 1.8 sys-devel/libtool 2.4.2 sys-devel/make 3.82-r4 sys-freebsd/freebsd-lib (none) sys-kernel/linux-headers 3.7 sys-libs/glibc 2.16.0 sys-libs/uclibc (none) makemkv-1.7.10 installs fine, but hangs after start. No output. No output in gdb.
(In reply to comment #21) > > makemkv-1.7.10 installs fine, but hangs after start. No output. No output in > gdb. Does it hang infinitely or crash later. I get a segfault after some time. It get's a little further if I use -Os -instead of -O2 as optimisation flags.
Please, can everybody who wants to help out here post the output of "emerge --info" so we get all the relevant information like arch, kernel version, build options etc.
Created attachment 338768 [details] full cave info (In reply to comment #22) > Does it hang infinitely or crash later. I get a segfault after some time. It > get's a little further if I use -Os -instead of -O2 as optimisation flags. I applied some flag-o-matic here: -O0: popup window "Application failed to initialize" -Os: works! ripped both one DVD and one BD -O1: popup window "Application failed to initialize" -O2: hangs indefinitely cave info attached
Created attachment 338788 [details] emerge --info makemkv Here is my flag-o-matic: -march=native -O0 -pipe: no gui shows up then popup window "Application failed to initialize" -march=native -Os -pipe: gui shows up but is not accessible then after some time popup window "Fatal error occurred, program will now exit." -march=native -O1 -pipe: no gui shows up then popup window "Application failed to initialize" -march=native -O2 -pipe: no gui shows up then popup window "Application failed to initialize"
-Os works for me! Great! No crashes or lock-ups and I have also tested ripping a Blu-Ray disk successfully. Can we override the CFLAGS in the ebuild somehow? I think when we have a bit more confidence that this fixes it for all of the users we should update the ebuild.
(In reply to comment #26) > -Os works for me! Great! No crashes or lock-ups and I have also tested > ripping a Blu-Ray disk successfully. > > Can we override the CFLAGS in the ebuild somehow? I think when we have a bit > more confidence that this fixes it for all of the users we should update the > ebuild. inherit flag-o-matic and then in src_configure: filter-flags -O* -Os but please post your emerge --info, so we can find out WHY that works for you and me, but not for Daniel
Here is my emerge --info: Portage 2.2.0_alpha163 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.7.4-gentoo x86_64) ================================================================= System uname: Linux-3.7.4-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.1 KiB Mem: 8167040 total, 223356 free KiB Swap: 4194300 total, 4184220 free Timestamp of tree: Sat, 16 Feb 2013 12:00:01 +0000 ld GNU ld (GNU Binutils) 2.22 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4, 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo local mythtv sunrise seden gamerlay mv ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=amdfam10 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going --quiet-build n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo ftp://91.121.124.139/gentoo-distfiles/ ftp://91.121.125.139/gentoo-distfiles/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/mythtv_portage/Gentoo /var/lib/layman/sunrise /var/lib/layman/seden /var/lib/layman/gamerlay /var/lib/layman/mv" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac aacs aalib acl acoustid acpi addressbook akonadi alsa amazon amd64 apache2 apng asf audiofile auto-hinter avi avifile bash-completion berkdb blender-game bluetooth bluray boost branding browserplugin bzip2 bzlib cairo calendar cdb cdda cddb cdparanoia cdr chromium cleartype cli clucene consolekit corefonts cracklib crypt css ctype cups curl cxx daap dbus device-mapper dga divx djvu dlna dmx dri ds9097 dtmf dts dv dvb dvd dvdr dvdread emacs emboss enblend encode ethereal exif expat faac fad fam fame fat fbcon fbcondecor ffmpeg fftw firefox flac fontconfig foomaticdb fortran frei0r ftp fuse gcj gd gdbm geolocation geos ggi gif gimp gimpprint glib glitz glsa glut gmedia gnutls gpac gphoto2 gpm gps gpsd gpssync gstreamer gtk gzip-el h323 hbci hddtemp howl htmlhandbook httpd hunspell iax iconv icq id3 id3tag idea imagemagick inotify inquisitio ipod iscsi ithreads jack jadetex java javascript jbig jikes jit joystick jpeg jpeg2k jpegldap kde kdepim kdrive kipi kpathsea kqemu lame lash latex latin1 lcd lcms ldap lensfun libextractor libnotify libsamplerate lightning lirc lm_sensors lxde lzma lzo mad maildir mapnik marble matroska mdnsresponder-compat melt mercurial midi mikmod milter mime mjpeg mmx mmxext mng modules mozbranding moznopango mp3 mp4 mp4live mpd mpeg mpeg2 mpi mplayer mtp mudflap mule multilib musicbrainz mysql mysqli ncurses net netpbm network networkmanager nls npp nptl nptlonly nsplugin ntfs nvidia objc ocr octave offensive office ogg ole openal openexr opengl openmp openstreetmap oscar osgapps oss pam pango pcre pda pdf perl pertty phonon plasma player plugin png policykit posix ppds preview-latex proj pulseaudio qt qt3support qt4 quicktime radio raster raw rdp readline realmedia redland reflection romio rss rt2500pci rtmp rtsp ruby samba scanner schroedinger sdl semantic-desktop sensord server session sift skins slideshow smp sound sox speex spell spl sqlite srt sse sse2 sse3 ssl startup-notification subtitles subversion svg swscaler taglib tcltk tcpd teletext tesseract tetex tftp theora threads thumbnail tiff toolkit-scroll-bars tordns transcode transparency truetype trusted tsmuxer twolame type1 udev udisks unicode unsupported upnp upower usb userlocales v4l v4l2 vaapi vcd vdpau vdr video virt-network visualization vlm vnc vorbis wavpack wavplay webkit wma wmp wxwidgets wxwindows x11vnc x264 xanim xattr xcb xcomposite xft xine xml xmms xosd xpm xv xvid xvmc yv12 zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2 canon st2205" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs crypt" DVB_CARDS="usb-wt220u ttpci" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US de" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="plustek pixma" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
With 1.7.10, I'm experiencing behaviour very similar to what Daniel reported: The gui immediately exits with: "Application failed to initialize" makemkvcon throws a segmentation fault. I'll attach an strace output. My emerge --info is to large to put in here, so I'll attach that, too.
Created attachment 339102 [details] My emerge --info
Created attachment 339104 [details] strace output of makemkvcon
(In reply to comment #29) I should add that I compiled with -Os via flag-o-matic.
I was also facing the "Application failed to initialize" error on a stable Amd64 build. However I noticed that I could run the application as root, just not as user. I searched around and found this, http://www.makemkv.com/forum2/viewtopic.php?f=3&t=1350&view=print In my case I think the issue was around /dev/shm and recent changes to devtmpfs, I've wrongly understood the news item, and modified my tmpfs line in /etc/fstab. By removing the /dev/shm line from my /etc/fstab completely I can now run makemkv as a user.
(In reply to comment #33) I confirm my /dev/shm is world-writable. Jack, wich Optimization Level did you use?
(In reply to comment #34) > I confirm my /dev/shm is world-writable. > Jack, wich Optimization Level did you use? Mine is (and was) as well. I don't have a /dev/shm line in /etc/fstab for ages. And, I only tried running makemkv as root so far. So, that cannot be it.
Created attachment 339390 [details] emerge -info makemkv (In reply to comment #34) working with -O2 -pipe
Looks like upstream just released makemkv 1.8.0 with numerous bugfixes....committing a package masked ebuild for 1.8.0 to cvs for testing..hopefully we can quickly figure out what new dependencies are needed and if the prior issues still pertain....along with what glibc or gcc flags are most compatible for users.
Created attachment 339680 [details, diff] Patch to compile makemkv I got it installed with the attached patch and - newicon -s ${res} makemkvgui/share/icons/${res}/makemkv.png {PN}.png + newicon -s ${res} makemkvgui/share/icons/${res}x${res} makemkv.png ${PN}.png in your ebuild. I get "Failed to initialize" with every -O setting.
Thomas, K..icon dir change should be in cvs now. I'm wondering if your compilation patch is specific to a gcc version? I haven't seen any compilation errors here with 4.5.4. I'll continue to do more testing and try to get more feedback and work with upstream. Did you want to report the compilation issue to upstream yourself? I'm not sure if I can replicate it here. Matt
OK, tested 1.8.0 on workstation here, same issue as in prior releases....gui hangs. My default compile flags are -O2 -pipe -march=native. I'll see about testing with other flags...escalating with upstream.
Matthew: Yes, that should be related to GCC-4.7 handling type conversions stricter. You could try to compile with -Wconversion and -Werror=conversion to reproduce :) And for future reference: I cannot be trusted with ebuilds before 1200 local time. After applying some semantically correct flag-o-magic: -O0 -> "Failed to initialize" -O1 -> "Failed to initialize" -O2 -> hangs -O3 -> hangs -Os -> works as before
Ah, And I see a pattern now: -Os works for Jack, Günther and Me: All of us use an AMD Phenom (K10) Processor. It does not work for Daniel (Intel Core2) and Torsten (Amd E350). So, maybe it's something triggered by -march? SSSE3 maybe?
posted the following in the upstream forum topic: More info-- Using default gentoo cflags for 1.8.0 doesn't work(no output/hang), but if all flags but -Os are filtered, than the message "application failed to initialize" is received. Debug info: matt@hyperion ~/.MakeMKV $ makemkvcon info disc:0 [1]+ Exit 1 makemkv Segmentation fault matt@hyperion ~/.MakeMKV $ makemkv debug /dev/stdout DEBUG: 0xffffffff8000000b (null) 88
flag-o-matic has a replace-cpu-flags command, but it expects a 2nd argument? Not sure how to tell it to just remove user -march setting. I guess we could try other flag changes.
(In reply to comment #38) > Created attachment 339680 [details, diff] [details, diff] > Patch to compile makemkv > > I got it installed with the attached patch and Without the patch, gcc-4.7.2 at least issues a type conversion warning. So, it's probably universal.
(In reply to comment #42) > It does not work for Daniel (Intel Core2) and Torsten (Amd E350). Yeah, but I just realized that I made the stupid mistake to apply 'filter-flags' instead of 'replace-flags'. Will try by replacing -O2 with -Os first and report back.
(In reply to comment #46) > (In reply to comment #42) > > It does not work for Daniel (Intel Core2) and Torsten (Amd E350). > > Yeah, but I just realized that I made the stupid mistake to apply > 'filter-flags' instead of 'replace-flags'. Will try by replacing -O2 with > -Os first and report back. For me, 1.8.0 works with -Os without modifying -march.
Well, managed to get it working here too. I also was using 'filter-flags' rather than 'replace-flags' in my testing ebuild. Changed that and it worked fine. So, I'm going to commit this ebuild to testing arch and let's see what reports we get.
I have tested media-video/makemkv-1.8.0-r1 from gentoo portage and it works perfectly as far as I can tell now. I have ripped a bluray successfully. Remember, I have a amd64 sytem as you see above in my emerge --info.
Still no luck here. Seems I am the last one. I even tried without -march=native and used some generic settings.
Daniel -- I note that you may be the only report for x86 arch, rather than x86_64.... not sure how that impacts things, but its the one difference I see. Matt
Created attachment 339758 [details] emerge --info Both 1.7.8 and 1.8.0-r1 work for me. I haven't tried any other versions. Attached is my emerge --info.
(In reply to comment #51) > Daniel -- > I note that you may be the only report for x86 arch, rather than x86_64.... > not sure how that impacts things, but its the one difference I see. > Matt Yeah looks like it. I should move away from that dying arch :) Besides, with 1.8.0 I also et the following QA warning: * QA Notice: The following files contain writable and executable sections * Files with such sections will not work properly (or at all!) on some * architectures/operating systems. A bug should be filed at * http://bugs.gentoo.org/ to make sure the issue is fixed. * For more information, see http://hardened.gentoo.org/gnu-stack.xml * Please include the following list of files in your report: * Note: Bugs should be filed for the respective maintainers * of the package in question and not hardened@g.o. * RWX --- --- opt/bin/makemkv
Created attachment 339824 [details] emerge --info Just wnat to confirm that 1.8.0-r1 works great for me as well. thank you for getting this working. i think this can be closed now...sorry i was not around much to help troubleshoot. been loosing my mind lately. things just getting back to normal for me. attahced is my emerge --info
Hello. I'm the (not so) new maintainer. I wondered what the replace-flags line is for and eventually found this bug report. I'm curious as to whether this is still an issue or not. -O2 works fine for me but the issue didn't seem to affect everyone. Could you guys please comment out replace-flags from 1.9.8 and retest? Thanks.
(In reply to James Le Cuirot from comment #55) > Hello. I'm the (not so) new maintainer. I wondered what the replace-flags > line is for and eventually found this bug report. I'm curious as to whether > this is still an issue or not. -O2 works fine for me but the issue didn't > seem to affect everyone. Could you guys please comment out replace-flags > from 1.9.8 and retest? Thanks. I can not test this for you any more. Now that I have moved to x86_64 I do not experience this bug. Should have posted this here earlier. Sorry about that.