pkg 1.4 freeze please test test test!

Don Lewis truckman at FreeBSD.org
Wed Oct 29 20:15:27 UTC 2014


On 28 Oct, Don Lewis wrote:
> On 29 Oct, Baptiste Daroussin wrote:
>> Hi all,
>> 
>> We are starting the release process of pkg 1.4, we want to have a better release
>> process than with every single previous version of pkg. For that we will need
>> you help!
>> 
>> pkg-devel has been updated to the latest version of pkg as of alpha2.
>> 
>> Changes you can expect in pkg 1.4 are the following:
>> - Loads of bug fixes
> 
> I kind of doubt that I'll have time to test it, but I've stumbled across
> an interesting test case for package building with pkg-1.3.8_3.
> 
> When I tried to build a multimedia/2mandvd package with
> poudriere (either bulk or testport) in a FreeBSD 10 amd64 host and jail,
> pkg-static segfaults.  Portsmon also sees this failure, which also
> seems to be affecting head/amd64 as well:
> <http://portsmon.freebsd.org/portoverview.py?category=multimedia&portname=2mandvd&wildcard=>
> 
> If I run poudriere jail -i to keep the jail around, I don't see any
> leftover core files, I'm guessing because pkg-static's cwd is in the r/o
> /usr/ports tree.  If I then cd /usr/ports/multimedia/2mandvd in the
> jail and run:
> 	make clean
> 	make stage
> 	make package
> pkg-static doesn't segfault, but it never exits either.  I left it
> running for a couple of days and it was still stuck at 100% CPU.  If
> I truss -p the process, I don't get any output, which means it's not
> doing any syscalls.


I found some time to test this version.  I added WITH_PKG=devel to the
make.conf file for the poudriere jail and ran:

	poudriere testport -j 101STABLEamd64 -o multimedia/2mandvd


====>> Creating the reference jail... done
====>> Mounting system devices for 101STABLEamd64-default
====>> Mounting ports/packages/distfiles
====>> Mounting packages from: /var/poudriere/data/packages/101STABLEamd64-default
====>> Logs: /var/poudriere/data/logs/bulk/101STABLEamd64-default/2014-10-29_10h36m35s
====>> Appending to make.conf: /usr/local/etc/poudriere.d/101STABLEamd64-make.conf
/etc/resolv.conf -> /var/poudriere/data/build/101STABLEamd64-default/ref/etc/resolv.conf
====>> Starting jail 101STABLEamd64-default
====>> Loading MOVED
====>> Calculating ports order and dependencies
====>> Sanity checking the repository
====>> Deleting old version: desktop-file-utils-0.22_2.txz
[snip]
====>> Deleting stale symlinks
====>> Deleting empty directories
====>> Cleaning the build queue
====>> Building 99 packages using 4 builders
====>> Starting/Cloning builders
====>> Hit CTRL+t at any time to see build progress and stats
====>> [01] Starting build of ports-mgmt/pkg-devel
====>> [01] Finished build of ports-mgmt/pkg-devel: Success
[snip]
====>> Stopping 4 builders
====>> Portlint check
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [497]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [498]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [499]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [500]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [501]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [502]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [503]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [504]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [505]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [506]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [507]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [508]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [509]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [510]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [511]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [512]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [513]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [514]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [515]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [516]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [517]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [518]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [519]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [520]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [521]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [522]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [523]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [524]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [525]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [526]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [527]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [528]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [529]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: /var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd/pkg-plist: [530]: @dirrm[try] is deprecated.  If you require special directory handling, use @dir instead and consult the porter's handbook.
WARN: Makefile: possible use of absolute pathname "/bash".
WARN: Consider to set DEVELOPER=yes in /etc/make.conf
0 fatal errors and 36 warnings found.
====>> Building with flags: 
====>> Removing existing /usr/local
build started at Wed Oct 29 11:41:53 PDT 2014
port directory: /usr/ports/multimedia/2mandvd
building for: FreeBSD 101STABLEamd64-default 10.1-BETA3 FreeBSD 10.1-BETA3 amd64
maintained by: ports at FreeBSD.org
Makefile ident:      $FreeBSD: head/multimedia/2mandvd/Makefile 367888 2014-09-10 20:50:31Z gerald $
Poudriere version: 3.0.19
Host OSVERSION: 1000717
Jail OSVERSION: 1000717

---Begin Environment---
PKGREPOSITORY=/tmp/pkgs
PACKAGES=/tmp/pkgs
OSVERSION=1000717
UNAME_v=FreeBSD 10.1-BETA3
UNAME_r=10.1-BETA3
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
WARNING_WAIT=0
SAVED_TERM=xterm
NO_WARNING_PKG_INSTALL_EOL=yes
MASTERMNT=/var/poudriere/data/build/101STABLEamd64-default/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
OLDPWD=/usr/home/dl
PWD=/var/poudriere/data/build/101STABLEamd64-default/ref/usr/ports/multimedia/2mandvd
MASTERNAME=101STABLEamd64-default
DEVELOPER_MODE=yes
USER=root
HOME=/root
POUDRIERE_VERSION=3.0.19
SKIPSANITY=0
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
DEV_WARNING_WAIT=0
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--
--with-qt-includes=/usr/local/include/qt4  --with-qt-libraries=/usr/local/lib/qt4  --with-extra-includes=/usr/local/include  --with-extra-libs=/usr/local/lib
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/2mandvd/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/2mandvd/work  HOME=/wrkdirs/usr/ports/multimedia/2mandvd/work TMPDIR="/tmp" QTDIR="/usr/local" QMAKE="/usr/local/bin/qmake-qt4"  MOC="/usr/local/bin/moc-qt4" RCC="/usr/local/bin/rcc" UIC="/usr/local/bin/uic-qt4"  QMAKESPEC="/usr/local/share/qt4/mkspecs/freebsd-$(ccver="$(c++ --version)"; case "$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac)" SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/2mandvd/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/2mandvd/work  HOME=/wrkdirs/usr/ports/multimedia/2mandvd/work TMPDIR="/tmp" SDL_CONFIG=/usr/local/bin/sdl-config NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS="" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 0644"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/2ManDVD
DOCSDIR=/usr/local/share/doc/2ManDVD
EXAMPLESDIR=/usr/local/share/examples/2ManDVD
WWWDIR=/usr/local/www/2ManDVD
ETCDIR=/usr/local/etc/2ManDVD
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/101STABLEamd64-make.conf ####
# Global port options
LICENSES_ACCEPTED=jgraph
OPTIONS_SET=CUPS APPLET ATLAS SZIP LETTER
WITH_ATLAS=yes
WITH_PKG=devel

# Specific port options
audio_libao_SET=ESOUND NAS
audio_sox_SET=AMRNB AMRWB LADSPA
devel_git_SET=GUI SVN
devel_gvfs_SET=GPHOTO2
graphics_evince_SET=DVI IMPRESS T1LIB
graphics_gimp-help_SET=EN
graphics_gimp-help_UNSET=ALL
graphcs_gtkam_SET=GNOME
graphics_opencv_SET=OPENEXR
graphics_sane-frontends_SET=GIMP
lang_ruby_SET=RDOC
lang_tcl85_SET=TZDATA
mail_cyrus-imapd24_SET=IDLED
math_gnuplot_SET=PDF
math_scilab_SET=UMFPACK
AMANDA_USER=amanda
AMANDA_GNUTAR_LISTDIR=/var/amanda/gnutar-lists
AMANDA_DATES=/var/amanda/amandates
multimedia_dvdslideshow_SET=LAME
multimedia_dvdauthor_SET=IMAGEMAGICK
multimedia_ffmpeg_SET=AACPLUS ALSA ASS CDIO FAAC GSM LAME LIBV4L OPENAL OPENJPEG OPENSSL SDL VDPAU
multimedia_ffmpeg0_SET=AACPLUS ALSA FAAC LAME OPENJPEG VDPAU
multimedia_libquicktime_SET=DV FAAD
multimedia_mencoder_SET=FAAC OTCHAIN THEORA
multimedia_mplayer_SET=OTCHAIN CDPARANOIA
multimedia_totem-pl-parser_SET=QUVI
multimedia_transcode_SET=X264 OGG VORBIS THEORA QUICKTIME
multimedia_x264_SET=X11_OUTPUT
multimedia_xine_SET=AALIB WIN32_CODECS
net-im_gajim_SET=CRYPTO
print_cups-base_SET=LIBUSB
print_fontforge_SET=FREETYPE
print_freetype_SET=LCD_FILTERING PNG
print_gutenprint_SET=GIMP
security_ca_root_nss_SET=ETCSYMLINK
security_ipsec-tools_SET=STATS
sysutils_nut_SET=CGI
sysutils_nut_UNSET=SNMP
sysutils_xcdroast_SET=NONROOT
sysutils_xmbmon_SET=X11
x11-drivers_xorg-drivers_SET=MGA
x11_xscreensaver-gnome-hacks_SET=ALL_FORTUNES
---End make.conf---
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   2ManDVD-1.8.5_1 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg-devel
===>   Installing existing package /packages/All/pkg-1.4.0.a3.txz
[101STABLEamd64-default] Installing pkg-1.4.0.a3...
[101STABLEamd64-default] Extracting pkg-1.4.0.a3... done
Message for pkg-1.4.0.a3:
 If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of 2ManDVD-1.8.5_1
[snip]
====> Compressing man pages (compress-man)
===========================================================================
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)
====>> Checking for staging violations... done
=======================<phase: package        >============================
===>  Building package for 2ManDVD-1.8.5_1
pkg-static: Warning: @dirrm[try] is deprecated, please use @dir


At this point pkg-static runs forever:

  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
21736 root          1 103    0 13940K  8020K CPU2    2  89:24 100.00% pkg-stati



More information about the freebsd-ports mailing list