Re: [Fink-users] Selfupdate fails on PPC Leopard because of faulty ecj1 configure test in dpkg-1.10.21-1231
Alexander Hansen <[email protected]>
| Newsgroups | gmane.os.apple.fink.core |
|---|---|
| Organization | Fink Core Team |
| Message-ID | <[email protected]> |
On 6/25/12 2:48 PM, Peter Dyballa wrote:
> Hello!
>
> Fink tries to update dpkg and comes to the check for a "Java to native
> code compiler". This fails with gcc45 and gcc46 installed. In these
> cases ecj1 takes an endless time (in the order order of tens of a
> minute) to allocate a lot of memory (from ActivityMeter):
>
> ecj1 4.5.3: RSIZE 1.55 GB, VSIZE 3.47 GB
> ecj1 4.6.3: RSIZE 1.49 GB, VSIZE 2.71 GB (here I decided to kill it
> earlier)
>
> Killing ecj1 leads to this:
>
> checking for a BSD-compatible install... /sw/bin/ginstall -c
> checking for bison... bison -y
> checking for Java to native code compiler... make: *** No targets
> specified and no makefile found. Stop.
> make: *** No rule to make target `install'. Stop.
> ### execution of cd failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-dpkg-1.10.21-1231
> (Lese Datenbank ... 90970 Dateien und Verzeichnisse sind derzeit
> installiert.)
> Entferne fink-buildlock-dpkg-1.10.21-1231 ...
> Failed: phase compiling: dpkg-1.10.21-1231 failed
>
> The pstree command shows:
>
> pete 241 /\ pstree -w -p 2871
> \-+= 00689 pete -bin/tcsh -c time nice +11 sudo fink selfupdate
> \-+- 00718 root /usr/bin/perl -w /sw/bin/fink selfupdate-finish
> \-+- 02420 root sh -c cd /sw/build.build/dpkg-1.10.21-1231/
> dpkg-1.10.21/../gettext-0.14.5/gettext-tools; env EMACS=no ./configure
> --prefix="/sw/build.build/dpkg-1.10.21-1231/dpkg-1.10.21/../_inst/sw"
> --infodir='${prefix}/share/info' --mandir='${prefix}/share/man' --with-
> included-gettext --disable-csharp --disable-rpath --disable-shared;
> make; rm -rf /sw/build.build/dpkg-1.10.21-1231/dpkg-1.10.21/../_inst;
> make install
> \-+- 02421 root /bin/sh ./configure --no-reexec --prefix=/
> sw/build.build/dpkg-1.10.21-1231/dpkg-1.10.21/../_inst/sw --infodir=$
> {prefix}/share/info --mandir=${prefix}/share/man --with-included-
> gettext --disable-csharp --disable-rpath --disable-shared
> \-+- 02866 root /bin/sh ./configure --no-reexec --
> prefix=/sw/build.build/dpkg-1.10.21-1231/dpkg-1.10.21/../_inst/sw --
> infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-
> included-gettext --disable-csharp --disable-rpath --disable-shared
> \-+- 02869 root /bin/sh ./configure --no-reexec --
> prefix=/sw/build.build/dpkg-1.10.21-1231/dpkg-1.10.21/../_inst/sw --
> infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-
> included-gettext --disable-csharp --disable-rpath --disable-shared
> \-+- 02870 root gcj conftest.java --main=conftest -o
> conftest
> \--- 02871 root /sw/lib/gcc4.5/libexec/gcc/powerpc-
> apple-darwin9.8.0/4.5.3/ecj1 conftest.java -g1 -fbootclasspath=/sw/
> share/java/fop/avalon-framework-cvs-20020806.jar:/sw/share/java/fop/
> batik.jar:/sw/share/java/fop/fop.jar:/sw/share/java/fop/
> xalan-2.4.1.jar:/sw/share/java/fop/xercesImpl-2.2.1.jar:/sw/share/java/
> fop/xml-apis.jar:./:/sw/lib/gcc4.5/share/java/libgcj-4.5.3.jar -g1 -
> fsource=1.5 -ftarget=1.5 -fzip-dependency /var/tmp//ccmfB2Ox.zip -fzip-
> target /var/tmp//ccwO6chf.jar
>
> pete 242 /\ pstree -w -p 4176
> \-+= 03516 root -bin/tcsh -c nice +11 fink -v selfupdate
> \-+- 03525 root /usr/bin/perl -w /sw/bin/fink -v
> selfupdate
> \-+- 03725 root sh -c cd /sw/build.build/
> dpkg-1.10.21-1231/dpkg-1.10.21/../gettext-0.14.5/gettext-tools; env
> EMACS=no ./configure --prefix="/sw/build.build/dpkg-1.10.21-1231/
> dpkg-1.10.21/../_inst/sw" --infodir='${prefix}/share/info' --mandir='$
> {prefix}/share/man' --with-included-gettext --disable-csharp --disable-
> rpath --disable-shared; make; rm -rf /sw/build.build/dpkg-1.10.21-1231/
> dpkg-1.10.21/../_inst; make install
> \-+- 03726 root /bin/sh ./configure --no-reexec --
> prefix=/sw/build.build/dpkg-1.10.21-1231/dpkg-1.10.21/../_inst/sw --
> infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-
> included-gettext --disable-csharp --disable-rpath --disable-shared
> \-+- 04171 root /bin/sh ./configure --no-reexec
> --prefix=/sw/build.build/dpkg-1.10.21-1231/dpkg-1.10.21/../_inst/sw --
> infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-
> included-gettext --disable-csharp --disable-rpath --disable-shared
> \-+- 04174 root /bin/sh ./configure --no-
> reexec --prefix=/sw/build.build/dpkg-1.10.21-1231/dpkg-1.10.21/../
> _inst/sw --infodir=${prefix}/share/info --mandir=${prefix}/share/man --
> with-included-gettext --disable-csharp --disable-rpath --disable-shared
> \-+- 04175 root gcj conftest.java --
> main=conftest -o conftest
> \--- 04176 root /sw/lib/gcc4.6/libexec/gcc/
> powerpc-apple-darwin9.8.0/4.6.3/ecj1 conftest.java -g1 -
> fbootclasspath=/sw/share/java/fop/avalon-framework-cvs-20020806.jar:/
> sw/share/java/fop/batik.jar:/sw/share/java/fop/fop.jar:/sw/share/java/
> fop/xalan-2.4.1.jar:/sw/share/java/fop/xercesImpl-2.2.1.jar:/sw/share/
> java/fop/xml-apis.jar:./:/sw/lib/gcc4.6/share/java/libgcj-4.6.3.jar -
> g1 -fsource=1.5 -ftarget=1.5 -fzip-dependency /var/tmp//ccatuUCk.zip -
> fzip-target /var/tmp//ccsqGjVS.jar
>
>
> The option to install gcc47 in theory exists. At least I have GCC
> 4.7.0 built. To install it I need to upgrade it to GCC 4.7.1. But
> before this I need to update dpkg to 1.10.21-1231, which does not
> build with gcc45 and gcc46. So I would need to install gcc47, which
> requires that I install dpkg 1.10.21-1231...
>
>
> Also include the following system information:
> Package manager version: 0.33.2
> Distribution version: selfupdate-cvs Mon Jun 25 23:06:48 2012, 10.5,
> powerpc
> Trees: local/main stable/main stable/crypto unstable/main unstable/
> crypto
> Xcode.app: 3.1.4
> Xcode command-line tools: 3.1.4
> Max. Fink build jobs: 1
>
>
> --
> Greetings
>
> Pete
>
> Work is the curse of the drinking class.
> – Oscar Wilde
>
>
My thought is that gcc47 will fail the same way.
This failure occurs where dpkg is building a local copy of
gettext-tools. Our current gettext-tools in Fink has BuildConflicts
against gcc45, gcc46, and gcc47 for what I believe is the same issue.
I've put a change to dpkg in CVS to have BuildConflcts: gcc45, gcc46,
gcc47 for PowerPC only, since i386 and x86_64 don't seem to have the
same problem. It will be available via "fink selfupdate" soon.
Thanks for pointing this out.
--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
fink-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core