FS#56510 - [lynx] Doesn't build

Attached to Project: Arch Linux
Opened by Luca Weiss (z3ntu) - Wednesday, 29 November 2017, 15:48 GMT
Last edited by freswa (frederik) - Monday, 07 September 2020, 20:55 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I've tried with extra-x86_64-build and it fails with

Compiling Lynx sources
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -Ichrtrans -I./chrtrans -I.. -I../src -I.././WWW/Library/Implementation -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DLINUX -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c LYebcdic.c
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -Ichrtrans -I./chrtrans -I.. -I../src -I.././WWW/Library/Implementation -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DLINUX -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c LYClean.c
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -Ichrtrans -I./chrtrans -I.. -I../src -I.././WWW/Library/Implementation -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DLINUX -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c LYShowInfo.c
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -Ichrtrans -I./chrtrans -I.. -I../src -I.././WWW/Library/Implementation -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DLINUX -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c LYEdit.c
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -Ichrtrans -I./chrtrans -I.. -I../src -I.././WWW/Library/Implementation -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DLINUX -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c LYStrings.c
LYStrings.c: In function ‘expand_tiname’:
LYStrings.c:1011:14: error: dereferencing pointer to incomplete type ‘TERMINAL {aka struct term}’
if (cur_term->type.Strings[code] != 0) {
^~
make[1]: *** [makefile:103: LYStrings.o] Error 1
make[1]: Leaving directory '/build/lynx/src/lynx2-8-8/src'
make: *** [makefile:221: all] Error 2

Additional info:
* 2.8.8-5
* config and/or log files etc.


Steps to reproduce:
check out trunk and build with extra-x86_64-build
This task depends upon

Closed by  freswa (frederik)
Monday, 07 September 2020, 20:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  lynx 2.8.9-1
Comment by Luca Weiss (z3ntu) - Wednesday, 29 November 2017, 16:08 GMT
This patch from Alpine Linux fixes the build: https://git.alpinelinux.org/cgit/aports/tree/main/lynx/ncurses.patch
It was also fixed upstream in lynx 2.8.9dev.12 (see http://lynx.invisible-island.net/current/CHANGES.html#index-v2.8.9dev.12).

Loading...