Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 918319 Details for
Bug 949415
app-text/tree-2.1.1-r1: [gcc-15] error: expected ‘;’, identifier or ‘(’ before ‘bool’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/x-log), 14.43 KB, created by
lekto
on 2025-02-08 08:49:22 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
lekto
Created:
2025-02-08 08:49:22 UTC
Size:
14.43 KB
patch
obsolete
>[32m * [39;49;00mPackage: app-text/tree-2.1.1-r1:0 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: jstein@gentoo.org >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux >[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking unix-tree-2.1.1.tar.bz2 to /var/tmp/portage/app-text/tree-2.1.1-r1/work >>>> Source unpacked in /var/tmp/portage/app-text/tree-2.1.1-r1/work >>>> Preparing source in /var/tmp/portage/app-text/tree-2.1.1-r1/work/unix-tree-2.1.1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-text/tree-2.1.1-r1/work/unix-tree-2.1.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-text/tree-2.1.1-r1/work/unix-tree-2.1.1 ... >make -j16 CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O2 -pipe -march=znver5 -mno-prefetchi -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=1024 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs' >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver5 -mno-prefetchi -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=1024 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o unix.o unix.c >In file included from unix.c:18: >tree.h:85:30: error: expected â;â, identifier or â(â before âboolâ > 85 | typedef enum {FALSE=0, TRUE} bool; > | ^~~~ >tree.h:85:30: warning: useless type name in empty declaration >make: *** [Makefile:100: unix.o] Error 1 >make: *** Waiting for unfinished jobs.... >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver5 -mno-prefetchi -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=1024 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o json.o json.c >In file included from json.c:18: >tree.h:85:30: error: expected â;â, identifier or â(â before âboolâ > 85 | typedef enum {FALSE=0, TRUE} bool; > | ^~~~ >tree.h:85:30: warning: useless type name in empty declaration >make: *** [Makefile:100: json.o] Error 1 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver5 -mno-prefetchi -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=1024 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o info.o info.c >In file included from info.c:18: >tree.h:85:30: error: expected â;â, identifier or â(â before âboolâ > 85 | typedef enum {FALSE=0, TRUE} bool; > | ^~~~ >tree.h:85:30: warning: useless type name in empty declaration >make: *** [Makefile:100: info.o] Error 1 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver5 -mno-prefetchi -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=1024 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o list.o list.c >In file included from list.c:18: >tree.h:85:30: error: expected â;â, identifier or â(â before âboolâ > 85 | typedef enum {FALSE=0, TRUE} bool; > | ^~~~ >tree.h:85:30: warning: useless type name in empty declaration >list.c: In function âlistdirâ: >list.c:154:54: error: passing argument 4 of âqsortâ from incompatible pointer type [-Wincompatible-pointer-types] > 154 | if (topsort) qsort(dir, n, sizeof(struct _info *), topsort); > | ^~~~~~~ > | | > | int (*)(void) >In file included from tree.h:21: >/usr/include/stdlib.h:971:34: note: expected â__compar_fn_tâ {aka âint (*)(const void *, const void *)â} but argument is of type âint (*)(void)â > 971 | __compar_fn_t __compar) __nonnull ((1, 4)); > | ~~~~~~~~~~~~~~^~~~~~~~ >/usr/include/stdlib.h:948:15: note: â__compar_fn_tâ declared here > 948 | typedef int (*__compar_fn_t) (const void *, const void *); > | ^~~~~~~~~~~~~ >make: *** [Makefile:100: list.o] Error 1 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver5 -mno-prefetchi -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=1024 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o color.o color.c >In file included from color.c:18: >tree.h:85:30: error: expected â;â, identifier or â(â before âboolâ > 85 | typedef enum {FALSE=0, TRUE} bool; > | ^~~~ >tree.h:85:30: warning: useless type name in empty declaration >make: *** [Makefile:100: color.o] Error 1 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver5 -mno-prefetchi -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=1024 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o filter.o filter.c >In file included from filter.c:18: >tree.h:85:30: error: expected â;â, identifier or â(â before âboolâ > 85 | typedef enum {FALSE=0, TRUE} bool; > | ^~~~ >tree.h:85:30: warning: useless type name in empty declaration >make: *** [Makefile:100: filter.o] Error 1 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver5 -mno-prefetchi -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=1024 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o file.o file.c >In file included from file.c:18: >tree.h:85:30: error: expected â;â, identifier or â(â before âboolâ > 85 | typedef enum {FALSE=0, TRUE} bool; > | ^~~~ >tree.h:85:30: warning: useless type name in empty declaration >file.c: In function âfpruneâ: >file.c:174:55: error: passing argument 4 of âqsortâ from incompatible pointer type [-Wincompatible-pointer-types] > 174 | if (topsort) qsort(dir,count,sizeof(struct _info *),topsort); > | ^~~~~~~ > | | > | int (*)(void) >In file included from tree.h:21: >/usr/include/stdlib.h:971:34: note: expected â__compar_fn_tâ {aka âint (*)(const void *, const void *)â} but argument is of type âint (*)(void)â > 971 | __compar_fn_t __compar) __nonnull ((1, 4)); > | ~~~~~~~~~~~~~~^~~~~~~~ >/usr/include/stdlib.h:948:15: note: â__compar_fn_tâ declared here > 948 | typedef int (*__compar_fn_t) (const void *, const void *); > | ^~~~~~~~~~~~~ >make: *** [Makefile:100: file.o] Error 1 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver5 -mno-prefetchi -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=1024 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o hash.o hash.c >In file included from hash.c:18: >tree.h:85:30: error: expected â;â, identifier or â(â before âboolâ > 85 | typedef enum {FALSE=0, TRUE} bool; > | ^~~~ >tree.h:85:30: warning: useless type name in empty declaration >make: *** [Makefile:100: hash.o] Error 1 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver5 -mno-prefetchi -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=1024 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o xml.o xml.c >In file included from xml.c:18: >tree.h:85:30: error: expected â;â, identifier or â(â before âboolâ > 85 | typedef enum {FALSE=0, TRUE} bool; > | ^~~~ >tree.h:85:30: warning: useless type name in empty declaration >make: *** [Makefile:100: xml.o] Error 1 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver5 -mno-prefetchi -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=1024 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o tree.o tree.c >In file included from tree.c:19: >tree.h:85:30: error: expected â;â, identifier or â(â before âboolâ > 85 | typedef enum {FALSE=0, TRUE} bool; > | ^~~~ >tree.h:85:30: warning: useless type name in empty declaration >tree.c:49:21: error: initialization of âint (*)(void)â from incompatible pointer type âint (*)(struct _info **, struct _info **)â [-Wincompatible-pointer-types] > 49 | int (*basesort)() = alnumsort; > | ^~~~~~~~~ >tree.h:202:5: note: âalnumsortâ declared here > 202 | int alnumsort(struct _info **, struct _info **); > | ^~~~~~~~~ >tree.c:79:12: error: initialization of âint (*)(void)â from incompatible pointer type âint (*)(struct _info **, struct _info **)â [-Wincompatible-pointer-types] > 79 | {"name", alnumsort}, > | ^~~~~~~~~ >tree.c:79:12: note: (near initialization for âsorts[0].cmpfuncâ) >tree.h:202:5: note: âalnumsortâ declared here > 202 | int alnumsort(struct _info **, struct _info **); > | ^~~~~~~~~ >tree.c:80:15: error: initialization of âint (*)(void)â from incompatible pointer type âint (*)(struct _info **, struct _info **)â [-Wincompatible-pointer-types] > 80 | {"version", versort}, > | ^~~~~~~ >tree.c:80:15: note: (near initialization for âsorts[1].cmpfuncâ) >tree.h:203:5: note: âversortâ declared here > 203 | int versort(struct _info **a, struct _info **b); > | ^~~~~~~ >tree.c:81:12: error: initialization of âint (*)(void)â from incompatible pointer type âint (*)(struct _info **, struct _info **)â [-Wincompatible-pointer-types] > 81 | {"size", fsizesort}, > | ^~~~~~~~~ >tree.c:81:12: note: (near initialization for âsorts[2].cmpfuncâ) >tree.h:208:5: note: âfsizesortâ declared here > 208 | int fsizesort(struct _info **a, struct _info **b); > | ^~~~~~~~~ >tree.c:82:13: error: initialization of âint (*)(void)â from incompatible pointer type âint (*)(struct _info **, struct _info **)â [-Wincompatible-pointer-types] > 82 | {"mtime", mtimesort}, > | ^~~~~~~~~ >tree.c:82:13: note: (near initialization for âsorts[3].cmpfuncâ) >tree.h:205:5: note: âmtimesortâ declared here > 205 | int mtimesort(struct _info **, struct _info **); > | ^~~~~~~~~ >tree.c:83:13: error: initialization of âint (*)(void)â from incompatible pointer type âint (*)(struct _info **, struct _info **)â [-Wincompatible-pointer-types] > 83 | {"ctime", ctimesort}, > | ^~~~~~~~~ >tree.c:83:13: note: (near initialization for âsorts[4].cmpfuncâ) >tree.h:206:5: note: âctimesortâ declared here > 206 | int ctimesort(struct _info **, struct _info **); > | ^~~~~~~~~ >tree.c: In function âmainâ: >tree.c:277:20: error: assignment to âint (*)(void)â from incompatible pointer type âint (*)(struct _info **, struct _info **)â [-Wincompatible-pointer-types] > 277 | basesort = mtimesort; > | ^ >tree.h:205:5: note: âmtimesortâ declared here > 205 | int mtimesort(struct _info **, struct _info **); > | ^~~~~~~~~ >tree.c:280:20: error: assignment to âint (*)(void)â from incompatible pointer type âint (*)(struct _info **, struct _info **)â [-Wincompatible-pointer-types] > 280 | basesort = ctimesort; > | ^ >tree.h:206:5: note: âctimesortâ declared here > 206 | int ctimesort(struct _info **, struct _info **); > | ^~~~~~~~~ >tree.c:287:20: error: assignment to âint (*)(void)â from incompatible pointer type âint (*)(struct _info **, struct _info **)â [-Wincompatible-pointer-types] > 287 | basesort = versort; > | ^ >tree.h:203:5: note: âversortâ declared here > 203 | int versort(struct _info **a, struct _info **b); > | ^~~~~~~ >tree.c:391:23: error: assignment to âint (*)(void)â from incompatible pointer type âint (*)(struct _info **, struct _info **)â [-Wincompatible-pointer-types] > 391 | topsort = dirsfirst; > | ^ >tree.h:201:5: note: âdirsfirstâ declared here > 201 | int dirsfirst(struct _info **, struct _info **); > | ^~~~~~~~~ >tree.c:396:23: error: assignment to âint (*)(void)â from incompatible pointer type âint (*)(struct _info **, struct _info **)â [-Wincompatible-pointer-types] > 396 | topsort = filesfirst; > | ^ >tree.h:200:5: note: âfilesfirstâ declared here > 200 | int filesfirst(struct _info **, struct _info **); > | ^~~~~~~~~~ >tree.c: In function âunix_getfulltreeâ: >tree.c:992:51: error: passing argument 4 of âqsortâ from incompatible pointer type [-Wincompatible-pointer-types] > 992 | if (topsort) qsort(sav,n,sizeof(struct _info *),topsort); > | ^~~~~~~ > | | > | int (*)(void) >In file included from tree.h:21: >/usr/include/stdlib.h:971:34: note: expected â__compar_fn_tâ {aka âint (*)(const void *, const void *)â} but argument is of type âint (*)(void)â > 971 | __compar_fn_t __compar) __nonnull ((1, 4)); > | ~~~~~~~~~~~~~~^~~~~~~~ >/usr/include/stdlib.h:948:15: note: â__compar_fn_tâ declared here > 948 | typedef int (*__compar_fn_t) (const void *, const void *); > | ^~~~~~~~~~~~~ >tree.c: In function âfilesfirstâ: >tree.c:1012:10: error: too many arguments to function âbasesortâ; expected 0, have 2 > 1012 | return basesort(a, b); > | ^~~~~~~~ ~ >tree.c: In function âdirsfirstâ: >tree.c:1020:10: error: too many arguments to function âbasesortâ; expected 0, have 2 > 1020 | return basesort(a, b); > | ^~~~~~~~ ~ >make: *** [Makefile:100: tree.o] Error 1 > [31;01m*[0m ERROR: app-text/tree-2.1.1-r1::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=app-text/tree-2.1.1-r1::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=app-text/tree-2.1.1-r1::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/app-text/tree-2.1.1-r1/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-text/tree-2.1.1-r1/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/app-text/tree-2.1.1-r1/work/unix-tree-2.1.1' > [31;01m*[0m S: '/var/tmp/portage/app-text/tree-2.1.1-r1/work/unix-tree-2.1.1'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 949415
: 918319 |
918320