#8427 closed defect (fixed)
VTE-0.46.0 needs PCRE2-10.22
Reported by: | Tim Tassonis | Owned by: | Douglas R. Reno |
---|---|---|---|
Priority: | low | Milestone: | 8.0 |
Component: | BOOK | Version: | SVN |
Severity: | trivial | Keywords: | |
Cc: |
Description ¶
When building vte-0.46.0, I learnt that it needs pcre2, which is not listed as a dependency. As pcre2 is not included in lfs and is also not a dependency of the required gtk3 or libxml2, the build will fail.
Change History (20)
comment:1 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 8 years ago
Well we don't have PCRE2 mentioned at all as a part of glib.
Checking configure, PCRE2 is not mentioned. (Also --with-pcre=[internal/system] [default=system] so we can remove that).
PCRE_REQUIRED_VERSION=8.13
So no, PCRE2 is not a dependency to Glib.
comment:3 by , 8 years ago
Samuel, would you like to make a patch for this one? It would be a very trivial task, and a nice start.
comment:4 by , 8 years ago
Ok, I'll try tonight, but I won't be able to test it. I have a lot of schoolwork.
comment:8 by , 8 years ago
Is it a required, recommended or optional, or an optional if building vte?
comment:10 by , 8 years ago
I have added the patch as an attachment and will post the patch on blfs-dev.
comment:12 by , 8 years ago
As far as I understand this thread, the patch should be for vte and not for glib... At least, pcre2 is not a required dependency of glib (i.e. the glib package can be built and run without it). It may be recommended, though, but then, all the packages dependent on glib should be checked to see whether they can use pcre2. If not, then pcre has to be added as a dependency of that package.
I'd suggest that for now on, we keep pcre as recommended for glib, and that packages needing really pcre2 be patched to have it as a dependency. Then, when a vast majority of packages can use pcre2, change our mind and recommend it for glib. Note that since there is a bundled version of pcre in glib, pcre is never a required dep, only recommended.
comment:13 by , 8 years ago
I can confirm this is wrong. I built glib without pcre2 without problems and according to Bruce (comment 2), glib doesn't even compile/link against pcre2, but only against pcre. vte however unconditionally needs pcre2.
comment:14 by , 8 years ago
Sorry. I'll patch vte with a required depencency on pcre2, and if you want I'll patch glib with a recommended dependency on pcre2.
comment:15 by , 8 years ago
I will post the new patch on blfs-dev and attach it here. I can't figure out how to delete the old patch, so can someone do that for me. I created the patch using svn diff
and tested applying the patch with patch -p0 -i ../vte_pcre2_dependency.patch
.
by , 8 years ago
Attachment: | vte_pcre2_dependency.patch added |
---|
comment:16 by , 8 years ago
Thanks to Pierre for pointing out that I had not used the template.xml guidelines. I now have and will post the new patch on blfs-dev.
comment:17 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed by pierre (applying Samuel's patch) at r17893.
Sorry about that. I'll fix it.
Although - Guys, should we add PCRE2 as a dependency to Glib? That would knock it out early on and remove the hassle of having it mentioned in multiple pages.
I'm sure other packages (including those non-GNOME related) will start using it soon, or are already capable of it.