Your message dated Tue, 02 Oct 2012 20:47:33 +0000 with message-id <[email protected]> and subject line Bug#689325: fixed in arduino 1:1.0.1+dfsg-7 has caused the Debian Bug report #689325, regarding arduino: Ethernet Library Dns getHostByName doesn't work 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 [email protected] immediately.) -- 689325: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689325 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: arduino Version: 1:1.0.1+dfsg-6 Severity: important Dear Maintainer, I was tring to compile a simple code to make a translation from the hostname to an IP address using the Arduino IDE (and libraries) included in debian sid: #include <SPI.h> #include <Ethernet.h> #include <Dns.h> byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; EthernetClient client; char server[] = "www.arduino.cc"; int serverport = 80; void setup() { // start serial port: Serial.begin(115200); // give the ethernet module time to boot up: delay(1000); // start the Ethernet connection using a fixed IP address and DNS server: //Ethernet.begin(mac, ip, ipdns, ipgw, mask); Ethernet.begin(mac); // print the Ethernet board/shield's IP address: Serial.print("My IP address: "); Serial.println(Ethernet.localIP()); } void loop() { DNSClient dns; // OPENDNS IPAddress dns_ip(208, 67, 222, 222); IPAddress out_ip; dns.begin(dns_ip); dns.getHostByName(server, out_ip); Serial.println(out_ip); delay(5000); } It doesn't make the dns lookup due to a problem with the IPAddress class. Tring to understand more I noticed that it isn't a problem with the Ethernet library but a problem that is only present in the debian packaged. In fact I asked on the arduino forum ( http://arduino.cc/forum/index.php/topic,125140.msg941018.html ) and I found that using the Arduino Ide from the official web site there isn't any problem. After I looked into the libraries code and I noticed a lot of differences between the official 1.0.1 library version and the debian package one. I found that you have put inside the code a patch so solve a compilation problem and I guess these code lines led to this code problem. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (700, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages arduino depends on: ii arduino-core 1:1.0.1+dfsg-6 ii default-jre [java6-runtime] 1:1.6-47 ii libjna-java 3.2.7-4 ii librxtx-java 2.2pre2-11 ii openjdk-6-jre [java6-runtime] 6b24-1.11.4-3 Versions of packages arduino recommends: ii extra-xdg-menus 1.0-4 ii policykit-1 0.105-1 arduino suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: arduino Source-Version: 1:1.0.1+dfsg-7 We believe that the bug you reported is fixed in the latest version of arduino, which is due to be installed in the Debian FTP archive. 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Scott Howard <[email protected]> (supplier of updated arduino 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Tue, 02 Oct 2012 15:19:56 -0400 Source: arduino Binary: arduino arduino-core Architecture: source all Version: 1:1.0.1+dfsg-7 Distribution: unstable Urgency: low Maintainer: Scott Howard <[email protected]> Changed-By: Scott Howard <[email protected]> Description: arduino - AVR development board IDE and built-in libraries arduino-core - Code, examples, and libraries for the Arduino platform Closes: 689325 Changes: arduino (1:1.0.1+dfsg-7) unstable; urgency=low . * Fixed another gcc 4.7 related bug in Ethernet library due to IPAddress pointing to either a uint8_t or unint32_t IP address (Closes: #689325) Thanks to Francesco Apollonio Checksums-Sha1: 9259a347ddf9bd08bf9d5ff43fb26acc08e0ee88 1370 arduino_1.0.1+dfsg-7.dsc 00d2a0b937643829d4ac2d6796eb444d4a2a82ff 87853 arduino_1.0.1+dfsg-7.debian.tar.gz 540f07f9a8fd51139e28aebad8beade339d62820 1123728 arduino_1.0.1+dfsg-7_all.deb ff3b7b6737f8b4b9ec5981aa84020d8cee9859e7 717668 arduino-core_1.0.1+dfsg-7_all.deb Checksums-Sha256: c21f0075be561a58fe51582d2b0c41ff46626af7888a0eecb98997f9dfcd32ed 1370 arduino_1.0.1+dfsg-7.dsc 11a976b719f00475d070bffff1e881aa164d4ec9e794cec98627aa78605900aa 87853 arduino_1.0.1+dfsg-7.debian.tar.gz a007e610604d3eaf297e4519427d2fc42fef098a58eab5122faf20c02405a06a 1123728 arduino_1.0.1+dfsg-7_all.deb 1a13c9cfefcc525df6799cb4db605fd1aa25ee327a94cb5e7e5ba31c3001beac 717668 arduino-core_1.0.1+dfsg-7_all.deb Files: 7f54d8054fd13453d132637d202d8b19 1370 electronics extra arduino_1.0.1+dfsg-7.dsc f94d034e199500336bb99d9d2ad65be3 87853 electronics extra arduino_1.0.1+dfsg-7.debian.tar.gz fc59307fdef5add00b25d230d5534076 1123728 electronics extra arduino_1.0.1+dfsg-7_all.deb 64da2a50fde30e5b532df3cca8d7c6f5 717668 electronics extra arduino-core_1.0.1+dfsg-7_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAlBrRwAACgkQuqVp0MvxKmoZuQCg1egBIZfncKqfX3IosWXhbtHb GUAAoK5iQ7mPShqSxtUMbC5nopSvpr27 =tDJC -----END PGP SIGNATURE-----
--- End Message ---

