bugfindutils - Bugs: bug #27299, Cannot cross-compile findutils

 
 

bug #27299: Cannot cross-compile findutils

Submitted by:  John Taylor <pi00100100>
Submitted on:  Sat 22 Aug 2009 10:49:29 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  Compilation Failure Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Open/Closed:  Closed
Release:  4.4.2 Fixed Release:  4.5.3

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 04 Apr 2010 09:29:30 PM UTC, comment #4: 

Since 4.5.x works, I'm going to close this bug as fixed.

James Youngman <jay>
Project AdministratorIn charge of this item.
Mon 24 Aug 2009 09:27:49 AM UTC, comment #3: 

4.5.0 doesn't work.
4.5.1 doesn't work.
4.5.2 doesn't work.
4.5.3 works.
4.5.4 works.
4.5.5 works.

John Taylor <pi00100100>
Sun 23 Aug 2009 10:50:01 AM UTC, comment #2: 

Sorry, I meant, what's the earliest 4.5.x release that works?

James Youngman <jay>
Project AdministratorIn charge of this item.
Sun 23 Aug 2009 09:20:33 AM UTC, comment #1: 

Could you try this with a selection of findutils releases from alpha.gnu.org?   If any version works, what's the earliest version that works?

Anonymous
Sat 22 Aug 2009 10:49:29 AM UTC, original submission:  

Hello,

I'm trying to cross-compile findutils-4.4.2. I configured it with the following arguments: --prefix=/usr --build=i686-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --disable-nls. When running "make", I get the following error message:

make[4]: Entering directory `/mnt/clfs/sources/findutils-build/gnulib/lib'
depbase=`echo areadlink-with-size.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
x86_64-unknown-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../findutils-4.4.2/gnulib/lib -I../..  -I../../intl   -O2 -march=core2 -MT areadlink-with-size.o -MD -MP -MF $depbase.Tpo -c -o areadlink-with-size.o ../../../findutils-4.4.2/gnulib/lib/areadlink-with-size.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ./stdio.h:31,
                 from ../../../findutils-4.4.2/gnulib/lib/areadlink-with-size.c:25:
/mnt/clfs/usr/include/stdio.h:722: error: expected declaration specifiers or '...' before '(' token
/mnt/clfs/usr/include/stdio.h:722: error: conflicting types for 'rpl_fseeko'
./stdio.h:275: note: previous declaration of 'rpl_fseeko' was here
make[4]: *** [areadlink-with-size.o] Error 1
make[4]: Leaving directory `/mnt/clfs/sources/findutils-build/gnulib/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/mnt/clfs/sources/findutils-build/gnulib/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/clfs/sources/findutils-build/gnulib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/findutils-build'
make: *** [all] Error 2

I can get rid of it by adding gl_cv_func_wcwidth_works=yes to the configure arguments list, but I wonder if this is the normal and recommended way to proceed or if this is a bug.

Thanks.

John Taylor <pi00100100>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by pi00100100 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-04 jay StatusNone => Fixed
        Assigned toNone => jay
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.5.3

    Back to the top


    Powered by Savane 3.6