[asterisk-bugs] [JIRA] (ASTERISK-30059) menuselect: libxml include fails under Gentoo
Alexander Wetzel (JIRA)
noreply at issues.asterisk.org
Sun May 15 09:45:40 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259168#comment-259168 ]
Alexander Wetzel edited comment on ASTERISK-30059 at 5/15/22 9:44 AM:
----------------------------------------------------------------------
Also using Gentoo, same problem. It's probably tied to something in the gentoo ebuild, or at least triggered by some setup done here.
I did not dig deeper but with my custom ebuild ebuild for asterisk I got the same error.
When I used the official tarball and just run configure/make on it it's working.
That said the issue seems to be, that "menuselect/makeopts" for some reasons doesn't get the xml variables filled in correctly:
Here the diffs of the file when I compare the "normal compile" and "my own asterisk ebuild"
--- /usr/src/asterisk-18.12.0/menuselect/makeopts 2022-05-15 14:42:36.633752682 +0200
+++ makeopts 2022-05-15 14:50:04.364355614 +0200
@@ -25,5 +25,5 @@
NEWT_INCLUDE=
NEWT_LIB=
-LIBXML2_INCLUDE=-I/usr/include/libxml2
+LIBXML2_INCLUDE=
LIBXML2_LIB=-lxml2
After fixing the file manually I was able to merge asterisk fine.
edit:
issue is only for makeopts in "menuselect". Tn the directory above that it's filled in.
was (Author: deagol):
Also using Gentoo, same problem. It's probably tied to something in the gentoo ebuild, or at least triggered by some setup done here.
I did not dig deeper but with my custom ebuild ebuild for asterisk I got the same error.
When I used the official tarball and just run configure/make on it it's working.
That said the issue seems to be, that "menuselect/makeopts" for some reasons doesn't get the xml variables filled in correctly:
Here the diffs of the file when I compare the "normal compile" and "my own asterisk ebuild"
--- /usr/src/asterisk-18.12.0/menuselect/makeopts 2022-05-15 14:42:36.633752682 +0200
+++ makeopts 2022-05-15 14:50:04.364355614 +0200
@@ -25,5 +25,5 @@
NEWT_INCLUDE=
NEWT_LIB=
-LIBXML2_INCLUDE=-I/usr/include/libxml2
+LIBXML2_INCLUDE=
LIBXML2_LIB=-lxml2
After fixing the file manually I was able to merge asterisk fine.
> menuselect: libxml include fails under Gentoo
> ---------------------------------------------
>
> Key: ASTERISK-30059
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30059
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Sounds
> Affects Versions: 19.4.0
> Environment: linux gentoo , kernel 5.18-rc6 in version version 19.4.0 can nit change here .
> version 19.3.3 is ok !
> Reporter: waltermoeller
> Assignee: Unassigned
> Severity: Major
> Attachments: asterisk-19-4-0-build.txt, config.log, menuselect-config.log
>
>
> compiling , cant fnd headerfile
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list