pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: building asterisk and xmlstarlet



> On Jul 5, 2025, at 4:01 PM, Greg Troxel <gdt%lexort.com@localhost> wrote:
> 
> I've been rebuilding for the branch, and found that asterisk19 would
> fail:
> 
>  => Creating installation directories
>  menuselect/menuselect --check-deps menuselect.makeopts
>  menuselect/menuselect --check-deps menuselect.makeopts /tmp/work/comms/asterisk19/work/asterisk-19.8.1/pkgsrc.makeopts 
>  Installing modules from channels...
>  sh: 6: Syntax error: Bad substitution
>  make[1]: *** [/tmp/work/comms/asterisk19/work/asterisk-19.8.1/Makefile.moddir_rules:110: install] Error 2
>  gmake: *** [Makefile:580: channels-install] Error 2
>  *** Error code 2
> 
> I tried to read the twisty makefiles etc. but didn't figure it out.
> 
> Then I uninstalled xmlstarlet (which isn't required by the Makefile) and
> it built, which explains why it builds in bulk.
> 
> Is anyone else seeing this?
> 
> This might affect other versions.

I was unable to reproduce this error but the location of the error
is the same as the one I reported in pkg/59478 for asterisk22.
I found a way to get it to build here:

https://mail-index.netbsd.org/pkgsrc-bugs/2025/06/24/msg074140.html

Does applying those changes to the asterisk19 package
allow the build to proceed? If so, it might shed some light
on what is going wrong.


Home | Main Index | Thread Index | Old Index