Bug 110 - Checkinstall wont compile on Opensuse since 13.2
: Checkinstall wont compile on Opensuse since 13.2
Product: Checkinstall
: 1.6.2
: All Linux
: P1 major
Assigned To: Felipe Sanchez
  Show dependency treegraph
Reported: 2014-12-28 13:48 CST by Felipe Sanchez
Modified: 2014-12-28 14:10 CST (History)
0 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Sanchez 2014-12-28 13:48:34 CST
Subject: RE: Feliz navidad!
Date: Tue, 23 Dec 2014 14:02:03 +0100
From: Franke <fn@fkn-systems.de>
To: izto@asic-linux.com.mx
Followup-To: poster
Subject: Checkinstall wont compile on Opensuse since 13.2


I try to compile checkinstall - from last git - but i cant because:

-DVERSION=\"0.7.0beta7\" installwatch.c
installwatch.c:3100:5: error: conflicting types for scandir
 int scandir( const char *dir,struct dirent ***namelist,
In file included from installwatch.c:49:0:
/usr/include/dirent.h:254:12: note: previous declaration of scandir
was here
 extern int scandir (const char *__restrict __dir,
installwatch.c:1058:12: warning: __instw_printdirent64 defined but not
used [-Wunused-function]
 static int __instw_printdirent64(struct dirent64 *entry) {
Makefile:22: recipe for target 'installwatch.o' failed
make[1]: *** [installwatch.o] Error 1

I tryd on opensuse 13.2 and thumbleweed i686 and x64
(min kernel: 3.16.7-7-default)
and got the same failure.
Comment 1 Felipe Sanchez 2014-12-28 13:49:41 CST
create-localdecls can not correctly identify glibc's major version number.
Comment 2 Felipe Sanchez 2014-12-28 14:10:39 CST
commit 4bb8c9fed4d4b2f8828282f17727dbc513ced45f
Author: Felipe Eduardo Sanchez Diaz Duran <izto@asic-linux.com.mx>
Date:   Sun Dec 28 14:09:23 2014 -0600

    Fixed bug #110. create-localdecls correctly identifies newer glibc