Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Nov 2020 19:07:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 234784] graphics/gdk-pixbuf2: Fails to build with PNG option disabled
Message-ID:  <bug-234784-39348-K3V91C1MeV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234784-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234784-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234784

--- Comment #17 from John Hein <jcfyecrayz@liamekaens.com> ---
(In reply to Mikhail Teterin from comment #16)
A little late on this reply, but no, I did not have gdk-pixbuf2 already
installed when I did the PREFIX=3D/opt build (comment 15).  But it's possib=
le
(that was a while ago) that it was with the PNG option enabled.

Certainly when I try building today (time has moved on and the version of
gdk-pixbuf2 is now 2.40.0 vs 2.36.12 for the OP's reported issue), it
consistently fails if PNG is off and consistently builds if PNG is on.  Thi=
s is
with concurrent building enabled or not (on a 4 cpu system).  Other things =
have
changed since Jan 2019 (meson, ninja) as well.

I think the OP's problem is a mystery and need not be pursued.  Basically, =
he
had PNG on, libpng was installed and detected, but for some silent reason,
pixbufloader-png.so was just never built.  That triggers the later problems=
 in
the build.

Since we don't have enough information to solve the OP problem, we could ju=
st
close this bug.  Except that there seems to be a real problem _now_ when PN=
G is
disabled (-Dpng=3Dfalse passed to meson).

I think any talk of parallel builds causing problems is just unverified
guessing that _maybe_ was a possible problem in the 2019 version of everyth=
ing.
 Let's assume it's not a problem now.

The only problem that still remains as far as I can see is that the build f=
ails
with default options except PNG off.  And it fails in a test because
pixbufloader-png.so was never built.  This seems to be an upstream issue - =
and
the probable fix is: whatever test is failing should  be modified or disabl=
ed
if configured via meson with -Dpng=3Dfalse.

Possible courses of action:

 - remove PNG option and require libpng it unconditionally

 - submit problem upstream and see if they can reproduce/fix

 -=20

 - just punt and close the bug WONT

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234784-39348-K3V91C1MeV>