Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592178 - media-gfx/inkscape-0.91-r1: ui/clipboard.cpp: In member function ‘void Inkscape::UI::ClipboardManagerImpl::_inkscape_wait_for_targets(std::list<Glib::ustring>&): ‘ScopedPtr’ is not a member of ‘Glib’
Summary: media-gfx/inkscape-0.91-r1: ui/clipboard.cpp: In member function ‘void Inksca...
Status: RESOLVED FIXED
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: PATCH
Depends on:
Blocks:
 
Reported: 2016-08-26 09:58 UTC by Simon
Modified: 2016-11-02 16:58 UTC (History)
11 users (show)

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


Attachments
emerge info inkscape (inkscape-emerge-info.txt,8.89 KB, text/plain)
2016-08-26 10:00 UTC, Simon
Details
inkscape-build.log.tar.gz (inkscape-build.log.tar.gz,31.15 KB, application/x-gzip-compressed-tar)
2016-08-26 13:53 UTC, Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2016-08-26 09:58:34 UTC
After an upgrade of poppler I had to rebuild inkscape using @preserved-rebuild. This resulted in the following error(s):

ui/clipboard.cpp:1405:22: error: ‘ScopedPtr’ is not a member of ‘Glib’
ui/clipboard.cpp:1405:38: error: expected primary-expression before ‘char’

See attached build.log and and emerge --color=n --info '=media-gfx/inkscape-0.91-r1::gentoo'
Comment 1 Simon 2016-08-26 10:00:44 UTC
Created attachment 444176 [details]
emerge info inkscape
Comment 2 Simon 2016-08-26 10:01:39 UTC
Apparently there's an attachment size limit which doesn't allow me to attach the build log :|
Here it is though https://bpaste.net/show/96c5afb00bb5
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2016-08-26 12:15:38 UTC
Please attach the entire build log to this bug report.
Compress it if needed.
Comment 4 Simon 2016-08-26 13:53:20 UTC
Created attachment 444196 [details]
inkscape-build.log.tar.gz

build log as .tar.gz
Comment 5 Alex Xu (Hello71) 2016-08-31 13:46:28 UTC
why would you tar a single file...
Comment 6 Simon 2016-08-31 21:06:30 UTC
Bea(In reply to Alex Xu (Hello71) from comment #5)
> why would you tar a single file...

Because there's a limit on attachment size, see comment #2
If this limit can be increased to enable adding logs without compressing them that would obviously be a lot better. Should I create a new bug for that?

(Also note that it's a tar.gz, not plain tar)
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2016-09-30 17:40:20 UTC
(In reply to Simon from comment #6)

> (Also note that it's a tar.gz, not plain tar)

Second try: Why would you create a tarball containing a file for the purpose of compressing that file when you can just compress the file instead without creating a tarball containing that file?
Comment 8 Simon 2016-09-30 17:42:35 UTC
(In reply to Jeroen Roovers from comment #7)
> (In reply to Simon from comment #6)
> 
> > (Also note that it's a tar.gz, not plain tar)
> 
> Second try: Why would you create a tarball containing a file for the purpose
> of compressing that file when you can just compress the file instead without
> creating a tarball containing that file?

Can you please refrain from commenting on this bug until it's about the actual bug?
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2016-09-30 19:34:21 UTC
(In reply to Simon from comment #8)
> Can you please refrain from commenting on this bug until it's about the
> actual bug?

No.
Comment 10 Plero H 2016-10-01 12:56:18 UTC
I have also this bug.

There is a patch here, haven't tested though:
https://bugs.launchpad.net/inkscape/+bug/1567485
Comment 11 Timelord 2016-10-02 17:58:41 UTC
Same issue here. Emerging media-gfx/inkscape-0.91-r1 on another (new) OpenRC + KDE Plasma install was trouble-free two days ago... 

Here's (part of) my log:

In member function ‘[01m[Kvoid Inkscape::UI::ClipboardManagerImpl::_inkscape_wait_for_targets(std::list<Glib::ustring>&)[m[K’:
[01m[Kui/clipboard.cpp:1405:22:[m[K [01;31m[Kerror: [m[K‘[01m[KScopedPtr[m[K’ is not a member of ‘[01m[KGlib[m[K’
             target = Glib::ScopedPtr<char>(atom_name).get(); //This frees the gchar*.
[01;32m[K                      ^[m[K
[01m[Kui/clipboard.cpp:1405:22:[m[K [01;36m[Knote: [m[Ksuggested alternative:
In file included from [01m[K/usr/include/gdkmm-2.4/gdkmm/region.h:67:0[m[K,
                 from [01m[K/usr/include/gdkmm-2.4/gdkmm/screen.h:33[m[K,
                 from [01m[K/usr/include/gdkmm-2.4/gdkmm/display.h:31[m[K,
                 from [01m[K/usr/include/gtkmm-2.4/gtkmm/clipboard.h:31[m[K,
                 from [01m[Kui/clipboard.cpp:24[m[K:
[01m[K/usr/include/gdkmm-2.4/gdkmm/types.h:371:7:[m[K [01;36m[Knote: [m[K  ‘[01m[KGdk::ScopedPtr[m[K’
 class ScopedPtr
[01;32m[K       ^[m[K
[01m[Kui/clipboard.cpp:1405:38:[m[K [01;31m[Kerror: [m[Kexpected primary-expression before ‘[01m[Kchar[m[K’
             target = Glib::ScopedPtr<char>(atom_name).get(); //This frees the gchar*.
[01;32m[K                                      ^[m[K
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I../cxxtest -I./extension/dbus -I/usr/include/libexif  -I/usr/include/freetype2      -I/usr/include/libcdr-0.1 -I/usr/include/librevenge-0.0  -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -I/usr/include/poppler  -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16  -DPOTRACE=\"potrace\" -pthread -I/usr/include/gtkspell-2.0 -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/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/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2  -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/libdrm -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include    -DG_DISABLE_DEPRECATED -DGLIBMM_DISABLE_DEPRECATED -DGDKMM_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGTKMM_DISABLE_DEPRECATED -Werror=format-security -Wswitch -Werror=return-type -DGSEAL_ENABLE -DG_DISABLE_SINGLE_INCLUDES -Wall -Wformat -Wformat-security   -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -march=native -O2 -pipe -fno-strict-aliasing -std=c++11 -fopenmp -c -o ui/dialog/calligraphic-profile-rename.o ui/dialog/calligraphic-profile-rename.cpp
Makefile:8055: recipe for target 'ui/clipboard.o' failed
make[3]: *** [ui/clipboard.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/var/tmp/portage/media-gfx/inkscape-0.91-r1/work/inkscape-0.91/src'
Makefile:5059: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-gfx/inkscape-0.91-r1/work/inkscape-0.91/src'
Makefile:1411: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-gfx/inkscape-0.91-r1/work/inkscape-0.91'
Makefile:1107: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-gfx/inkscape-0.91-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/inkscape-0.91-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/inkscape-0.91-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/inkscape-0.91-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/inkscape-0.91-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/inkscape-0.91-r1/work/inkscape-0.91'
 * S: '/var/tmp/portage/media-gfx/inkscape-0.91-r1/work/inkscape-0.91'
Comment 12 Alexander Miller 2016-10-03 00:24:14 UTC
This bug has been fixed in media-gfx/inkscape-0.91-r3, which is in portage for over three months now. Can you please stabilize that revision *now*?

Note that recent stabilizations will trigger failing inkscape rebuilds for stable users (imagemagick->rebuild; glibmm-2.48.1->error). This bug might get quite a bit of attention now...
Comment 13 Timelord 2016-10-05 12:27:18 UTC
(In reply to Alexander Miller from comment #12)
> This bug has been fixed in media-gfx/inkscape-0.91-r3, which is in portage
> for over three months now. Can you please stabilize that revision *now*?
> 
> Note that recent stabilizations will trigger failing inkscape rebuilds for
> stable users (imagemagick->rebuild; glibmm-2.48.1->error). This bug might
> get quite a bit of attention now...

Indeed, the issue is already present for stable users (like myself) upon emerging kde-apps-meta, for example... So I had to resort to 0.91-r3...
Comment 14 Israel G. Lugo 2016-10-12 00:57:59 UTC
(In reply to Timelord from comment #13)
> (In reply to Alexander Miller from comment #12)
> > This bug has been fixed in media-gfx/inkscape-0.91-r3, which is in portage
> > for over three months now. Can you please stabilize that revision *now*?
> > 
> > Note that recent stabilizations will trigger failing inkscape rebuilds for
> > stable users (imagemagick->rebuild; glibmm-2.48.1->error). This bug might
> > get quite a bit of attention now...
> 
> Indeed, the issue is already present for stable users (like myself) upon
> emerging kde-apps-meta, for example... So I had to resort to 0.91-r3...

I have created bug 596914 to request stabilization.
Comment 15 Michael Palimaka (kensington) gentoo-dev 2016-11-02 16:58:46 UTC
This is fixed in -r3 which is undergoing stabilisation.