pkgsrc-Users archive

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

Re: multimedia/libass: CONFIGURE_ARGS depends on whether sources were extracted



> Aleksey Cheusov <vle%gmx.net@localhost> writes:

 >> The following type script demonstrates the problem:
 >>
 >> libass$ make clean 2>/dev/null 1>&2; make show-var VARNAME=CONFIGURE_ARGS; make extract 2>/dev/null >&2; make show-var VARNAME=CONFIGURE_ARGS
 >> --disable-asm --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --prefix=/usr/pkg --build=x86_64--netbsd --host=x86_64--netbsd --mandir=/usr/pkg/man --enable-option-checking=yes
 >> --disable-asm --prefix=/usr/pkg --build=x86_64--netbsd --host=x86_64--netbsd --mandir=/usr/pkg/man --enable-option-checking=yes
 >> libass$

> That seems clearly a bug.
Yes. I'm asking this question because my bulk build fails on this package.

https://pkgs4unix.org/~cheusov/bulk_logs/20240606.1128/multimedia_libass_libass-0.17.1nb1/stage_configure.html

After some investigation I've found that CONFIGURE_ARGS changes after step "fetch".

> Do you understand where the x-includes comes from?
As you already showed it comes from mk/x11.buildlink3.mk

> I don't see anything in multimedia/libass, so clearly it's from the
> twisty maze of bl3/mk files that end up included.

> Does libass really not use X directly, but only the listed libs?
No idea.

> It seems that there is probably a missing bl3 on libX11.

> /usr/pkgsrc $ find mk -type f |xargs egrep x-includes
> mk/x11.buildlink3.mk:CONFIGURE_ARGS+=   --x-includes=${X11BASE:Q}/include

I think the problem is easily reproducible on NetBSD.
It would be nice if some one else look into this :-/


Home | Main Index | Thread Index | Old Index