pkgsrc-Users archive

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

Re: Rebuilding firefore



make: "/etc/mk.conf" line 48: Unknown directive ""
make: "/etc/mk.conf" line 51: Unknown directive ""
make[1]: "/etc/mk.conf" line 48: Unknown directive ""
make[1]: "/etc/mk.conf" line 51: Unknown directive ""
make[1]: Fatal errors encountered -- cannot continue
make: "/usr/pkgsrc/mk/pkg-build-options.mk" line 55: warning: "echo
"";  /usr/sbin/pkg_info -K /usr/db/pkg -Q PKG_OPTIONS gtk3 2>/dev/null
 || { cd ../../x11/gtk3  && /usr/bin/make _MAKE=/usr/bin/make
NATIVE_OPSYS=NetBSD OPSYS=NetBSD NATIVE_OS_VERSION=10.0_RC6
OS_VERSION=10.0_RC6 NATIVE_OPSYS_VERSION=100000 OPSYS_VERSION=100000
HOST_MACHINE_ARCH=amd64 NATIVE_LOWER_OPSYS=netbsd LOWER_OPSYS=netbsd
_PKGSRCDIR=/usr/pkgsrc PKGTOOLS_VERSION=20210410 _CC=/usr/bin/gcc
PKG_BUILD_OPTIONS.MesaLib=\ llvm\ wayland\ x11
PKG_BUILD_OPTIONS.libxml2=\ inet6 PKG_BUILD_OPTIONS.llvm=\
llvm-target-aarch64\ llvm-target-amdgpu\ llvm-target-arc\
llvm-target-arm\ llvm-target-avr\ llvm-target-bpf\ llvm-target-csky\
llvm-target-directx\ llvm-target-hexagon\ llvm-target-lanai\
llvm-target-loongarch\ llvm-target-m68k\ llvm-target-mips\
llvm-target-msp430\ llvm-target-nvptx\ llvm-target-powerpc\
llvm-target-riscv\ llvm-target-sparc\ llvm-target-spirv\
llvm-target-systemz\ llvm-target-ve\ llvm-target-webassembly\
llvm-target-x86\ llvm-target-xcore\ llvm-target-xtensa\ terminfo
PKG_BUILD_OPTIONS.ffmpeg7=\ aom\ ass\ bluray\ fontconfig\ freetype\
gnutls\ lame\ libvpx\ libwebp\ opus\ speex\ theora\ vaapi\ vdpau\
vorbis\ x11\ x264\ x265\ xvid PKG_BUILD_OPTIONS.freetype2=\ brotli\
png PKG_BUILD_OPTIONS.x264=\ threads show-var VARNAME=PKG_OPTIONS; }"
returned non-zero status
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/pkgsrc/www/firefox128


I ran that  code you sent. I THINK IT WORKS ---
but why the prob  when I run it? SEE the first 4 errors?

Did I missed something when I copied and    wrote fro the MicroSoft *.txt file?
I deleted   '_ _ _ _ ' from 2 lines. What else did I miss ?

On Sun, Apr 6, 2025 at 5:13 PM Todd Gruhn <tgruhn2%gmail.com@localhost> wrote:
>
> Thanks -- I will try this when I switch back to NetBSD
>
> I also copied the meson log that I got. I dont know if it helps ...
>
> On Sat, Apr 5, 2025 at 9:18 PM David Holland
> <dholland-pkgusers%netbsd.org@localhost> wrote:
> >
> > On Sat, Apr 05, 2025 at 10:34:00AM -0400, Rob Whitlock wrote:
> >  > > I think PKG_FAIL_REASON is the "backend" - it can be set for various
> >  > > reasons - and BROKEN is the "frontend" used for explicitly setting
> >  > > packages as broken in their package Makefiles.
> >  > > Thomas
> >  >
> >  > The pkgsrc guide recommends setting it in certain situations
> >  >
> >  >   If the package should be skipped (for example, because it
> >  >   provides functionality already provided by the system),
> >  >   set PKG_SKIP_REASON to a descriptive message. If the
> >  >   package should fail because some preconditions are not
> >  >   met, set PKG_FAIL_REASON to a descriptive message.
> >  >
> >  > https://www.netbsd.org/docs/pkgsrc/fixes.html#not-building-packages
> >  >
> >  > so I'm thinking maybe your explanation isn't entirely correct, or the
> >  > pkgsrc guide isn't correct.
> >
> > BROKEN is a way to set PKG_FAIL_REASON, no more, no less.
> >
> > .  if ${BROKEN:U:M*}
> > PKG_FAIL_REASON+=       "${PKGNAME} is marked as broken:"
> > PKG_FAIL_REASON+=       ${BROKEN}
> > .  endif
> >
> > --
> > David A. Holland
> > dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index