1 |
Hi, |
2 |
|
3 |
here's the patch required for findutils-4.3.6 on aix. |
4 |
|
5 |
Yes, that two parts of the aix-patch were applied due to some |
6 |
bug-reports, but this one seems to be another new one. |
7 |
|
8 |
/haubi/ |
9 |
|
10 |
On Mon, 2007-06-04 at 13:24 -0500, Marshall McMullen wrote: |
11 |
> I tested on AIX 5.2, and unfortunately it fails for me. Here's the output: |
12 |
> |
13 |
> In file included from defs.h:27, |
14 |
> from tree.c:23: |
15 |
> /home/mdmcmull/.overlay/usr/lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.2/include/stdio.h:509: |
16 |
> error: conflicting types for 'fgetpos64' |
17 |
> /home/mdmcmull/.overlay/usr/lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.2/include/stdio.h:310: |
18 |
> error: previous declaration of 'fgetpos64' was here |
19 |
> /home/mdmcmull/.overlay/usr/lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.2/include/stdio.h:512: |
20 |
> error: conflicting types for 'fseeko64' |
21 |
> /home/mdmcmull/.overlay/usr/lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.2/include/stdio.h:449: |
22 |
> error: previous declaration of 'fseeko64' was here |
23 |
> /home/mdmcmull/.overlay/usr/lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.2/include/stdio.h:513: |
24 |
> error: conflicting types for 'fsetpos64' |
25 |
> /home/mdmcmull/.overlay/usr/lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.2/includepowerpc-ibm-aix5.2.0.0-gcc |
26 |
> -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../lib -I../gnulib/lib |
27 |
> -I../intl -DLOCALEDIR=\"/home/mdmcmull/.overlay/usr/share/locale\" |
28 |
> -g -O2 -MT find.o -MD -MP -MF .deps/find.Tpo -c -o find.o find.c |
29 |
> /stdio.h:312: error: previous declaration of 'fsetpos64' was here |
30 |
> /home/mdmcmull/.overlay/usr/lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.2/include/stdio.h:514: |
31 |
> error: conflicting types for 'ftello64' |
32 |
> /home/mdmcmull/.overlay/usr/lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.2/include/stdio.h:450: |
33 |
> error: previous declaration of 'ftello64' was here |
34 |
> In file included from ../gnulib/lib/unistd.h:23, |
35 |
> from defs.h:31, |
36 |
> from tree.c:23: |
37 |
> ///usr/include/unistd.h:171: error: conflicting types for 'lseek64' |
38 |
> ///usr/include/unistd.h:169: error: previous declaration of 'lseek64' was here |
39 |
> In file included from ///usr/include/unistd.h:735, |
40 |
> from ../gnulib/lib/unistd.h:23, |
41 |
> from defs.h:31, |
42 |
> from tree.c:23: |
43 |
> /usr/include/sys/lockf.h:64: error: conflicting types for 'lockf64' |
44 |
> /usr/include/sys/lockf.h:62: error: previous declaration of 'lockf64' was here |
45 |
> In file included from ../gnulib/lib/unistd.h:23, |
46 |
> from defs.h:31, |
47 |
> from tree.c:23: |
48 |
> ///usr/include/unistd.h:781: error: conflicting types for 'ftruncate64' |
49 |
> ///usr/include/unistd.h:779: error: previous declaration of |
50 |
> 'ftruncate64' was here |
51 |
> ///usr/include/unistd.h:816: error: conflicting types for 'truncate64' |
52 |
> ///usr/include/unistd.h:814: error: previous declaration of |
53 |
> 'truncate64' was here |
54 |
> ///usr/include/unistd.h:833: error: conflicting types for 'pread64' |
55 |
> ///usr/include/unistd.h:830: error: previous declaration of 'pread64' was here |
56 |
> ///usr/include/unistd.h:834: error: conflicting types for 'pwrite64' |
57 |
> ///usr/include/unistd.h:831: error: previous declaration of 'pwrite64' was here |
58 |
> ///usr/include/unistd.h:901: error: conflicting types for 'fclear64' |
59 |
> ///usr/include/unistd.h:898: error: previous declaration of 'fclear64' was here |
60 |
> ///usr/include/unistd.h:902: error: conflicting types for 'fsync_range64' |
61 |
> ///usr/include/unistd.h:899: error: previous declaration of |
62 |
> 'fsync_range64' was here |
63 |
> mv -f .deps/finddata.Tpo .deps/finddata.Po |
64 |
> parser.c:941:2: warning: #warning "no error checking on the previous line" |
65 |
> parser.c:1205:2: warning: #warning "consider replacing all calls to |
66 |
> atio with a utility function" |
67 |
> parser.c:2267:2: warning: #warning "no success checking has occured in |
68 |
> atoi on previous line" |
69 |
> make[3]: *** [tree.o] Error 1 |
70 |
> make[3]: *** Waiting for unfinished jobs.... |
71 |
> mv -f .deps/fstype.Tpo .deps/fstype.Po |
72 |
> mv -f .deps/ftsfind.Tpo .deps/ftsfind.Po |
73 |
> mv -f .deps/util.Tpo .deps/util.Po |
74 |
> mv -f .deps/find.Tpo .deps/find.Po |
75 |
> mv -f .deps/pred.Tpo .deps/pred.Po |
76 |
> mv -f .deps/parser.Tpo .deps/parser.Po |
77 |
> make[3]: Leaving directory |
78 |
> `/home/mdmcmull/.overlay/var/tmp/portage/sys-apps/findutils-4.3.6/work/findutils-4.3.6/find' |
79 |
> make[2]: *** [all-recursive] Error 1 |
80 |
> make[2]: Leaving directory |
81 |
> `/home/mdmcmull/.overlay/var/tmp/portage/sys-apps/findutils-4.3.6/work/findutils-4.3.6/find' |
82 |
> make[1]: *** [all-recursive] Error 1 |
83 |
> make[1]: Leaving directory |
84 |
> `/home/mdmcmull/.overlay/var/tmp/portage/sys-apps/findutils-4.3.6/work/findutils-4.3.6' |
85 |
> make: *** [all] Error 2 |
86 |
> |
87 |
> !!! ERROR: sys-apps/findutils-4.3.6 failed. |
88 |
> Call stack: |
89 |
> ebuild.sh, line 1564: Called dyn_compile |
90 |
> ebuild.sh, line 916: Called qa_call 'src_compile' |
91 |
> ebuild.sh, line 44: Called src_compile |
92 |
> findutils-4.3.6.ebuild, line 62: Called die |
93 |
> |
94 |
> !!! make failed |
95 |
> !!! If you need support, post the topmost build error, and the call |
96 |
> stack if relevant. |
97 |
> !!! A complete build log is located at |
98 |
> '/home/mdmcmull/.overlay/var/tmp/portage/sys-apps/findutils-4.3.6/temp/build.log'. |
99 |
> |
100 |
> |
101 |
> On 5/31/07, Fabian Groffen <grobian@g.o> wrote: |
102 |
> > I just committed findutils-4.3.6 and had to drop the aix patch as it |
103 |
> > didn't apply any more. It looks however as if the patch is sort of |
104 |
> > applied upstream (code is entirely different), so maybe it just works. |
105 |
> > Please AIX people test this ebuild. |
106 |
> > |
107 |
> > -- |
108 |
> > Fabian Groffen |
109 |
> > Gentoo on a different level |
110 |
> > |
111 |
> > -- |
112 |
> > gentoo-alt@g.o mailing list |
113 |
> > |
114 |
> > |
115 |
> |
116 |
> |
117 |
> -- |
118 |
> Marshall McMullen |
119 |
> marshall.mcmullen@×××××.com |
120 |
> mjmcmullen@×××××.net |
121 |
> mdmcmullen@××××××.com |
122 |
> |
123 |
> In France, there's a popular saying about Linux that essentially translates as: |
124 |
> "Linux? You can get a less powerful system, but it will cost you more." |