installing packages mentioned as dependency in ports package
I am trying to compile and build a branch of libreoffice (for collabra online tools). The dependencies are numerous to list out manually. I am using the dependencies listed in the ports folder : /usr/ports/editors/libreoffice (downloaded from ftp https://cdn.openbsd.org/pub/OpenBSD/$(uname -r)/{ports.tar.gz,SHA256.sig}). Using the command: `make print-build-depends`. However when I use the output from there to install using pkg_add : `doas pkg_add jbigkit-2.1p0 javaPathHelper-2.3 metaauto-1.0p4 autoconf-2.52p6 cdparanoia-3.a9.8p5 libdaemon-0.14p1` I get several can't find messages: Can't find p5-URI-5.27 Can't find libsodium-1.0.19 Can't find xz-5.4.5 My query is how to install build dependency of a package listed in ports? Thanks Sandeep
Re: installing packages mentioned as dependency in ports package
On 2024-06-21, Sandeep Gupta wrote: > --7b80c9061b67819e > Content-Type: text/plain; charset="UTF-8" > > I am trying to compile and build a branch of libreoffice (for collabra > online tools). > The dependencies are numerous to list out manually. I am using the > dependencies listed in the ports folder : /usr/ports/editors/libreoffice > (downloaded from ftp https://cdn.openbsd.org/pub/OpenBSD/$(uname > -r)/{ports.tar.gz,SHA256.sig}). > Using the command: `make print-build-depends`. > > However when I use the output from there to install using pkg_add : `doas > pkg_add jbigkit-2.1p0 javaPathHelper-2.3 metaauto-1.0p4 autoconf-2.52p6 > cdparanoia-3.a9.8p5 libdaemon-0.14p1` I get several can't find messages: > Can't find p5-URI-5.27 > Can't find libsodium-1.0.19 > Can't find xz-5.4.5 > > My query is how to install build dependency of a package listed in ports? make sure that your ports tree is up to date for whichever version of OpenBSD that you're using (cvs head for -current, OPENBSD_7_5 for 7.5, etc - you can use a downloaded ports.tar.gz to start from if you must, but then do the relevant cvs update), then: make prepare FETCH_PACKAGES=
Re: installing packages mentioned as dependency in ports package
On Fri, 21 Jun 2024 20:16:57 +0530 Sandeep Gupta wrote: > My query is how to install build dependency of a package listed in > ports? i have FETCH_PACKAGES=-Dsnap in my /etc/mk.conf so that for all dependencies pkg_add -Dsnap is tried first (see bsd.port.mk(5) for details). you can also pass that as argument to make(1).
Re: installing packages mentioned as dependency in ports package
This is working but only partially. The OS is on the snapshot branch (sysupgrade -s) . I checkout out the current branch for ports, configured the prerequisites, then make prepare FETCH_PACKAGES=-Dsnap ``` make prepare FETCH_PACKAGES=-Dsnap ===> libreoffice-24.2.3.2v0 depends on: kio-* - not found ===> Verifying install for kio-* in devel/kf5/kio ===> Looking for kio-5.116.0.tgz in $PKG_PATH - Can't install gstreamer1-plugins-bad-1.24.4 because of libraries |library nettle.7.3 not found | /usr/local/lib/libnettle.so.7.2 (libnettle-3.9.1): minor is too small Direct dependencies for gstreamer1-plugins-bad-1.24.4 resolve to soundtouch-2.3.3 libbs2b-3.1.0p5 opus-1.5.2 lcms2-2.16p0 librsvg-2.58.1 gstreamer1-plugins-base-1.24.4 json-glib-1.8.0 libnettle-3.9.1 libass-0.17.1p0 ``` I am not sure which branch of ports CVS to use or redo sysupgrade -s? On Sat, Jun 22, 2024 at 12:19 AM Thomas L. wrote: > On Fri, 21 Jun 2024 20:16:57 +0530 > Sandeep Gupta wrote: > > My query is how to install build dependency of a package listed in > > ports? > > i have FETCH_PACKAGES=-Dsnap in my /etc/mk.conf so that for all > dependencies > pkg_add -Dsnap is tried first (see bsd.port.mk(5) for details). you can > also > pass that as argument to make(1). >
Re: installing packages mentioned as dependency in ports package
On 2024-06-22, Sandeep Gupta wrote: > --c423ae061b737168 > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > This is working but only partially. The OS is on the snapshot branch > (sysupgrade -s) . I checkout out the current branch for ports, configured > the prerequisites, then make prepare FETCH_PACKAGES=3D-Dsnap > ``` > make prepare FETCH_PACKAGES=3D-Dsnap >=3D=3D=3D> libreoffice-24.2.3.2v0 depends on: kio-* - not found >=3D=3D=3D> Verifying install for kio-* in devel/kf5/kio >=3D=3D=3D> Looking for kio-5.116.0.tgz in $PKG_PATH - Can't install > gstreamer1-plugins-bad-1.24.4 because of libraries >|library nettle.7.3 not found >| /usr/local/lib/libnettle.so.7.2 (libnettle-3.9.1): minor is too small > Direct dependencies for gstreamer1-plugins-bad-1.24.4 resolve to > soundtouch-2.3.3 libbs2b-3.1.0p5 opus-1.5.2 lcms2-2.16p0 librsvg-2.58.1 > gstreamer1-plugins-base-1.24.4 json-glib-1.8.0 libnettle-3.9.1 > libass-0.17.1p0 > ``` > I am not sure which branch of ports CVS to use or redo sysupgrade -s? Wait until a new package snapshot with libnettle-3.10 is built, update to it, and retry. -- Please keep replies on the mailing list.