From owner-freebsd-pkg@FreeBSD.ORG Sun Feb 16 05:01:36 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4D60ACD for ; Sun, 16 Feb 2014 05:01:36 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id CAEC51D4D for ; Sun, 16 Feb 2014 05:01:36 +0000 (UTC) Received: from Alfreds-MacBook-Pro.local (c-76-21-10-192.hsd1.ca.comcast.net [76.21.10.192]) by elvis.mu.org (Postfix) with ESMTPSA id 8FEF91A3C1E for ; Sat, 15 Feb 2014 21:01:28 -0800 (PST) Message-ID: <5300463F.9090301@freebsd.org> Date: Sat, 15 Feb 2014 21:01:51 -0800 From: Alfred Perlstein Organization: FreeBSD User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: pkg@freebsd.org Subject: pkg-static segfaults when a port makes a package in chroot/nanobsd. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2014 05:01:37 -0000 Hey folks, I'm doing a build of nanobsd derivative and trying to get it to work on 10-stable with the tip of freebsd ports as of a couple of days ago. I'm getting a segfault in pkg-static when trying to "make package". The stack trace is this: (gdb) bt #0 0x00000000005a0bcc in ucl_obj_ref (obj=0x0) at ucl.h:743 #1 0x00000000005a0b99 in ucl_parser_get_object (parser=0x801027880) at /usr/workdir/usr/ports/ports-mgmt/pkg/work/pkg-1.2.6/libpkg/../external/libucl/src/ucl_util.c:230 #2 0x0000000000564795 in pkg_parse_manifest_file (pkg=0x80104e1c0, file=0x7fffffffb010 "/usr/workdir/usr/ports_dir/textproc/libxml2/work/.metadir/+MANIFEST", keys=0x8010282e0) at pkg_manifest.c:748 #3 0x000000000043d83d in pkg_create_staged ( outdir=0x7fffffffbc5d "/usr/ports/packages/All", format=TXZ, rootdir=0x7fffffffbba5 "/usr/workdir/usr/ports_dir/textproc/libxml2/work/stage", md_dir=0x7fffffffbbdf "/usr/workdir/usr/ports_dir/textproc/libxml2/work/.metadir", plist=0x7fffffffbc1c "/usr/workdir/usr/ports_dir/textproc/libxml2/work/.PLIST.mktmp", old=false) at pkg_create.c:248 #4 0x0000000000407e93 in exec_create (argc=1, argv=0x7fffffffb720) at create.c:262 #5 0x000000000040bd47 in main (argc=10, argv=0x7fffffffb6d8) at main.c:774 (gdb) The file /usr/workdir/usr/ports_dir/textproc/libxml2/work/.metadir/+MANIFEST doesn't seem to exist. The command being run is this: env TARGET=amd64 TARGET_ARCH=amd64 NAS_PORTS_DIRECT=1 make __MAKE_CONF=/vol/data/alfred/freenas/os-base/amd64/make.conf.build SRC_BASE=/usr/src WRKDIRPREFIX=/usr/workdir -C /usr/ports_dir/textproc/libxml2 clean all install package BATCH=yes -DUSE_PACKAGE_DEPENDS -DFORCE_PACKAGE -DFORCE_PKG_REGISTER Any ideas? There is a large env being set: The environment looks like this, you can probably grep -v out the ^NANO stuff to make this readable: NANO_PYTHON_DEFAULT_VERSION=python2.7 SUDO_COMMAND=/usr/local/bin/zsh NANO_SRC=/vol/data/alfred/freenas/FreeBSD/src NANO_MODULES= cc/cc_cdg cc/cc_chd cc/cc_cubic cc/cc_hd cc/cc_htcp cc/cc_vegas cxgb cxgbe cyclic dtrace ext2fs fdescfs geom ipmi krpc libiconv libmchain lindev linprocfs linsysfs linux nfs_common nfsclient nfslock ispfw/ispfw opensolaris pf pflog smbfs tmpfs udf usb/xhci zfs ctl cxgbe/t4_firmware cxgbe/t5_firmware iscsi syscons NANO_LABEL=DarkShield NANO_MEDIASIZE=14450688 NANO_NEWFS=-b 4096 -f 512 -i 8192 -O1 -U LOGNAME=root NANO_TOOLS=/vol/data/alfred/freenas/build/nanobsd NANO_MAKE_CONF_BUILD=/vol/data/alfred/freenas/os-base/amd64/make.conf.build NAS_PORTS_DIRECT=1 NANO_BOOTLOADER=boot/boot0 MAKELEVEL=1 AVATAR_ROOT=/vol/data/alfred/freenas NANO_XZ=pxz MAKEOBJDIRPREFIX=/vol/data/alfred/freenas/os-base/amd64 FREEBSD_PACKAGE_MIRROR_32=http://mirror.exonetric.net/pub/pkgng/freebsd:9:x86:32/latest NANO_PMAKE=make -j 9 SCRIPT=typescript NANO_ARCH=amd64 FREEBSD_PKGCACHE_32=/freenas-build/freebsd-packages-32 MASTER_SITE_OVERRIDE=http://build/distcache/${DIST_SUBDIR}/ MAIL=/var/mail/root NANO_LOCAL_DIRS= pbi-wrapper extract-tarball NANO_CONFSIZE=2048 MAKEFLAGS= .MAKE.LEVEL.ENV=MAKELEVEL NANO_HEADS=16 DISTCACHE= MAKE_JOBS=9 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/alfred/bin FREEBSD_DISTCACHE=/freenas-build/freebsd-distfiles NANO_IMAGES=2 NANO_CFG_BASE=/vol/data/alfred/freenas/nanobsd NANO_MAKE_CONF_INSTALL=/vol/data/alfred/freenas/os-base/amd64/make.conf.install SUDO_GID=1001 OLDPWD=/vol/data/alfred/freenas/FreeBSD/ports/devel/py-fake-factory .MAKE.LEVEL.ENV=MAKELEVEL NANO_DATASIZE=4096000 FREEBSD_FTP_MIRROR=ftp://ftp.freebsd.org PWD=/vol/data/alfred/freenas/FreeBSD/ports/www/py-django-bootstrap-form _=/usr/bin/make REVISION=b28fa34 FREEBSD_PACKAGE_MIRROR=http://pkg.cdn.pcbsd.org/freenas NANO_WORLDDIR=/vol/data/alfred/freenas/os-base/amd64/_.w FREENAS_ARCH=amd64 NANO_ARCH_HUMANIZED=x64 TERM=screen NANO_NAME=DarkShield-9.2.0-RELEASE-b28fa34-x64 NANO_IMGNAME=DarkShield-9.2.0-RELEASE-b28fa34-x64 NANO_MAKEFS=makefs -B big -o bsize=4096,fsize=512,density=8192,optimization=space FREEBSD_PKGCACHE=/freenas-build/freebsd-packages NANO_CODESIZE=0 HOME=/root USER=root NANO_DRIVE=ufs/DarkShield NANO_ARGS= NANO_KERNEL=/vol/data/alfred/freenas/nanobsd/FREENAS.amd64 NANO_BOOT0CFG=-o packet -s 1 -m 3 -t 18 DEFAULT_VERSIONS=python=2.7 SHELL=/usr/local/bin/zsh SVNREVISION=b28fa34 NANO_SECTS=63 SUDO_USER=alfred SUDO_UID=1001 USERNAME=root AVATAR_COMPONENT=os-base FREEBSD_RELEASE_VERSION=9.1-RELEASE VERSION=9.2.0-RELEASE NANO_OBJ=/vol/data/alfred/freenas/os-base/amd64 GIT_LOCATION=INTERNAL SHLVL=2 FREENAS_PLUGINCACHE=/freenas-build/freenas-plugins -Alfred From owner-freebsd-pkg@FreeBSD.ORG Sun Feb 16 16:49:02 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3632CC97; Sun, 16 Feb 2014 16:49:02 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2511BD5; Sun, 16 Feb 2014 16:49:01 +0000 (UTC) Received: from Alfreds-MacBook-Pro.local (unknown [50.204.88.5]) by elvis.mu.org (Postfix) with ESMTPSA id F41131A3C29; Sun, 16 Feb 2014 08:49:00 -0800 (PST) Message-ID: <5300EC12.80609@freebsd.org> Date: Sun, 16 Feb 2014 08:49:22 -0800 From: Alfred Perlstein Organization: FreeBSD User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: pkg@freebsd.org, ports@freebsd.org Subject: Re: pkg-static segfaults when a port makes a package in chroot/nanobsd. References: <5300463F.9090301@freebsd.org> In-Reply-To: <5300463F.9090301@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2014 16:49:02 -0000 I have a ticket open in github for this, but I wanted to mail in and let people know that I figured the problem out somewhat: https://github.com/freebsd/pkg/issues/729 > OK I sort of figured it out. > > Basically the build script that I have issues the following command: > TARGET=amd64 TARGET_ARCH=amd64 NAS_PORTS_DIRECT=1 make > __MAKE_CONF=/vol/data/alfred/freenas/os-base/amd64/make.conf.build > SRC_BASE=/usr/src WRKDIRPREFIX=/usr/workdir -C > /usr/ports_dir/textproc/libxml2 clean all install package BATCH=yes > -DUSE_PACKAGE_DEPENDS -DFORCE_PACKAGE -DFORCE_PKG_REGISTER > > The after adding "-d lx" to the command for make(1) I saw that it > looks like the "install" target will "rm -rf" the stage dir! > > By switching around the order of targets from: > clean all install package > TO: > clean all package install > > It stopped deleting the .metadir which in turn stopped it from > segfaulting. > > It looks like there's a bug in the port's Mk system as well as pkgng. > > For now I think I may have a workaround. > Thanks everyone! For what it's worth my ports tree's latest commit is this: commit e6fcb0faa8aeb5905bad5c295f319917aafd21ff Author: makc Date: Thu Feb 13 14:25:26 2014 +0000 misc/py-qt4-demo: - Use plist instead of PORTEXAMPLES, otherwise the package is bogus when NOPORTEXAMPLES is set - Use compileall.py to byte-compile installed examples - Use options helpers On 2/15/14, 9:01 PM, Alfred Perlstein wrote: > Hey folks, I'm doing a build of nanobsd derivative and trying to get > it to work on 10-stable with the tip of freebsd ports as of a couple > of days ago. > > I'm getting a segfault in pkg-static when trying to "make package". > > The stack trace is this: > (gdb) bt > #0 0x00000000005a0bcc in ucl_obj_ref (obj=0x0) at ucl.h:743 > #1 0x00000000005a0b99 in ucl_parser_get_object (parser=0x801027880) > at > /usr/workdir/usr/ports/ports-mgmt/pkg/work/pkg-1.2.6/libpkg/../external/libucl/src/ucl_util.c:230 > #2 0x0000000000564795 in pkg_parse_manifest_file (pkg=0x80104e1c0, > file=0x7fffffffb010 > "/usr/workdir/usr/ports_dir/textproc/libxml2/work/.metadir/+MANIFEST", > keys=0x8010282e0) at pkg_manifest.c:748 > #3 0x000000000043d83d in pkg_create_staged ( > outdir=0x7fffffffbc5d "/usr/ports/packages/All", format=TXZ, > rootdir=0x7fffffffbba5 > "/usr/workdir/usr/ports_dir/textproc/libxml2/work/stage", > md_dir=0x7fffffffbbdf > "/usr/workdir/usr/ports_dir/textproc/libxml2/work/.metadir", > plist=0x7fffffffbc1c > "/usr/workdir/usr/ports_dir/textproc/libxml2/work/.PLIST.mktmp", > old=false) at pkg_create.c:248 > #4 0x0000000000407e93 in exec_create (argc=1, argv=0x7fffffffb720) > at create.c:262 > #5 0x000000000040bd47 in main (argc=10, argv=0x7fffffffb6d8) at > main.c:774 > (gdb) > > The file > /usr/workdir/usr/ports_dir/textproc/libxml2/work/.metadir/+MANIFEST > doesn't seem to exist. > > > The command being run is this: > env TARGET=amd64 TARGET_ARCH=amd64 NAS_PORTS_DIRECT=1 make > __MAKE_CONF=/vol/data/alfred/freenas/os-base/amd64/make.conf.build > SRC_BASE=/usr/src WRKDIRPREFIX=/usr/workdir -C > /usr/ports_dir/textproc/libxml2 clean all install package BATCH=yes > -DUSE_PACKAGE_DEPENDS -DFORCE_PACKAGE -DFORCE_PKG_REGISTER > > > Any ideas? There is a large env being set: > > The environment looks like this, you can probably grep -v out the > ^NANO stuff to make this readable: > NANO_PYTHON_DEFAULT_VERSION=python2.7 > SUDO_COMMAND=/usr/local/bin/zsh > NANO_SRC=/vol/data/alfred/freenas/FreeBSD/src > NANO_MODULES= cc/cc_cdg cc/cc_chd cc/cc_cubic cc/cc_hd cc/cc_htcp > cc/cc_vegas cxgb cxgbe cyclic dtrace ext2fs fdescfs geom ipmi krpc > libiconv libmchain lindev linprocfs linsysfs linux nfs_common > nfsclient nfslock ispfw/ispfw opensolaris pf pflog smbfs tmpfs udf > usb/xhci zfs ctl cxgbe/t4_firmware cxgbe/t5_firmware iscsi syscons > NANO_LABEL=DarkShield > NANO_MEDIASIZE=14450688 > NANO_NEWFS=-b 4096 -f 512 -i 8192 -O1 -U > LOGNAME=root > NANO_TOOLS=/vol/data/alfred/freenas/build/nanobsd > NANO_MAKE_CONF_BUILD=/vol/data/alfred/freenas/os-base/amd64/make.conf.build > NAS_PORTS_DIRECT=1 > NANO_BOOTLOADER=boot/boot0 > MAKELEVEL=1 > AVATAR_ROOT=/vol/data/alfred/freenas > NANO_XZ=pxz > MAKEOBJDIRPREFIX=/vol/data/alfred/freenas/os-base/amd64 > FREEBSD_PACKAGE_MIRROR_32=http://mirror.exonetric.net/pub/pkgng/freebsd:9:x86:32/latest > NANO_PMAKE=make -j 9 > SCRIPT=typescript > NANO_ARCH=amd64 > FREEBSD_PKGCACHE_32=/freenas-build/freebsd-packages-32 > MASTER_SITE_OVERRIDE=http://build/distcache/${DIST_SUBDIR}/ > MAIL=/var/mail/root > NANO_LOCAL_DIRS= pbi-wrapper extract-tarball > NANO_CONFSIZE=2048 > MAKEFLAGS= .MAKE.LEVEL.ENV=MAKELEVEL > NANO_HEADS=16 > DISTCACHE= > MAKE_JOBS=9 > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/alfred/bin > FREEBSD_DISTCACHE=/freenas-build/freebsd-distfiles > NANO_IMAGES=2 > NANO_CFG_BASE=/vol/data/alfred/freenas/nanobsd > NANO_MAKE_CONF_INSTALL=/vol/data/alfred/freenas/os-base/amd64/make.conf.install > SUDO_GID=1001 > OLDPWD=/vol/data/alfred/freenas/FreeBSD/ports/devel/py-fake-factory > .MAKE.LEVEL.ENV=MAKELEVEL > NANO_DATASIZE=4096000 > FREEBSD_FTP_MIRROR=ftp://ftp.freebsd.org > PWD=/vol/data/alfred/freenas/FreeBSD/ports/www/py-django-bootstrap-form > _=/usr/bin/make > REVISION=b28fa34 > FREEBSD_PACKAGE_MIRROR=http://pkg.cdn.pcbsd.org/freenas > NANO_WORLDDIR=/vol/data/alfred/freenas/os-base/amd64/_.w > FREENAS_ARCH=amd64 > NANO_ARCH_HUMANIZED=x64 > TERM=screen > NANO_NAME=DarkShield-9.2.0-RELEASE-b28fa34-x64 > NANO_IMGNAME=DarkShield-9.2.0-RELEASE-b28fa34-x64 > NANO_MAKEFS=makefs -B big -o > bsize=4096,fsize=512,density=8192,optimization=space > FREEBSD_PKGCACHE=/freenas-build/freebsd-packages > NANO_CODESIZE=0 > HOME=/root > USER=root > NANO_DRIVE=ufs/DarkShield > NANO_ARGS= > NANO_KERNEL=/vol/data/alfred/freenas/nanobsd/FREENAS.amd64 > NANO_BOOT0CFG=-o packet -s 1 -m 3 -t 18 > DEFAULT_VERSIONS=python=2.7 > SHELL=/usr/local/bin/zsh > SVNREVISION=b28fa34 > NANO_SECTS=63 > SUDO_USER=alfred > SUDO_UID=1001 > USERNAME=root > AVATAR_COMPONENT=os-base > FREEBSD_RELEASE_VERSION=9.1-RELEASE > VERSION=9.2.0-RELEASE > NANO_OBJ=/vol/data/alfred/freenas/os-base/amd64 > GIT_LOCATION=INTERNAL > SHLVL=2 > FREENAS_PLUGINCACHE=/freenas-build/freenas-plugins > > > -Alfred From owner-freebsd-pkg@FreeBSD.ORG Wed Feb 19 13:30:12 2014 Return-Path: Delivered-To: freebsd-pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C2BA6A5 for ; Wed, 19 Feb 2014 13:30:12 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 664CF16D9 for ; Wed, 19 Feb 2014 13:30:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1JDUCjq033591 for ; Wed, 19 Feb 2014 13:30:12 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1JDUCq5033590 for freebsd-pkg@FreeBSD.org; Wed, 19 Feb 2014 13:30:12 GMT (envelope-from bdrewery) Received: (qmail 63285 invoked from network); 19 Feb 2014 07:30:10 -0600 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 19 Feb 2014 07:30:10 -0600 Message-ID: <5304B1DE.7020800@FreeBSD.org> Date: Wed, 19 Feb 2014 07:30:06 -0600 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: John Nielsen Subject: Re: Poudriere bug report References: <5FBD8707-CA24-4777-BF86-76C9C2C00942@jnielsen.net> In-Reply-To: <5FBD8707-CA24-4777-BF86-76C9C2C00942@jnielsen.net> X-Enigmail-Version: 1.6 OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aDpSaSxlWFVkNud4nxaeEKUaf27EEfbvc" Cc: freebsd-pkg@FreeBSD.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 13:30:12 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aDpSaSxlWFVkNud4nxaeEKUaf27EEfbvc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2/11/2014 12:42 PM, John Nielsen wrote: > Hello- >=20 > First off, thanks for all your work on poudriere and pkg, both are alre= ady making my life easier. >=20 > I have an amd64 host running FreeBSD 10-STABLE which I use as a build h= ost for another box with an Alix board (geode processor). I have, among o= ther settings, "CPUTYPE=3Dgeode" in the make.conf for the poudriere 32-bi= t Alix jail. I've built packages for the Alix using poudriere before, but= today I hit a snag. Running this command: >=20 > # poudriere options -f /home/john/alix_ports.txt -j alix >=20 > attempted to build dialog4ports numerous times, and each failed with th= is error (full text from one failure below): > error: unknown target CPU 'geode' >=20 > Since I didn't have dialog4ports installed on the host, I assume the "m= ake config" job was trying to build it--apparently using the jail's gener= ated "make.conf" from /usr/local/etc/poudriere.d/alix-make.conf. The 64-b= it host doesn't know about the 32-bit geode CPU target, so it failed. >=20 > Probably this doesn't happen very often (I was only missing dialog4port= s on the host because I pruned a whole bunch of packages prior to a recen= t upgrade), but building anything for the host using anything other than = the real /etc/make.conf seems like a bad idea. >=20 > I was able to work around the problem by installing dialog4ports on the= host myself before invoking "poudriere options". There are obviously a f= ew ways to prevent this from happening, but here is my suggestion: > * check for the existence of dialog4ports on the host before allowing = "poudriere options" to run > * If it doesn't exist, fail with an error message suggesting that the = user either install dialog4ports on the host via "pkg install" or other m= eans, or allow poudriere to work around the problem > * add a flag or command to poudriere allowing it to build and install = dialog4ports using the host's /etc/make.conf and whatever ports tree the = user specifies (or poudriere's "default" tree by default), either separat= ely from or prior to "poudriere options". >=20 > Thanks! >=20 > JN >=20 >=20 > =3D=3D=3D> Setting user-specified options for links-2.8,1 and dependenc= ies > =3D=3D=3D> Building/installing dialog4ports as it is required for the c= onfig dialog > =3D=3D=3D> Cleaning for dialog4ports-0.1.5_2 > =3D=3D=3D> License BSD2CLAUSE accepted by the user > =3D=3D=3D> dialog4ports-0.1.5_2 depends on file: /usr/local/sbin/pkg = - found > =3D=3D=3D> Fetching all distfiles required by dialog4ports-0.1.5_2 for = building > =3D=3D=3D> Extracting for dialog4ports-0.1.5_2 > =3D> SHA256 Checksum OK for dialog4ports-0.1.5.tar.gz. > =3D=3D=3D> Patching for dialog4ports-0.1.5_2 > =3D=3D=3D> Configuring for dialog4ports-0.1.5_2 > =3D=3D=3D> Building for dialog4ports-0.1.5_2 > --- objwarn --- > --- dialog4ports.o --- > --- objwarn --- > Warning: Object directory not changed from original /opt/local/poudrier= e/ports/default/ports-mgmt/dialog4ports/work/dialog4ports-0.1.5 > --- mixedlist.o --- > --- dialog4ports.o --- > cc -O2 -pipe -DNO_MALLOC_EXTRAS -march=3Dgeode -fno-strict-aliasing -s= td=3Dgnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror= -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmis= sing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings= -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Win= line -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-= variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-= int -c dialog4ports.c > --- mixedlist.o --- > cc -O2 -pipe -DNO_MALLOC_EXTRAS -march=3Dgeode -fno-strict-aliasing -s= td=3Dgnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror= -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmis= sing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings= -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Win= line -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-= variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-= int -c mixedlist.c > --- dialog4ports.o --- > error: unknown target CPU 'geode' > *** [dialog4ports.o] Error code 1 >=20 > make[5]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports/work/dialog4ports-0.1.5 > --- mixedlist.o --- > error: unknown target CPU 'geode' > *** [mixedlist.o] Error code 1 >=20 > make[5]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports/work/dialog4ports-0.1.5 > 2 errors >=20 > make[5]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports/work/dialog4ports-0.1.5 > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the fail= ure to > the maintainer. > *** Error code 1 >=20 > Stop. > make[4]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports > *** Error code 1 >=20 > Stop. > make[3]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports >=20 Thanks for reporting. I will get to this eventually and fix soon. --=20 Regards, Bryan Drewery --aDpSaSxlWFVkNud4nxaeEKUaf27EEfbvc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTBLHeAAoJEDXXcbtuRpfP9esH/1+C/ha/ykl0TG/YCOylDm6X s0d65W27iiJjlVvg/lMokeM254M+ZLV0RyENAIen7Y/fuNmTWL9ggPN42dswad6E GlriFwveTfOYR6IKYiXoRRgHryxTRgYMC7k77QC2F6kXnEFsgowyj6hr++B9LTMR H2m8tYIHunZUoieC6IZqeocHfQ6erVvEcYnpytMJKzExDMp5lQT9AHlMJpWdJOKU RDWlW9/7crY3Ol3QEB1kHjp0TXhqGB3s97O5083PUoMqRFxd36JNOxv+nezaYyKw f7IeISQ7ogvT0lcfozyIcFZQ9EM8bC15O9w0Ll8pbRuKoilk8j84xgkYFGvm9Js= =fyZc -----END PGP SIGNATURE----- --aDpSaSxlWFVkNud4nxaeEKUaf27EEfbvc-- From owner-freebsd-pkg@FreeBSD.ORG Thu Feb 20 02:07:37 2014 Return-Path: Delivered-To: freebsd-pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 89728199 for ; Thu, 20 Feb 2014 02:07:37 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 68B5A1C98 for ; Thu, 20 Feb 2014 02:07:37 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1K27bvZ009035 for ; Thu, 20 Feb 2014 02:07:37 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1K27bBV009034 for freebsd-pkg@FreeBSD.org; Thu, 20 Feb 2014 02:07:37 GMT (envelope-from bdrewery) Received: (qmail 9250 invoked from network); 19 Feb 2014 20:07:31 -0600 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 19 Feb 2014 20:07:31 -0600 Message-ID: <5305635F.1080904@FreeBSD.org> Date: Wed, 19 Feb 2014 20:07:27 -0600 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: John Nielsen Subject: Re: Poudriere bug report References: <5FBD8707-CA24-4777-BF86-76C9C2C00942@jnielsen.net> In-Reply-To: <5FBD8707-CA24-4777-BF86-76C9C2C00942@jnielsen.net> X-Enigmail-Version: 1.6 OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jg1tfJgxIdTQEqu1g4o1P7Xnbh7qwwPTU" Cc: freebsd-pkg@FreeBSD.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Feb 2014 02:07:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jg1tfJgxIdTQEqu1g4o1P7Xnbh7qwwPTU Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2/11/2014 12:42 PM, John Nielsen wrote: > Hello- >=20 > First off, thanks for all your work on poudriere and pkg, both are alre= ady making my life easier. >=20 > I have an amd64 host running FreeBSD 10-STABLE which I use as a build h= ost for another box with an Alix board (geode processor). I have, among o= ther settings, "CPUTYPE=3Dgeode" in the make.conf for the poudriere 32-bi= t Alix jail. I've built packages for the Alix using poudriere before, but= today I hit a snag. Running this command: >=20 > # poudriere options -f /home/john/alix_ports.txt -j alix >=20 > attempted to build dialog4ports numerous times, and each failed with th= is error (full text from one failure below): > error: unknown target CPU 'geode' >=20 > Since I didn't have dialog4ports installed on the host, I assume the "m= ake config" job was trying to build it--apparently using the jail's gener= ated "make.conf" from /usr/local/etc/poudriere.d/alix-make.conf. The 64-b= it host doesn't know about the 32-bit geode CPU target, so it failed. >=20 > Probably this doesn't happen very often (I was only missing dialog4port= s on the host because I pruned a whole bunch of packages prior to a recen= t upgrade), but building anything for the host using anything other than = the real /etc/make.conf seems like a bad idea. >=20 > I was able to work around the problem by installing dialog4ports on the= host myself before invoking "poudriere options". There are obviously a f= ew ways to prevent this from happening, but here is my suggestion: > * check for the existence of dialog4ports on the host before allowing = "poudriere options" to run I went with this option for now. Fixed for next version. > * If it doesn't exist, fail with an error message suggesting that the = user either install dialog4ports on the host via "pkg install" or other m= eans, or allow poudriere to work around the problem > * add a flag or command to poudriere allowing it to build and install = dialog4ports using the host's /etc/make.conf and whatever ports tree the = user specifies (or poudriere's "default" tree by default), either separat= ely from or prior to "poudriere options". >=20 > Thanks! >=20 > JN >=20 >=20 > =3D=3D=3D> Setting user-specified options for links-2.8,1 and dependenc= ies > =3D=3D=3D> Building/installing dialog4ports as it is required for the c= onfig dialog > =3D=3D=3D> Cleaning for dialog4ports-0.1.5_2 > =3D=3D=3D> License BSD2CLAUSE accepted by the user > =3D=3D=3D> dialog4ports-0.1.5_2 depends on file: /usr/local/sbin/pkg = - found > =3D=3D=3D> Fetching all distfiles required by dialog4ports-0.1.5_2 for = building > =3D=3D=3D> Extracting for dialog4ports-0.1.5_2 > =3D> SHA256 Checksum OK for dialog4ports-0.1.5.tar.gz. > =3D=3D=3D> Patching for dialog4ports-0.1.5_2 > =3D=3D=3D> Configuring for dialog4ports-0.1.5_2 > =3D=3D=3D> Building for dialog4ports-0.1.5_2 > --- objwarn --- > --- dialog4ports.o --- > --- objwarn --- > Warning: Object directory not changed from original /opt/local/poudrier= e/ports/default/ports-mgmt/dialog4ports/work/dialog4ports-0.1.5 > --- mixedlist.o --- > --- dialog4ports.o --- > cc -O2 -pipe -DNO_MALLOC_EXTRAS -march=3Dgeode -fno-strict-aliasing -s= td=3Dgnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror= -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmis= sing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings= -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Win= line -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-= variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-= int -c dialog4ports.c > --- mixedlist.o --- > cc -O2 -pipe -DNO_MALLOC_EXTRAS -march=3Dgeode -fno-strict-aliasing -s= td=3Dgnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror= -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmis= sing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings= -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Win= line -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-= variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-= int -c mixedlist.c > --- dialog4ports.o --- > error: unknown target CPU 'geode' > *** [dialog4ports.o] Error code 1 >=20 > make[5]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports/work/dialog4ports-0.1.5 > --- mixedlist.o --- > error: unknown target CPU 'geode' > *** [mixedlist.o] Error code 1 >=20 > make[5]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports/work/dialog4ports-0.1.5 > 2 errors >=20 > make[5]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports/work/dialog4ports-0.1.5 > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the fail= ure to > the maintainer. > *** Error code 1 >=20 > Stop. > make[4]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports > *** Error code 1 >=20 > Stop. > make[3]: stopped in /opt/local/poudriere/ports/default/ports-mgmt/dialo= g4ports >=20 --=20 Regards, Bryan Drewery --jg1tfJgxIdTQEqu1g4o1P7Xnbh7qwwPTU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTBWNfAAoJEDXXcbtuRpfPFTIIALxqC+jureGjhUiuEK+WizWW hX7CsjffBbxFIPo/Pdg47DwbqBsHPY4TwyHCQghTUxRZjFhqm07zBkd3qq8XX5dX zYRuKFhUvjonCMZ3hecsAKPvUp4/W5MkoWkIfjp+MK3P7EP/7EUaYHDUqGhYd7nK +0ghP6ECiE2v2/whX6pmsrNowsG8DowwP12lY3X7REvf6+djzEbPga3J8yilK2Ya Psg3sKe+V6fPzjQTXq19a0SWgW9Vxcfl0QUCKm2IeeH0ABBmhsQh1zqCxcffF5xs e4J0YOtDNoZDGizaTyx5hCXHXEwtGrBDlLhbkO1k0Q8jhGnTC+H03mc7O0cPIT8= =L7WK -----END PGP SIGNATURE----- --jg1tfJgxIdTQEqu1g4o1P7Xnbh7qwwPTU-- From owner-freebsd-pkg@FreeBSD.ORG Thu Feb 20 11:19:18 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DFA35C73 for ; Thu, 20 Feb 2014 11:19:18 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id C6EF21338 for ; Thu, 20 Feb 2014 11:19:18 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent:sender; b=Ej8zP/8y+jTibqI2aUyZOp8s6czoLhZKJLf+5CMhdCq8jZ0ZTFA7weCsqTpUJdzAzXxLus9EjoB/ Oby2H7GxOtbJTBwF2ZZUXmTntKhVi7DpW4HtfouqEhSM0C3nMHcB Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1392895155051301.1142552062638; Thu, 20 Feb 2014 03:19:15 -0800 (PST) Received: from [86.103.152.30] by mail.zoho.com with HTTP;Thu, 20 Feb 2014 03:19:15 -0800 (PST) Date: Thu, 20 Feb 2014 12:19:15 +0100 From: kaltheat To: Message-ID: <906302436.50659.1392895155006.JavaMail.sas1@[172.29.252.247]> In-Reply-To: <95F734F1-21C5-4DAC-ADC2-AF730B115237@free.de> References: <95F734F1-21C5-4DAC-ADC2-AF730B115237@free.de> Subject: Re: pkg snapshot and pkg rollback functionality MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Sender: kaltheat@zoho.com X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Feb 2014 11:19:18 -0000 ---- On Fri, 31 Jan 2014 11:52:41 +0100 Kai Gallasch wrote ---- ... > I think such a snapshot/rollback option for pkg would be very beneficial, because it would give you the option to "roll back" your pkg to every former frozen state in an orderly manner. Even after you find out a week later that doing an upgrade was not such a splendig idea. > > What do you think? > > K. Hi, I think this is a good idea making life of administrators much easier. I think it would be best if you create a "feature request" on github[1] to avoid that this idea will pass out of mind. Regards, kaltheat [1] https://github.com/freebsd/pkg/ From owner-freebsd-pkg@FreeBSD.ORG Thu Feb 20 20:24:33 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C6FDB1F for ; Thu, 20 Feb 2014 20:24:33 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3C94B1B1C for ; Thu, 20 Feb 2014 20:24:33 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s1KKOQ08098530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 20 Feb 2014 20:24:27 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s1KKOQ08098530 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1392927867; bh=x2bpqJnBR7o3ghPTUtAVJmOlOrI/gH4kTQklJzgohO8=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Thu,=2020=20Feb=202014=2020:24:15=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-pkg@fr eebsd.org|Subject:=20Re:=20pkg=20snapshot=20and=20pkg=20rollback=2 0functionality|References:=20<95F734F1-21C5-4DAC-ADC2-AF730B115237 @free.de>=20<906302436.50659.1392895155006.JavaMail.sas1@[172.29.2 52.247]>|In-Reply-To:=20<906302436.50659.1392895155006.JavaMail.sa s1@[172.29.252.247]>; b=EXr91vDaOSzyhp33L3VymO9lajrlBQgnBBdZJ06CWtfcrnv9ptpsazUhPi7ct6Pm8 qYtVDk5NP6bhvhwfOrryQhGqSUSYrE6h7frosxIEjFo2GnIp5DRChqmfsx67xP8Ml6 pMqSfiyV2HdmXN48+lnfKZaT7eUSMHhiJkt0gnJg= Message-ID: <5306646F.5020800@infracaninophile.co.uk> Date: Thu, 20 Feb 2014 20:24:15 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: pkg snapshot and pkg rollback functionality References: <95F734F1-21C5-4DAC-ADC2-AF730B115237@free.de> <906302436.50659.1392895155006.JavaMail.sas1@[172.29.252.247]> In-Reply-To: <906302436.50659.1392895155006.JavaMail.sas1@[172.29.252.247]> X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="71rRQct0w2cd0HqlFvB8llUL8GOBJRsCg" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Feb 2014 20:24:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --71rRQct0w2cd0HqlFvB8llUL8GOBJRsCg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 20/02/2014 11:19, kaltheat wrote: >=20 > ---- On Fri, 31 Jan 2014 11:52:41 +0100 Kai Gallasch wrote -= ---=20 >=20 > ... > > I think such a snapshot/rollback option for pkg would be very benefi= cial, because it would give you the option to "roll back" your pkg to eve= ry former frozen state in an orderly manner. Even after you find out a we= ek later that doing an upgrade was not such a splendig idea.=20 > > =20 > > What do you think?=20 > > =20 > > K.=20 >=20 > Hi, >=20 > I think this is a good idea making life of administrators much easier. > I think it would be best if you create a "feature request" on github[1]= to avoid > that this idea will pass out of mind. >=20 > Regards, > kaltheat >=20 > [1] https://github.com/freebsd/pkg/ This one already exists and has been in our issues list for quite some time... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --71rRQct0w2cd0HqlFvB8llUL8GOBJRsCg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTBmR5XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT2i0P+wVgoWuArovNEttK7AVqXiL8 IJ97/UTtqJkdHi8TQkyJL8K++vgPvW2mIydsd2JExJ7Rmf5yaoMGWAR/PSxWr/cx zgVE38sxcjyiZIA64PF0LSLJt7rbezQZRvT3OuxGH2byStwulRXjgfeAnMgxQUpi Q9z+QMKJyYb3hCe5DlHgKr3jJGC/q+W1FB6TtCntIRUWcpncEAdjQFk+faVeMvKw w0VaCLFF6P2mI24/N3M35YexnIIBPHUjH/eApMbN2aK6OeGLNf9RCMrxFaDv+o+N 5Rm69NDDUYBTPoePmtkRxhk8K437LL2uHdY5JP/e9abD9vnEZ8HvDLYhjw3LQHkd 2s7L5vA0nU5rNqI3a44mi3HqqtUE90JNtpFEK+So41NKDGzYN6h4ZHfLuonvIxp5 T/LlIdp1dzQvntPxFhZPV85GZbe5r11ELx688UTKd6X4OU9rrbyr5944z9mXWkS1 ylYckxoC3kwUr+UtsYugaouU7oGezyGRu5ew6WTwJ6OUwmFCViYzNnOUIMXprBOo pvBr4rA0oRp5zg+X68+kTe3oX9TXqyxIP+3ixa3n8HkmM9jRs5p8pPtvderIYgNL iUQZXeJD5U7M0Zu3trUV4ZLIgNHq2sn6NlyGoRYSOasyWXgbzQ4ulRzGvyrmZhKw Nos0QZvTgkGR7CozgAzX =LW+b -----END PGP SIGNATURE----- --71rRQct0w2cd0HqlFvB8llUL8GOBJRsCg-- From owner-freebsd-pkg@FreeBSD.ORG Fri Feb 21 02:21:50 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2775666E; Fri, 21 Feb 2014 02:21:50 +0000 (UTC) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [IPv6:2001:8000:1000:1801::36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3D4D61DC5; Fri, 21 Feb 2014 02:21:49 +0000 (UTC) Received: from rwpc15.gfn.riverwillow.net.au (rwpc15.gfn.riverwillow.net.au [IPv6:2001:8000:1000:18e1:20c:76ff:fe0a:2117]) (authenticated bits=56) by mail1.riverwillow.net.au (8.14.8/8.14.8) with ESMTP id s1L2Lec2097984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 21 Feb 2014 13:21:42 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=riverwillow.com.au; s=m1001; t=1392949302; bh=RTVKUaI1XMBQ2BFwymijMdOZZqdOSFyemtM/ZLG01KU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=qflGYByfiHGP8sCbbDIsMcc7Nn6ZmMii2VK2D67cwTlgTqL/0L2YdJ9x5XESfApCx HrD2hLYtpRWMIggIhOvggTMlkvEm7dvCEmI0+vReHQEtSs0IT/yc9++q+7flWD0JPB F3zOK+XfURy6c831bSeH5fBULO20MvI/gDNgsBOI= Date: Fri, 21 Feb 2014 13:21:40 +1100 From: John Marshall To: Bryan Drewery Subject: Re: pkg-version: Add support for documented [index] argument Message-ID: <20140221022139.GA68285@rwpc15.gfn.riverwillow.net.au> References: <20140220074823.GC61528@rwpc15.gfn.riverwillow.net.au> <530608C3.7010705@shatow.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <530608C3.7010705@shatow.net> OpenPGP: id=A29A84A2; url=http://pki.riverwillow.com.au/pgp/johnmarshall.asc User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Feb 2014 02:21:50 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Note: Subject changed for mailing list [Was: Re: Seeking advice re contributing patches to pkgng] On Thu, 20 Feb 2014, 07:53 -0600, Bryan Drewery wrote: > On 2/20/2014 1:48 AM, John Marshall wrote: > > No idea if this is the proper way to go about things but I have: > >=20 > > - cloned (mirrored) the github freebsd/pkg.git repository > > - (authenticated write access via ssh) > > - (public read-only access via git_daemon) > > - cloned a working copy from my mirror > > - created a branch (gnats186671) > > - committed my patches to that branch > > - pushed my branch up to my mirror=20 > > - created a pull request (below) against my mirror > > Is this the right way - or, at least, a suitable way - to get patches > > into the system? I do not want to create an account on github but > > should like to know whether emailing somebody (or a mailing list), a > > pull-request like this, or emailing patches, or posting a URL on irc, > > or git format-patch, or... is the best way of contributing. >=20 > I have not had a chance to review the patches yet. Github pull requests > are definitely the preferred model for pkg, but not required. You've > come this far, signing up is fast and then you just need to fork > freebsd/pkg and then push your branch to your repo and it will give you > a nice Pull Request button. "a nice Pull Request button" is not a big selling point with me :-) As I said, I don't want to sign up to github, so I'm looking for the next-best means of contributing. Is a native git pull request (as below) not acceptable? > Otherwise patches mailed to pkg@FreeBSD.org or a PR with patches are the > next best step. I'd advise keeping things public instead of to me or > Baptiste directly as then others can review and we do have several other > committers that can merge the code in. Thank you. I have subscribed to FreeBSD-pkg@ and will send a copy of this pull request and email there. If the pkgng team will only take pull requests via github, then I'm happy to revert to sending patches via email or PR. I already have the pkg/version.c patch attached to a PR (ports/186671) but that is a subversion ports tree patch against the ports-mgmt/pkg port's files/patch-pkg_version.c and perhaps that is not the proper gnats category for pkgng PR's anyway? I did put a lot of effort into the commit logs in my gnats186671 branch. > I am a good reviewer for the index changes as if I recall correctly I > was the last to rework some of that a while back. >=20 > For these specific patches I can take a look in the next few days and > get back to you. Thank you very much Bryan. I appreciate your time and advice. ---------------------------------------------------------------- The following changes since commit 923e171e391a524e6c5de964ccd5c5f3f1d55a9c: pkg: Support bootstrap -f (2014-02-01 12:24:17 -0600) are available in the git repository at: git://rwsrc.riverwillow.com.au/freebsd/pkg.git gnats186671 for you to fetch changes up to 6905bac9255ca4f30589b544d6005cb2fd8c6cc6: pkg-version: Add support for documented [index] argument (2014-02-20 15:3= 2:38 +1100) ---------------------------------------------------------------- John Marshall (3): Hit ordering in the OPTIONS section with a large style(9) hammer style(9) ordering of options in usage_version() pkg-version: Add support for documented [index] argument pkg/pkg-version.8 | 137 ++++++++++++++++++++++++++++++--------------------= ---- pkg/version.c | 40 +++++++++++++--- 2 files changed, 108 insertions(+), 69 deletions(-) ---------------------------------------------------------------- --=20 John Marshall --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlMGuDMACgkQw/tAaKKahKLlbACdGr06xAOtNTeDlVSrK4hqFHCY vtoAoJ/gUMDYVaisE14KkPn6hyxHEWFD =AKV9 -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- From owner-freebsd-pkg@FreeBSD.ORG Fri Feb 21 09:03:52 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76A17FC3 for ; Fri, 21 Feb 2014 09:03:52 +0000 (UTC) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C74DC1376 for ; Fri, 21 Feb 2014 09:03:51 +0000 (UTC) Received: (qmail 13957 invoked from network); 21 Feb 2014 09:57:08 +0100 Received: from smtp.free.de (HELO orwell.free.de) (k@free.de@[91.204.4.103]) (envelope-sender ) by smtp.free.de (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 21 Feb 2014 09:57:08 +0100 Subject: Re: pkg snapshot and pkg rollback functionality Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="Apple-Mail-20-201515482" From: Kai Gallasch In-Reply-To: <5306646F.5020800@infracaninophile.co.uk> Date: Fri, 21 Feb 2014 09:57:39 +0100 Content-Transfer-Encoding: 7bit Message-Id: <82830994-D9FC-40A4-8160-6D4AD6D12266@free.de> References: <95F734F1-21C5-4DAC-ADC2-AF730B115237@free.de> <906302436.50659.1392895155006.JavaMail.sas1@[172.29.252.247]> <5306646F.5020800@infracaninophile.co.uk> To: freebsd-pkg@freebsd.org X-Pgp-Agent: GPGMail 1.4.1 X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Feb 2014 09:03:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-20-201515482 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 20.02.2014 um 21:24 schrieb Matthew Seaman: > On 20/02/2014 11:19, kaltheat wrote: >>=20 >> ---- On Fri, 31 Jan 2014 11:52:41 +0100 Kai Gallasch wrote = ----=20 >>=20 >> ... >>> I think such a snapshot/rollback option for pkg would be very = beneficial, because it would give you the option to "roll back" your pkg = to every former frozen state in an orderly manner. Even after you find = out a week later that doing an upgrade was not such a splendig idea.=20 >>>=20 >>> What do you think?=20 >>>=20 >>> K.=20 >>=20 >> Hi, >>=20 >> I think this is a good idea making life of administrators much = easier. >> I think it would be best if you create a "feature request" on = github[1] to avoid >> that this idea will pass out of mind. >>=20 >> Regards, >> kaltheat >>=20 >> [1] https://github.com/freebsd/pkg/ >=20 > This one already exists and has been in our issues list for quite some > time... >=20 > Cheers, >=20 > Matthew Matthew, so you are referring to = https://github.com/freebsd/pkg/issues/311 ? It's the only open feature request I found, that comes close to what I = am proposing. BTW: I wonder why development of a FreeBSD core element like pkg takes place = outside the FreeBSD repo environment, where a possible committer must = sign up for some account.. Shouldn't the FreeBSD development be self = contained on its own infrastructure? I know github is very convenient = and easy on the eyes - I see that and no offense intended here for = choosing github or prefering a modern SCM tool like mercurial, git or = whatever over svn. Maybe it's not really a problem for the majority and = I - as a fossil - suffer from oldthink. Just some metathoughts. Cheers! K. -- GPG-Key: A593 E38B E968 4DBE 14D6 2115 7065 4D7C 4FB1 F588 Key available from hkps://hkps.pool.sks-keyservers.net --Apple-Mail-20-201515482 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: Signierter Teil der Nachricht content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJTBxUDAAoJEHBlTXxPsfWIBR8P/jEl9L98NygLaJLEq3RARHo6 v/1QyBm/D9EmxrtuQdt86bCQ+dgC5dRBxogsJ4W9qooo3mj8jMUSx326H9jWZzQ3 25aJLjoCZHi9ymrJinUMKiVgyyhxZmKeQc2BNZqN0lOVvXJjOJOUNH8YtN6K8AK1 LZq7uMcYvQoxvSOioCcdbaR9r8+/XqgMgP4RtsTZgxS6U6l7sZ1rTj5rao5s8c6w FseSTIr72tDsrk3i8R2PA/2v/7sNIDBeseWcCGgtx+UHBhwGx6DbeGO8i+590Xlz sh36U2Mce5CFdqDBU8GkF/w9xY8NslztKkUwyXaeCIifqu+/NNQrNNui/LdtPht+ /ARDDLTpFsS7+OFALEl0DGvvfbOu+3vvShnyjaHqEoA/4IRAUhvoNtSFDTm/at8U SGy5pDidbMIgu8t0weC9FtsfQ3tVONEmibxEFVlaE+1wORYoaMpIU5uuBNJUFvNx OJVQB8IR8hCONw3yHJdMKB2ZL6Oxxox2fo43hT8aK6VlrTz0um4SFGpZPeG+pIF+ SRX4NTgOGNx16453fU/5bXMNVrHy7P3Ohwp6pK/cN3Y2gyZu3RtrrQObIUz329bZ bZZOioHeZC1Km/e7NjxbZqqnn9Fzh81+vP9RNQZq4Pe9rkllA6DK0VmiVoHzBgvB /1SGTVnoQ7WID/jYPmRj =pOWQ -----END PGP SIGNATURE----- --Apple-Mail-20-201515482--