Compilation error when using a version of 2geom newer than 2013
Bug #1862458 reported by
Apteryx
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libdepixelize |
New
|
Undecided
|
Unassigned |
Bug Description
/tmp/guix-
dest.
The libdepixelize bundled with Inkscape has a simple fix: simply delete the offending line, as it is a remnant from a time PathVector was implemented using std::vector. See: https:/
To post a comment you must log in.
Unfortunately there are other build errors that are not addressed in the Inkscape version (it doesn't include the files which are failing to build):
``` build-libdepixe lize-0. 0.0-1.187. drv-0/source/ src/priv/ splines- kopf2011. h:96:21: error: ‘class Geom::PathVector’ has no member named ‘reserve’; did you mean ‘reverse’? pathVector. reserve( source. holes.size( ) + 1);
^~~~~~~
reverse build-libdepixe lize-0. 0.0-1.187. drv-0/source/ src/priv/ splines- kopf2011. h: In instantiation of ‘Tracer: :Splines: :Splines( const Tracer: :HomogeneousSpl ines<T> &, bool, int) [with T = double]’: build-libdepixe lize-0. 0.0-1.187. drv-0/source/ src/kopftracer2 011.cpp: 181:52: required from here build-libdepixe lize-0. 0.0-1.187. drv-0/source/ src/priv/ splines- kopf2011. h:140:37: warning: unused parameter ‘nthreads’ [-Wunused- parameter]
bool optimize, int nthreads) :
^~~~~ ~~~ /depixelize. dir/build. make:66: src/CMakeFiles/ depixelize. dir/kopftracer2 011.cpp. o] Error 1 build-libdepixe lize-0. 0.0-1.187. drv-0/build' Makefile2: 117: src/CMakeFiles/ depixelize. dir/all] Error 2 build-libdepixe lize-0. 0.0-1.187. drv-0/build' build-libdepixe lize-0. 0.0-1.187. drv-0' jd5439lxncfqw3i pggqz4rcw7paqap 9n-libdepixeliz e-0.0.0- 1.187.drv' failed with exit code 1 jd5439lxncfqw3i pggqz4rcw7paqap 9n-libdepixeliz e-0.0.0- 1.187.drv failed guix/drvs/ jd/5439lxncfqw3 ipggqz4rcw7paqa p9n-libdepixeli ze-0.0. 0-1.187. drv.bz2' . jd5439lxncfqw3i pggqz4rcw7paqap 9n-libdepixeliz e-0.0.0- 1.187.drv' failed core-updates [env]$ ./pre-inst-env guix build libdepixelize src/guix- core-updates/ gnu/packages/ image.scm src/guix- core-updates/ gnu/packages/ image.go src/guix- core-updates/ gnu/packages/ image.scm system/ profile/ lib/guile/ 2.2/site- ccache/ gnu/packages/ image.go src/guix- core-updates/ gnu/packages/ gnome.scm src/guix- core-updates/ gnu/packages/ gnome.go src/guix- core-updates/ gnu/packages/ gnome.scm system/ profile/ lib/guile/ 2.2/site- ccache/ gnu/packages/ gnome.go src/guix- core-updates/ gnu/packages/ gtk.scm src/guix- core-updates/ gnu/packages/ gtk.go src/guix- core-updates/ gnu/packages/ gtk.scm system/ profile/ lib/guile/ 2.2/site- ccache/ gnu/packages/ gtk.go src/guix- core-updates/ gnu/packages/ textutils. scm
/tmp/guix-
dest.
/tmp/guix-
/tmp/guix-
/tmp/guix-
make[2]: *** [src/CMakeFiles
make[2]: Leaving directory '/tmp/guix-
make[1]: *** [CMakeFiles/
make[1]: Leaving directory '/tmp/guix-
make: *** [Makefile:133: all] Error 2
command "make" "-j" "2" failed with status 2
note: keeping build directory `/tmp/guix-
builder for `/gnu/store/
build of /gnu/store/
View build log at '/var/log/
guix build: error: build of `/gnu/store/
maxim@apteryx ~/src/guix-
;;; note: source file /home/maxim/
;;; newer than compiled /home/maxim/
;;; note: source file /home/maxim/
;;; newer than compiled /run/current-
;;; note: source file /home/maxim/
;;; newer than compiled /home/maxim/
;;; note: source file /home/maxim/
;;; newer than compiled /run/current-
;;; note: source file /home/maxim/
;;; newer than compiled /home/maxim/
;;; note: source file /home/maxim/
;;; newer than compiled /run/current-
;;; note: source file /home/maxim/
;;; newer than compiled /home/maxim/sr...