w3m version 0.5.3-5 FTBFS on i386 in precise

Bug #935540 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
w3m (Ubuntu)
Fix Released
High
Reinhard Tartler
Nominated for Precise by Andreas Moog

Bug Description

This is a semi-automatic report based on the latest archive rebuild results [1].
Apologies if it reaches you in error.

Excerpt from the buildlog:

main.c:1689:16: warning: variable 'pos' set but not used [-Wunused-but-set-variable]
main.c:1688:18: warning: variable 'currentLine' set but not used [-Wunused-but-set-variable]
main.c: In function 'getChar':
main.c:2276:5: warning: passing argument 1 of 'wtf_parse1' from incompatible pointer type [enabled by default]
./libwc/wtf.h:71:19: note: expected 'wc_uchar **' but argument is of type 'char **'
main.c: In function 'followA':
main.c:2976:11: warning: variable 'l' set but not used [-Wunused-but-set-variable]
main.c: In function 'followI':
main.c:3068:11: warning: variable 'l' set but not used [-Wunused-but-set-variable]
main.c: In function '_followForm':
main.c:3324:11: warning: variable 'l' set but not used [-Wunused-but-set-variable]
main.c: In function 'handleMailto':
main.c:2965:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
main.c: In function 'editScr':
main.c:2673:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
main.c: In function 'editBf':
main.c:2650:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
main.c: In function 'execsh':
main.c:2103:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/build/buildd/w3m-0.5.3'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20120203-1546
FAILED [dpkg-buildpackage died]

The full buidlog can be found at https://launchpad.net/ubuntu/+archive/test-rebuild-20120201/+build/3175182/+files/buildlog_ubuntu-precise-i386.w3m_0.5.3-5_FAILEDTOBUILD.txt.gz.

[1] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20120201-precise.html

Tags: ftbfs precise
Andreas Moog (ampelbein)
Changed in w3m (Ubuntu):
importance: Undecided → High
Changed in w3m (Ubuntu):
status: New → Confirmed
Revision history for this message
Reinhard Tartler (siretart) wrote :

The relevant part of the buildlog seems this:

gcc -Wall -g -DDEBIAN -I. -I. -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -I./libwc -I/usr/include/openssl -D_FORTIFY_SOURCE=2 -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\" -D_FORTIFY_SOURCE=2 -c -o main.o main.c
In file included from html.h:10:0,
                 from fm.h:39,
                 from main.c:3:
istream.h:23:8: error: redefinition of 'struct file_handle'
/usr/include/x86_64-linux-gnu/bits/fcntl.h:254:8: note: originally defined here

Interestingly, the package builds just fine in debian/unstable. Maybe some toolchain change?

Revision history for this message
Reinhard Tartler (siretart) wrote :

very similar symptom in bug #934977

Revision history for this message
Reinhard Tartler (siretart) wrote :

Seems to be caused by this glibc change:
http://repo.or.cz/w/glibc.git/commitdiff/158648c0bdda281e252a27c0200dd0ea6f4e0215?hp=46998f745736b3c8df5901a27b6c2a19f5cc5e98

It seems to be present in precise, but not oneiric.

summary: struct file_handle is now taken by glibc. Applications must no longer use this name.

Personal comment: That seems a very pool choice of naming for a standard library, because as demonstrated, this change has broken at least two existing applications.

Changed in w3m (Ubuntu):
assignee: nobody → Reinhard Tartler (siretart)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package w3m - 0.5.3-5ubuntu1

---------------
w3m (0.5.3-5ubuntu1) precise; urgency=low

  * Unbreak compilation with eglibc 2.14 (LP: #935540)
    - struct file_handle is now taken by glibc
 -- Reinhard Tartler <email address hidden> Sun, 19 Feb 2012 17:46:25 +0100

Changed in w3m (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.