[Buildroot] Pull request for branch x11r75patches

Paulius Zaleckas paulius.zaleckas at gmail.com
Sun Mar 14 15:52:42 UTC 2010


On 03/14/2010 12:19 AM, Will Wagner wrote:
>
>>> xproto_xf86miscproto: bump version
>>> xlib_libpciaccess: bump version
>>
>> libpciaccess fails... due to libtool patch:
>>
>> >>> Patching libtool
>>
>> Applying buildroot-libtool.patch using plaintext:
>> patching file ltmain.sh
>> Hunk #1 FAILED at 273.
>> Hunk #2 succeeded at 5412 (offset 3005 lines).
>> Hunk #3 FAILED at 2551.
>> Hunk #4 FAILED at 2895.
>> Hunk #5 succeeded at 8058 with fuzz 1 (offset 2446 lines).
>> Hunk #6 FAILED at 5937.
>> 4 out of 6 hunks FAILED -- saving rejects to file ltmain.sh.rej
>> Patch failed! Please fix buildroot-libtool.patch!
>> make: ***
>> [/home/paulius/buildroot/output/build/xlib_libpciaccess-0.11.0/.stamp_patched]
>> Error 1
>>
> Odd, I definitely have it building, will try to work out why it works
> for me.
>
> It's easy to fix by disabling the libtool step. Would be good to fixup
> the libtool patching though so it spots what version the package has and
> patches accordingly.

XLIB_LIBPCIACCESS_LIBTOOL_PATCH = NO

solved this problem for me, but later I got another error and I don't know
yet how to fix it...

/home/paulius/buildroot/output/build/staging_dir/usr/bin/i386-linux-uclibc-gcc 
-Os -pipe -Os -g2 -I/home/paulius/buildroot/output/build/staging_dir/usr/include 
-I/home/paulius/buildroot/output/build/staging_dir/include 
--sysroot=/home/paulius/buildroot/output/build/staging_dir/ -isysroot 
/home/paulius/buildroot/output/build/staging_dir -mtune=i386 -march=i386 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H 
-I. -I.. -fvisibility=hidden 
-I/home/paulius/buildroot/output/build/staging_dir/usr/include/xorg 
-I/home/paulius/buildroot/output/build/staging_dir/usr/include/pixman-1 
-I/home/paulius/buildroot/output/build/staging_dir/usr/include/drm -Wall 
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition 
-Wdeclaration-after-statement -fvisibility=hidden 
-I/home/paulius/buildroot/output/build/staging_dir/usr/include/xorg 
-I/home/paulius/buildroot/output/build/staging_dir/usr/include/pixman-1 
-I/home/paulius/buildroot/output/build/staging_dir/usr/include/drm 
-I/home/paulius/buildroot/output/build/staging_dir/usr/include/X11/dri -I../uxa 
-I../src/render_program -Os -pipe -Os -g2 
-I/home/paulius/buildroot/output/build/staging_dir/usr/include 
-I/home/paulius/buildroot/output/build/staging_dir/include 
--sysroot=/home/paulius/buildroot/output/build/staging_dir/ -isysroot 
/home/paulius/buildroot/output/build/staging_dir -mtune=i386 -march=i386 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT 
i810_driver.lo -MD -MP -MF .deps/i810_driver.Tpo -c i810_driver.c  -fPIC -DPIC 
-o .libs/i810_driver.o
In file included from i810_driver.c:73:
i830.h:70:26: error: intel_bufmgr.h: No such file or directory
In file included from i810_driver.c:73:
i830.h:77: error: expected declaration specifiers or '...' before 'drm_intel_bo'
i830.h:140: error: expected specifier-qualifier-list before 'dri_bo'
i830.h: In function 'i830_uxa_pixmap_is_dirty':
i830.h:153: error: 'struct intel_pixmap' has no member named 'flush_write_domain'
i830.h: In function 'i830_pixmap_tiled':
i830.h:158: error: 'struct intel_pixmap' has no member named 'tiling'
i830.h: At top level:
i830.h:161: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
i830.h:162: error: expected declaration specifiers or '...' before 'dri_bo'
i830.h:207: error: expected specifier-qualifier-list before 'dri_bo'
i830.h:263: error: expected specifier-qualifier-list before 'dri_bufmgr'
In file included from i830.h:410,
                  from i810_driver.c:73:
i830_batchbuffer.h: In function 'intel_batch_space':
i830_batchbuffer.h:44: error: 'intel_screen_private' has no member named 'batch_bo'
i830_batchbuffer.h:44: error: 'intel_screen_private' has no member named 
'batch_used'
i830_batchbuffer.h: In function 'intel_batch_require_space':
i830_batchbuffer.h:50: error: 'intel_screen_private' has no member named 'batch_bo'
i830_batchbuffer.h: In function 'intel_batch_start_atomic':
i830_batchbuffer.h:59: error: 'intel_screen_private' has no member named 
'in_batch_atomic'
i830_batchbuffer.h:62: error: 'intel_screen_private' has no member named 
'in_batch_atomic'
i830_batchbuffer.h:63: error: 'intel_screen_private' has no member named 
'batch_atomic_limit'
i830_batchbuffer.h:63: error: 'intel_screen_private' has no member named 
'batch_used'
i830_batchbuffer.h: In function 'intel_batch_end_atomic':
i830_batchbuffer.h:70: error: 'intel_screen_private' has no member named 
'in_batch_atomic'
i830_batchbuffer.h:71: error: 'intel_screen_private' has no member named 
'batch_used'
i830_batchbuffer.h:71: error: 'intel_screen_private' has no member named 
'batch_atomic_limit'
i830_batchbuffer.h:72: error: 'intel_screen_private' has no member named 
'in_batch_atomic'
i830_batchbuffer.h: In function 'intel_batch_emit_dword':
i830_batchbuffer.h:77: error: 'intel_screen_private' has no member named 'batch_ptr'
i830_batchbuffer.h:78: error: 'intel_screen_private' has no member named 
'batch_emitting'
i830_batchbuffer.h:79: error: 'intel_screen_private' has no member named 'batch_ptr'
i830_batchbuffer.h:79: error: 'intel_screen_private' has no member named 
'batch_used'
i830_batchbuffer.h:80: error: 'intel_screen_private' has no member named 
'batch_used'
i830_batchbuffer.h: At top level:
i830_batchbuffer.h:85: error: expected declaration specifiers or '...' before 
'dri_bo'
i830_batchbuffer.h: In function 'intel_batch_emit_reloc':
i830_batchbuffer.h:90: error: 'intel_screen_private' has no member named 'batch_ptr'
i830_batchbuffer.h:90: error: 'intel_screen_private' has no member named 
'batch_used'
i830_batchbuffer.h:91: error: 'bo' undeclared (first use in this function)
i830_batchbuffer.h:91: error: (Each undeclared identifier is reported only once
i830_batchbuffer.h:91: error: for each function it appears in.)
i830_batchbuffer.h:92: warning: implicit declaration of function 'dri_bo_emit_reloc'
i830_batchbuffer.h:92: warning: nested extern declaration of 'dri_bo_emit_reloc'
i830_batchbuffer.h:92: error: 'intel_screen_private' has no member named 'batch_bo'
i830_batchbuffer.h:93: error: 'intel_screen_private' has no member named 
'batch_used'
i830_batchbuffer.h:94: error: 'intel_screen_private' has no member named 
'batch_used'
i830_batchbuffer.h: In function 'intel_batch_mark_pixmap_domains':
i830_batchbuffer.h:104: error: 'struct intel_pixmap' has no member named 
'flush_write_domain'
i830_batchbuffer.h:104: error: 'struct intel_pixmap' has no member named 
'flush_write_domain'
i830_batchbuffer.h:108: error: 'struct intel_pixmap' has no member named 
'flush_read_domains'
i830_batchbuffer.h:109: error: 'struct intel_pixmap' has no member named 
'batch_read_domains'
i830_batchbuffer.h:110: error: 'struct intel_pixmap' has no member named 
'flush_write_domain'
i830_batchbuffer.h:111: error: 'struct intel_pixmap' has no member named 
'batch_write_domain'
i830_batchbuffer.h:112: error: 'struct intel_pixmap' has no member named 'batch'
i830_batchbuffer.h:113: error: 'struct intel_pixmap' has no member named 'batch'
i830_batchbuffer.h:113: error: 'intel_screen_private' has no member named 
'batch_pixmaps'
i830_batchbuffer.h:114: error: 'struct intel_pixmap' has no member named 'flush'
i830_batchbuffer.h:115: error: 'struct intel_pixmap' has no member named 'flush'
i830_batchbuffer.h:115: error: 'intel_screen_private' has no member named 
'flush_pixmaps'
i830_batchbuffer.h: In function 'intel_batch_emit_reloc_pixmap':
i830_batchbuffer.h:125: error: 'intel_screen_private' has no member named 
'batch_ptr'
i830_batchbuffer.h:130: error: 'struct intel_pixmap' has no member named 'bo'
i830_batchbuffer.h:132: error: too many arguments to function 
'intel_batch_emit_reloc'
In file included from i810_driver.c:73:
i830.h: At top level:
i830.h:430: error: expected ')' before '*' token
i830.h:434: error: expected declaration specifiers or '...' before 'dri_bo'
i830.h: In function 'intel_debug_fallback':
i830.h:528: error: 'intel_screen_private' has no member named 'fallback_debug'
i830.h: At top level:
i830.h:569: error: expected ')' before '*' token
i830.h:579: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make[4]: *** [i810_driver.lo] Error 1
make[4]: Leaving directory 
`/home/paulius/buildroot/output/build/xdriver_xf86-video-intel-2.10.0/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/paulius/buildroot/output/build/xdriver_xf86-video-intel-2.10.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/paulius/buildroot/output/build/xdriver_xf86-video-intel-2.10.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/home/paulius/buildroot/output/build/xdriver_xf86-video-intel-2.10.0'
make: *** 
[/home/paulius/buildroot/output/build/xdriver_xf86-video-intel-2.10.0/.stamp_built] 
Error 2

Paulius


More information about the buildroot mailing list