[lfs-book] [LFS Trac] #3864: Build failure with GCC 5.2. while compile ncurses-6.0

LFS Trac trac at linuxfromscratch.org
Sun Nov 29 12:07:12 PST 2015

#3864: Build failure with GCC 5.2. while compile ncurses-6.0
 Reporter:  Leopold75  |      Owner:  lfs-book@…
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:  7.9
Component:  Book       |    Version:  SVN
 Severity:  normal     |   Keywords:  ncurses,gcc
 Linux From Scratch - Version 7.8
 Chapter 6. Installing Basic System Software

 Build failure with GCC 5.2. while compile ncurses-6.0
 I am not programmer and not sure, where is root of issue.

 But I have investigate error message and found patch there

 With patch and new source pack from site compilation completed pretty OK

 Please, look over and may be need update manual.

 | gcc -DHAVE_CONFIG_H -I. -I/tmp/buildd/ncurses-6.0/ncurses -I../include
 -I/tmp/buildd/ncurses-6.0/ncurses/../include -D_FORTIFY_SOURCE=2
 -D_FILE_OFFSET_BITS=64  -DNDEBUG -g -O2 -fstack-protector-strong -Wformat
 -Werror=format-security  --param max-inline-insns-single=1200 -fPIC -c
 ../ncurses/lib_gen.c -o ../obj_s/lib_gen.o
 | In file included from
 |                  from ../ncurses/lib_gen.c:19:
 | _6838.c:843:15: error: expected ')' before 'int'
 | ../include/curses.h:1631:56: note: in definition of macro 'mouse_trafo'
 |  #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
 |                                                         ^
 | Makefile:1861: recipe for target '../obj_s/lib_gen.o' failed
 | make[2]: *** [../obj_s/lib_gen.o] Error 1
 | make[2]: Leaving directory '/tmp/buildd/ncurses-6.0/obj/ncurses'
 | Makefile:113: recipe for target 'all' failed
 | make[1]: *** [all] Error 2
 | make[1]: Leaving directory '/tmp/buildd/ncurses-6.0/obj'
 | debian/rules:292: recipe for target 'build-normal' failed
 | make: *** [build-normal] Error 2
 | dpkg-buildpackage: error: debian/rules build gave error exit status 2

 Thank You!

Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3864>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.

More information about the lfs-book mailing list