BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001709 [buildroot] Architecture Specific minor always 12-12-07 01:02 07-17-08 03:40
Reporter mfladischer View Status public  
Assigned To thomasez
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001709: fakeroot 1.8.2 no longer available from Debian
Description Rev20642:
fakeroot 1.8.2 is no longer available from Debian. The new version is 1.8.10.
Patches that could not be applied to 1.8.10:
- fakeroot-uclibc-LFS.patch
Additional Information Index: package/fakeroot/fakeroot.mk
===================================================================
--- package/fakeroot/fakeroot.mk (revision 20642)
+++ package/fakeroot/fakeroot.mk (working copy)
@@ -3,7 +3,7 @@
 # fakeroot
 #
 #############################################################
-FAKEROOT_VERSION:=1.8.2
+FAKEROOT_VERSION:=1.8.10
 FAKEROOT_SOURCE:=fakeroot_$(FAKEROOT_VERSION).tar.gz
 FAKEROOT_SITE:=http://ftp.debian.org/debian/pool/main/f/fakeroot [^]
 FAKEROOT_CAT:=$(ZCAT)
Attached Files  fakeroot-uclibc-LFS.patch.patch [^] (794 bytes) 12-12-07 19:24
 real-fakeroot-uclibc-LFS.patch.patch [^] (2,001 bytes) 12-13-07 08:07

- Relationships
duplicate of 0001819assigned buildroot buildroot 20071226 tries to fetch non-existant fakeroot 

- Notes
(0003119)
bonkabonka
12-12-07 19:25

I've attached a patch to the old patch that makes it apply to the 1.8.10 revision of fakeroot.
 
(0003134)
vanokuten
12-13-07 04:05

bonkabonka,

as I see you fully deleted "defined __UCLIBC__ && defined UCLIBC_HAS_LFS"
in fakeroot-uclibc-LFS.patch.patch

seems you have to leave this defines intact

regards,
Ivan
 
(0003174)
bonkabonka
12-13-07 07:43

*blink*

You're right, I messed up the cut-n-paste out of the working-copy diff. I'll re-attach a proper version of the patch here in a second.
 
(0003219)
vanokuten
12-17-07 04:13

Your patch is not applied properly:

patch -p0 < real-fakeroot-uclibc-LFS.patch.patch
patching file package/fakeroot/fakeroot.mk
patching file package/fakeroot/fakeroot-uclibc-LFS.patch
Hunk 0000001 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file package/fakeroot/fakeroot-uclibc-LFS.patch.rej
 
(0003234)
bonkabonka
12-17-07 10:25

Okay, I guess I'm not bright enough to use 'svn diff' properly to generate a patch. In any event, the following replacement for package/fakeroot/fakeroot-uclibc-LFS.patch works properly on a second checkout on a different machine:

diff -u fakeroot-1.8.10.orig/communicate.h fakeroot-1.8.10/communicate.h
--- fakeroot-1.8.10.orig/communicate.h 2007-11-20 21:56:53.000000000 -0500
+++ fakeroot-1.8.10/communicate.h 2007-12-13 11:00:03.000000000 -0500
 @@ -35,7 +35,9 @@
  #endif
  
  /* Then decide whether we do or do not use the stat64 support */
-#if (defined(sun) && !defined(__SunOS_5_5_1) && !defined(_LP64)) || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1)
+#if (defined(sun) && !defined(__SunOS_5_5_1) && !defined(_LP64)) \
+ || (!defined __UCLIBC__ && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1))) \
+ || (defined __UCLIBC__ && defined UCLIBC_HAS_LFS)
  # define STAT64_SUPPORT
  #else
  # warning Not using stat64 support
 
(0003274)
thomasez
12-27-07 03:23

Added patch, fakeroot now compiles.
 

- Issue History
Date Modified Username Field Change
12-12-07 01:02 mfladischer New Issue
12-12-07 01:02 mfladischer Status new => assigned
12-12-07 01:02 mfladischer Assigned To  => buildroot
12-12-07 07:54 swinnenb Issue Monitored: swinnenb
12-12-07 19:24 bonkabonka File Added: fakeroot-uclibc-LFS.patch.patch
12-12-07 19:25 bonkabonka Note Added: 0003119
12-13-07 04:05 vanokuten Note Added: 0003134
12-13-07 07:43 bonkabonka Note Added: 0003174
12-13-07 08:07 bonkabonka File Added: real-fakeroot-uclibc-LFS.patch.patch
12-17-07 04:13 vanokuten Note Added: 0003219
12-17-07 10:25 bonkabonka Note Added: 0003234
12-27-07 03:22 thomasez Assigned To buildroot => thomasez
12-27-07 03:23 thomasez Relationship added duplicate of 0001819
12-27-07 03:23 thomasez Duplicate ID 0 => 1819
12-27-07 03:23 thomasez Status assigned => resolved
12-27-07 03:23 thomasez Resolution open => fixed
12-27-07 03:23 thomasez Note Added: 0003274
07-16-08 08:02 bernhardf Status resolved => new
07-17-08 03:40 bernhardf Status new => closed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker