pkgsrc-Users archive

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

pkg_add fails on gnewSense 3 (Parkes) mips64el



I recently updated (i.e. fresh install) gnewSense 3 (Parkes) on my Lemote
Yeeloong netbook (Model 8101_B) and decided to give pkgsrc a try (to get
packages unavailable or out of date in the gnewSense/Debian repositories).

Output of 'uname -a':

Linux chalk 3.5.3-gnu #1 PREEMPT Tue Aug 28 10:49:41 UTC 2012 mips64 GNU/Linux


After dealing with the issue of Debian's default '/bin/sh' really being
'/bin/dash', the bootstrap seemed to have completed successfully.  After
tweaking "/usr/pkg/etc/mk.conf" for my liking, building the first package
with the freshly-bootstrapped system fails when 'pkg_add' attempts to
update the package database:

[...]
=> Becoming ``root'' to make su-real-package-install (sudo)
[sudo] password for sysop: ===> Install binary package of digest-20121220
pkg_add: Can't open pkgdb for writing: Success
pkg_add: cannot open pkgdb: Success
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/digest
[...]

After this, 'pkg_info' shows "digest-20121220" as installed, but no
actual component files were installed.

My "/usr/pkg/etc/mk.conf" file:

# Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Tue Jan  7 08:41:23 CST 2014

.ifdef BSD_PKG_MK       # begin pkgsrc settings

PKG_DBDIR=              /usr/pkg/var/db/pkg
LOCALBASE=              /usr/pkg
VARBASE=                /usr/pkg/var
PKG_TOOLS_BIN=          /usr/pkg/sbin
PKGINFODIR=             info
PKGMANDIR=              man

TOOLS_PLATFORM.awk?=            /usr/pkg/bin/nawk
TOOLS_PLATFORM.sh?=             /bin/bash

FAILOVER_FETCH=yes

WRKOBJDIR=/d0/build/pkgsrc
PACKAGES=/d0/gnewsense/packages

PAPERSIZE=Letter

SU_CMD=sudo ${SH} -c

LOCALPATCHES=/usr/pkgsrc/../localpatches

PKG_DEFAULT_OPTIONS+=pam ssl -cups -pulseaudio

PKG_OPTIONS.thunderbird+=mozilla-enigmail -mozilla-lightning
PKG_OPTIONS.nmap=zenmap
PKG_OPTIONS.irssi=perl
PKG_OPTIONS.uircd+=unrealircd-ziplinks
UIRCD_HOME=/home/unrealircd
PKG_OPTIONS.ffmpeg+=faac opencore-amr
PKG_OPTIONS.ffmpeg010+=${PKG_OPTIONS.ffmpeg}
PKG_OPTIONS.ffmpeg2+=${PKG_OPTIONS.ffmpeg}
PKG_OPTIONS.cups=-poppler xpdf
PKG_OPTIONS.samba=-ldap -ads -winbind
PKG_OPTIONS.mplayer+=dts aalib ggi arts #debug caca
PKG_OPTIONS.xscreensaver+=webcollage
PKG_OPTIONS.gs_type=ghostscript-agpl
PKG_OPTIONS.fvwm-crystal+=hsetroot urxvt

.if "${PKGPATH}" == "security/sudo" || "${PKGPATH}" == "wip/sudo"
CONFIGURE_ARGS+= --with-insults --with-all-insults
.endif

.endif                  # end pkgsrc settings


Has anyone played with this combination before?

--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index