[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#555035: marked as done (FTBFS: wvmodemscan.cc:542: error: invalid conversion from 'int (*)(const dirent**, const dirent**)' to 'int (*)(const void*, const void*)')



Your message dated Thu, 24 Jun 2010 13:48:12 +0000
with message-id <E1ORmmq-0006Gj-R0@ries.debian.org>
and subject line Bug#555035: fixed in wvdial 1.60.4
has caused the Debian Bug report #555035,
regarding FTBFS: wvmodemscan.cc:542: error: invalid conversion from 'int (*)(const dirent**, const dirent**)' to 'int (*)(const void*, const void*)'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
555035: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555035
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wvdial
Version: 1.60.3
Severity: important
Tags: patch

Hi,

When we installed eglibc-2.9, this package become the build error. (ex. mips)
https://buildd.debian.org/fetch.cgi?pkg=wvdial;ver=1.60.3;arch=mips;stamp=1257624220

But When we installed eglibc-2.10.1, this do not become the build error.

-----
wvmodemscan.cc:27: warning: deprecated conversion from string constant to 'char*'
wvmodemscan.cc:27: warning: deprecated conversion from string constant to 'char*'
wvmodemscan.cc:27: warning: deprecated conversion from string constant to 'char*'
wvmodemscan.cc: In constructor 'WvModemScanList::WvModemScanList(const WvFastString&)':
wvmodemscan.cc:542: error: invalid conversion from 'int (*)(const dirent**, const dirent**)' to 'int (*)(const void*, const void*)'
wvmodemscan.cc:542: error:   initializing argument 4 of 'int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const void*, const void*))'
make[1]: *** [wvmodemscan.o] Error 1
make[1]: Leaving directory `/build/buildd/wvdial-1.60.3'
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch gave error exit status 2
******************************************************************************
-----

This problem can fix following patch.
--- wvmodemscan.cc.orig 2009-11-08 04:57:46.000000000 +0000
+++ wvmodemscan.cc      2009-11-08 04:46:20.000000000 +0000
@@ -495,8 +495,17 @@
        // (no internal ISDN support)   || !strncmp(e->d_name, "ttyI", 4);
 }
 
+#if defined(__GLIBC__) && __GLIBC_PREREQ(2, 10)
 static int filesort(const struct dirent **e1, const struct dirent **e2)
+#else
+static int filesort(const void *_e1, const void *_e2)
+#endif
 {
+#if !(defined(__GLIBC__) && __GLIBC_PREREQ(2, 10))
+     dirent const * const *e1 = (dirent const * const *)_e1;
+     dirent const * const *e2 = (dirent const * const *)_e2;
+#endif
+
     const char *p1, *p2;
     int diff;
     
The base of this patch is
http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/wvdial/files/wvdial-1.60-dirent.patch?view=markup

Best regards,
  Nobuhiro
-- 
Nobuhiro Iwamatsu




--- End Message ---
--- Begin Message ---
Source: wvdial
Source-Version: 1.60.4

We believe that the bug you reported is fixed in the latest version of
wvdial, which is due to be installed in the Debian FTP archive:

wvdial_1.60.4.dsc
  to main/w/wvdial/wvdial_1.60.4.dsc
wvdial_1.60.4.tar.gz
  to main/w/wvdial/wvdial_1.60.4.tar.gz
wvdial_1.60.4_i386.deb
  to main/w/wvdial/wvdial_1.60.4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 555035@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alessio Treglia <alessio@debian.org> (supplier of updated wvdial package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 24 Jun 2010 15:20:30 +0200
Source: wvdial
Binary: wvdial
Architecture: source i386
Version: 1.60.4
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Alessio Treglia <alessio@debian.org>
Description: 
 wvdial     - PPP dialer with built-in intelligence
Closes: 555035
Changes: 
 wvdial (1.60.4) unstable; urgency=low
 .
   * QA upload.
   * Apply patch from Nobuhiro Iwamatsu <iwamatsu@nigauri.org> to fix FTBFS due
     to an invalid conversion from 'int (*)(const dirent**, const dirent**)' to
     'int (*)(const void*, const void*) (Closes: #555035);
     patch taken from http://bugs.gentoo.org/show_bug.cgi?id=271477.
   * Switch to format 3.0 (native).
Checksums-Sha1: 
 8f84ee082482c329774a04b4a2d501983d4a8e55 764 wvdial_1.60.4.dsc
 1ade0b94446dfc724e4787730e2970d6b5d58948 110919 wvdial_1.60.4.tar.gz
 662d135a3290be8d9bfed797fe098eff0159ff9a 174144 wvdial_1.60.4_i386.deb
Checksums-Sha256: 
 f776b8c488b2e54d32223dd26b0d6e21f8f7531d80f3e6999b79967517fa54fa 764 wvdial_1.60.4.dsc
 e7d272f9ab5d2c754ec58e74adc38a61e2e1d1fd6cc3a3473361fc6f34e4ecff 110919 wvdial_1.60.4.tar.gz
 0b59cb8617e5a60e54fb649099b297eb69c0dd6a5dee3d505d25a487c674f1b5 174144 wvdial_1.60.4_i386.deb
Files: 
 89eb9fa5df53c7b50c52023c9aeced9b 764 comm optional wvdial_1.60.4.dsc
 d85d952970d787d5f637f231bb5078a0 110919 comm optional wvdial_1.60.4.tar.gz
 a8fe50a7ef9cd6c4a7719adcf0ac3c55 174144 comm optional wvdial_1.60.4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwjXTwACgkQRdSMfNz8P9BUtwCfXeCNK+IY6SG+e6LcpXqB/s9G
wiYAniM1MHO2tlxKnjwj8CkRakKms+kL
=0IsK
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: