Hallo I tried to build debug version of directfb. I added --enable-debug --enable-trace options to "%build" section of directfb*.spec file: %build %configure \ --disable-dependency-tracking \ --enable-zlib \ --enable-video4linux2 \ --with-gfxdrivers=\ ati128,cle266,cyber5k,i810,i830,mach64,matrox,neomagic,nsc,nvidia,radeon,\ savage,tdfx,unichrome,sis315,r200 \ --enable-debug \ --enable-trace after this change, command: rpmbuild -bb /usr/src/redhat/SPECS/directfb(proper-version-number).spec finishes with following error: RPM build errors: File not found: /var/tmp/directfb-0.9.24-5-root-root/usr/lib/directfb-0.9.24 When I do not add these 2 params to configure, everything finishes ok. What am I doing wrong? Is there any other/correct way to do debuginfo version of rpm? Below there is a tail of build process: 9929 blocks + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile Processing files: directfb-0.9.24-5 error: File not found: /var/tmp/directfb-0.9.24-5-root-root/usr/lib/directfb-0.9.24 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.34498 + umask 022 + cd /usr/src/redhat/BUILD + cd DirectFB-0.9.24 + DOCDIR=/var/tmp/directfb-0.9.24-5-root-root/usr/share/doc/directfb-0.9.24 + export DOCDIR + rm -rf /var/tmp/directfb-0.9.24-5-root-root/usr/share/doc/directfb-0.9.24 + /bin/mkdir -p /var/tmp/directfb-0.9.24-5-root-root/usr/share/doc/directfb-0.9.24 + cp -pr AUTHORS COPYING ChangeLog NEWS README TODO /var/tmp/directfb-0.9.24-5-root-root/usr/share/doc/directfb-0.9.24 + exit 0 Processing files: directfb-devel-0.9.24-5 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.34498 + umask 022 + cd /usr/src/redhat/BUILD + cd DirectFB-0.9.24 + DOCDIR=/var/tmp/directfb-0.9.24-5-root-root/usr/share/doc/directfb-devel-0.9.24 + export DOCDIR + rm -rf /var/tmp/directfb-0.9.24-5-root-root/usr/share/doc/directfb-devel-0.9.24 + /bin/mkdir -p /var/tmp/directfb-0.9.24-5-root-root/usr/share/doc/directfb-devel-0.9.24 + cp -pr docs/html/IDirectFB_CreateDataBuffer.html docs/html/IDirectFB_CreateEventBuffer.html docs/html/IDirectFB_CreateFont.html docs/html/IDirectFB_CreateImageProvider.html docs/html/IDirectFB_CreateInputEventBuffer.html docs/html/IDirectFB_CreatePalette.html docs/html/IDirectFB_CreateSurface.html docs/html/IDirectFB_CreateVideoProvider.html docs/html/IDirectFBDataBuffer_CreateImageProvider.html docs/html/IDirectFBDataBuffer_CreateVideoProvider.html docs/html/IDirectFBDataBuffer_Finish.html docs/html/IDirectFBDataBuffer_Flush.html docs/html/IDirectFBDataBuffer_GetData.html docs/html/IDirectFBDataBuffer_GetLength.html docs/html/IDirectFBDataBuffer_GetPosition.html docs/html/IDirectFBDataBuffer_HasData.html docs/html/IDirectFBDataBuffer.html docs/html/IDirectFBDataBuffer_PeekData.html docs/html/IDirectFBDataBuffer_PutData.html docs/html/IDirectFBDataBuffer_SeekTo.html docs/html/IDirectFBDataBuffer_WaitForData.html docs/html/IDirectFBDataBuffer_WaitForDataWithTimeout.html docs/html/IDirectFBDisplayLayer_CreateWindow.html docs/html/IDirectFBDisplayLayer_EnableCursor.html docs/html/IDirectFBDisplayLayer_GetColorAdjustment.html docs/html/IDirectFBDisplayLayer_GetConfiguration.html docs/html/IDirectFBDisplayLayer_GetCurrentOutputField.html docs/html/IDirectFBDisplayLayer_GetCursorPosition.html docs/html/IDirectFBDisplayLayer_GetDescription.html docs/html/IDirectFBDisplayLayer_GetID.html docs/html/IDirectFBDisplayLayer_GetLevel.html docs/html/IDirectFBDisplayLayer_GetScreen.html docs/html/IDirectFBDisplayLayer_GetSourceDescriptions.html docs/html/IDirectFBDisplayLayer_GetSurface.html docs/html/IDirectFBDisplayLayer_GetWindow.html docs/html/IDirectFBDisplayLayer.html docs/html/IDirectFBDisplayLayer_SetBackgroundColor.html docs/html/IDirectFBDisplayLayer_SetBackgroundImage.html docs/html/IDirectFBDisplayLayer_SetBackgroundMode.html docs/html/IDirectFBDisplayLayer_SetColorAdjustment.html docs/html/IDirectFBDisplayLayer_SetConfiguration.html docs/html/IDirectFBDisplayLayer_SetCooperativeLevel.html docs/html/IDirectFBDispla yLayer_SetCursorAcceleration.html docs/html/IDirectFBDisplayLayer_SetCursorOpacity.html docs/html/IDirectFBDisplayLayer_SetCursorShape.html docs/html/IDirectFBDisplayLayer_SetDstColorKey.html docs/html/IDirectFBDisplayLayer_SetFieldParity.html docs/html/IDirectFBDisplayLayer_SetLevel.html docs/html/IDirectFBDisplayLayer_SetOpacity.html docs/html/IDirectFBDisplayLayer_SetScreenLocation.html docs/html/IDirectFBDisplayLayer_SetScreenPosition.html docs/html/IDirectFBDisplayLayer_SetScreenRectangle.html docs/html/IDirectFBDisplayLayer_SetSourceRectangle.html docs/html/IDirectFBDisplayLayer_SetSrcColorKey.html docs/html/IDirectFBDisplayLayer_TestConfiguration.html docs/html/IDirectFBDisplayLayer_WaitForSync.html docs/html/IDirectFBDisplayLayer_WarpCursor.html docs/html/IDirectFB_EnumDisplayLayers.html docs/html/IDirectFB_EnumInputDevices.html docs/html/IDirectFB_EnumScreens.html docs/html/IDirectFB_EnumVideoModes.html docs/html/IDirectFBEventBuffer_CreateFileDescriptor.html docs/html/IDirectFBEventBuffer_GetEvent.html docs/html/IDirectFBEventBuffer_HasEvent.html docs/html/IDirectFBEventBuffer.html docs/html/IDirectFBEventBuffer_PeekEvent.html docs/html/IDirectFBEventBuffer_PostEvent.html docs/html/IDirectFBEventBuffer_Reset.html docs/html/IDirectFBEventBuffer_WaitForEvent.html docs/html/IDirectFBEventBuffer_WaitForEventWithTimeout.html docs/html/IDirectFBEventBuffer_WakeUp.html docs/html/IDirectFBFont_GetAscender.html docs/html/IDirectFBFont_GetDescender.html docs/html/IDirectFBFont_GetGlyphExtents.html docs/html/IDirectFBFont_GetHeight.html docs/html/IDirectFBFont_GetKerning.html docs/html/IDirectFBFont_GetMaxAdvance.html docs/html/IDirectFBFont_GetStringExtents.html docs/html/IDirectFBFont_GetStringWidth.html docs/html/IDirectFBFont.html docs/html/IDirectFB_GetClipboardData.html docs/html/IDirectFB_GetClipboardTimeStamp.html docs/html/IDirectFB_GetDeviceDescription.html docs/html/IDirectFB_GetDisplayLayer.html docs/html/IDirectFB_GetInputDevice.html docs/html/IDirectFB_GetInterface.html docs/html/IDirectFB_GetScreen. html docs/html/IDirectFB.html docs/html/IDirectFBImageProvider_GetImageDescription.html docs/html/IDirectFBImageProvider_GetSurfaceDescription.html docs/html/IDirectFBImageProvider.html docs/html/IDirectFBImageProvider_RenderTo.html docs/html/IDirectFBImageProvider_SetRenderCallback.html docs/html/IDirectFBInputDevice_AttachEventBuffer.html docs/html/IDirectFBInputDevice_CreateEventBuffer.html docs/html/IDirectFBInputDevice_GetAxis.html docs/html/IDirectFBInputDevice_GetButtons.html docs/html/IDirectFBInputDevice_GetButtonState.html docs/html/IDirectFBInputDevice_GetDescription.html docs/html/IDirectFBInputDevice_GetID.html docs/html/IDirectFBInputDevice_GetKeymapEntry.html docs/html/IDirectFBInputDevice_GetKeyState.html docs/html/IDirectFBInputDevice_GetLockState.html docs/html/IDirectFBInputDevice_GetModifiers.html docs/html/IDirectFBInputDevice_GetXY.html docs/html/IDirectFBInputDevice.html docs/html/IDirectFBPalette_CreateCopy.html docs/html/IDirectFBPalette_FindBestMatch.html docs/html/IDirectFBPalette_GetCapabilities.html docs/html/IDirectFBPalette_GetEntries.html docs/html/IDirectFBPalette_GetSize.html docs/html/IDirectFBPalette.html docs/html/IDirectFBPalette_SetEntries.html docs/html/IDirectFB_Resume.html docs/html/IDirectFBScreen_EnumDisplayLayers.html docs/html/IDirectFBScreen_GetDescription.html docs/html/IDirectFBScreen_GetEncoderConfiguration.html docs/html/IDirectFBScreen_GetEncoderDescriptions.html docs/html/IDirectFBScreen_GetID.html docs/html/IDirectFBScreen_GetMixerConfiguration.html docs/html/IDirectFBScreen_GetMixerDescriptions.html docs/html/IDirectFBScreen_GetOutputConfiguration.html docs/html/IDirectFBScreen_GetOutputDescriptions.html docs/html/IDirectFBScreen.html docs/html/IDirectFBScreen_SetEncoderConfiguration.html docs/html/IDirectFBScreen_SetMixerConfiguration.html docs/html/IDirectFBScreen_SetOutputConfiguration.html docs/html/IDirectFBScreen_SetPowerMode.html docs/html/IDirectFBScreen_TestEncoderConfiguration.html docs/html/IDirectFBScreen_TestMixerConfiguration.html docs/html/IDir ectFBScreen_TestOutputConfiguration.html docs/html/IDirectFBScreen_WaitForSync.html docs/html/IDirectFB_SetClipboardData.html docs/html/IDirectFB_SetCooperativeLevel.html docs/html/IDirectFB_SetVideoMode.html docs/html/IDirectFBSurface_BatchBlit.html docs/html/IDirectFBSurface_Blit.html docs/html/IDirectFBSurface_Clear.html docs/html/IDirectFBSurface_DisableAcceleration.html docs/html/IDirectFBSurface_DrawGlyph.html docs/html/IDirectFBSurface_DrawLine.html docs/html/IDirectFBSurface_DrawLines.html docs/html/IDirectFBSurface_DrawRectangle.html docs/html/IDirectFBSurface_DrawString.html docs/html/IDirectFBSurface_Dump.html docs/html/IDirectFBSurface_FillRectangle.html docs/html/IDirectFBSurface_FillRectangles.html docs/html/IDirectFBSurface_FillSpans.html docs/html/IDirectFBSurface_FillTriangle.html docs/html/IDirectFBSurface_Flip.html docs/html/IDirectFBSurface_GetAccelerationMask.html docs/html/IDirectFBSurface_GetCapabilities.html docs/html/IDirectFBSurface_GetFont.html docs/html/IDirectFBSurface_GetGL.html docs/html/IDirectFBSurface_GetPalette.html docs/html/IDirectFBSurface_GetPixelFormat.html docs/html/IDirectFBSurface_GetSize.html docs/html/IDirectFBSurface_GetSubSurface.html docs/html/IDirectFBSurface_GetVisibleRectangle.html docs/html/IDirectFBSurface.html docs/html/IDirectFBSurface_Lock.html docs/html/IDirectFBSurface_SetAlphaRamp.html docs/html/IDirectFBSurface_SetBlittingFlags.html docs/html/IDirectFBSurface_SetClip.html docs/html/IDirectFBSurface_SetColor.html docs/html/IDirectFBSurface_SetColorIndex.html docs/html/IDirectFBSurface_SetDrawingFlags.html docs/html/IDirectFBSurface_SetDstBlendFunction.html docs/html/IDirectFBSurface_SetDstColorKey.html docs/html/IDirectFBSurface_SetDstColorKeyIndex.html docs/html/IDirectFBSurface_SetField.html docs/html/IDirectFBSurface_SetFont.html docs/html/IDirectFBSurface_SetPalette.html docs/html/IDirectFBSurface_SetPorterDuff.html docs/html/IDirectFBSurface_SetSrcBlendFunction.html docs/html/IDirectFBSurface_SetSrcColorKey.html docs/html/IDirectFBSurface_SetSrcColor KeyIndex.html docs/html/IDirectFBSurface_StretchBlit.html docs/html/IDirectFBSurface_TextureTriangles.html docs/html/IDirectFBSurface_TileBlit.html docs/html/IDirectFBSurface_Unlock.html docs/html/IDirectFB_Suspend.html docs/html/IDirectFBVideoProvider_GetCapabilities.html docs/html/IDirectFBVideoProvider_GetColorAdjustment.html docs/html/IDirectFBVideoProvider_GetLength.html docs/html/IDirectFBVideoProvider_GetPos.html docs/html/IDirectFBVideoProvider_GetSurfaceDescription.html docs/html/IDirectFBVideoProvider.html docs/html/IDirectFBVideoProvider_PlayTo.html docs/html/IDirectFBVideoProvider_SeekTo.html docs/html/IDirectFBVideoProvider_SetColorAdjustment.html docs/html/IDirectFBVideoProvider_Stop.html docs/html/IDirectFB_WaitForSync.html docs/html/IDirectFB_WaitIdle.html docs/html/IDirectFBWindow_AttachEventBuffer.html docs/html/IDirectFBWindow_Close.html docs/html/IDirectFBWindow_CreateEventBuffer.html docs/html/IDirectFBWindow_Destroy.html docs/html/IDirectFBWindow_DisableEvents.html docs/html/IDirectFBWindow_EnableEvents.html docs/html/IDirectFBWindow_GetID.html docs/html/IDirectFBWindow_GetOpacity.html docs/html/IDirectFBWindow_GetOptions.html docs/html/IDirectFBWindow_GetPosition.html docs/html/IDirectFBWindow_GetSize.html docs/html/IDirectFBWindow_GetSurface.html docs/html/IDirectFBWindow_GrabKeyboard.html docs/html/IDirectFBWindow_GrabKey.html docs/html/IDirectFBWindow_GrabPointer.html docs/html/IDirectFBWindow.html docs/html/IDirectFBWindow_Lower.html docs/html/IDirectFBWindow_LowerToBottom.html docs/html/IDirectFBWindow_Move.html docs/html/IDirectFBWindow_MoveTo.html docs/html/IDirectFBWindow_PutAtop.html docs/html/IDirectFBWindow_PutBelow.html docs/html/IDirectFBWindow_Raise.html docs/html/IDirectFBWindow_RaiseToTop.html docs/html/IDirectFBWindow_RequestFocus.html docs/html/IDirectFBWindow_Resize.html docs/html/IDirectFBWindow_SetColorKey.html docs/html/IDirectFBWindow_SetColorKeyIndex.html docs/html/IDirectFBWindow_SetCursorShape.html docs/html/IDirectFBWindow_SetOpacity.html docs/html/IDirectFBWindow _SetOpaqueRegion.html docs/html/IDirectFBWindow_SetOptions.html docs/html/IDirectFBWindow_SetStackingClass.html docs/html/IDirectFBWindow_UngrabKeyboard.html docs/html/IDirectFBWindow_UngrabKey.html docs/html/IDirectFBWindow_UngrabPointer.html docs/html/index.html docs/html/types.html docs/html/directfb.png /var/tmp/directfb-0.9.24-5-root-root/usr/share/doc/directfb-devel-0.9.24 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh directfb = 0.9.24-5 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libdl.so.2 libm.so.6 libpng12.so.0 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libz.so.1 pkgconfig zlib-devel Processing files: directfb-debuginfo-0.9.24-5 Provides: libdirect-0.9.so.24.0.0.debug libdirectfb-0.9.so.24.0.0.debug libdirectfb_ati128.so.debug libdirectfb_cle266.so.debug libdirectfb_cyber5k.so.debug libdirectfb_fbdev.so.debug libdirectfb_i810.so.debug libdirectfb_i830.so.debug libdirectfb_joystick.so.debug libdirectfb_keyboard.so.debug libdirectfb_linux_input.so.debug libdirectfb_lirc.so.debug libdirectfb_mach64.so.debug libdirectfb_matrox.so.debug libdirectfb_mutouch.so.debug libdirectfb_neomagic.so.debug libdirectfb_nsc.so.debug libdirectfb_nvidia.so.debug libdirectfb_ps2mouse.so.debug libdirectfb_r200.so.debug libdirectfb_radeon.so.debug libdirectfb_savage.so.debug libdirectfb_sdl.so.debug libdirectfb_sdlinput.so.debug libdirectfb_serialmouse.so.debug libdirectfb_sis315.so.debug libdirectfb_sonypi.so.debug libdirectfb_tdfx.so.debug libdirectfb_unichrome.so.debug libdirectfb_wm97xx_ts.so.debug libdirectfbwm_default.so.debug libfusion-0.9.so.24.0.0.debug libidirectfbfont_default.so.debug libidirectfbfont_ft2.so.debug libidirectfbimageprovider_gif.so.debug libidirectfbimageprovider_jpeg.so.debug libidirectfbimageprovider_mpeg2.so.debug libidirectfbimageprovider_png.so.debug libidirectfbvideoprovider_v4l.so.debug Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 RPM build errors: File not found: /var/tmp/directfb-0.9.24-5-root-root/usr/lib/directfb-0.9.24