Re: Is using ports directly (via 'make', etc) a second-class citizen?

2025-05-08 Thread Piotr Smyrak
you want to know, what arch are you installed packages locally, do as follows: $ pkg query "%q %n-%v" This shall show you a list of all installed packages with their registered ABI. HTH, -- Piotr Smyrak

Re: py-setuptools not finding py-wheel

2025-04-13 Thread Piotr Smyrak
vel/py-wheel, because this version of py-setuptools is the only > one, which temporarily needs devel/py-wheel044 [1]. > > [1] > https://freshbsd.org/freebsd/ports/commit/de7c5ca4a2d40df82a8ca46b37c8b859a412b89c This deserves an entry in /usr/ports/UPDATING. -- Piotr Smyrak

Re: Firefox build failing on llvm17

2025-01-24 Thread Piotr Smyrak
On Fri, 24 Jan 2025 09:51:46 -0500 Frank Seltzer wrote: > On Fri, 24 Jan 2025 15:38:02 +0100 > Piotr Smyrak wrote: > > > On Fri, 24 Jan 2025 09:32:28 -0500 > > Frank Seltzer wrote: > > > > > I get this error when attempting to upgrade firefox from 134

Re: Firefox build failing on llvm17

2025-01-24 Thread Piotr Smyrak
/usr/ports/www/firefox $ make -V LLVM_VERSION and… $ grep llvm /etc/make.conf -- Piotr Smyrak

Re: Why does it take so long to build some Python ports

2025-01-03 Thread Piotr Smyrak
setuptools_scm Comment: Setuptools plugin to manage your versions by scm tags Description: Handles managing your python package versions in scm metadata instead of declaring them as the version argument or in a scm managed file. HTH, -- Piotr Smyrak

Re: CFT: repository for kernel modules

2024-12-14 Thread Piotr Smyrak
ION for all kmod ports/packages [2]. Even if you rebuild these packages locally from ports without updating the base, you would still get them sufficed with 1500026, since the value originates from base system. 1. See: grep __FreeBSD_version /usr/src/sys/sys/param.h 2. See: a5fc087131e66513d1c74f8427c924afff580a15 in ports tree repo. HTH, -- Piotr Smyrak

Re: maintained ports tree branches

2024-11-13 Thread Piotr Smyrak
uarterly-latest-branch > > I hope this information helps. > > Regards, > Ronald. > > Van: Piotr Smyrak > Datum: 12 november 2024 22:33 > Aan: FreeBSD Ports > Onderwerp: maintained ports tree branches > > > > > > > Hi, > > > >

Re: Unable to upgrade MariaDB 10.11.9 to 10.11.10

2024-11-11 Thread Piotr Smyrak
patch locally databases/mariadb1011-server/pkg-plist by reversing the latest delta to the file. patch -R < attached_file HTH, -- Piotr Smyrak commit a8e7b5f4b6bd64d7a805c08b5027a41da51640c3 Author: Bernard Spil Date: 2024-11-10 14:34:56 +0100 databases/mytop: Adopt port and fix confl

Re: VirtualBox kmod won't load "module already loaded or in kernel"

2024-07-24 Thread Piotr Smyrak
oesn't know what kernel you have. It's worth to note that there is a systematic solution to rebuild ports that install kernel modules each time a new kernal is installed from sources. Placing such a line in /etc/make.conf will induce rebuilding of kmod port by system Makefiles: PORTS_MODULES += emulators/virtualbox-ose-kmod HTH, -- Piotr Smyrak

Re: Can `pkg prime-origins` be "trained" to pick up flavors?

2024-07-01 Thread Piotr Smyrak
gt; python3=3.9 `pkg prime-origins` is non part of pkg per se. It is an alias configured in pkg config and based on pkg-query(8), where it stands for: prime-origins: "query -e '%a = 0' '%o'", Which means that only the origin will be printed out. Flavors are recorded in package annotations, but IIUC only a number of pkg annotations is available for queries. -- Piotr Smyrak

Re: dependency hell

2024-06-06 Thread Piotr Smyrak
tree is indeed a git repo with something like this you shall get a sinking list of changes made to Makefiles of your affected port/package dependencies: $ cd /usr/ports/`pkg info -qo foo` $ make all-depends-list | sed -e 's@/usr/ports@../..@; s@$@/Makefile@;' | xargs git log -p -- Piotr Smyrak

Re: holding rust at a particular version

2024-04-15 Thread Piotr Smyrak
aps this is a feature of poudriere, but I don't think this is the case for ports themselves. -- Piotr Smyrak

Re: Confused by what make package should do

2024-04-13 Thread Piotr Smyrak
, that you might verify whether pkg-plist contains all the files that form the package. As for creating a package without root privileges, you would only need root hat if the package being installed contains files with higher permissions (ie. try pkg create on cups). -- Piotr Smyrak

Re: poudriere(8) short circuits my ability to build packages

2024-04-04 Thread Piotr Smyrak
driere limitations, or poudriere at all? How can I just build a > package. Users (or Maintainers) aren't forced to use poudriere, are > they? All you need to create a package is: $ doas pkg create editors/vscode More info in pkg-create(8). To maintain your own package repository without poudriere see pkg-repo(8). -- Piotr Smyrak

Re: devel/py-setuptools-scm (py39-setuptools_scm-6.4.2)

2024-03-29 Thread Piotr Smyrak
some reason I had devel/py-setuptools_scm/work present with an empty parent dir otherwise, which likely caused the git update to leave the old port dir behind. And only at this point it prompted me to query MOVED file. -- Piotr Smyrak

Re: Another morning lost to bad ports choices (perl upgrade, plus postgres)

2023-12-12 Thread Piotr Smyrak
On Tue, 12 Dec 2023 15:16:37 +0100 Piotr Smyrak wrote: > On Tue, 12 Dec 2023 04:01:23 -0800 > list_free...@bluerosetech.com wrote: > > > On 2023-10-24 15:12, Dan Mahoney (Ports) wrote: > > > Yes, I know that I should be ready to upgrade to 15 at some point, > >

Re: Get ${OSREL} at install time

2023-04-18 Thread Piotr Smyrak
eebsd-version(1). It's also has the advantage of letting you inspect values of hosted jails. HTH, -- Piotr Smyrak

Re: Get ${OSREL} at install time

2023-04-18 Thread Piotr Smyrak
${WRKSRC}/gitup.conf > --- > > Any sugestion or example that permits to get OSREL at install time? Not sure whether I understand your pursuit well, but if you have OS source access, you might want to take a look at sys/conf/newvers.sh $ egrep '^(TYPE|REVISION|BRANCH)' /usr/src/sys/conf/newvers.sh -- Piotr Smyrak

Re: Recover from a corrupt pkg DB

2022-08-30 Thread Piotr Smyrak
and full fsck, I get the error: > pkg: sqlite error while executing PRAGMA user_version; in file > pkgdb.c:2357: database disk image is malformed > > Is there any way to rebuild the DB or, if not, how do I remove it and > start from scratch? The DB is located in /var/db/pkg. -- Piotr Smyrak

Re: pkg: unknown format pkg, using the default

2021-09-03 Thread Piotr Smyrak
, using the default         <= HERE ! > > Besides that, all runs perfect, this is just a warning I guess this is related to: ports-mgmt/pkg*: Release 1.17.0 TL;DR: new uniq package file extension: '.pkg' […] - pkg now have a single extension: ".pkg" and a backward compatible symlink is created when the package is created to help transitioning -- Piotr Smyrak

Re: Odd whine from grep in www/chromium?

2021-09-03 Thread Piotr Smyrak
TABLE FreeBSD 12.2-STABLE #1108 > > stable/12-n233711-e99900847a5: Thu Sep 2 03:31:49 PDT 2021 > > r...@g1-48.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY > > amd64 1202508 1202508 > > > > g1-48(12.2-S)[5] gen_fbsd_git_tag -fr /usr/ports . > > main-n556810-ea698cc7edbb > > Yeah, something like grep -c may be a better option, and then check > whether the output == 0. I'm afraid this would still cause a warning, since grep exits with non zero status when no strings were found. Appending " || :" to the line 210 would prevent the negative scenario from causing a warning. -- Piotr Smyrak