[asterisk-bugs] [JIRA] (ASTERISK-30059) xml parser error in compiling from source Version 19.4
Reuben Farrelly (JIRA)
noreply at issues.asterisk.org
Fri May 13 07:10:40 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259144#comment-259144 ]
Reuben Farrelly commented on ASTERISK-30059:
--------------------------------------------
I'm seeing the same thing on Gentoo. This breakage is new to 19.4 - not seen on 19.3. The original report is very thin on details but I'm assuming that what I am observing is the same problem at the OP:
configure: Package configured for:
configure: OS type : linux-gnu
configure: Host CPU : x86_64
configure: build-cpu:vendor:os: x86_64 : pc : linux-gnu :
configure: host-cpu:vendor:os: x86_64 : pc : linux-gnu :
make -j4 NOISY_BUILD=yes ASTDBDIR=$(ASTDATADIR)/astdb ASTVARRUNDIR=/run/asterisk ASTCACHEDIR=/var/cache/asterisk OPTIMIZE= DEBUG= DESTDIR=/var/tmp/portage/net-misc/asterisk-19.4.0/image CONFIG_SRC=configs/samples CONFIG_EXTEN=.sample menuselect.makeopts
CC="cc" CXX="x86_64-pc-linux-gnu-g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
make[1]: Entering directory '/var/tmp/portage/net-misc/asterisk-19.4.0/work/asterisk-19.4.0/menuselect'
gcc -g -D_GNU_SOURCE -Wall -Wno-deprecated-declarations -DHAVE_NCURSES -c -o menuselect.o menuselect.c
gcc -g -D_GNU_SOURCE -Wall -Wno-deprecated-declarations -DHAVE_NCURSES -c -o strcompat.o strcompat.c
gcc -g -D_GNU_SOURCE -Wall -Wno-deprecated-declarations -DHAVE_NCURSES -c -o menuselect_stub.o menuselect_stub.c
menuselect.c:35:10: fatal error: libxml/parser.h: No such file or directory
35 | #include <libxml/parser.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [<builtin>: menuselect.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/net-misc/asterisk-19.4.0/work/asterisk-19.4.0/menuselect'
make: *** [Makefile:1061: menuselect/menuselect] Error 2
I imagine the file that the build wants is this one:
supercell ~ # ls -la /usr/include/libxml2/libxml/parser.h
-rw-r--r-- 1 root root 39734 May 4 19:28 /usr/include/libxml2/libxml/parser.h
supercell ~ #
Which is part of:
dev-libs/libxml2-2.9.14-r1 (/usr/include/libxml2/libxml/parser.h)
I will attach a console log of the build to the ticket.
> xml parser error in compiling from source Version 19.4
> ------------------------------------------------------
>
> 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: waltermoeller
> Severity: Major
> Attachments: asterisk-19-4-0-build.txt
>
>
> compiling , cant fnd headerfile
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list