[#4207] build smb sometimes fails at mkcramfs.c on branch 08r1

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4207] build smb sometimes fails at mkcramfs.c on branch 08r1

Submitted By: Mingquan Pan

Open Date

2008-06-30 06:23:10     Close Date

2009-07-03 04:43:33

Priority:

Low     Assignee:

Mingquan Pan

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

    Toolchain version or rev.:

toolchain of 2008-04-16

App binary format:

N/A     

Summary: build smb sometimes fails at mkcramfs.c on branch 08r1

Details:

 

build smb sometimes fails at mkcramfs.c on branch 08r1.

 

make[3]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/games'^M

make[3]: warning: -jN forced in submake: disabling jobserver mode.^M

for i in  dummy ; do \^M

                [ $i = dummy ] || make -C $i || exit  ; \^M

        done^M

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/games'^M

[ ! -d "inetd" ] || ( touch inetd/.sgbuilt_user && make -j1 -C inetd ) || exit $?^M

mkcramfs.c: In function 鈥榗ramsort鈥�^M

mkcramfs.c:158: warning: assignment discards qualifiers from pointer target type^M

mkcramfs.c:159: warning: assignment discards qualifiers from pointer target type^M

mkcramfs.c: In function 鈥榩arse_directory鈥�^M

mkcramfs.c:223: warning: format 鈥�u鈥�expects type 鈥榰nsigned int鈥� but argument 3 has type 鈥榮ize_t鈥^M

mkcramfs.c: In function 鈥榳rite_superblock鈥�^M

mkcramfs.c:406: warning: pointer targets in passing argument 1 of 鈥榮trncpy鈥�differ in signedness^M

mkcramfs.c:408: warning: pointer targets in passing argument 1 of 鈥榮trncpy鈥�differ in signedness^M

mkcramfs.c: In function 鈥榙o_compress鈥�^M

mkcramfs.c:569: warning: pointer targets in passing argument 1 of 鈥榗ompress鈥�differ in signedness^M

mkcramfs.c:569: warning: pointer targets in passing argument 3 of 鈥榗ompress鈥�differ in signedness^M

mkcramfs.c:580: error: 鈥榰32鈥�undeclared (first use in this function)^M

mkcramfs.c:580: error: (Each undeclared identifier is reported only once^M

mkcramfs.c:580: error: for each function it appears in.)^M

mkcramfs.c:580: error: expected expression before 鈥�鈥�token^M

mkcramfs.c: In function 鈥榤ain鈥�^M

mkcramfs.c:677: error: 鈥榰32鈥�undeclared (first use in this function)^M

mkcramfs.c:677: error: expected 鈥�鈥�before 鈥榗rc鈥^M

mkcramfs.c:795: warning: format 鈥�d鈥�expects type 鈥榠nt鈥� but argument 2 has type 鈥榮size_t鈥^M

mkcramfs.c:802: warning: format 鈥�d鈥�expects type 鈥榠nt鈥� but argument 2 has type 鈥榮size_t鈥^M

mkcramfs.c:806: warning: format 鈥�d鈥�expects type 鈥榠nt鈥� but argument 2 has type 鈥榣ong unsigned int鈥^M

mkcramfs.c:809: error: 鈥榗rc鈥�undeclared (first use in this function)^M

mkcramfs.c:809: warning: pointer targets in passing argument 2 of 鈥榗rc32鈥�differ in signedness^M

mkcramfs.c:816: warning: format 鈥�d鈥�expects type 鈥榠nt鈥� but argument 4 has type 鈥榮size_t鈥^M

mkcramfs.c:826: warning: format 鈥�d鈥�expects type 鈥榠nt鈥� but argument 3 has type 鈥榮size_t鈥^M

mkcramfs.c:826: warning: format 鈥�d鈥�expects type 鈥榠nt鈥� but argument 4 has type 鈥榮size_t鈥^M

make[3]: *** [mkcramfs.o] Error 1^M

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/cramfs'^M

make[2]: *** [cramfs] Error 2^M

make[2]: *** Waiting for unfinished jobs....^M

 

The full build log is attached.

 

Follow-ups

 

--- Mike Frysinger                                           2008-06-30 07:03:56

mkcramfs.o shouldnt be compiled ... mkcramfs is built directly from mkcramfs.c

 

please post full config files (make bugreport)

 

--- Mingquan Pan                                             2008-07-01 00:00:56

It is a bug of testscript. Since cramfs is right after smb fs,when the build

script runs fast,it would be accidently miss the matched one, and give the 'Y'

to the next item.Normally we do sleep to avoid that happens. So maybe need a

longer time slice.

 

--- Mingquan Pan                                             2008-07-20 22:49:38

It seems just increase the time slice doesn't help, it still sometimes build

error.

And which makes it more strange is that only the host that builds for

BF527-EZKIT board has this issue. Building on other machine is always ok,which

means the building processing itself is fine. So lower the priority.

 

--- Mingquan Pan                                             2009-06-17 04:32:05

Not occour on branch head now. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

build_smbfs_kernel_log.tar.gz    application/x-gzip    44924    Mingquan Pan

Outcomes