On 7/9/14, 9:31 AM, Dominique Dhumieres wrote:
> Updating to inkscape-0.48.4-14 failed on
>
> Package manager version: 0.37.0
> Distribution version: selfupdate-rsync Wed Jul  9 18:19:28 2014, 10.9, x86_64
> Trees: local/main stable/main
> Xcode.app: 5.1.1
> Xcode command-line tools: 5.1.0.0.1.1396320587
> Max. Fink build jobs:  8
>
> with
>
> ...
> g++ -DHAVE_CONFIG_H -I. -I.. -I../cxxtest -I./bind/javainc 
> -I./bind/javainc/linux   -I/sw64/include/freetype2 -I/sw64/include  
> -I/sw64/include/gnome-vfs-2.0 -I/sw64/lib/gnome-vfs2.16/gnome-vfs-2.0/include 
> -I/sw64/include/gconf/2 -I/sw64/include/glib-2.0 -I/sw64/lib/glib-2.0/include 
> -I/sw64/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=1 
> -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=1 
> -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=1 
> -DMAGICKCORE_QUANTUM_DEPTH=16  -I/sw64/include/libwpg-0.2 
> -I/sw64/include/libwpd-0.9  -I/sw64/include  -I/sw64/include/poppler  
> -I/sw64/include/poppler/glib -I/sw64/include/glib-2.0 
> -I/sw64/lib/glib-2.0/include -I/sw64/include/cairo -I/sw64/include 
> -I/sw64/include/freetype2 -I/sw64/include -I/opt/X11/include 
> -DPOTRACE=\"potrace\" -I/sw64/include/gtkmm-2.4 -I/sw64/lib/gtkmm-2.4/include 
> -I/sw64/include/gtk-unix-print-2.0 -I/sw64/include/gtk-2.0 
> -I/sw64/include/atkmm-1.6 -I/sw64/include/gdkmm-2.4 
> -I/sw64/lib/gdkmm-2.4/include -I/sw64/inclu
 d
e/giomm-2.4 -I/sw64/lib/giomm-2.4/include -I/sw64/include/pangomm-1.4 
-I/sw64/lib/pangomm-1.4/include -I/sw64/include/glibmm-2.4 
-I/sw64/lib/glibmm-2.4/include -I/sw64/include/cairomm-1.0 
-I/sw64/lib/cairomm-1.0/include -I/sw64/include -I/sw64/include/libxml2 
-I/sw64/include -I/sw64/include/sigc++-2.0 -I/sw64/lib/sigc++-2.0/include 
-I/sw64/include/gtkspell-2.0 -I/sw64/include/gtk-2.0 
-I/sw64/lib/gtk-2.0/include -I/sw64/include/gtk-2.0 -I/sw64/include/pango-1.0 
-I/sw64/include/atk-1.0 -I/sw64/include/cairo -I/sw64/include/pango-1.0 
-I/sw64/include/freetype2 -I/sw64/include -I/sw64/include/glib-2.0 
-I/sw64/lib/glib-2.0/include -I/sw64/include/libpng16 -I/sw64/include 
-I/opt/X11/include -I/usr/X11R6/include    -Werror=format-security -Wall 
-Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 
-I/sw64/opt/boost-1_55/include -I/sw64/include  -Wpointer-arith -Wcast-align 
-Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter  -std=c++11 
-g -O2 -MT conn-avoid-ref.o -MD -MP -MF $depb
 a
se.Tpo -c -o conn-avoid-ref.o conn-avoid-ref.cpp &&\
> mv -f $depbase.Tpo $depbase.Po
> In file included from box3d.cpp:24:
> In file included from ./box3d-side.h:15:
> In file included from ./sp-polygon.h:16:
> ./sp-shape.h:33:1: warning: struct 'SPDesktop' was previously declared as a 
> class [-Wmismatched-tags]
> struct SPDesktop;
> ^
> ./forward.h:27:7: note: previous use is here
> class SPDesktop;
>        ^
> In file included from box3d.cpp:24:
> In file included from ./box3d-side.h:15:
> In file included from ./sp-polygon.h:16:
> ./sp-shape.h:35:1: warning: 'SPShape' defined as a struct here but previously 
> declared as a class [-Wmismatched-tags]
> struct SPShape : public SPLPEItem {
> ^
> ./forward.h:102:1: note: did you mean struct here?
> class SPShape;
> ^~~~~
> struct
> In file included from box3d.cpp:24:
> In file included from ./box3d-side.h:15:
> In file included from ./sp-polygon.h:16:
> ./sp-shape.h:43:1: warning: 'SPShapeClass' defined as a struct here but 
> previously declared as a class [-Wmismatched-tags]
> struct SPShapeClass {
> ^
> ./forward.h:103:1: note: did you mean struct here?
> class SPShapeClass;
> ^~~~~
> struct
> In file included from box3d.cpp:24:
> ...
> In file included from conditions.cpp:20:
> In file included from ./conditions.h:4:
> In file included from ./sp-item.h:25:
> In file included from ./libnr/nr-rect.h:28:
> In file included from ./2geom/rect.h:40:
> In file included from ./2geom/d2.h:36:
> ./2geom/interval.h:241:43: error: invalid operands to binary expression 
> ('Geom::OptInterval' and 'int')
>      inline bool isEmpty() { return (*this == false); };
>                                      ~~~~~ ^  ~~~~~
> /sw64/opt/boost-1_55/include/boost/optional/optional.hpp:859:6: note: 
> candidate function [with T = Geom::Interval] not viable: no known conversion
>        from 'bool' to 'none_t' (aka 'int boost::detail::none_helper::*') for 
> 2nd argument
> bool operator == ( optional<T> const& x, none_t )
>       ^
> ./2geom/point.h:158:13: note: candidate function not viable: no known 
> conversion from 'Geom::OptInterval' to 'const Geom::Point' for 1st argument
> inline bool operator==(Point const &a, Point const &b) {
>              ^
> ./2geom/matrix.h:142:13: note: candidate function not viable: no known 
> conversion from 'Geom::OptInterval' to 'const Geom::Matrix' for 1st argument
> inline bool operator==(Matrix const &a, Matrix const &b) {
>              ^
> /sw64/opt/boost-1_55/include/boost/optional/optional.hpp:790:6: note: 
> candidate template ignored: deduced conflicting types for parameter 'T'
>        ('Geom::Interval' vs. 'bool')
> bool operator == ( optional<T> const& x, T const& y )
>       ^
> /sw64/opt/boost-1_55/include/boost/optional/optional.hpp:756:6: note: 
> candidate template ignored: could not match 'optional<type-parameter-0-0>'
>        against 'bool'
> bool operator == ( optional<T> const& x, optional<T> const& y )
>       ^
> /sw64/opt/boost-1_55/include/boost/optional/optional.hpp:824:6: note: 
> candidate template ignored: could not match 'optional<type-parameter-0-0>'
>        against 'bool'
> bool operator == ( T const& x, optional<T> const& y )
>       ^
> /sw64/opt/boost-1_55/include/boost/optional/optional.hpp:893:6: note: 
> candidate template ignored: could not match 'optional<type-parameter-0-0>'
>        against 'bool'
> bool operator == ( none_t , optional<T> const& y )
>       ^
> In file included from box3d.cpp:36:
> ...
> ./forward.h:161:7: note: previous use is here
> class SPStyle;
>        ^
> 46 warnings and 2 errors generated.
> In file included from box3d.cpp:36:
> In file included from ./sp-namedview.h:25:
> ./snap.h:34:1: warning: class 'SPNamedView' was previously declared as a 
> struct [-Wmismatched-tags]
> class SPNamedView;
> ^
> ./object-snapper.h:22:8: note: previous use is here
> struct SPNamedView;
>         ^
> make[2]: *** [box3d-side.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> In file included from box3d.cpp:36:
> ...
> In file included from ./2geom/rect.h:40:
> In file included from ./2geom/d2.h:429:
> ./2geom/rect.h:218:49: error: invalid operands to binary expression ('const 
> Geom::OptRect' and 'int')
>      inline bool isEmpty() const { return (*this == false); };
>                                            ~~~~~ ^  ~~~~~
> /sw64/opt/boost-1_55/include/boost/optional/optional.hpp:859:6: note: 
> candidate function [with T = Geom::D2<Geom::Interval>] not viable: no known
>        conversion from 'bool' to 'none_t' (aka 'int 
> boost::detail::none_helper::*') for 2nd argument
> bool operator == ( optional<T> const& x, none_t )
>       ^
> ./2geom/linear.h:133:13: note: candidate function not viable: no known 
> conversion from 'const Geom::OptRect' to 'const Geom::Linear' for 1st argument
> inline bool operator==(Linear const & a, Linear const & b) {
>              ^
> ./2geom/point.h:158:13: note: candidate function not viable: no known 
> conversion from 'const Geom::OptRect' to 'const Geom::Point' for 1st argument
> inline bool operator==(Point const &a, Point const &b) {
>              ^
> ./2geom/matrix.h:142:13: note: candidate function not viable: no known 
> conversion from 'const Geom::OptRect' to 'const Geom::Matrix' for 1st argument
> inline bool operator==(Matrix const &a, Matrix const &b) {
>              ^
> /sw64/opt/boost-1_55/include/boost/optional/optional.hpp:790:6: note: 
> candidate template ignored: deduced conflicting types for parameter 'T'
>        ('Geom::D2<Geom::Interval>' vs. 'bool')
> bool operator == ( optional<T> const& x, T const& y )
>       ^
> /sw64/opt/boost-1_55/include/boost/optional/optional.hpp:756:6: note: 
> candidate template ignored: could not match 'optional<type-parameter-0-0>'
>        against 'bool'
> bool operator == ( optional<T> const& x, optional<T> const& y )
>       ^
> /sw64/opt/boost-1_55/include/boost/optional/optional.hpp:824:6: note: 
> candidate template ignored: could not match 'optional<type-parameter-0-0>'
>        against 'bool'
> bool operator == ( T const& x, optional<T> const& y )
>       ^
> /sw64/opt/boost-1_55/include/boost/optional/optional.hpp:893:6: note: 
> candidate template ignored: could not match 'optional<type-parameter-0-0>'
>        against 'bool'
> bool operator == ( none_t , optional<T> const& y )
>       ^
> ./2geom/d2.h:136:1: note: candidate template ignored: could not match 
> 'D2<type-parameter-0-0>' against 'const Geom::OptRect'
> operator==(D2<T> const &a, D2<T> const &b) {
> ^
> ...
> In file included from conn-avoid-ref.cpp:38:
> ./inkscape.h:23:5: warning: struct 'Application' was previously declared as a 
> class [-Wmismatched-tags]
>      struct Application;
>      ^
> ./desktop.h:62:9: note: previous use is here
>    class Application;
>          ^
> 42 warnings and 2 errors generated.
> make[2]: *** [conn-avoid-ref.o] Error 1
> make[2]: Leaving directory 
> `/sw64/src/fink.build/inkscape-0.48.4-14/inkscape-0.48.4/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/sw64/src/fink.build/inkscape-0.48.4-14/inkscape-0.48.4'
> make: *** [all] Error 2
> ### execution of /tmp/fink.IlaRp failed, exit code 2
> ### execution of /tmp/fink.plOzy failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw64/bin/dpkg-lockwait -r fink-buildlock-inkscape-0.48.4-14
> (Reading database ... 339331 files and directories currently installed.)
> Removing fink-buildlock-inkscape-0.48.4-14 ...
> Failed: phase compiling: inkscape-0.48.4-14 failed
>
> TIA
>
> Dominique
>

This just got updated 0.48.5, but that fails differently:

color-profile.cpp:851:27: error: use of undeclared identifier 'read'
             ssize_t got = read(fd, scratch, len);
                           ^
color-profile.cpp:859:13: error: use of undeclared identifier 'close'
             close(fd);

I believe this will only occur on 10.9 (and later) and is due to 
unistd.h not being implicitly included--we've got a number of packages 
that need to do that.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to