Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

can't compile Mapnik #38012

Open Quuxplusone opened 6 years ago

Quuxplusone commented 6 years ago
Bugzilla Link PR39039
Status NEW
Importance P normal
Reported by Julie Goldberg (Julie@empowerengine.com)
Reported on 2018-09-21 09:44:51 -0700
Last modified on 2018-09-21 14:37:11 -0700
Version 3.8
Hardware Other Linux
CC dimitry@andric.com, llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments render_group_symbolizer-91e790.sh.gz (1288 bytes, application/x-gzip)
Blocks
Blocked by
See also
I'm working on Ubuntu 14.04 on an AWS EC2 box.

I'm trying to compile Mapnik following these instructions (except the second
Clang install which tries to downgrade and causes other problems):

On the "make", it breaks on the command:
clang++-3.8 -v -o src/renderer_common/render_group_symbolizer.os -c -std=c++14 -
DU_USING_ICU_NAMESPACE=0 -D_GLIBCXX_USE_CXX11_ABI=0 -fvisibility=hidden -
fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -
Wno-unsequenced -Wtautological-compare -Wheader-hygiene -O3 -fPIC -
DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -
DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -
DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -
DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -
DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DSVG_RENDERER -Ideps -
Ideps/mapbox/polylabel/include -Ideps/mapbox/protozero/include -
Ideps/mapbox/geometry/include -Ideps/mapbox/variant/include -Ideps/agg/include -
Iinclude -Imason_packages/.link/include -
Imason_packages/.link/include/freetype2 -Imason_packages/.link/include/libpng16
-Imason_packages/linux-x86_64/libgdal/2.1.3/include -
Imason_packages/.link/include/cairo -Imason_packages/.link/include/pixman-1
src/renderer_common/render_group_symbolizer.cpp

It says to file a bug report and attach two specified files, which I've done.
Quuxplusone commented 6 years ago

It seems the attachments didn't make it? Note that clang 3.8 is pretty old by now, and it is not likely there will be any updates, though you could apply a fix manually.

Quuxplusone commented 6 years ago

Attached render_group_symbolizer-91e790.sh.gz (1288 bytes, application/x-gzip): sh file

Quuxplusone commented 6 years ago
I can't attach the cpp file, because it's too large, even zipped up. I can
uploading it somewhere later.

I was using 3.8, because that's what the Mapnik compilation instructions
recommended.
https://github.com/mapnik/mapnik/wiki/UbuntuInstallation