Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#44657 closed defect (fixed)

inkscape-devel 0.48.99.13488_0 install fail

Reported by: Dmole (Tim) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: su-v, fleason (Fred Leason), dgonyier (Dwaine Gonyier)
Port: inkscape-devel

Description

unable to install inkscape or inkscape-devel after clean

grep Error main.log 
:info:build make[3]: *** [object-snapper.o] Error 1
:info:build make[2]: *** [all] Error 2
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:debug:build Error code: CHILDSTATUS 40780 2

Attachments (2)

main.log (486.2 KB) - added by Dmole (Tim) 10 years ago.
build-bzr-13520.log (392.7 KB) - added by dbevans (David B. Evans) 10 years ago.
Build log for bzr 13520 showing error

Download all attachments as: .zip

Change History (12)

Changed 10 years ago by Dmole (Tim)

Attachment: main.log added

comment:1 Changed 10 years ago by su-v

Cc: suv-sf@… added

Cc Me!

comment:2 Changed 10 years ago by dbevans (David B. Evans)

Milestone: MacPorts Future
Owner: changed from macports-tickets@… to devans@…
Port: inkscape-devel added; inkscape removed
Status: newassigned

Please CC port maintainer as well for faster response. Milestone is for use by MacPorts team members only. Thanks.

comment:3 Changed 10 years ago by su-v

Upstream bug report filed for Inkscape: Bug #1357411 “build failure with boost 1.56 and C++11”

comment:4 Changed 10 years ago by dbevans (David B. Evans)

Thanks for handling this upstream. I've confirmed that the problem persists in current bzr 13520. For the record, detailed error report from the log file is

	/usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..  -I../cxxtest -I./extension/dbus -I/opt/local/include  -I/opt/local/include/freetype2   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/opt/local/include/ImageMagick-6  -I/opt/local/include/libwpg-0.2 -I/opt/local/include/libwpd-0.9  -I/opt/local/include/libvisio-0.0 -I/opt/local/include/libwpg-0.2 -I/opt/local/include/libwpd-0.9  -I/opt/local/include/libcdr-0.0 -I/opt/local/include/libwpg-0.2 -I/opt/local/include/libwpd-0.9  -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include    -I/opt/local/include  -I/opt/local/include/poppler  -D_REENTRANT -I/opt/local/include/poppler/glib -I/opt/local/include/poppler -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include  -DPOTRACE=\"potrace\" -D_REENTRANT -I/opt/local/include/gtkspell-2.0 -I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include -I/opt/local/include/atkmm-1.6 -I/opt/local/include/gtk-unix-print-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include -I/opt/local/include/giomm-2.4 -I/opt/local/lib/giomm-2.4/include -I/opt/local/include/pangomm-1.4 -I/opt/local/lib/pangomm-1.4/include -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/cairomm-1.0 -I/opt/local/lib/cairomm-1.0/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2  -D_REENTRANT -I/opt/local/include -I/opt/local/include/cairomm-1.0 -I/opt/local/lib/cairomm-1.0/include -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/giomm-2.4 -I/opt/local/lib/giomm-2.4/include -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include   -I/opt/local/include  -Werror=format-security -Wswitch -Werror=return-type -DGSEAL_ENABLE -DG_DISABLE_SINGLE_INCLUDES -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/var/macports/build/_Users_devans_macports_dports_graphics_inkscape-devel/inkscape-devel/work/inkscape/src/extension/script  -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -pipe -Os -std=c++11 -arch x86_64 -stdlib=libc++ -MT persp3d.o -MD -MP -MF $depbase.Tpo -c -o persp3d.o persp3d.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
object-snapper.cpp:680:34: error: no matching constructor for initialization of 'Inkscape::SnappedPoint'
                SnappedPoint s = SnappedPoint(*p_inters, p.getSourceType(), p.getSourceNum(), k->target_type, dist, getSnapperTolerance(), getSnapperAlwaysSnap(), true, k->target_bbox);;
                                 ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./snapped-point.h:31:5: note: candidate constructor not viable: no known conversion from 'const Geom::OptRect' to 'const bool' for 9th argument
    SnappedPoint(Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &constrained_snap, bool const &fully_constrained, Geom::OptRect target_bbox = Geom::OptRect());
    ^
./snapped-point.h:28:5: note: candidate constructor not viable: requires 0 arguments, but 9 were provided
    SnappedPoint();
    ^
./snapped-point.h:29:5: note: candidate constructor not viable: requires single argument 'p', but 9 arguments were provided
    SnappedPoint(Geom::Point const &p);
    ^
./snapped-point.h:30:5: note: candidate constructor not viable: requires 13 arguments, but 9 were provided
    SnappedPoint(Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &at_intersection, bool const &constrained_snap, bool const &fully_constrained, Geom::Coord const &d2, Geom::Coord const &t2, bool const &a2);
    ^
./snapped-point.h:32:5: note: candidate constructor not viable: requires 7 arguments, but 9 were provided
    SnappedPoint(SnapCandidatePoint const &p, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &constrained_snap, bool const &fully_constrained);
    ^
./snapped-point.h:24:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 9 were provided
class SnappedPoint
      ^

Changed 10 years ago by dbevans (David B. Evans)

Attachment: build-bzr-13520.log added

Build log for bzr 13520 showing error

comment:5 Changed 10 years ago by dbevans (David B. Evans)

Build log for bzr 13520 attached. Note that this is a Mavericks (OS X 10.9.4) build using -std=c++11 -stdlib=libc++. Retesting on ML now.

comment:6 Changed 10 years ago by fleason (Fred Leason)

Cc: fleason@… added

Cc Me!

comment:7 Changed 10 years ago by dbevans (David B. Evans)

Same failure exhibited on Mountain Lion (OS X 10.8.5) using -std=c++11 and -stdlib=libstdc++.

comment:8 Changed 10 years ago by dgonyier (Dwaine Gonyier)

Cc: dgonyier@… added

Cc Me!

comment:9 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Update and build fix based on proposed upstream patch committed in r124160.

comment:10 Changed 10 years ago by Dmole (Tim)

Thanks ("sudo port install inkscape-devel" works now)

Note: See TracTickets for help on using tickets.