From owner-freebsd-questions@freebsd.org Mon Apr 11 00:52:57 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E95D4B0B6B3 for ; Mon, 11 Apr 2016 00:52:57 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B859C18AA for ; Mon, 11 Apr 2016 00:52:57 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-ig0-x22c.google.com with SMTP id gy3so49634975igb.0 for ; Sun, 10 Apr 2016 17:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=pkOI19ogWKegMSE80EkGJQTTl68gu5ADqi9BONBiR8Q=; b=F/4mId90rRDLVXb7G9Uqn7r3zGu0FweWhJqtPeuUeRT6C+KzMiR+2rqtwMD38e5Mqr XcAhv3JilO4nEd44X52zVB7PebI2a46dhaYtW3dCb6iXGFCHf2eyWt7EzQ8v+9VA3VkU 4IhUm63MiGSPFQhzO1gqaaTwVnQ/2OhwBuuY+smZB7DXRDv8dIkns3WeCz2NL5fgPvtY qTg3GJFlZTFA6k6O/7UmbHUT8yIQh31vGQfkSaax3I+1XfuJPcyt0pP2DyqCOGhUt98q ZmSFzNFY4WvHX/UY7TdRwxCDYGzCNioOFx7Z81QdkyuXxr8JxgrgjosGoBsJmXTheArG 79JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=pkOI19ogWKegMSE80EkGJQTTl68gu5ADqi9BONBiR8Q=; b=II9z+wZ2nHp/GtezWacU6BtAGjbp2Syn5PhD+6RPUG4TI3RgW17AHi6B3G33KKeueK o/yR0WFonvNlgZ5LhHEv2U54susixAnfq3LAtDp2MOfbDkfVGqBA3KmzxN7TlMlZPCLq KyI/OYn1vXpyWERXPfcX4SdDPfVG0gpcG45WinKnYfgdoXeMyrMQ8l+xWbajDpLBPCML oaCa/Yth3AHSVYVKideYyXpbmuYNOdmhkcwtpfOIJA+24XCdaPX0SeL6P8nWKL81glgr 8M/SllfvRPY+KUt2Tlc7RVcxMpfGCgCYUQlQU9YWJfNnNnr7OKnoh5CUBVsNY+DB+bZi oRBw== X-Gm-Message-State: AD7BkJLZns00qAqlBhO7GSOkZkHO+o8c8lawZyBwFdhs2rZ+9fnOcA6zgzA0TQnWW4+Rrw== X-Received: by 10.51.17.4 with SMTP id ga4mr15467220igd.88.1460335977017; Sun, 10 Apr 2016 17:52:57 -0700 (PDT) Received: from localhost.localdomain ([2601:680:c003:2a00::1d54]) by smtp.googlemail.com with ESMTPSA id k139sm15443346ioe.42.2016.04.10.17.52.55 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Apr 2016 17:52:55 -0700 (PDT) Subject: Re: Failure to read a Bluray disk with 'dvdbackup' command To: freebsd-questions@freebsd.org References: <5702C29A.5050208@rawbw.com> <20160410151811.4bf577c9@fabiankeil.de> <570AA86C.5010705@gmail.com> <570AAE6F.7050305@bananmonarki.se> From: jd1008 Message-ID: <570AF562.6020509@gmail.com> Date: Sun, 10 Apr 2016 18:52:50 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <570AAE6F.7050305@bananmonarki.se> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2016 00:52:58 -0000 On 04/10/2016 01:50 PM, Bernt Hansson wrote: > On 2016-04-10 21:24, jd1008 wrote: >> >> >> On 04/10/2016 07:18 AM, Fabian Keil wrote: >>> Yuri wrote: >>> >>>> My attempts to backup a Bluray disk with this command fail: >>>> >>>> # dvdbackup -M >>>> libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed >>>> libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed >>>> libdvdread: Can't open file VIDEO_TS.BUP. >>>> Cannot open Video Manager (VMG) info. >>>> Mirror of DVD failed >>> Like the name indicates, dvdbackup is for DVDs. Blurays aren't DVDs. >>> >>> Fabian >> 1. The encryption scheme in BD is different to that of DVD >> 2. OpenSource has yet to produce tools and libs to read/write BD's >> 3. Eve if you back up using dd, read of BD media will fail. > Videolan have some info. > > http://www.videolan.org/developers/libbluray.html Thanx, It is also available at https://www.rpmfind.net/linux/rpm2html/search.php?query=libbluray It also needs latest doxygen. I have not been able to build the libbluray from the ftp://195.220.108.108/linux/fedora-secondary/development/rawhide/source/SRPMS/l/libbluray-0.9.1-2.fc24.src.rpm which is the link of the listed filename: libbluray-0.9.1-2.fc24.src.rpm on the rpmfind page above. It fails as follows: BUILD FAILED /sdb3/src/redhat/BUILD/libbluray-0.9.1/src/libbluray/bdj/build.xml:24: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-1.b03.fc22.x86_64/jre" JAVA_HOME is set to /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-1.b03.fc22.x86_64/jre:\ /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-1.b03.fc22.x86_64/jre/bin:\ /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-1.b03.fc22.x86_64/jre/lib in my .profile file, which is read by the kshell upon login. The path component: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-1.b03.fc22.x86_64/jre/bin contains in it the binary javac. $ ls -l /bin/javac lrwxrwxrwx 1 root jd 23 Mar 29 22:13 /bin/javac -> /etc/alternatives/javac* $ ls -l /etc/alternatives/javac lrwxrwxrwx 1 root jd 68 Mar 29 22:13 /etc/alternatives/javac -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-1.b03.fc22.x86_64/bin/javac $ ls -l /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-1.b03.fc22.x86_64/bin/javac /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-1.b03.fc22.x86_64/jre/bin/javac -rwxr-xr-x 1 root root 11880 Apr 10 18:04 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-1.b03.fc22.x86_64/bin/javac -rwxr-xr-x 1 root jd 11880 Apr 10 18:04 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-1.b03.fc22.x86_64/jre/bin/javac So, the xml file looking for javac is simply not finding it??? The source of the file in which the failure takes place is: $ cat /usr/src/redhat/SOURCES/libbluray-0.9.1/src/libbluray/bdj/build.xml Build file for the java portion of libbluray Thanx for any clues.