pkgsrc-Users archive

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

Re: firefox does not work ok 10 Stable



Robert Bagdan <kikadf.01%gmail.com@localhost> writes:

>>
>> I tried many times to build chromium and failed.
>>
>> My pkg-config is borked, any ideas on how-to refresh it?
>>
>
> I build chromium with trunk pkgsrc tree, not tried on stable. I think
> you are on pkgsrc-2024Q3, right? I checked my
> chromium/work/.buildlink/include directory, and the graphite2 relevant
> files are there, as graphite2 is a dependency for harfbuzz on the
> platforms where rust is supported. Chromium is  x86_64 only now (set
> in Makefile), what is your OS? Do you have LIBRSVG_TYPE definition in
> the /etc/mk.conf file?

OS type is NetBSD 10.0_STABLE amd64.

.../.buildlink/include doesn't list graphite2 as follows under `g'

```
gcrypt.h -> /usr/pkg/include/gcrypt.h
gdk-pixbuf-2.0
gio-unix-2.0
glib-2.0
gmp.h -> /usr/pkg/include/gmp.h
gmpxx.h -> /usr/pkg/include/gmpxx.h
gnome-keyring-1
gnutls
gpg-error.h -> /usr/pkg/include/gpg-error.h
gpgrt.h -> /usr/pkg/include/gpgrt.h
gtk-3.0
harfbuzz

```

pkgsrc/wip is where I build chromium. pkgsrc-2024Q3 is the stable
release I set for the PKG_PATH but the wip/chromium make process has
refered to pkgsrc-2024 and not pkgsrc-2024Q3 in the Emacs eshell
environment, this I have fixed by explicitly exporting PKG_PATH but I
may have built wip/chromium dependencies with pkgsrc-2024.

I would prefer c to rust and my /etc/mk.conf has

```
PKG_OPTIONS.emacs=		svg xaw

PKGSRC_COMPILER=		gcc
GCC_REQD=			12

DEPENDS_TARGET=			bin-install install-depends

LIBRSVG_TYPE=			c
```

In the above DEPENDS_TARGET was set towards the last 2 of 6 build attempts.

And, depending on the eshell's setting for PKG_PATH refering implicitly
to 2024 or explicitly to 2024Q3, I had to set in /etc/pkg_install.conf
`CHECK_OSABI=no' given the following

chromium-130-3.text:79:pkg_add: Can't process http://ftp6.NetBSD.org:80/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All/osabi-NetBSD-10*: No route to host
chromium-130-3.text:80:pkg_add: A different version of osabi-NetBSD-10.0_STABLE is already installed: osabi-NetBSD-10.0
chromium-130-3.text:81:pkg_add: Can't install dependency osabi-NetBSD-10.0_STABLE
chromium-130-3.text:82:pkg_add: Expected dependency osabi-NetBSD-10.0_STABLE still missing
chromium-130-3.text:88:=> Full dependency osabi-NetBSD-10.0_STABLE: NOT found
chromium-130-3.text:89:=> Verifying bin-install install-depends for ../../pkgtools/osabi
chromium-130-3.text:90:===> Binary install for osabi-NetBSD-10.0_STABLE
chromium-130-3.text:91:ERROR: osabi-NetBSD-10.0 is already installed - perhaps an older version?
chromium-130-3.text:92:ERROR: If so, you may wish to ``pkg_delete osabi-NetBSD-10.0'' and install
chromium-130-3.text:97:make[4]: stopped in /usr/pkgsrc/pkgtools/osabi
chromium-130-3.text:101:make[3]: stopped in /usr/pkgsrc/pkgtools/osabi

Anyway, pkgin shows graphite2 is installed and the chromium build stops
and says graphite2 is not found because pkg-config could not run.

-- 
vl


Home | Main Index | Thread Index | Old Index