FS#44613 - [w3m] fails to build

Attached to Project: Arch Linux
Opened by Maurizio D'Addona (mauritiusdadd) - Thursday, 16 April 2015, 12:32 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 18 April 2015, 04:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The package w3m from official [extra] repo fails to build with the following error

make[1]: Leaving directory '/home/pong/absw3m/src/w3m-0.5.3/w3mimg'
gcc -I. -I. -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I./libwc -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=\"/usr/etc\" -DCONF_DIR=\"/usr/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/usr/share/locale\" -o w3mimgdisplay w3mimgdisplay.o w3mimg/w3mimg.a -Wl,-O1,--sort-common,--as-needed,-z,relro -lm -lnsl -ldl -L/usr/lib -lImlib2 -L/usr/lib -lImlib2
/usr/bin/ld: w3mimg/w3mimg.a(x11_w3mimg.o): undefined reference to symbol 'XGetImage'
/usr/lib/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:202: recipe for target 'w3mimgdisplay' failed
make: *** [w3mimgdisplay] Error 1
==> ERROR: A failure occurred in build().
Aborting...


Additional info:
* see this thread: https://bbs.archlinux.org/viewtopic.php?pid=1520399#p1520399
* I attached a patch for the current PKGBUILD

Steps to reproduce:

1) download the PKGBUILD with ABS
2) run makepkg
This task depends upon

Closed by  Gaetan Bisson (vesath)
Saturday, 18 April 2015, 04:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  w3m-0.5.3-7 in [extra]
Comment by Gaetan Bisson (vesath) - Thursday, 16 April 2015, 16:14 GMT
Thanks for noticing.

The --disable-mouse option is still required, though; removing it would bring additional dependencies that you probably did not notice if you built outside of a clean chroot.
Comment by Maurizio D'Addona (mauritiusdadd) - Friday, 17 April 2015, 17:37 GMT
  • Field changed: Percent Complete (100% → 0%)
It seems that using X11 instead of x11 disables the inline image displaying (see https://bbs.archlinux.org/viewtopic.php?pid=1520772#p1520772).

Loading...