#5446 closed defect (fixed)

3.4.0-beta1 fails to build (unable to parse postgis-out.xml)

Reported by: Bas Couwenberg Owned by: strk
Priority: medium Milestone: PostGIS 3.4.0
Component: build Version: master
Keywords: Cc: Bas Couwenberg

Description

The Debian package build for 3.4.0-beta1 failed to build:

[...]
warning: failed to load external entity "address_standardizer_required.tag"
table_body_function_support_matrix.xsl.xml:3754: parser error : expected '>'
                                </inlinemediaob
                                               ^
table_body_function_support_matrix.xsl.xml:3754: parser error : Opening and ending tag mismatch: inlinemediaobject line 3750 and inlinemediaob
                                </inlinemediaob
                                               ^
table_body_function_support_matrix.xsl.xml:3754: parser error : Premature end of data in tag entry line 3749
                                </inlinemediaob
                                               ^
table_body_function_support_matrix.xsl.xml:3754: parser error : chunk is not well balanced
                                </inlinemediaob
                                               ^
postgis_special.xml:134: parser error : Entity 'table_body_function_support_matrix' failed to parse
          &table_body_function_support_matrix;
                                              ^
postgis_special.xml:146: parser error : chunk is not well balanced

^
postgis-out.xml:145: parser error : Entity 'postgis_special' failed to parse
  &postgis_special;
                   ^
unable to parse postgis-out.xml
make[3]: *** [Makefile:313: tiger_geocoder_comments.sql] Error 6

Change History (23)

comment:1 by Bas Couwenberg, 16 months ago

Cc: Bas Couwenberg added

comment:2 by Bas Couwenberg, 16 months ago

This seems like a Makefile dependency issue with parallel builds (make -j<N>) as I can't reliably reproduce the issue.

comment:3 by strk, 16 months ago

That address_standardizer_required.tag file is clearly corrupted in your build. It's generated by xmllint which is known to be not always returning the correct exit code (exits with SUCCESS even if it fails).

What's the exact top-level command that you are issuing after configure ? Can you consistently reproduce ?

I'm not being able to reproduce with a loop under the doc/ dir:

while :; do make -j clean && make -j8  || break; done

comment:4 by Bas Couwenberg, 16 months ago

What's the exact top-level command that you are issuing after configure ?

$(MAKE) $(NJOBS) -C doc

See: https://salsa.debian.org/debian-gis-team/postgis/-/blob/master/debian/rules#L139

Which translates to:

/usr/bin/make -j3 -C doc

Can you consistently reproduce ?

No, as mentioned in comment:2.

comment:5 by strk, 16 months ago

Sorry I meant if you could reprodce at all. The very first top-level command is $(MAKE) $(NJOBS) if I read correctly. That one alone should in turn build the comments under doc, are you sure you need the subsequent -C doc ? Not that it matters for this bug report, but I'm wondering what I'm missing

comment:6 by strk, 16 months ago

Do you have full logs of a failing case ?

comment:7 by Bas Couwenberg, 16 months ago

The issue was encountered 3 out of 6 times that the package was built in clean chroots, the interactive sessions I started in another chroot didn't trigger the issue.

The CI builds also haven't triggered the issue.

We are seeing a different dependency issue on the buildds:

mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/images
/usr/bin/install -c -m 644 de9im01.png de9im02.png st_alphashape01.png st_alphashape02.png st_alphashape03.png st_azimuth01.png st_azimuth02.png st_boundary01.png st_boundary02.png st_buffer01.png st_buffer02.png st_buffer03.png st_buffer04.png st_buffer05.png st_buffer06.png st_buffer07.png st_buffer08.png st_buffer09.png st_buffer10.png st_buffer11.png st_buffer12.png st_buffer13.png st_buildarea01.png st_closestpoint01.png st_closestpoint02.png st_clusterkmeans02.png st_centroid01.png st_centroid02.png st_centroid03.png st_centroid04.png st_chaikinsmoothing01.png st_chaikinsmoothing02.png st_chaikinsmoothing03.png st_chaikinsmoothing04.png st_chaikinsmoothing05.png st_chaikinsmoothing06.png st_contains01.png st_contains02.png st_contains03.png st_contains04.png st_contains05.png st_contains06.png st_contains07.png st_contains08.png st_concavehull01.png st_concavehull02.png st_concavehull03.png st_concavehull04.png st_convexhull01.png st_coverageinvalidedges01.png st_coveragesimplify01.png st_coveragesimplify02.png st_coverageunion01.png st_coverageunion02.png st_crosses01.png st_crosses02.png st_crosses03.png st_crosses04.png st_constraineddelaunaytriangles01.png st_constraineddelaunaytriangles02.png st_delaunaytriangles04.png st_difference01.png st_dumppoints01.png st_envelope01.png st_extrude01.png st_extrude03.png st_generatepoints01.png st_geometricmedian01.png st_hausdorffdistance01.png st_issimple01.png st_issimple02.png st_issimple03.png st_issimple04.png st_issimple05.png st_issimple06.png st_issimple07.png st_isvalid01.png st_isvalid02.png st_isvalid03.png st_isvalid04.png st_isvalid05.png st_isvalid06.png st_isvalid07.png st_isvalid08.png st_isvalid09.png st_largestemptycircle01.png st_largestemptycircle02.png st_letters01.png st_linecrossingdirection01.png st_linecrossingdirection02.png st_linecrossingdirection03.png st_linecrossingdirection04.png st_line_interpolate_point01.png st_line_interpolate_points01.png st_linemerge01.png st_linemerge02.png st_linemerge03.png st_line_substring01.png st_locatebetween01.png st_longestline01.png st_longestline02.png st_longestline03.png st_makevalid01.png st_makevalid02.png st_makevalid03.png st_makevalid04.png st_makevalid05.png st_makevalid06.png st_maximuminscribedcircle01.png st_maximuminscribedcircle02.png st_minimumboundingcircle01.png st_minkowskisum01.png st_minkowskisum02.png st_minkowskisum03.png st_minkowskisum04.png st_offsetcurve01.png st_offsetcurve02.png st_offsetcurve03.png st_offsetcurve04.png st_offsetcurve05.png st_offsetcurve06.png st_optimalalphashape01.png st_optimalalphashape02.png st_orientedenvelope01.png st_overlaps01.png st_overlaps02.png st_overlaps03.png st_overlaps04.png st_overlaps05.png st_overlaps06.png st_pointonsurface.png st_pointonsurface01.png st_pointonsurface02.png st_pointonsurface03.png st_pointonsurface04.png st_triangulatepolygon01.png st_segmentize01.png st_sharedpaths01.png st_sharedpaths02.png st_shortestline01.png st_shortestline02.png st_snap01.png st_snap02.png st_snap03.png st_snap04.png st_snap05.png st_split01.png st_split02.png st_split03.png st_split04.png st_simplifypolygonhull01.png st_simplifypolygonhull02.png st_simplifypolygonhull03.png st_straightskeleton01.png st_approximatemedialaxis01.png st_subdivide01.png st_subdivide02.png st_symdifference01.png st_symdifference02.png st_tesselate03.png st_tesselate04.png st_touches01.png st_touches02.png st_touches03.png st_touches04.png st_touches05.png st_touches06.png st_voronoi01.png st_voronoi02.png st_voronoi03.png st_within01.png de9im03.png de9im04.png de9im05.png de9im06.png de9im07.png de9im08.png de9im09.png de9im10.png de9im11.png de9im12.png de9im13.png PostGIS_logo.png apple.png apple_st_grayscale.png caution.png ccbysa.png check.png important.png matrix_autocast.png matrix_checkmark.png matrix_sfcgal_enhanced.png matrix_sfcgal_required.png matrix_transform.png note.png osgeo_logo.png raster_xscale_yscale_xskew_yskew.png rt_st_transform01.png rt_st_transform02.png rt_st_transform03.png rt_st_transform04.png rt_st_transform05.png st_3dconvexhull.png st_3ddifference01.png st_3ddifference02.png st_3dintersection01.png st_3dunion01.png st_asraster01.png st_asraster02.png st_asx3d01.png st_band01.png st_band02.png st_band03.png st_clip01.png st_clip02.png st_clip03.png st_clip04.png st_clip05.png st_clusterdbscan01.png st_clusterkmeans03.png st_colormap_bluered.png st_colormap_fire.png st_colormap_grey.png st_colormap_orig.png st_colormap_pseudo.png st_colormap_red.png st_delaunaytriangles01.png st_delaunaytriangles02.png st_delaunaytriangles03.png st_extrude02.png st_extrude04.png st_hexagongrid01.png st_hexagongrid02.png st_hexagongrid03.png st_invdistweight4ma_equation.png st_mapalgebraexpr01.png st_mapalgebraexpr02.png st_mapalgebraexpr2_01.png st_mapalgebraexpr2_02.png st_mapalgebraexpr2_04.png st_mapalgebraexpr2_05.png st_mapalgebraexpr2_06.png st_mapalgebraexpr2_07.png st_mapalgebraexpr2_08.png st_mapalgebrafct2_01.png st_mapalgebrafct2_02.png st_mapalgebrafctngb01.png st_mapalgebrafctngb02.png st_mapalgebramask01.png st_mapalgebramask02.png st_mapalgebramask03.png st_mapalgebramask04.png st_resample01.png st_resample02.png st_rescale01.png st_rescale02.png st_straightskeleton02.png st_tesselate01.png st_tesselate02.png tip.png warning.png /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/images/
/usr/bin/install: cannot stat 'st_buildarea01.png': No such file or directory
/usr/bin/install: cannot stat 'st_letters01.png': No such file or directory
make[3]: *** [Makefile:242: images-install] Error 1

Full buildlogs: all, s390x, hppa, m68k

Version 0, edited 16 months ago by Bas Couwenberg (next)

comment:8 by strk, 16 months ago

From the all logs I see:

configure was unable to find 'xmllint' which is required
...
warning: failed to load external entity "sfs_compliant.tag"

xmllint is a new dependency, now needed to create those "tag" files. It's a way to extract a tag from an xpath. The Makefile is not protecting from lack of it in a proper way, I'm afraid.

comment:9 by Sandro Santilli <strk@…>, 16 months ago

In 9908e909/git:

Fail if xmllint is not found

References #5446

comment:10 by strk, 16 months ago

Sebastic can you please also give a try to https://git.osgeo.org/gitea/postgis/postgis/pulls/132 ?

comment:11 by Sandro Santilli <strk@…>, 16 months ago

In d81ed38/git:

Drop xmllint requirement for extracting tags

References #5446

Fail if tag nodes cannot be extracted from xsl-config

comment:12 by strk, 16 months ago

I've merged that change into the master branch and as of [69754edb0785956854c7114b095b7b08356b7acc/git] all should be fine. We're back to NOT requiring xmllint

comment:13 by Bas Couwenberg, 16 months ago

I've just uploaded a new revision with libxml2-utils added to the build dependencies:

https://salsa.debian.org/debian-gis-team/postgis/-/commits/debian/3.4.0_beta1+dfsg-1_exp2?ref_type=tags

The s390x still fails the same:

mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/images
/usr/bin/install -c -m 644 de9im01.png de9im02.png st_alphashape01.png st_alphashape02.png st_alphashape03.png st_azimuth01.png st_azimuth02.png st_boundary01.png st_boundary02.png st_buffer01.png st_buffer02.png st_buffer03.png st_buffer04.png st_buffer05.png st_buffer06.png st_buffer07.png st_buffer08.png st_buffer09.png st_buffer10.png st_buffer11.png st_buffer12.png st_buffer13.png st_buildarea01.png st_closestpoint01.png st_closestpoint02.png st_clusterkmeans02.png st_centroid01.png st_centroid02.png st_centroid03.png st_centroid04.png st_chaikinsmoothing01.png st_chaikinsmoothing02.png st_chaikinsmoothing03.png st_chaikinsmoothing04.png st_chaikinsmoothing05.png st_chaikinsmoothing06.png st_contains01.png st_contains02.png st_contains03.png st_contains04.png st_contains05.png st_contains06.png st_contains07.png st_contains08.png st_concavehull01.png st_concavehull02.png st_concavehull03.png st_concavehull04.png st_convexhull01.png st_coverageinvalidedges01.png st_coveragesimplify01.png st_coveragesimplify02.png st_coverageunion01.png st_coverageunion02.png st_crosses01.png st_crosses02.png st_crosses03.png st_crosses04.png st_constraineddelaunaytriangles01.png st_constraineddelaunaytriangles02.png st_delaunaytriangles04.png st_difference01.png st_dumppoints01.png st_envelope01.png st_extrude01.png st_extrude03.png st_generatepoints01.png st_geometricmedian01.png st_hausdorffdistance01.png st_issimple01.png st_issimple02.png st_issimple03.png st_issimple04.png st_issimple05.png st_issimple06.png st_issimple07.png st_isvalid01.png st_isvalid02.png st_isvalid03.png st_isvalid04.png st_isvalid05.png st_isvalid06.png st_isvalid07.png st_isvalid08.png st_isvalid09.png st_largestemptycircle01.png st_largestemptycircle02.png st_letters01.png st_linecrossingdirection01.png st_linecrossingdirection02.png st_linecrossingdirection03.png st_linecrossingdirection04.png st_line_interpolate_point01.png st_line_interpolate_points01.png st_linemerge01.png st_linemerge02.png st_linemerge03.png st_line_substring01.png st_locatebetween01.png st_longestline01.png st_longestline02.png st_longestline03.png st_makevalid01.png st_makevalid02.png st_makevalid03.png st_makevalid04.png st_makevalid05.png st_makevalid06.png st_maximuminscribedcircle01.png st_maximuminscribedcircle02.png st_minimumboundingcircle01.png st_minkowskisum01.png st_minkowskisum02.png st_minkowskisum03.png st_minkowskisum04.png st_offsetcurve01.png st_offsetcurve02.png st_offsetcurve03.png st_offsetcurve04.png st_offsetcurve05.png st_offsetcurve06.png st_optimalalphashape01.png st_optimalalphashape02.png st_orientedenvelope01.png st_overlaps01.png st_overlaps02.png st_overlaps03.png st_overlaps04.png st_overlaps05.png st_overlaps06.png st_pointonsurface.png st_pointonsurface01.png st_pointonsurface02.png st_pointonsurface03.png st_pointonsurface04.png st_triangulatepolygon01.png st_segmentize01.png st_sharedpaths01.png st_sharedpaths02.png st_shortestline01.png st_shortestline02.png st_snap01.png st_snap02.png st_snap03.png st_snap04.png st_snap05.png st_split01.png st_split02.png st_split03.png st_split04.png st_simplifypolygonhull01.png st_simplifypolygonhull02.png st_simplifypolygonhull03.png st_straightskeleton01.png st_approximatemedialaxis01.png st_subdivide01.png st_subdivide02.png st_symdifference01.png st_symdifference02.png st_tesselate03.png st_tesselate04.png st_touches01.png st_touches02.png st_touches03.png st_touches04.png st_touches05.png st_touches06.png st_voronoi01.png st_voronoi02.png st_voronoi03.png st_within01.png de9im03.png de9im04.png de9im05.png de9im06.png de9im07.png de9im08.png de9im09.png de9im10.png de9im11.png de9im12.png de9im13.png PostGIS_logo.png apple.png apple_st_grayscale.png caution.png ccbysa.png check.png important.png matrix_autocast.png matrix_checkmark.png matrix_sfcgal_enhanced.png matrix_sfcgal_required.png matrix_transform.png note.png osgeo_logo.png raster_xscale_yscale_xskew_yskew.png rt_st_transform01.png rt_st_transform02.png rt_st_transform03.png rt_st_transform04.png rt_st_transform05.png st_3dconvexhull.png st_3ddifference01.png st_3ddifference02.png st_3dintersection01.png st_3dunion01.png st_asraster01.png st_asraster02.png st_asx3d01.png st_band01.png st_band02.png st_band03.png st_clip01.png st_clip02.png st_clip03.png st_clip04.png st_clip05.png st_clusterdbscan01.png st_clusterkmeans03.png st_colormap_bluered.png st_colormap_fire.png st_colormap_grey.png st_colormap_orig.png st_colormap_pseudo.png st_colormap_red.png st_delaunaytriangles01.png st_delaunaytriangles02.png st_delaunaytriangles03.png st_extrude02.png st_extrude04.png st_hexagongrid01.png st_hexagongrid02.png st_hexagongrid03.png st_invdistweight4ma_equation.png st_mapalgebraexpr01.png st_mapalgebraexpr02.png st_mapalgebraexpr2_01.png st_mapalgebraexpr2_02.png st_mapalgebraexpr2_04.png st_mapalgebraexpr2_05.png st_mapalgebraexpr2_06.png st_mapalgebraexpr2_07.png st_mapalgebraexpr2_08.png st_mapalgebrafct2_01.png st_mapalgebrafct2_02.png st_mapalgebrafctngb01.png st_mapalgebrafctngb02.png st_mapalgebramask01.png st_mapalgebramask02.png st_mapalgebramask03.png st_mapalgebramask04.png st_resample01.png st_resample02.png st_rescale01.png st_rescale02.png st_straightskeleton02.png st_tesselate01.png st_tesselate02.png tip.png warning.png /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/images/
/usr/bin/install: cannot stat 'st_buildarea01.png': No such file or directory
/usr/bin/install: cannot stat 'st_letters01.png': No such file or directory
make[3]: *** [Makefile:242: images-install] Error 1

Full buildlog: s390x

With the changes from PR132 there are still references to xmllint:

$ grep xmllint * -r | grep -v ^debian/
configure:# Extract the first word of "xmllint", so it can be a program name with args.
configure:set dummy xmllint; ac_word=$2
configure:      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmllint is not installed so documentation cannot be checked" >&5
configure:$as_echo "$as_me: WARNING: xmllint is not installed so documentation cannot be checked" >&2;}
configure.ac:AC_PATH_PROG([XMLLINT], [xmllint], [])
configure.ac:   AC_MSG_WARN([xmllint is not installed so documentation cannot be checked])
doc/Makefile.in:check-xml: requirements_not_met_xmllint
doc/Makefile.in:check-cheatsheets: requirements_not_met_xmllint
doc/Makefile.in:requirements_not_met_xmllint:
doc/Makefile.in:        @echo "configure was unable to find 'xmllint' which is required"
doc/Makefile.in:        @echo "Install xmllint and then re-run configure. Alternatively "
doc/README: * xmllint - http://xmlsoft.org
utils/check_localized_cheatsheets.sh:for tag in $(xmllint --html --xpath '/html/body/span/sup/text()' "${SOURCE_FILE}"); do

comment:14 by Bas Couwenberg, 16 months ago

The changes from PR132 are included in the latest upload:

https://salsa.debian.org/debian-gis-team/postgis/-/commits/debian/3.4.0_beta1+dfsg-1_exp3?ref_type=tags

This still fails:

convert convert: Option length exceeds limit (path 'M 150,90 149.0392640202,80.2454838992 146.1939766256,70.8658283817 141.5734806151,62.221488349 135.3553390593,54.6446609407 127.778511651,48.4265193849 119.1341716183,43.8060233744 109.7545161008,40.9607359798 100,40 90.2454838992,40.9607359798 80.8658283817,43.8060233744 72.221488349,48.4265193849 64.6446609407,54.6446609407 58.4265193849,62.221488349 53.8060233744,70.8658283817 50.9607359798,80.2454838992 50,90 50.9607359798,99.7545161008 53.8060233744,109.1341716183 58.4265193849,117.778511651 64.6446609407,125.3553390593 72.221488349,131.5734806151 80.8658283817,136.1939766256 90.2454838992,139.0392640202 100,140 109.7545161008,139.0392640202 119.1341716183,136.1939766256 127.778511651,131.5734806151 135.3553390593,125.3553390593 141.5734806151,117.778511651 146.1939766256,109.1341716183 149.0392640202,99.7545161008 150,90 M 125,90 124.5196320101,94.8772580504 123.0969883128,99.5670858091 120.7867403076,103.8892558255 117.6776695297,107.6776695297 113.8892558255,110.7867403076 109.5670858091,113.096).
Failure return code (198) from command: convert -size 200x200 xc:none -fill "#C0D0F080" -stroke "#6495ED" -strokewidth 2 -draw "path 'M 150,90 149.0392640202,80.2454838992 146.1939766256,70.8658283817 141.5734806151,62.221488349 135.3553390593,54.6446609407 127.778511651,48.4265193849 119.1341716183,43.8060233744 109.7545161008,40.9607359798 100,40 90.2454838992,40.9607359798 80.8658283817,43.8060233744 72.221488349,48.4265193849 64.6446609407,54.6446609407 58.4265193849,62.221488349 53.8060233744,70.8658283817 50.9607359798,80.2454838992 50,90 50.9607359798,99.7545161008 53.8060233744,109.1341716183 58.4265193849,117.778511651 64.6446609407,125.3553390593 72.221488349,131.5734806151 80.8658283817,136.1939766256 90.2454838992,139.0392640202 100,140 109.7545161008,139.0392640202 119.1341716183,136.1939766256 127.778511651,131.5734806151 135.3553390593,125.3553390593 141.5734806151,117.778511651 146.1939766256,109.1341716183 149.0392640202,99.7545161008 150,90 M 125,90 124.5196320101,94.8772580504 123.0969883128,99.5670858091 120.7867403076,103.8892558255 117.6776695297,107.6776695297 113.8892558255,110.7867403076 109.5670858091,113.0969883128 104.8772580504,114.5196320101 100,115 95.1227419496,114.5196320101 90.4329141909,113.0969883128 86.1107441745,110.7867403076 82.3223304703,107.6776695297 79.2132596924,103.8892558255 76.9030116872,99.5670858091 75.4803679899,94.8772580504 75,90 75.4803679899,85.1227419496 76.9030116872,80.4329141909 79.2132596924,76.1107441745 82.3223304703,72.3223304703 86.1107441745,69.2132596924 90.4329141909,66.9030116872 95.1227419496,65.4803679899 100,65 104.8772580504,65.4803679899 109.5670858091,66.9030116872 113.8892558255,69.2132596924 117.6776695297,72.3223304703 120.7867403076,76.1107441745 123.0969883128,80.4329141909 124.5196320101,85.1227419496 125,90 '" -flip tmp0.pngconvert convert: Request did not return an image.
Failure return code (1) from command: convert tmp[0-9].png -background white -flatten st_buildarea01.pngconvert convert: Unable to open file (st_buildarea01.png) [No such file or directory].
Failure return code (1) from command: convert st_buildarea01.png -depth 8 st_buildarea01.pngreading styles from wkt/styles.conf
generating st_buildarea01.png
[...]
convert convert: Option length exceeds limit (path 'M 143.4,141.6 145.6,141.6 147.8,141.4 150,141.2 152,141 154.3,140.6 156.3,140.2 158.1,139.7 160.1,139.1 161.9,138.5 163.7,137.7 165.5,136.9 167.1,136.1 168.7,135.1 170.3,134.1 171.7,132.9 173.1,131.7 174.6,130.5 175.8,129.1 177,127.7 178,126.1 179,124.5 180,122.9 181,121.3 181.8,119.5 182.6,117.6 183.2,115.6 183.8,113.6 184.2,111.6 184.6,109.6 184.8,107.4 185,105.2 185,102.8 185,63 185,60.6 184.8,58.4 184.6,56.1 184.2,54.1 183.8,52.1 183.4,50.1 182.8,48.1 182,46.3 181.2,44.5 180.4,42.9 179.4,41.3 178.4,39.7 177.2,38.3 176,36.9 174.8,35.4 173.3,34.2 171.9,33 170.3,32 168.9,30.8 167.3,30 165.5,29 163.9,28.2 162.1,27.4 160.3,26.6 158.5,26 156.5,25.4 154.5,25 152.4,24.6 150.2,24.2 148,24 145.8,24 143.6,24 141.4,24 139.2,24.2 137,24.4 134.8,24.6 132.8,25 130.7,25.4 128.7,26 126.7,26.6 124.9,27.2 123.1,28 121.3,28.8 119.7,29.8 118.1,30.8 116.5,31.8 115.1,32.8 113.7,34 112.3,35.2 111,36.7 109.8,38.1 108.8,39.5 107.8,41.1 106.8,42.7 105.8,44.5 105,46.3 104.2,48.1 103.6,50.1 103,52.1 102.6,54.1 102.2,56.3 102,58).
Failure return code (198) from command: convert -size 200x200 xc:none -fill "#ff000020" -stroke "#770000" -strokewidth 2 -draw "path 'M 74.3,173.3 113.5,173.3 111.7,171.5 75.5,82.7 75.5,26.8 77.3,25 41.2,25 43.2,26.8 43.2,82.7 6.8,171.5 5,173.3 44.2,173.3 42.4,171.5 51.2,148.8 59.3,120.3 67.5,149.4 76.1,171.5 74.3,173.3 '" -fill "#ff000020" -stroke "#770000" -strokewidth 2 -draw "path 'M 143.4,141.6 145.6,141.6 147.8,141.4 150,141.2 152,141 154.3,140.6 156.3,140.2 158.1,139.7 160.1,139.1 161.9,138.5 163.7,137.7 165.5,136.9 167.1,136.1 168.7,135.1 170.3,134.1 171.7,132.9 173.1,131.7 174.6,130.5 175.8,129.1 177,127.7 178,126.1 179,124.5 180,122.9 181,121.3 181.8,119.5 182.6,117.6 183.2,115.6 183.8,113.6 184.2,111.6 184.6,109.6 184.8,107.4 185,105.2 185,102.8 185,63 185,60.6 184.8,58.4 184.6,56.1 184.2,54.1 183.8,52.1 183.4,50.1 182.8,48.1 182,46.3 181.2,44.5 180.4,42.9 179.4,41.3 178.4,39.7 177.2,38.3 176,36.9 174.8,35.4 173.3,34.2 171.9,33 170.3,32 168.9,30.8 167.3,30 165.5,29 163.9,28.2 162.1,27.4 160.3,26.6 158.5,26 156.5,25.4 154.5,25 152.4,24.6 150.2,24.2 148,24 145.8,24 143.6,24 141.4,24 139.2,24.2 137,24.4 134.8,24.6 132.8,25 130.7,25.4 128.7,26 126.7,26.6 124.9,27.2 123.1,28 121.3,28.8 119.7,29.8 118.1,30.8 116.5,31.8 115.1,32.8 113.7,34 112.3,35.2 111,36.7 109.8,38.1 108.8,39.5 107.8,41.1 106.8,42.7 105.8,44.5 105,46.3 104.2,48.1 103.6,50.1 103,52.1 102.6,54.1 102.2,56.3 102,58.6 101.8,60.8 101.8,63 101.8,102.8 101.8,105.2 102,107.4 102.2,109.6 102.6,111.6 103,113.6 103.4,115.6 104,117.6 104.8,119.5 105.6,121.3 106.4,122.9 107.4,124.5 108.4,126.1 109.6,127.5 110.8,128.9 112.1,130.3 113.5,131.5 114.9,132.7 116.5,133.7 117.9,134.7 119.7,135.7 121.3,136.7 123.1,137.5 124.9,138.3 126.7,138.9 128.7,139.5 130.5,140.2 132.5,140.6 134.8,141 136.8,141.2 139,141.4 141.2,141.6 143.4,141.6 M 153.2,103.2 150.2,108.6 143.6,110.6 136.8,108.8 133.8,103.2 133.8,63 136.6,57.6 143.2,55.5 149.8,57.4 153.2,63 153.2,103.2 '" -flip tmp0.pngconvert convert: Request did not return an image.
Failure return code (1) from command: convert tmp[0-9].png -background white -flatten st_letters01.pngconvert convert: Unable to open file (st_letters01.png) [No such file or directory].
Failure return code (1) from command: convert st_letters01.png -depth 8 st_letters01.pngreading styles from wkt/styles.conf
generating st_letters01.png
[...]
mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/images
/usr/bin/install -c -m 644 de9im01.png de9im02.png st_alphashape01.png st_alphashape02.png st_alphashape03.png st_azimuth01.png st_azimuth02.png st_boundary01.png st_boundary02.png st_buffer01.png st_buffer02.png st_buffer03.png st_buffer04.png st_buffer05.png st_buffer06.png st_buffer07.png st_buffer08.png st_buffer09.png st_buffer10.png st_buffer11.png st_buffer12.png st_buffer13.png st_buildarea01.png st_closestpoint01.png st_closestpoint02.png st_clusterkmeans02.png st_centroid01.png st_centroid02.png st_centroid03.png st_centroid04.png st_chaikinsmoothing01.png st_chaikinsmoothing02.png st_chaikinsmoothing03.png st_chaikinsmoothing04.png st_chaikinsmoothing05.png st_chaikinsmoothing06.png st_contains01.png st_contains02.png st_contains03.png st_contains04.png st_contains05.png st_contains06.png st_contains07.png st_contains08.png st_concavehull01.png st_concavehull02.png st_concavehull03.png st_concavehull04.png st_convexhull01.png st_coverageinvalidedges01.png st_coveragesimplify01.png st_coveragesimplify02.png st_coverageunion01.png st_coverageunion02.png st_crosses01.png st_crosses02.png st_crosses03.png st_crosses04.png st_constraineddelaunaytriangles01.png st_constraineddelaunaytriangles02.png st_delaunaytriangles04.png st_difference01.png st_dumppoints01.png st_envelope01.png st_extrude01.png st_extrude03.png st_generatepoints01.png st_geometricmedian01.png st_hausdorffdistance01.png st_issimple01.png st_issimple02.png st_issimple03.png st_issimple04.png st_issimple05.png st_issimple06.png st_issimple07.png st_isvalid01.png st_isvalid02.png st_isvalid03.png st_isvalid04.png st_isvalid05.png st_isvalid06.png st_isvalid07.png st_isvalid08.png st_isvalid09.png st_largestemptycircle01.png st_largestemptycircle02.png st_letters01.png st_linecrossingdirection01.png st_linecrossingdirection02.png st_linecrossingdirection03.png st_linecrossingdirection04.png st_line_interpolate_point01.png st_line_interpolate_points01.png st_linemerge01.png st_linemerge02.png st_linemerge03.png st_line_substring01.png st_locatebetween01.png st_longestline01.png st_longestline02.png st_longestline03.png st_makevalid01.png st_makevalid02.png st_makevalid03.png st_makevalid04.png st_makevalid05.png st_makevalid06.png st_maximuminscribedcircle01.png st_maximuminscribedcircle02.png st_minimumboundingcircle01.png st_minkowskisum01.png st_minkowskisum02.png st_minkowskisum03.png st_minkowskisum04.png st_offsetcurve01.png st_offsetcurve02.png st_offsetcurve03.png st_offsetcurve04.png st_offsetcurve05.png st_offsetcurve06.png st_optimalalphashape01.png st_optimalalphashape02.png st_orientedenvelope01.png st_overlaps01.png st_overlaps02.png st_overlaps03.png st_overlaps04.png st_overlaps05.png st_overlaps06.png st_pointonsurface.png st_pointonsurface01.png st_pointonsurface02.png st_pointonsurface03.png st_pointonsurface04.png st_triangulatepolygon01.png st_segmentize01.png st_sharedpaths01.png st_sharedpaths02.png st_shortestline01.png st_shortestline02.png st_snap01.png st_snap02.png st_snap03.png st_snap04.png st_snap05.png st_split01.png st_split02.png st_split03.png st_split04.png st_simplifypolygonhull01.png st_simplifypolygonhull02.png st_simplifypolygonhull03.png st_straightskeleton01.png st_approximatemedialaxis01.png st_subdivide01.png st_subdivide02.png st_symdifference01.png st_symdifference02.png st_tesselate03.png st_tesselate04.png st_touches01.png st_touches02.png st_touches03.png st_touches04.png st_touches05.png st_touches06.png st_voronoi01.png st_voronoi02.png st_voronoi03.png st_within01.png de9im03.png de9im04.png de9im05.png de9im06.png de9im07.png de9im08.png de9im09.png de9im10.png de9im11.png de9im12.png de9im13.png PostGIS_logo.png apple.png apple_st_grayscale.png caution.png ccbysa.png check.png important.png matrix_autocast.png matrix_checkmark.png matrix_sfcgal_enhanced.png matrix_sfcgal_required.png matrix_transform.png note.png osgeo_logo.png raster_xscale_yscale_xskew_yskew.png rt_st_transform01.png rt_st_transform02.png rt_st_transform03.png rt_st_transform04.png rt_st_transform05.png st_3dconvexhull.png st_3ddifference01.png st_3ddifference02.png st_3dintersection01.png st_3dunion01.png st_asraster01.png st_asraster02.png st_asx3d01.png st_band01.png st_band02.png st_band03.png st_clip01.png st_clip02.png st_clip03.png st_clip04.png st_clip05.png st_clusterdbscan01.png st_clusterkmeans03.png st_colormap_bluered.png st_colormap_fire.png st_colormap_grey.png st_colormap_orig.png st_colormap_pseudo.png st_colormap_red.png st_delaunaytriangles01.png st_delaunaytriangles02.png st_delaunaytriangles03.png st_extrude02.png st_extrude04.png st_hexagongrid01.png st_hexagongrid02.png st_hexagongrid03.png st_invdistweight4ma_equation.png st_mapalgebraexpr01.png st_mapalgebraexpr02.png st_mapalgebraexpr2_01.png st_mapalgebraexpr2_02.png st_mapalgebraexpr2_04.png st_mapalgebraexpr2_05.png st_mapalgebraexpr2_06.png st_mapalgebraexpr2_07.png st_mapalgebraexpr2_08.png st_mapalgebrafct2_01.png st_mapalgebrafct2_02.png st_mapalgebrafctngb01.png st_mapalgebrafctngb02.png st_mapalgebramask01.png st_mapalgebramask02.png st_mapalgebramask03.png st_mapalgebramask04.png st_resample01.png st_resample02.png st_rescale01.png st_rescale02.png st_straightskeleton02.png st_tesselate01.png st_tesselate02.png tip.png warning.png /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/images/
/usr/bin/install: cannot stat 'st_buildarea01.png': No such file or directory
/usr/bin/install: cannot stat 'st_letters01.png': No such file or directory
make[3]: *** [Makefile:242: images-install] Error 1

Full buildlogs: all, s390x

comment:15 by strk, 16 months ago

I think the convert command is being called by the generate.c script which is failing to exit with a failure when convert fails, I'm going to fix that as the first thing.

What version of imagemagick do you have there ?

comment:16 by Sandro Santilli <strk@…>, 16 months ago

In 7d425cd/git:

Have generator exit with failure code on failure

References #5446

comment:17 by strk, 16 months ago

Answering myself: graphicsmagick-imagemagick-compat all 1.4+really1.3.40-4 [13.8 kB]

comment:18 by strk, 16 months ago

do you mind if we close this (unable to parse) if that part is fixed and move to another ticket for the imagemagick issue ?

in reply to:  17 comment:19 by Bas Couwenberg, 16 months ago

Replying to strk:

Answering myself: graphicsmagick-imagemagick-compat all 1.4+really1.3.40-4 [13.8 kB]

That's interesting, because on my system the build uses imagemagick (8:6.9.11.60+dfsg-1.6), there the build succeeds.

On the buildds graphicsmagick-imagemagick-compat (1.4+really1.3.40-4) is used where it fails. graphicsmagick-imagemagick-compat Provides/Replaces/Conflicts imagemagick.

Adding a version constraint to the build dependency might suffice to not use graphicsmagick on the buildds.

Replying to strk:

do you mind if we close this (unable to parse) if that part is fixed and move to another ticket for the imagemagick issue ?

That's fine. All the Trac notifications get flagged as spam, which hinders my response time.

comment:20 by Sandro Santilli <strk@…>, 16 months ago

In b2df804/git:

Reduce imagemagick command line length

Use temporary files for writing draw commands.
Reduces the odds of hitting a command line length limit

References #5446

comment:21 by strk, 16 months ago

Bas: with [b2df8046681ac9e644e278b63a59259f8763193b/git] the commandline should be shorter, if you want go give graphicsmagick another try

in reply to:  21 comment:22 by Bas Couwenberg, 16 months ago

Replying to strk:

Bas: with [b2df8046681ac9e644e278b63a59259f8763193b/git] the commandline should be shorter, if you want go give graphicsmagick another try

Thanks, that should help, although the Debian package now forces the use of imagemagick already.

comment:23 by strk, 16 months ago

Resolution: fixed
Status: newclosed

So I'm closing this out as fixed, please file NEW tickets for new problems :)

Note: See TracTickets for help on using tickets.