Failure to read a Bluray disk with 'dvdbackup' command

jd1008 jd1008 at gmail.com
Mon Apr 11 00:52:58 UTC 2016



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 <yuri at rawbw.com> 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
<project name="BDJ" default="dist" basedir=".">
     <description>
         Build file for the java portion of libbluray
     </description>

     <property name="src" location="java"/>
     <property name="build" location="build"/>
     <property name="dist"  location="../../.libs"/>
     <property name="src_awt" value=""/>
     <property name="src_asm" value="../../../contrib/asm/src/"/>
     <property name="bootclasspath" value=""/>
     <property name="version" value=""/>

     <target name="init">
         <tstamp/>
         <mkdir dir="${build}"/>
         <mkdir dir="${dist}"/>
     </target>

     <target name="compile" depends="init"
             description="compile the source " >
         <javac srcdir="${src_asm}" destdir="${build}" debug="yes"
                bootclasspath="${bootclasspath}"
                source="1.5" target="1.5">
                <compilerarg value="-XDignore.symbol.file"/>
                <compilerarg value="-Xlint:-deprecation"/>
         </javac>
         <javac srcdir="${src}${src_awt}" destdir="${build}" debug="yes"
                bootclasspath="${bootclasspath}"
                source="1.4" target="1.4">
                <compilerarg value="-XDignore.symbol.file"/>
                <compilerarg value="-Xlint:-deprecation"/>
         </javac>
     </target>
     <target name="dist" depends="compile"
             description="generate the distribution" >
         <jar jarfile="${dist}/libbluray-${version}.jar" 
basedir="${build}" />
     </target>

     <target name="clean"
             description="clean up" >
         <delete dir="${build}"/>
         <delete dir="${dist}/libbluray-${version}.jar"/>
     </target>
</project>

Thanx for any clues.


More information about the freebsd-questions mailing list