Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269256 - sys-apps/coreutils-7.4 cross compilation failed due to gnulib rename
Summary: sys-apps/coreutils-7.4 cross compilation failed due to gnulib rename
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-10 13:42 UTC by Maksim 'max_posedon' Melnikau
Modified: 2009-11-19 03:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim 'max_posedon' Melnikau 2009-05-10 13:42:13 UTC
cross compilation failed because of wrong configure detecting, adding next to crossdev-wrapper's site fix it

gl_cv_func_re_compile_pattern_working=yes
gl_cv_func_rename_trailing_dest_slash_bug=no
gl_cv_func_rename_trailing_slash_bug=no



Reproducible: Always

Steps to Reproduce:
1. emerge-cross \=coreutils-7.4
Actual Results:  
cross compilation failed

Expected Results:  
cross compilation shouldn't fail

rename.c:33:21: error: windows.h: No such file or directory                                                                 
rename.c: In function 'rpl_rename':                                                                                         
rename.c:46: warning: implicit declaration of function 'MoveFileEx'                                                         
rename.c:51: warning: implicit declaration of function 'GetLastError'                                                       
rename.c:52: error: 'ERROR_FILE_EXISTS' undeclared (first use in this function)                                             
rename.c:52: error: (Each undeclared identifier is reported only once                                                       
rename.c:52: error: for each function it appears in.)                                                                       
rename.c:52: error: 'ERROR_ALREADY_EXISTS' undeclared (first use in this function)                                          
rename.c:54: error: 'MOVEFILE_REPLACE_EXISTING' undeclared (first use in this function)                                     
rename.c:62: error: 'ERROR_FILE_NOT_FOUND' undeclared (first use in this function)                                          
rename.c:63: error: 'ERROR_PATH_NOT_FOUND' undeclared (first use in this function)                                          
rename.c:64: error: 'ERROR_BAD_PATHNAME' undeclared (first use in this function)                                            
rename.c:65: error: 'ERROR_DIRECTORY' undeclared (first use in this function)                                               
rename.c:69: error: 'ERROR_ACCESS_DENIED' undeclared (first use in this function)                                           
rename.c:70: error: 'ERROR_SHARING_VIOLATION' undeclared (first use in this function)                                       
rename.c:74: error: 'ERROR_OUTOFMEMORY' undeclared (first use in this function)                                             
rename.c:78: error: 'ERROR_CURRENT_DIRECTORY' undeclared (first use in this function)                                       
rename.c:82: error: 'ERROR_NOT_SAME_DEVICE' undeclared (first use in this function)                                         
rename.c:86: error: 'ERROR_WRITE_PROTECT' undeclared (first use in this function)                                           
rename.c:90: error: 'ERROR_WRITE_FAULT' undeclared (first use in this function)                                             
rename.c:91: error: 'ERROR_READ_FAULT' undeclared (first use in this function)                                              
rename.c:92: error: 'ERROR_GEN_FAILURE' undeclared (first use in this function)                                             
rename.c:96: error: 'ERROR_HANDLE_DISK_FULL' undeclared (first use in this function)                                        
rename.c:97: error: 'ERROR_DISK_FULL' undeclared (first use in this function)                                               
rename.c:98: error: 'ERROR_DISK_TOO_FRAGMENTED' undeclared (first use in this function)                                     
rename.c:107: error: 'ERROR_BUFFER_OVERFLOW' undeclared (first use in this function)                                        
rename.c:108: error: 'ERROR_FILENAME_EXCED_RANGE' undeclared (first use in this function)                                   
rename.c:112: error: 'ERROR_INVALID_NAME' undeclared (first use in this function)                                           
rename.c:113: error: 'ERROR_DELETE_PENDING' undeclared (first use in this function)                                         
make[4]: *** [rename.o] Error 1
Comment 1 SpanKY gentoo-dev 2009-05-10 20:02:14 UTC
when you file bugs, please make sure to use full package names in the summary
Comment 2 SpanKY gentoo-dev 2009-11-19 03:51:29 UTC
i believe coreutils-8.1 should have this fixed now