!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
21 Mar 2022
@drupol:matrix.orgPol * (it does not includes php 7.4.29 as it seems that there won't be any release this month.)08:41:38
23 Mar 2022
@drupol:matrix.orgPolHow about merging that PR please? ^^08:03:01
25 Mar 2022
@drupol:matrix.orgPolWe have issue to build PHP <= 7.2: https://github.com/fossar/nix-phps/runs/5691255326?check_suite_focus=true11:46:30
@drupol:matrix.orgPol

Looks like it's an issue with:

> checking for jpeg_read_header in -ljpeg... no
> configure: error: Problem with libjpeg.(a|so). Please check config.log for more information.
11:46:58
@drupol:matrix.orgPol * We have issue to build PHP <= 7.3: https://github.com/fossar/nix-phps/runs/5691255326?check_suite_focus=true11:47:12
@drupol:matrix.orgPolLocally, I have another issue:12:51:40
@drupol:matrix.orgPolimage.png
Download image.png
12:51:42
@drupol:matrix.orgPolweird stuff.12:51:53
@jtojnar:matrix.orgJan Tojnar Pol: it just looks like libpng or zlib is no longer in the dependencies 13:13:04
@jtojnar:matrix.orgJan Tojnarmost likely, they were previously propagated but not any more13:13:22
@drupol:matrix.orgPolOh. Where should I look and/or add them then? in fossar/phps or somewhere else?13:14:21
@jtojnar:matrix.orgJan Tojnarlikely13:19:23
@jtojnar:matrix.orgJan Tojnarif the unpropagation is correct13:19:39
@drupol:matrix.orgPolhttps://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/php-packages.nix#L29513:20:13
@drupol:matrix.orgPolNot in there?13:20:24
@jtojnar:matrix.orgJan Tojnarwell, it looks like it is not needed for newer versions for some reason13:21:12
@drupol:matrix.orgPolright. Then we mneed to add it in fosar/phps. I tried to search a bit, but don't know where to add it. Do you have a suggestion ?13:22:11
@drupol:matrix.orgPol * right. Then we mneed to add it in fossar/phps. I tried to search a bit, but don't know where to add it. Do you have a suggestion ?13:22:18
@jtojnar:matrix.orgJan Tojnar general rule of thumb, if phpExtensions.gd uses functions from libpng, then it should be dependency of phpExtensions.gd 13:22:51
@jtojnar:matrix.orgJan Tojnar package-overrides.nix corresponds to php-packages.nix in fossar/nix-phps 13:23:53
@jtojnar:matrix.orgJan Tojnar * php-packages.nix in Nixpkgs corresponds to package-overrides.nix in fossar/nix-phps 13:24:23
@drupol:matrix.orgPolSo I add a new entry in there with gd13:24:41
@drupol:matrix.orgPol * So I add a new entry in there with gd, and add the missing deps. 13:24:47
@jtojnar:matrix.orgJan Tojnaryeah13:24:51
@jtojnar:matrix.orgJan Tojnar but we should also check if removing the propagation from libgd was a right thing 13:25:49
@jtojnar:matrix.orgJan Tojnar(if not, it should be reverted)13:26:07
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
but we should also check if removing the propagation from libgd was a right thing
How do you do that ?
13:26:38
@jtojnar:matrix.orgJan Tojnarsorry, forgot to post the most likely responsible commit: https://github.com/NixOS/nixpkgs/commit/e986a2e0c2162941e12c9a32485a67f651a6c0d213:26:59
@drupol:matrix.orgPolWow13:28:59
@jtojnar:matrix.orgJan Tojnar Looking at ${gd.dev}/lib/pkgconfig/*.pc, those libraries are indeed listed in Requires.private field, not Requires. Nor does libpng seem to be mentioned in the headers. So it looks like a right call has been made. 13:29:37

Show newer messages


Back to Room ListRoom Version: 6