| Summary: | net-mail/qpopper-4.1.0 - In file included from pop_dele.c:29:0: popper.h:316:30: error: conflicting types for ‘sys_errlist’ | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | pacho, thanasis |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge log
emerge-info.txt emerge-history.txt environment net-mail:qpopper-4.1.0:20160426-174305.log |
||
|
Description
Toralf Förster
2014-12-11 10:22:16 UTC
Created attachment 391426 [details]
emerge log
Created attachment 432164 [details]
emerge-info.txt
few more data\n\n -march=native -O2 -pipe -DHAVE_CONFIG_H -DLINUX -DUNIX pop_dele.c -o pop_dele.o
In file included from pop_dele.c:29:0:
popper.h:316:30: error: conflicting types for ‘sys_errlist’
extern char * sys_errlist[];
^
In file included from /usr/include/stdio.h:853:0,
Created attachment 432166 [details]
emerge-history.txt
Created attachment 432168 [details]
environment
Created attachment 432170 [details]
net-mail:qpopper-4.1.0:20160426-174305.log
*** Bug 586494 has been marked as a duplicate of this bug. *** Hello,
I've noticed this bug has already been reported - same problem here.
Below is a quick patch for fixing the compilation error.
CU Tom
glibc-fix.diff:
--- qpopper4.1.0/popper/popper.h.orig 2011-05-30 21:13:40.000000000 +0200
+++ qpopper4.1.0/popper/popper.h 2016-12-31 09:31:26.910604367 +0100
@@ -313,7 +313,7 @@
#if !( defined(BSD) && (BSD >= 199306) ) && !defined(__USE_BSD)
extern int sys_nerr;
# ifndef FREEBSD
- extern char * sys_errlist[];
+ extern const char * const sys_errlist[];
# ifndef SYS_SIGLIST_DECLARED
# ifndef __linux__
extern char * sys_siglist[];
This is still happening [master 2d5b72d67dd] net-mail/qpopper: Fix LICENSE (#426048), and compilation with current glibc (#532254 by Tom). 4 files changed, 31 insertions(+), 13 deletions(-) create mode 100644 net-mail/qpopper/files/qpopper-4.1.0-glibc.patch |