Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655274 - media-gfx/inkscape-0.92.3 with gcc-8.1.0: configure: error: cannot detect whether C++11 is required
Summary: media-gfx/inkscape-0.92.3 with gcc-8.1.0: configure: error: cannot detect whe...
Status: RESOLVED DUPLICATE of bug 654776
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-08 15:34 UTC by Hendrik v. Raven
Modified: 2019-02-23 17:17 UTC (History)
1 user (show)

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


Attachments
build log (1525793241-install-media-gfx_inkscape-0.92.3:0::gentoo.out,31.27 KB, text/plain)
2018-05-08 15:34 UTC, Hendrik v. Raven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik v. Raven 2018-05-08 15:34:28 UTC
Created attachment 530430 [details]
build log

Configure fails for latest inkscape when using gcc-8.1.0 with:
checking whether C++11 mode is required... unknown
configure: error: cannot detect whether C++11 is required

this does not happen with gcc-7.3.0
Comment 1 cyrillic 2018-05-09 02:35:47 UTC
sys-devel/gcc-8.1.0-r2
media-gfx/inkscape-0.92.3

I am actually getting this error:

>>> Unpacking inkscape-0.92.3.tar.bz2 to /tmp/portage/media-gfx/inkscape-0.92.3/work
>>> Unpacking inkscape-0.92.1-poppler.patch to /tmp/portage/media-gfx/inkscape-0.92.3/work
unpack inkscape-0.92.1-poppler.patch: file format not recognized. Ignoring.
>>> Source unpacked in /tmp/portage/media-gfx/inkscape-0.92.3/work

but in spite of that, inkscape compiles and installs fine for me.
Comment 2 Dominic Jänichen 2018-05-09 13:23:33 UTC
That's a problem with glibmm.

from config.log with stable dev-cpp/glibmm-2.25.1:

configure:23465: checking whether C++11 mode is required
configure:23477: x86_64-pc-linux-gnu-g++ -c -pthread -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbu$
In file included from /usr/include/glibmm-2.4/glibmm.h:90,
                 from conftest.cpp:53:
/usr/include/glibmm-2.4/glibmm/threads.h: In member function 'GPrivate* Glib::Threads::Private<T>::gobj()':
/usr/include/glibmm-2.4/glibmm/threads.h:660:29: error: cannot convert 'GPrivate' {aka '_GPrivate'} to 'GPrivate*' {aka '_GPrivate*'} in return
   GPrivate* gobj() { return gobject_; }
                             ^~~~~~~~
configure:23477: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "inkscape"
| #define PACKAGE_TARNAME "inkscape"
| #define VERSION "0.92.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define GETTEXT_PACKAGE "inkscape"
| #define HAVE_OPENMP 1
| #define HAVE_POTRACE 1
| #define HAVE_EXIF 1
| #define HAVE_JPEG 1
| #define HAVE_MALLOC_H 1
| #define HAVE_MALLINFO 1
| #define HAVE_STRUCT_MALLINFO_USMBLKS 1
| #define HAVE_STRUCT_MALLINFO_FSMBLKS 1
| #define HAVE_STRUCT_MALLINFO_UORDBLKS 1
| #define HAVE_STRUCT_MALLINFO_FORDBLKS 1
| #define HAVE_STRUCT_MALLINFO_HBLKHD 1
| #define WITH_GNOME_VFS 1
| #define HAVE_LIBLCMS2 1
| #define HAVE_POPPLER 1
| #define HAVE_POPPLER_CAIRO 1
| #define HAVE_POPPLER_GLIB 1
| #define POPPLER_EVEN_NEWER_COLOR_SPACE_API 1
| #define POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API 1
| #define POPPLER_NEW_OBJECT_API 1
| #define WITH_LIBVISIO01 1
| #define WITH_LIBVISIO 1
| #define WITH_LIBCDR01 1
| #define WITH_LIBCDR 1
| #define WITH_DBUS 1
| /* end confdefs.h.  */
|
|   #include <glibmm.h>
|   int main() {}
|
Comment 3 Dominic Jänichen 2018-05-09 13:27:36 UTC
Duplicate of https://bugs.gentoo.org/654776
Comment 4 Hendrik v. Raven 2018-05-12 08:14:11 UTC
Looking at the config.log Dominic is right. Thanks for pointing out.

*** This bug has been marked as a duplicate of bug 654776 ***