GNU bug report logs - #52083
[core-updates-frozen] agg fails to build

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Wed, 24 Nov 2021 20:37:02 UTC

Severity: normal

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52083 in the body.
You can then email your comments to 52083 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#52083; Package guix. (Wed, 24 Nov 2021 20:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 24 Nov 2021 20:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: [core-updates-frozen] agg fails to build
Date: Wed, 24 Nov 2021 15:36:07 -0500
[Message part 1 (text/plain, inline)]
Hello,

The build of agg fails like so:

--8<---------------cut here---------------start------------->8---
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_sqrt_tables.cpp  -fPIC -DPIC -o .libs/agg_sqrt_tables.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_vcgen_markers_term.cpp  -fPIC -DPIC -o .libs/agg_vcgen_markers_term.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_sqrt_tables.cpp -o agg_sqrt_tables.o >/dev/null 2>&1
In file included from agg_line_profile_aa.cpp:25:
../include/agg_renderer_outline_aa.h: In member function ‘agg::line_profile_aa& agg::renderer_outline_aa<BaseRenderer>::profile()’:
../include/agg_renderer_outline_aa.h:1378:45: error: binding reference of type ‘agg::line_profile_aa&’ to ‘const agg::line_profile_aa’ discards qualifiers
 1378 |         line_profile_aa& profile() { return *m_profile; }
      |                                             ^~~~~~~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_arrowhead.cpp -o agg_arrowhead.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_line_aa_basics.cpp -o agg_line_aa_basics.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_rounded_rect.cpp -o agg_rounded_rect.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_arc.cpp -o agg_arc.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_trans_warp_magnifier.cpp -o agg_trans_warp_magnifier.o >/dev/null 2>&1
make[2]: *** [Makefile:518: agg_line_profile_aa.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_vpgen_clip_polygon.cpp -o agg_vpgen_clip_polygon.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_image_filters.cpp -o agg_image_filters.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_vpgen_clip_polyline.cpp -o agg_vpgen_clip_polyline.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_vcgen_markers_term.cpp -o agg_vcgen_markers_term.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_trans_affine.cpp -o agg_trans_affine.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_bezier_arc.cpp -o agg_bezier_arc.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_bspline.cpp -o agg_bspline.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_vcgen_bspline.cpp -o agg_vcgen_bspline.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_embedded_raster_fonts.cpp -o agg_embedded_raster_fonts.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_vcgen_smooth_poly1.cpp -o agg_vcgen_smooth_poly1.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_gsv_text.cpp -o agg_gsv_text.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_trans_single_path.cpp -o agg_trans_single_path.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_vcgen_dash.cpp -o agg_vcgen_dash.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_trans_double_path.cpp -o agg_trans_double_path.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_curves.cpp -o agg_curves.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_vcgen_contour.cpp -o agg_vcgen_contour.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -c agg_vcgen_stroke.cpp -o agg_vcgen_stroke.o >/dev/null 2>&1
make[2]: Leaving directory '/tmp/guix-build-agg-2.5.drv-0/agg-2.5/src'
make[1]: *** [Makefile:533: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-agg-2.5.drv-0/agg-2.5/src'
make: *** [Makefile:497: all-recursive] Error 1
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "24") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `build' failed after 1.5 seconds
command "make" "-j" "24" failed with status 2
--8<---------------cut here---------------end--------------->8---

The full log is attached.

[k8pv21hq43ga5f3aqysiz94hlbzpq6-agg-2.5.drv (text/plain, attachment)]

Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Mon, 29 Nov 2021 14:01:02 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Mon, 29 Nov 2021 14:01:02 GMT) Full text and rfc822 format available.

Message #10 received at 52083-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 52083-done <at> debbugs.gnu.org
Subject: Re: bug#52083: [core-updates-frozen] agg fails to build
Date: Mon, 29 Nov 2021 15:00:11 +0100
Hello,

> ../include/agg_renderer_outline_aa.h:1378:45: error: binding reference of type ‘agg::line_profile_aa&’ to ‘const agg::line_profile_aa’ discards qualifiers
>  1378 |         line_profile_aa& profile() { return *m_profile; }

Fixed with f22dfba53032c59fb260173143abf0e4e9a4f1e1.

Thanks,

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Dec 2021 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.