CVS build fails

Asked by Liquibyte

I'm trying to compile from CVS and have been receiving errors on a consistent basis. Sometimes I can track down the problem and sometimes I cannot. This is one of those times when I cannot. The build fails at:

 -MP -MF $depbase.Tpo -c -o 2geom/elliptical-arc.o ../../inkscape/src/2geom/elliptical-arc.cpp &&\
 mv -f $depbase.Tpo $depbase.Po
../../inkscape/src/2geom/convex-cover.cpp: In member function ‘void Geom::ConvexHull::graham_scan()’:
../../inkscape/src/2geom/convex-cover.cpp:117: warning: comparison between signed and unsigned integer expressions
../../inkscape/src/2geom/convex-cover.cpp: In function ‘std::pair<std::map<int, int, std::less<int>, std::allocator<std::pair<const int, int> > >, std::map<int, int, std::less<int>, std::allocator<std::pair<const int, int> > > > Geom::bridges(Geom::ConvexHull, Geom::ConvexHull)’:
../../inkscape/src/2geom/convex-cover.cpp:295: warning: comparison between signed and unsigned integer expressions
../../inkscape/src/2geom/convex-cover.cpp:296: warning: comparison between signed and unsigned integer expressions
../../inkscape/src/2geom/convex-cover.cpp: In function ‘Geom::ConvexHull Geom::sweepline_intersection(const Geom::ConvexHull&, const Geom::ConvexHull&)’:
../../inkscape/src/2geom/convex-cover.cpp:342: warning: comparison between signed and unsigned integer expressions
../../inkscape/src/2geom/convex-cover.cpp:346: warning: comparison between signed and unsigned integer expressions
../../inkscape/src/2geom/convex-cover.cpp:351: warning: unused variable ‘sweep_y’
../../inkscape/src/2geom/convex-cover.cpp: In function ‘Geom::ConvexHull Geom::intersection(Geom::ConvexHull, Geom::ConvexHull)’:
../../inkscape/src/2geom/convex-cover.cpp:362: warning: unused variable ‘ai’
../../inkscape/src/2geom/convex-cover.cpp:362: warning: unused variable ‘bi’
../../inkscape/src/2geom/convex-cover.cpp:363: warning: unused variable ‘aj’
../../inkscape/src/2geom/convex-cover.cpp:364: warning: unused variable ‘bj’
../../inkscape/src/2geom/convex-cover.cpp: In function ‘Geom::ConvexHull Geom::merge(Geom::ConvexHull, Geom::ConvexHull)’:
../../inkscape/src/2geom/convex-cover.cpp:391: warning: comparison between signed and unsigned integer expressions
../../inkscape/src/2geom/convex-cover.cpp:399: warning: comparison between signed and unsigned integer expressions
../../inkscape/src/2geom/convex-cover.cpp: In function ‘Geom::ConvexHull Geom::sweepline_intersection(const Geom::ConvexHull&, const Geom::ConvexHull&)’:
../../inkscape/src/2geom/convex-cover.cpp:353: warning: control reaches end of non-void function
../../inkscape/src/2geom/convex-cover.cpp: In member function ‘bool Geom::ConvexHull::no_colinear_points() const’:
../../inkscape/src/2geom/convex-cover.cpp:268: warning: control reaches end of non-void function
In file included from ../../inkscape/src/2geom/elliptical-arc.cpp:34:
../../inkscape/src/2geom/poly.h: In member function ‘Poly Poly::shifted(unsigned int) const’:
../../inkscape/src/2geom/poly.h:104: warning: comparison of unsigned expression < 0 is always false
../../inkscape/src/2geom/elliptical-arc.cpp: In member function ‘virtual std::vector<double, std::allocator<double> > Geom::EllipticalArc::allNearestPoints(const Geom::Point&, double, double) const’:
../../inkscape/src/2geom/elliptical-arc.cpp:822: error: ‘numeric_limits’ is not a member of ‘std’
../../inkscape/src/2geom/elliptical-arc.cpp:822: error: expected primary-expression before ‘double’
../../inkscape/src/2geom/elliptical-arc.cpp:822: error: expected ‘,’ or ‘;’ before ‘double’
../../inkscape/src/2geom/elliptical-arc.cpp:823: error: ‘numeric_limits’ is not a member of ‘std’
../../inkscape/src/2geom/elliptical-arc.cpp:823: error: expected primary-expression before ‘double’
../../inkscape/src/2geom/elliptical-arc.cpp:823: error: expected ‘,’ or ‘;’ before ‘double’
make[2]: *** [2geom/elliptical-arc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/liquibyte/my-packages/inkscape-svn/src/inkscape-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/liquibyte/my-packages/inkscape-svn/src/inkscape-build'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

I've been trying to build on Archlinux using an inherented PKGBUILD which is as follows:

# Contributor: Aaron Schaefer <email address hidden>
arch=(i686 x86_64)
pkgname=inkscape-svn
pkgver=18722
pkgrel=1
pkgdesc="A vector-based graphics editor that uses the SVG file format"
url="http://inkscape.sourceforge.net/"
license=('GPL2')
depends=('gtkmm' 'libart-lgpl' 'popt' 'gc' 'desktop-file-utils' 'gtkspell' \
 'libxslt' 'perl' 'python' 'libgnomeprintui' 'loudmouth' 'lcms' 'boost')
makedepends=('intltool' 'pkgconfig' 'subversion' 'versionpkg' 'gsl' 'boost-build')
provides=('inkscape')
conflicts=('inkscape' 'inkscape-nognome')
install=('inkscape-svn.install')

md5sums=()

_svntrunk=https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk
_svnmod=inkscape

build() {
  cd $startdir/src

  msg "Connecting to svn.sourceforge.net SVN server..."
  svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
  cd $_svnmod

  msg "SVN checkout done or server timeout"
  msg "Starting make..."

  ./autogen.sh

  mkdir -p ../$_svnmod-build
  cd ../$_svnmod-build

  ../$_svnmod/configure --prefix=/usr \
    --enable-inkboard \
    --enable-lcms \
    --disable-mmx \
    --with-xft \
    --with-python \
    --with-perl \
    --without-gnome-vfs
  make || return 1
  make DESTDIR=$startdir/pkg install

  rm -r $startdir/src/$_svnmod-build
}

The last few times I've tried to makepkg using this the build fails, but I have successfully used it in the past. Can someone point me in the right direction as to why this is failing to compile correctly? I'm planning on a complete re-write of the PKGBUILD eventually to conform to the Archlinux standards but seem to run into SVN build failures on a regular basis, so I don't want to waste my time if compilation is going to consistently fail.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Liquibyte
Solved:
Last query:
Last reply:
Revision history for this message
Liquibyte (liquibyte) said :
#1

I guess not. The PKGBUILD for inkscape-svn has been deleted. I'm sure the previous packagers gave up due to the same reasons I did. Stop breaking the compile guys and gals, it's not worth the uber.

Revision history for this message
Liquibyte (liquibyte) said :
#2

Oh, and finis...