diff options
author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2025-06-10 09:27:54 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-06-09 21:24:07 -0700 |
commit | 1b421ef711e059ce54d03908e50b032f785d6a09 (patch) | |
tree | bddf6bddadfe893dda5213993daac97601d8946c /meta-python/recipes-devtools/python/python3-matplotlib | |
parent | 75dbba11ad2327f3014fcddf0ac2c27170c71e57 (diff) | |
download | meta-openembedded-1b421ef711e059ce54d03908e50b032f785d6a09.tar.gz |
procmail: fix compile failure with gcc-15
These failures doesn't broken compiling, but not generate files under /usr/bin
| userland@pumpkin3:/mnt/test/build_auh/tmp/work/core2-64-poky-linux/procmail/3.22/image/usr/bin$ ls
| formail lockfile mailstat procmail
part of error messages:
| In file included from recommend.c:6:
| includes.h:334:12: error: conflicting types for 'uname'; have 'int(void)'
| 334 | extern int uname(); /* so we fix it :-) /
| | ^~~~~
| In file included from sublib.c:13:
| includes.h:334:12: error: conflicting types for 'uname'; have 'int(void)'
| 334 | extern int uname(); / so we fix it :-) /
| | ^~~~~
| In file included from procmail.h:3,
| from procmail.c:20:
| includes.h:334:12: error: conflicting types for 'uname'; have 'int(void)'
| 334 | extern int uname(); / so we fix it :-) */
| | ^~~~~
| In file included from includes.h:67:
| /datadrive/ubinux/workdir/build-dir/202506/build-ubinux-armv8/tmp/work/aarch64-ubinux-linux/procmail/3.22/recipe-sysroot/usr/include/sys/utsname.h:81:12: note: previous declaration of 'uname' with type 'int(struct utsname *)'
| 81 | extern int uname (struct utsname *__name) _THROW;
| | ^~~~~
| In file included from includes.h:67:
| /datadrive/ubinux/workdir/build-dir/202506/build-ubinux-armv8/tmp/work/aarch64-ubinux-linux/procmail/3.22/recipe-sysroot/usr/include/sys/utsname.h:81:12: note: previous declaration of 'uname' with type 'int(struct utsname )'
| 81 | extern int uname (struct utsname _name) THROW;
| | ^~~~~
| In file included from includes.h:67:
| /datadrive/ubinux/workdir/build-dir/202506/build-ubinux-armv8/tmp/work/aarch64-ubinux-linux/procmail/3.22/recipe-sysroot/usr/include/sys/utsname.h:81:12: note: previous declaration of 'uname' with type 'int(struct utsname )'
| 81 | extern int uname (struct utsname __name) __THROW;
| | ^~~~~
| In file included from includes.h:67:
| /datadrive/ubinux/workdir/build-dir/202506/build-ubinux-armv8/tmp/work/aarch64-ubinux-linux/procmail/3.22/recipe-sysroot/usr/include/sys/utsname.h:81:12: note: previous declaration of 'uname' with type 'int(struct utsname )'
| 81 | extern int uname (struct utsname __name) __THROW;
| | ^~~~~
| recommend.c: In function 'main':
| recommend.c:15:5: warning: old-style function definition [-Wold-style-definition]
| 15 | int main(argc,argv)const int argc;const charconst argv[];
| | ^~~~
| procmail.c: In function 'savepass':
| procmail.c:71:22: warning: old-style function definition [-Wold-style-definition]
| 71 | static auth_identitysavepass(spass,uid)auth_identityconst spass;
| | ^~~~~~~~
| procmail.c:76:12: error: too many arguments to function 'auth_finduid'; expected 0, have 2
| 76 | if(tpass=auth_finduid(uid,0)) / save by copying */
| | ^~~~~~~~~~~~ ~~~
| In file included from procmail.c:36:
| authenticate.h:15:3: note: declared here
| 15 | auth_finduid Q((const uid_t uid,const int sock));
| | ^~~~~~~~~~~~
| procmail.c: In function 'main':
| procmail.c:97:5: warning: old-style function definition [-Wold-style-definition]
| 97 | int main(argc,argv)int argc;const charconst argv[];
| | ^~~~
| procmail.c:212:9: error: too many arguments to function 'checkprivFrom'; expected 0, have 3
| 212 | checkprivFrom(euid,passinvk?auth_username(passinvk):0,override);
| | ^~~~~~~~~~~~~~ ~~~~
| In file included from procmail.c:41:
| from.h:9:2: note: declared here
| 9 | checkprivFrom Q((uid_t euid,const charlogname,int override));
| | ^~~~~~~~~~~~~~
| procmail.c:213:9: error: too many arguments to function 'doumask'; expected 0, have 1
| 213 | doumask(INIT_UMASK); / allowed to set the From line? */
| | ^~~~~~~
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-matplotlib')
0 files changed, 0 insertions, 0 deletions