guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WIP: IcedTea7


From: Ricardo Wurmus
Subject: Re: WIP: IcedTea7
Date: Tue, 31 Mar 2015 10:13:50 +0200

Ludovic Courtès writes:

> Ricardo Wurmus <address@hidden> skribis:
>
>> Building 
>> lib:/buildtmp/nix-build-icedtea7-2.5.3.drv-1/icedtea-2.5.3/openjdk.build/lib/amd64/headless/libmawt.so
>> Begin parallel compiles: 
>> /buildtmp/nix-build-icedtea7-2.5.3.drv-1/icedtea-2.5.3/openjdk/jdk/make/sun/headless
>> make[6]: Entering directory 
>> '/buildtmp/nix-build-icedtea7-2.5.3.drv-1/icedtea-2.5.3/openjdk/jdk/make/sun/headless'
>> logname: no login name
[...]
>
> It looks as though it was trying to build an executable, but the .o
> files that make it lack ‘main’.  However, the two commands that you
> pasted build .o files (with ‘-c’), not executables.
>
> Could it be that it’s a -j build and the faulty command appear higher in
> the log?  Or could it be that the build system is not parallel-safe?

It is indeed a -j build with 2 parallel jobs by default.  However, I get
the very same error when I pass the configure flag
"--with-parallel-jobs=1" or the make flag "COMPILE_APPROACH=normal" to
force a sequential build process:

~~~~~~~~~~~~~~~~~~~~~~~
make[5]: Entering directory 
'/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk/jdk/make/sun/headless'
logname: no login name
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: no objcopy cmd found so cannot create .debuginfo files. You may need to 
set ALT_OBJCOPY.
/gnu/store/ga89pci8mqk9h5qbwi11p8m2aa84iaqd-coreutils-8.23/bin/mkdir -p 
/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/tmp/sun/sun.awt/headless/obj64
rm -f 
/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/tmp/sun/sun.awt/headless/obj64/.class.headers.amd64
# Running javah:
/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/bootstrap/jdk1.6.0/bin/java
 -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx512m 
-Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m 
"-Xbootclasspath/p:/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/langtools/dist/bootstrap/lib/javah.jar:/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/langtools/dist/bootstrap/lib/javac.jar"
 -jar 
/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/langtools/dist/bootstrap/lib/javah.jar
 -bootclasspath 
"/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/classes" 
-d 
/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/tmp/sun/sun.awt/headless/CClassHeaders/
 \
        sun.font.FontManager sun.awt.image.ImageRepresentation 
sun.awt.image.GifImageDecoder sun.awt.image.NativeLibLoader 
sun.java2d.loops.Blit sun.java2d.loops.BlitBg sun.java2d.loops.ScaledBlit 
sun.java2d.loops.TransformBlit sun.java2d.loops.FillRect 
sun.java2d.loops.FillSpans sun.java2d.loops.FillParallelogram 
sun.java2d.loops.DrawParallelogram sun.java2d.loops.DrawGlyphList 
sun.java2d.loops.DrawGlyphListAA sun.java2d.loops.DrawGlyphListLCD 
sun.java2d.loops.DrawLine sun.java2d.loops.DrawRect 
sun.java2d.loops.DrawPolygons sun.java2d.loops.DrawPath 
sun.java2d.loops.FillPath sun.java2d.loops.MaskBlit sun.java2d.loops.MaskFill 
sun.java2d.loops.TransformHelper sun.java2d.loops.GraphicsPrimitiveMgr 
sun.java2d.loops.GraphicsPrimitive sun.java2d.pipe.hw.AccelSurface 
sun.java2d.pipe.hw.AccelDeviceEventNotifier 
sun.java2d.pipe.hw.ContextCapabilities sun.awt.image.ImagingLib 
sun.java2d.SurfaceData sun.java2d.SunGraphics2D 
sun.awt.KeyboardFocusManagerPeerImpl sun.awt.image.BufImgSurfaceData 
sun.awt.image.DataBufferNative sun.awt.motif.X11FontMetrics 
sun.awt.X11InputMethod sun.awt.motif.MFontConfiguration sun.awt.motif.MFontPeer 
sun.awt.motif.MToolkit sun.awt.DebugSettings sun.awt.EmbeddedFrame 
sun.awt.PlatformFont sun.awt.FontDescriptor sun.awt.NativeLibLoader 
sun.awt.X11GraphicsEnvironment sun.awt.X11GraphicsDevice 
sun.awt.X11GraphicsConfig sun.awt.CharsetString sun.awt.UNIXToolkit 
sun.java2d.pipe.BufferedContext sun.java2d.pipe.BufferedMaskBlit 
sun.java2d.pipe.BufferedOpCodes sun.java2d.pipe.BufferedMaskBlit 
sun.java2d.pipe.BufferedPaints sun.java2d.pipe.BufferedRenderPipe 
sun.java2d.pipe.BufferedTextPipe sun.java2d.pipe.RenderBuffer 
sun.java2d.pipe.ShapeSpanIterator sun.java2d.pipe.SpanClipRenderer 
sun.java2d.pipe.RegionIterator sun.awt.image.IntegerComponentRaster 
sun.java2d.cmm.CMSManager sun.java2d.cmm.PCMM sun.java2d.cmm.ColorTransform 
sun.awt.datatransfer.DataTransferer sun.awt.dnd.SunDragSourceContextPeer 
sun.awt.motif.MToolkitThreadBlockedHandler sun.java2d.opengl.OGLBlitLoops 
sun.java2d.opengl.OGLContext sun.java2d.opengl.OGLMaskFill 
sun.java2d.opengl.OGLPaints sun.java2d.opengl.OGLRenderer 
sun.java2d.opengl.OGLRenderQueue sun.java2d.opengl.OGLSurfaceData 
sun.java2d.opengl.OGLTextRenderer sun.java2d.opengl.GLXGraphicsConfig 
sun.java2d.opengl.GLXSurfaceData sun.java2d.x11.X11PMBlitLoops 
sun.java2d.x11.X11PMBlitBgLoops sun.java2d.x11.X11Renderer 
sun.java2d.x11.X11SurfaceData com.sun.java.swing.plaf.gtk.GTKEngine 
com.sun.java.swing.plaf.gtk.GTKStyle sun.awt.ExtendedKeyCodes 
java.awt.AlphaComposite java.awt.MouseInfo java.awt.Cursor java.awt.Graphics 
java.awt.Color java.awt.Image java.awt.Rectangle java.awt.Event java.awt.Font 
java.awt.Insets java.awt.Point java.awt.FontMetrics java.awt.Toolkit 
java.awt.Component java.awt.Container java.awt.Canvas java.awt.Button 
java.awt.List java.awt.Adjustable java.awt.Scrollbar java.awt.ScrollPane 
java.awt.ScrollPaneAdjustable java.awt.Window java.awt.TextField java.awt.Label 
java.awt.Choice java.awt.TextArea java.awt.MenuBar java.awt.Menu 
java.awt.MenuComponent java.awt.PopupMenu java.awt.Dialog java.awt.FileDialog 
java.awt.MenuItem java.awt.Checkbox java.awt.CheckboxMenuItem 
java.awt.CheckboxGroup java.awt.Frame java.awt.Transparency 
java.awt.AWTException java.awt.AWTEvent java.awt.AWTKeyStroke 
java.awt.KeyboardFocusManager java.awt.Dimension java.awt.SystemColor 
java.awt.TrayIcon java.awt.DisplayMode java.awt.color.ColorSpace 
java.awt.color.ICC_Profile java.awt.geom.PathIterator 
java.awt.image.AffineTransformOp java.awt.image.ImageConsumer 
java.awt.image.ImageObserver java.awt.image.BufferedImage 
java.awt.image.ColorModel java.awt.image.ConvolveOp 
java.awt.image.DirectColorModel java.awt.image.IndexColorModel 
java.awt.image.DataBuffer java.awt.datatransfer.Transferable 
java.awt.datatransfer.DataFlavor 
java.awt.datatransfer.UnsupportedFlavorException 
java.awt.datatransfer.Clipboard java.awt.datatransfer.ClipboardOwner 
java.awt.datatransfer.StringSelection java.awt.event.AdjustmentEvent 
java.awt.event.KeyEvent java.awt.event.MouseEvent 
java.awt.event.MouseWheelEvent java.awt.event.FocusEvent 
java.awt.event.InputEvent java.awt.event.WindowEvent 
java.awt.event.NativeLibLoader java.awt.peer.ComponentPeer 
java.awt.dnd.DnDConstants sun.awt.CausedFocusEvent  java.io.InputStream 
java.lang.ThreadGroup 
/gnu/store/ga89pci8mqk9h5qbwi11p8m2aa84iaqd-coreutils-8.23/bin/mkdir -p 
/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/lib/amd64/headless
Building 
lib:/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/lib/amd64/headless/libmawt.so
gcc  -O2   -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses 
-pipe -fno-omit-frame-pointer -D_LITTLE_ENDIAN -g   -g -DHEADLESS=true -DNDEBUG 
-DARCH='"amd64"' -Damd64 -DLINUX -DRELEASE='"1.7.0_71"' -D_LARGEFILE64_SOURCE 
-D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -DUSE_PTHREADS -I. 
-I/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/tmp/sun/sun.awt/headless/CClassHeaders
 -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export 
-I../../../src/share/native/common -I../../../src/solaris/native/common 
-I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt   
-DHEADLESS=true 
-I/gnu/store/7g64rkm6gl8j5w29sfayip0pbvwylbkr-cups-2.0.1/include 
-DUSE_SYSTEM_CUPS 
-I/gnu/store/af6yzmcj64q1y3v8aa4b13r3kfak01d7-freetype-2.5.5/include/freetype2 
-I/gnu/store/hpbhilz8fxc6mrisvmjig01l79dyczqi-fontconfig-2.11.92/include 
-I/gnu/store/b671frr777ny62n2rg3sjs6by2m44q5y-expat-2.1.0/include 
-I/gnu/store/af6yzmcj64q1y3v8aa4b13r3kfak01d7-freetype-2.5.5/include/freetype2 
-I/gnu/store/b671frr777ny62n2rg3sjs6by2m44q5y-expat-2.1.0/include  
-DUSE_SYSTEM_FONTCONFIG -I../../../src/share/native/sun/awt/debug 
-I../../../src/share/native/sun/awt/../font 
-I../../../src/solaris/native/sun/awt/../font 
-I../../../src/share/native/sun/awt/image 
-I../../../src/share/native/sun/awt/image/cvutils 
-I../../../src/share/native/sun/awt/shell 
-I../../../src/share/native/sun/awt/alphacomposite 
-I../../../src/share/native/sun/awt/medialib 
-I../../../src/solaris/native/sun/awt/medialib 
-I../../../src/share/native/sun/awt/../java2d 
-I../../../src/solaris/native/sun/awt/../java2d 
-I../../../src/share/native/sun/awt/../java2d/loops 
-I../../../src/share/native/sun/awt/../java2d/pipe 
-I../../../src/share/native/sun/awt/../java2d/opengl 
-I../../../src/solaris/native/sun/awt/../java2d/opengl 
-I../../../src/solaris/native/sun/awt/../java2d/x11 
-I../../../src/share/native/sun/awt/../dc/doe 
-I../../../src/share/native/sun/awt/../dc/path 
-I../../../src/solaris/native/sun/awt/../jdga 
-I../../../src/solaris/native/sun/awt  -I  -c -o 
/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/tmp/sun/sun.awt/headless/obj64/awt_Font.o
  ../../../src/solaris/native/sun/awt/awt_Font.c
../../../src/solaris/native/sun/awt/awt_Font.c: In function 
‘Java_java_awt_Font_initIDs’:
../../../src/solaris/native/sun/awt/awt_Font.c:86:12: warning: unused parameter 
‘env’ [-Wunused-parameter]
   (JNIEnv *env, jclass cls)
            ^
../../../src/solaris/native/sun/awt/awt_Font.c:86:24: warning: unused parameter 
‘cls’ [-Wunused-parameter]
   (JNIEnv *env, jclass cls)
                        ^
../../../src/solaris/native/sun/awt/awt_Font.c: In function 
‘Java_sun_awt_FontDescriptor_initIDs’:
../../../src/solaris/native/sun/awt/awt_Font.c:173:12: warning: unused 
parameter ‘env’ [-Wunused-parameter]
   (JNIEnv *env, jclass cls)
            ^
../../../src/solaris/native/sun/awt/awt_Font.c:173:24: warning: unused 
parameter ‘cls’ [-Wunused-parameter]
   (JNIEnv *env, jclass cls)
                        ^
../../../src/solaris/native/sun/awt/awt_Font.c: In function 
‘Java_sun_awt_PlatformFont_initIDs’:
../../../src/solaris/native/sun/awt/awt_Font.c:218:12: warning: unused 
parameter ‘env’ [-Wunused-parameter]
   (JNIEnv *env, jclass cls)
            ^
../../../src/solaris/native/sun/awt/awt_Font.c:218:24: warning: unused 
parameter ‘cls’ [-Wunused-parameter]
   (JNIEnv *env, jclass cls)
                        ^
/gnu/store/wiqbxcvzj3r35hd55yxzz919b1dv1hnv-glibc-2.21/lib/crt1.o: In function 
`_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk/jdk/make/common/internal/NativeCompileRules.gmk:74:
 recipe for target 
'/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/tmp/sun/sun.awt/headless/obj64/awt_Font.o'
 failed
make[5]: *** 
[/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk.build/tmp/sun/sun.awt/headless/obj64/awt_Font.o]
 Error 1
make[5]: Leaving directory 
'/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk/jdk/make/sun/headless'
Makefile:102: recipe for target 'all' failed
make[4]: *** [all] Error 1
make[4]: Leaving directory 
'/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk/jdk/make/sun'
Makefile:253: recipe for target 'all' failed
make[3]: *** [all] Error 1
make[3]: Leaving directory 
'/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk/jdk/make'
make/jdk-rules.gmk:92: recipe for target 'jdk-build' failed
make[2]: *** [jdk-build] Error 2
make[2]: Leaving directory 
'/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk'
Makefile:251: recipe for target 'build_product_image' failed
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory 
'/buildtmp/nix-build-icedtea7-2.5.3.drv-2/icedtea-2.5.3/openjdk'
Makefile:2219: recipe for target 'stamps/icedtea.stamp' failed
make: *** [stamps/icedtea.stamp] Error 2
phase `build' failed after 1590 seconds
builder for `/gnu/store/4b3si368ivaz5m0d0zr15xnxafwkkv90-icedtea7-2.5.3.drv' 
failed with exit code 1
@ build-failed /gnu/store/4b3si368ivaz5m0d0zr15xnxafwkkv90-icedtea7-2.5.3.drv - 
1 builder for `/gnu/store/4b3si368ivaz5m0d0zr15xnxafwkkv90-icedtea7-2.5.3.drv' 
failed with exit code 1
killing process 31706
guix build: error: build failed: build of 
`/gnu/store/4b3si368ivaz5m0d0zr15xnxafwkkv90-icedtea7-2.5.3.drv' failed
~~~~~~~~~~~~~~~~~~~~~~~

Confusing.

~~ Ricardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]