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


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

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

Started byNiko Tyni <ntyni@debian.org>
First post2022-02-04 11:50 +0100
Last post2022-02-06 20:00 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  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

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

FromNiko Tyni <ntyni@debian.org>
Date2022-02-04 11:50 +0100
SubjectBug#1004956: graphviz: FTBFS: These bindings need PHP7
Message-ID<DN4k9-6LI-3@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#314934

FromSebastiaan Couwenberg <sebastic@xs4all.nl>
Date2022-02-06 18:40 +0100
Message-ID<DNTG2-4e8-7@gated-at.bofh.it>
In reply to#314847

[Multipart message — attachments visible in raw view] — view raw

Control: tags -1 patch

On Fri, 4 Feb 2022 12:06:55 +0100 Sebastiaan Couwenberg wrote:
> On Fri, 4 Feb 2022 10:41:23 +0000 Niko Tyni <ntyni@debian.org> wrote:
> > Looking at the build history there, the PHP 8.1 transition seems to fit
> > the timeline.
> 
> It's actually swig that doesn't support PHP 8 yet, see:
> 
>   https://bugs.debian.org/1003479

The PHP extension will need to be dropped until swig supports PHP 8.

The attached patch does so.

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

[toc] | [prev] | [next] | [standalone]


#314935 — Processed: Re: graphviz: FTBFS: These bindings need PHP7

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2022-02-06 18:40 +0100
SubjectProcessed: Re: graphviz: FTBFS: These bindings need PHP7
Message-ID<DNTG2-4e8-9@gated-at.bofh.it>
In reply to#314847
Processing control commands:

> tags -1 patch
Bug #1004956 [src:graphviz] graphviz: FTBFS: These bindings need PHP7
Added tag(s) patch.

-- 
1004956: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004956
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#314939 — Bug#1004956: marked as done (graphviz: FTBFS: These bindings need PHP7)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2022-02-06 20:00 +0100
SubjectBug#1004956: marked as done (graphviz: FTBFS: These bindings need PHP7)
Message-ID<DNUVr-4Tp-3@gated-at.bofh.it>
In reply to#314847

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sun, 06 Feb 2022 18:49:42 +0000
with message-id <E1nGmbW-0003ow-05@fasolo.debian.org>
and subject line Bug#1004956: fixed in graphviz 2.42.2-6
has caused the Debian Bug report #1004956,
regarding graphviz: FTBFS: These bindings need PHP7
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1004956: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004956
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web