2009/10/30 Mario Torre <mario.to...@aicas.com>: > Il 29/10/2009 13:58, Mario Torre ha scritto: >> >> Il 28/10/2009 19:43, Jennifer Godinez ha scritto: >>> >>> Hi Mario, >>> >>> Please use the sun bug ID 6896068 when pushing the change. Make sure >>> that you push it in 2D repository. If you need help, let me know. >>> >>> Thank you. >>> >>> Jennifer >> >> Hi Jennifer! >> >> I'll try to do everything today, thanks a lot for the help and support >> everybody! >> >> Cheers, >> Mario > > Hi all! > > I'm trying to get a full build up and running before the final push of this > bug. > > I got a fresh checkout of the j2d forest: > > ssh://hg.openjdk.java.net/jdk7/2d/ > > But this is what I get when I do a "LANG=C make": > > # Running javah: > /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/linux-amd64/bin/javah > -bootclasspath > /home/neugens/work_space/netbeans/openjdk-2d/build/linux-amd64/classes -d > /home/neugens/work_space/netbeans/openjdk-2d/build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/ > \ > java.lang.Object java.lang.Class java.lang.Compiler > java.lang.String java.lang.Thread java.lang.ThreadGroup java.lang.StrictMath > java.lang.Number java.lang.Byte java.lang.Short java.lang.Integer > java.lang.Long java.lang.Float java.lang.Double java.lang.Boolean > java.lang.Character java.lang.System java.lang.ClassLoader java.lang.Runtime > java.lang.SecurityManager java.lang.Shutdown java.lang.Package > java.lang.ref.Finalizer java.lang.reflect.AccessibleObject > java.lang.reflect.Field java.lang.reflect.Method > java.lang.reflect.Constructor java.lang.reflect.InvocationTargetException > java.lang.reflect.Array java.lang.reflect.Proxy > java.security.AccessController java.util.Date java.util.TimeZone > java.util.ResourceBundle java.util.concurrent.atomic.AtomicLong > java.util.prefs.FileSystemPreferences java.io.Console java.io.FileDescriptor > java.io.InputStream java.io.FileInputStream java.io.FileOutputStream > java.io.PrintStream java.io.RandomAccessFile java.io.DataInputStream > java.io.DataOutputStream java.io.File java.io.FileSystem > java.io.UnixFileSystem java.io.ObjectInputStream java.io.ObjectOutputStream > java.io.ObjectStreamClass java.lang.Throwable java.lang.NoClassDefFoundError > java.lang.StringIndexOutOfBoundsException java.lang.OutOfMemoryError > sun.misc.Version sun.misc.VM sun.misc.VMSupport sun.misc.Signal > sun.misc.MessageUtils sun.misc.NativeSignalHandler sun.misc.GC > sun.reflect.ConstantPool sun.reflect.NativeConstructorAccessorImpl > sun.reflect.NativeMethodAccessorImpl sun.reflect.Reflection > java.lang.ClassLoader\$NativeLibrary > make[4]: > /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/linux-amd64/bin/javah: > Command not found > make[4]: *** > [/home/neugens/work_space/netbeans/openjdk-2d/build/linux-amd64/tmp/java/java.lang/java/obj64/.class.headers.amd64] > Error 127 > make[4]: Leaving directory > `/home/neugens/work_space/netbeans/openjdk-2d/jdk/make/java/java' > make[3]: *** [all] Error 1 > make[3]: Leaving directory > `/home/neugens/work_space/netbeans/openjdk-2d/jdk/make/java' > make[2]: *** [all] Error 1 > make[2]: Leaving directory > `/home/neugens/work_space/netbeans/openjdk-2d/jdk/make' > make[1]: *** [jdk-build] Error 2 > make[1]: Leaving directory `/home/neugens/work_space/netbeans/openjdk-2d' > make: *** [build_product_image] Error 2 > > I can do a full build of the latest jdk7 forest, so looks like something > specific of the j2d one. > > Those are the envs I use: > > export ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0 > export > ALT_BINARY_PLUGS_PATH=/home/neugens/work_space/netbeans/plugs/openjdk-binary-plugs > > (I know I don't need the binary plugs). > > Looking at the build machinery looks like some envs variable are missing, > but I never had to set those explicitly, so I guess something is going wrong > in the process. > > Does anyone knows about that, or I'm doing something wrong? > > Thanks, > Mario > -- > Mario Torre, Software Developer, http://www.jroller.com/neugens/ > aicas Allerton Interworks Computer Automated Systems GmbH > Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany > http://www.aicas.com * Tel: +49-721-663 968-44 > pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF > Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF > > USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim > Geschäftsführer: Dr. James J. Hunt > > Please, support open standards: > http://endsoftpatents.org/ > >
http://mail.openjdk.java.net/pipermail/build-dev/2009-October/002447.html Simple solution is to build with ALT_JDK_IMPORT_PATH set to the same as what you set ALT_BOOTDIR to for now. You shouldn't need to, but it's a quicker and simpler solution than patching the build. It should be fixed when b75 is pulled in to the 2d tree. -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8