Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #314847

Bug#1004956: graphviz: FTBFS: These bindings need PHP7

From Niko Tyni <ntyni@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1004956: graphviz: FTBFS: These bindings need PHP7
Date 2022-02-04 11:50 +0100
Message-ID <DN4k9-6LI-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: graphviz
Version: 2.42.2-5
Severity: serious
Tags: ftbfs sid bookworm
Control: block 1003176 with -1

This package fails to build from source on current sid, and apparently
testing as well.

Build logs can be found at

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/graphviz.html

Looking at the build history there, the PHP 8.1 transition seems to fit
the timeline.

Excerpt:

  gv_php.cpp:772:3: error: #error These bindings need PHP7 - to generate PHP5 bindings use: SWIG < 4.0.0 and swig -php5
    772 | # error These bindings need PHP7 - to generate PHP5 bindings use: SWIG < 4.0.0 and swig -php5
        |   ^~~~~
  gv_php.cpp: In function 'int SWIG_ConvertPtr(zval*, void**, swig_type_info*, int)':
  gv_php.cpp:963:54: error: cannot convert 'zval*' {aka '_zval_struct*'} to 'zend_object*' {aka '_zend_object*'} in argument passing
    963 |       HashTable * ht = Z_OBJ_HT_P(z)->get_properties(z);
        |                                                      ^
        |                                                      |
        |                                                      zval* {aka _zval_struct*}
  gv_php.cpp: At global scope:
  gv_php.cpp:5405:2: error: 'ZEND_ARG_PASS_INFO' was not declared in this scope; did you mean 'ZEND_ARG_OBJ_INFO'?
 
-- 
Niko Tyni   ntyni@debian.org

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1004956: graphviz: FTBFS: These bindings need PHP7 Niko Tyni <ntyni@debian.org> - 2022-02-04 11:50 +0100
  Bug#1004956: graphviz: FTBFS: These bindings need PHP7 Sebastiaan Couwenberg <sebastic@xs4all.nl> - 2022-02-06 18:40 +0100
  Processed: Re: graphviz: FTBFS: These bindings need PHP7 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-02-06 18:40 +0100
  Bug#1004956: marked as done (graphviz: FTBFS: These bindings need  PHP7) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-02-06 20:00 +0100

csiph-web