Your message dated Sun, 06 Feb 2011 09:42:03 +0000
with message-id <[email protected]>
and subject line Bug#605761: fixed in w3m 0.5.3-1
has caused the Debian Bug report #605761,
regarding w3m: Fails to build with gcc 4.5
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.)


-- 
605761: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605761
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: w3m
Version: 0.5.2-10
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch natty

Hello,

w3m currently fails to build with gcc 4.5 due to its stricter linking
behaviour. 

gcc -I. -I. -g -O2 -I./libwc -I/usr/include/gc -I/usr/include/gc 
-DHAVE_CONFIG_H -DAUXBIN_DIR=\"/usr/lib/w3m\" 
-DCGIBIN_DIR=\"/usr/lib/w3m/cgi-bin\" -DHELP_DIR=\"/usr/share/w3m\" 
-DETC_DIR=\"/etc\" -DCONF_DIR=\"/etc/w3m\" -DRC_DIR=\"~/.w3m\" 
-DLOCALEDIR=\"/usr/share/locale\" -o w3mimgdisplay w3mimgdisplay.o 
w3mimg/w3mimg.a -Wl,-Bsymbolic-functions -lm -lbsd -lnsl -ldl -pthread 
-lgdk_pixbuf_xlib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng12 
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 
-lrt -lglib-2.0 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng12 
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 
-lrt -lglib-2.0
/usr/bin/ld.bfd.real: w3mimg/w3mimg.a(x11_w3mimg.o): undefined reference to 
symbol 'XGetWindowAttributes'
/usr/bin/ld.bfd.real: note: 'XGetWindowAttributes' is defined in DSO 
/usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation


Attached patch fixes this.

I also posted this to upstream:
https://sourceforge.net/tracker/?func=detail&aid=3126430&group_id=39518&atid=425441

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru w3m-0.5.2/debian/changelog w3m-0.5.2/debian/changelog
--- w3m-0.5.2/debian/changelog  2010-10-15 17:59:38.000000000 +0200
+++ w3m-0.5.2/debian/changelog  2010-12-03 09:45:06.000000000 +0100
@@ -1,3 +1,11 @@
+w3m (0.5.2-10ubuntu1) natty; urgency=low
+
+  * Add 040_link_gcc45.patch: Explicitly link w3mimgdisplay with -lX11 to
+    build with gcc 4.5. Forwarded to
+    
https://sourceforge.net/tracker/?func=detail&aid=3126430&group_id=39518&atid=425441
+
+ -- Martin Pitt <[email protected]>  Fri, 03 Dec 2010 09:44:07 +0100
+
 w3m (0.5.2-10) unstable; urgency=low
 
   * debian/patches/010_upstream.patch: Sync with the upstream development
diff -Nru w3m-0.5.2/debian/control w3m-0.5.2/debian/control
diff -Nru w3m-0.5.2/debian/patches/040_link_gcc45.patch 
w3m-0.5.2/debian/patches/040_link_gcc45.patch
--- w3m-0.5.2/debian/patches/040_link_gcc45.patch       1970-01-01 
01:00:00.000000000 +0100
+++ w3m-0.5.2/debian/patches/040_link_gcc45.patch       2010-12-03 
09:41:35.000000000 +0100
@@ -0,0 +1,17 @@
+Description: Explicitly link w3mimgdisplay with -lX11 to build with gcc 4.5
+Author: Martin Pitt <[email protected]>
+Bug: 
https://sourceforge.net/tracker/?func=detail&aid=3126430&group_id=39518&atid=425441
+
+Index: w3m-0.5.2/Makefile.in
+===================================================================
+--- w3m-0.5.2.orig/Makefile.in 2010-12-03 09:38:54.699796002 +0100
++++ w3m-0.5.2/Makefile.in      2010-12-03 09:40:39.739796001 +0100
+@@ -193,7 +193,7 @@
+       $(CC) $(CFLAGS) -DDUMMY -c -o $@ $?
+ 
+ $(IMGDISPLAY): w3mimgdisplay.o $(ALIB) w3mimg/w3mimg.a
+-      $(CC) $(CFLAGS) -o $(IMGDISPLAY) w3mimgdisplay.o w3mimg/w3mimg.a 
$(LDFLAGS) $(LIBS) $(IMGLDFLAGS)
++      $(CC) $(CFLAGS) -o $(IMGDISPLAY) w3mimgdisplay.o w3mimg/w3mimg.a 
$(LDFLAGS) $(LIBS) -lX11 $(IMGLDFLAGS)
+ 
+ w3mimgdisplay.o: w3mimgdisplay.c w3mimg/w3mimg.h
+       $(CC) $(CFLAGS) $(IMGCFLAGS) -o $@ -c $(srcdir)/w3mimgdisplay.c
diff -Nru w3m-0.5.2/debian/patches/series w3m-0.5.2/debian/patches/series
--- w3m-0.5.2/debian/patches/series     2010-08-21 18:26:24.000000000 +0200
+++ w3m-0.5.2/debian/patches/series     2010-12-03 09:38:50.000000000 +0100
@@ -1,3 +1,4 @@
 010_upstream.patch
 020_button.patch
 030_pager-s-option.patch
+040_link_gcc45.patch

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: w3m
Source-Version: 0.5.3-1

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

w3m-img_0.5.3-1_i386.deb
  to main/w/w3m/w3m-img_0.5.3-1_i386.deb
w3m_0.5.3-1.debian.tar.gz
  to main/w/w3m/w3m_0.5.3-1.debian.tar.gz
w3m_0.5.3-1.dsc
  to main/w/w3m/w3m_0.5.3-1.dsc
w3m_0.5.3-1_i386.deb
  to main/w/w3m/w3m_0.5.3-1_i386.deb
w3m_0.5.3.orig.tar.gz
  to main/w/w3m/w3m_0.5.3.orig.tar.gz



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.
Tatsuya Kinoshita <[email protected]> (supplier of updated w3m 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: Sun, 06 Feb 2011 16:11:06 +0900
Source: w3m
Binary: w3m w3m-img
Architecture: source i386
Version: 0.5.3-1
Distribution: unstable
Urgency: low
Maintainer: Tatsuya Kinoshita <[email protected]>
Changed-By: Tatsuya Kinoshita <[email protected]>
Description: 
 w3m        - WWW browsable pager with excellent tables/frames support
 w3m-img    - inline image extension support utilities for w3m
Closes: 605761
Changes: 
 w3m (0.5.3-1) unstable; urgency=low
 .
   * New upstream release.
   * debian/patches/010_upstream.patch: Sync with the upstream development
     snapshot on 2011-01-17, just a typo fix for ChangeLog.
   * debian/patches/040_link_gcc45.patch: Patch from 0.5.2-10ubuntu1 to
     explicitly link w3mimgdisplay with -lX11 to build with gcc 4.5,
     provided by Martin Pitt. (closes: #605761)
   * debian/patches/050_entity-h-clean.patch: Patch to remove entity.h when
     `make clean'.
   * debian/copyright: Updated.
Checksums-Sha1: 
 dd7dfa2ad43bfcd91ca6f9069734c35f8570d59b 1165 w3m_0.5.3-1.dsc
 444b6c8cf7094ee95f8e9de96b37f814b9d83237 2202328 w3m_0.5.3.orig.tar.gz
 27b5b7e24a6f689e3a14a9b410f30ffe08410389 31697 w3m_0.5.3-1.debian.tar.gz
 5d879b9e47a72986003ea568eceb8bcc91ec5210 1170244 w3m_0.5.3-1_i386.deb
 877ac1bfbe8f11fb01317744f3c2725d0ca1e4b8 110502 w3m-img_0.5.3-1_i386.deb
Checksums-Sha256: 
 38b7e1a1d932b52dcf5f3a2bc1faaf85f3cd0cb73675f33d7323823972f4b7f3 1165 
w3m_0.5.3-1.dsc
 e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3 2202328 
w3m_0.5.3.orig.tar.gz
 94c0bb86d6d690f017859ea6bc21107b4a5bde40b2fb75e9bf940110a096e798 31697 
w3m_0.5.3-1.debian.tar.gz
 4e574997a4a00ec767d572fa786a9be625bdf7029deafa77a36095a0d62b6cc7 1170244 
w3m_0.5.3-1_i386.deb
 a67f508686d54989afa2a6446d89fdbaf70f1afc111d1518d33d64ecbc17b348 110502 
w3m-img_0.5.3-1_i386.deb
Files: 
 f2ead0a83663a6a43d19136bf580cb3d 1165 web standard w3m_0.5.3-1.dsc
 1b845a983a50b8dec0169ac48479eacc 2202328 web standard w3m_0.5.3.orig.tar.gz
 03194a715464ed6919552a54d57d93de 31697 web standard w3m_0.5.3-1.debian.tar.gz
 ff817db0b1ba7e01de9fb0701fdce419 1170244 web standard w3m_0.5.3-1_i386.deb
 9ba9a0449fb98865e30dad1835ea4785 110502 web optional w3m-img_0.5.3-1_i386.deb

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

iEYEARECAAYFAk1OTEYACgkQgV4LPvpMUphFPwCgyAeIj74DNaYoKCb4m4eS8QvH
f6EAnjLf04vnQ57mNO16KOd9uHTwPxSN
=Qcb/
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to