[pkg-db-devel] Bug#623980: Bug#623980: db: sh4: FTBFS: gcj: libgcj.spec: No such file or directory

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Mon Apr 25 23:20:27 UTC 2011


Hi,

2011/4/25 Ondřej Surý <ondrej at sury.org>:
> Hi,
>
> I don't think it's db package problem, since the package builds just fine on other architectures.

OK,  I am testing db package on local sh4 machine, because we have the
possibilities.

>
> However I will disable building of libdb5.1-java-gcj in next upload.
>

Thank you.

Nobuhiro

> Ondřej Surý
>
> On 25.4.2011, at 2:34, Nobuhiro Iwamatsu <iwamatsu at nigauri.org> wrote:
>
>> Source: db
>> Version: 5.1.25-9
>> Severity: wishlist
>> User: debian-sh4 at superh.org
>> Usertags: sh4
>> X-Debbugs-CC: debian-superh at lists.debian.org
>>
>> Hi,
>>
>> I am now trying to run Debian on Renesas SH(sh4) CPU.
>>  http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4
>>
>> db FTBFS on sh4 from version 5.1.25-4.
>>  http://buildd.debian-ports.org/status/fetch.php?pkg=db&arch=sh4&ver=5.1.25-9&stamp=1303690435
>>
>> -----
>> dh_nativejava
>>    find /build/buildd-db_5.1.25-9-sh4-FHkmQk/db-5.1.25 -type f ! -type l
>>> /tmp/fileUw2ZOW
>>    aot-compile -L /usr/lib/gcj -c -fsource-filename=/tmp/fileUw2ZOW
>> debian/libdb5.1-java debian/libdb5.1-java-gcj/usr/lib/gcj
>> /usr/lib/gcc/aotcompile.py:19: DeprecationWarning: the md5 module is
>> deprecated; use hashlib instead
>>  import md5
>> make[2]: Entering directory
>> `/build/buildd-db_5.1.25-9-sh4-FHkmQk/db-5.1.25/debian/libdb5.1-java-gcj/usr/lib/gcj'
>> /usr/bin/gcj -c -fsource-filename=/tmp/fileUw2ZOW -g -O2 -fPIC
>> -findirect-dispatch -fjni db-5.1.25.jar.1.jar -o db-5.1.25.jar.1.o
>> gcj: libgcj.spec: No such file or directory
>> make[2]: *** [db-5.1.25.jar.1.o] Error 1
>> make[2]: Leaving directory
>> `/build/buildd-db_5.1.25-9-sh4-FHkmQk/db-5.1.25/debian/libdb5.1-java-gcj/usr/lib/gcj'
>> aot-compile: error: /usr/bin/make exited with code 2
>> dh_nativejava: aot-compile -L /usr/lib/gcj -c
>> -fsource-filename=/tmp/fileUw2ZOW debian/libdb5.1-java
>> debian/libdb5.1-java-gcj/usr/lib/gcj returned exit code 1
>> make[1]: *** [override_jh_installlibs] Error 9
>> make[1]: Leaving directory `/build/buildd-db_5.1.25-9-sh4-FHkmQk/db-5.1.25'
>> make: *** [binary-arch] Error 2
>> -----
>>
>> There is libgcj.spec in build system.
>>
>> -----
>> $ /usr/bin/gcj  -v
>> Using built-in specs.
>> Reading specs from /usr/lib/gcc/sh4-linux-gnu/4.4.5/libgcj.spec
>> rename spec startfile to startfileorig
>> rename spec lib to liborig
>> Target: sh4-linux-gnu
>> Configured with: ../src/configure -v --with-pkgversion='Debian
>> 4.4.5-9' --with-bugurl=file:///usr/share/doc/gcj-4.4/README.Bugs
>> --enable-languages=c,c++,java --prefix=/usr --program-suffix=-4.4
>> --enable-shared --enable-multiarch --enable-linker-build-id
>> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
>> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
>> --libdir=/usr/lib --enable-nls --enable-clocale=gnu
>> --disable-libmudflap --disable-browser-plugin --enable-java-awt=gtk
>> --enable-gtk-cairo
>> --with-java-home=//usr/lib/jvm/java-1.5.0-gcj-4.4/jre
>> --enable-java-home
>> --with-jvm-root-dir=//usr/lib/jvm/java-1.5.0-gcj-4.4
>> --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.4
>> --with-arch-directory=sh
>> --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
>> --with-multilib-list=m4,m4-nofpu --with-cpu=sh4
>> --enable-checking=release --build=sh4-linux-gnu --host=sh4-linux-gnu
>> --target=sh4-linux-gnu
>> Thread model: posix
>> gcc version 4.4.5 (Debian 4.4.5-9)
>> $ ls -l /usr/lib/gcc/sh4-linux-gnu/4.4.5/libgcj.spec
>> -rw-r--r-- 1 root root 514 Dec  2 12:26
>> /usr/lib/gcc/sh4-linux-gnu/4.4.5/libgcj.spec
>> -----
>>
>> Could you check your pakcage?
>>
>> Best regards,
>>  Nobuhiro
>>
>> --
>> Nobuhiro Iwamatsu
>>    iwamatsu at {nigauri.org / debian.org}
>>    GPG ID: 40AD1FA6
>>
>>
>>
>> _______________________________________________
>> pkg-db-devel mailing list
>> pkg-db-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-db-devel
>



-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6





More information about the pkg-db-devel mailing list