Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638974 - dev-util/emilpro-3-r3 - In file included from .../work/emilpro-3/src/bfd-disassembly.cc:8:0: /usr/include/dis-asm.h:298:41: error: ‘strchr’ was not declared in this scope
Summary: dev-util/emilpro-3-r3 - In file included from .../work/emilpro-3/src/bfd-disa...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-27 13:54 UTC by Fabio Rossi
Modified: 2021-09-10 05:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emilpro-3-r3:20171127-133353.log.gz (emilpro-3-r3:20171127-133353.log.gz,14.17 KB, application/gzip)
2017-11-27 13:54 UTC, Fabio Rossi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2017-11-27 13:54:32 UTC
Created attachment 506818 [details]
emilpro-3-r3:20171127-133353.log.gz

There are two separate problems:

[ 27%] Building CXX object CMakeFiles/tools/squash-instruction-models.dir/src/instructionfactory.cc.o
/usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/dev-util/emilpro-3-r3/work/emilpro-3/src/gtk/include -I/var/tmp/portage/dev-util/emilpro-3-r3/work/emi
lpro-3/src/include -I/var/tmp/portage/dev-util/emilpro-3-r3/work/emilpro-3_build -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atk
mm-1.6 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I
/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/a
t-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/incl
ude/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pixman-1 -I/usr/inc
lude/freetype2 -I/usr/include/libdrm -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr
/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtksourceviewmm-3.0 -I/usr/lib64/gtksourceviewmm-3.0/include -I/usr/include/gtksourceview-3.
0 -I/usr/include/libxml2 -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include   -DNDEBUG -march=core2 -O2 -pipe -ggdb -std=c++0x -Wall -D_GLIBCXX_
USE_NANOSLEEP -DPACKAGE=emilpro -DPACKAGE_VERSION=1 -pthread   -o CMakeFiles/tools/squash-instruction-models.dir/src/instructionfactory.cc.o -c /var/tmp/po
rtage/dev-util/emilpro-3-r3/work/emilpro-3/src/instructionfactory.cc
In file included from /var/tmp/portage/dev-util/emilpro-3-r3/work/emilpro-3/src/bfd-disassembly.cc:8:0:
/usr/include/dis-asm.h: In function ‘const char* next_disassembler_option(const char*)’:
/usr/include/dis-asm.h:298:41: error: ‘strchr’ was not declared in this scope
   const char *opt = strchr (options, ',');

and

/var/tmp/portage/dev-util/emilpro-3-r3/work/emilpro-3/src/bfd-disassembly.cc: In constructor ‘Disassembly::Disassembly()’:
/var/tmp/portage/dev-util/emilpro-3-r3/work/emilpro-3/src/bfd-disassembly.cc:33:73: error: ‘print_insn_i386’ was not declared in this scope
      m_arch[bfd_arch_i386] = BfdArch(bfd_arch_i386, bfd_mach_i386_i386, print_insn_i386);
                                                                         ^
... and many other missing symbols

Please see the attached file for the full compilation log.

The first problem is already solved upstream https://github.com/SimonKagstrom/emilpro/commit/b6f284ee1571011ae87243e667386f31571b794e

For the second there is still an open issue https://github.com/SimonKagstrom/emilpro/issues/55 but there is a possible solution in the pentoo-overlay at https://github.com/pentoo/pentoo-overlay/commit/54b62be155862d69f4b1b228833c73c8ffd7b8d2
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-02 20:56:59 UTC
It fails just the same with binutils-2.26.1.