hiya folks,
recently, I reconfigured my ports/packages use such that my
workstation bulk builds unavailable packages (or ones that need to be
rebuilt) for several other systems, exporting /usr/ports. This is done
within a chroot to keep my workstation (relatively) free from the
clutter that would ensue from building for multiple systems. Given
that there was a bit of trial and error through this process, I
believe the errors I am seeing from pkg_add will disappear once I wipe
ports/packages and start fresh, but I am here more out of curiosity to
better understand what went wrong.
when attempting to pkg_add various packages on my laptop, using
/usr/ports (and /usr/ports/packages) exported from my build system, I
often run into the following errors:
ion# pkg_add -i librsvg
Ambiguous: choose package for librsvg
0: None
1: librsvg-2.20.0p3
2: librsvg-2.20.0p3-no_gnome
Your choice: 2
Use of uninitialized value $j in hash element at /usr/sbin/pkg_add line 59.
Use of uninitialized value $j in hash element at /usr/sbin/pkg_add line 59.
Use of uninitialized value $pkg in hash element at /usr/sbin/pkg_add line 82.
Can't call method plist on unblessed reference at /usr/sbin/pkg_add line 764.
I say often, because the uninitialized value $j in hash element
error really only occurs when trying to pkg_add a gnome-related
package.
what's going on here?
thanks, and regards,
~Jason