Package Details: python2-reportlab 3.5.34-3

Git Clone URL: https://aur.archlinux.org/python2-reportlab.git (read-only, click to copy)
Package Base: python2-reportlab
Description: A proven industry-strength PDF generating solution
Upstream URL: http://www.reportlab.com/
Licenses: BSD
Submitter: Joermungand
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 2
Popularity: 0.000000
First Submitted: 2020-02-10 17:58 (UTC)
Last Updated: 2024-05-19 12:18 (UTC)

Latest Comments

FabioLolix commented on 2024-05-19 12:19 (UTC)

Thanks

micwoj92 commented on 2024-05-19 11:55 (UTC)

You should use -Wno-error=incompatible-pointer-types instead of pointing to gcc13.

FabioLolix commented on 2024-05-19 11:47 (UTC)

Adding export CC=/usr/bin/gcc-13 CXX=/usr/bin/g++-13 and options=(!lto) and now fails with

lto1: fatal error: bytecode stream in file 'build/temp.linux-x86_64-2.7/src/rl_addons/rl_accel/_rl_accel.o' generated with LTO version 13.1 instead of the expected 14.0
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
==> ERROR: A failure occurred in build().

micwoj92 commented on 2024-05-19 11:42 (UTC)

Fails to build

src/rl_addons/rl_accel/_rl_accel.c: In function ‘unicode2T1’:
src/rl_addons/rl_accel/_rl_accel.c:621:37: error: passing argument 2 of ‘_GetStringBuf’ from incompatible pointer type [-Wincompatible-pointer-types]
  621 |         encObj = _GetStringBuf(_o2, &encStr);
      |                                     ^~~~~~~
      |                                     |
      |                                     char **
src/rl_addons/rl_accel/_rl_accel.c:559:60: note: expected ‘const char **’ but argument is of type ‘char **’
  559 | static PyObject *_GetStringBuf(PyObject *obj, const char **buf)
      |                                               ~~~~~~~~~~~~~^~~

FabioLolix commented on 2021-12-11 22:32 (UTC)

Hello,

  • python2-pip no longer exist and is not needed anyway by this pkgbuild
  • you're not using ${pkgver} in source=()
  • you're not using --skip-build in package() [you're building the package twice]