Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Mar 2010 18:34:12 +0200
From:      chukharev@mail.ru
To:        "freebsd-qa@freebsd.org" <freebsd-qa@freebsd.org>
Subject:   audio/amarok port test failure
Message-ID:  <op.u85mzaj1mhpy7y@vova-vaio>

next in thread | raw e-mail | index | archive | help
The 'port test' command (ports-mgmt/porttools) tests a port for a number of possible errors
by running portlint, building, packaging, installing, and de-installing with a check for
left files. This is done with defined PREFIX and PKG_DBDIR variables. 'port test' command
is recommended by the Porter's Handbook.

Note that the port installs the usual way.

When running 'port test' command in net-mgmt/wifimgr, the following output is generated
indicated warnings from portlint and problems of packaging. The output is shortened.



===> Validating port with portlint
WARN: /usr/ports/audio/amarok/pkg-plist: [567]: If and only if your port is DOCSDIR-safe (that is, a user can override DOCSDIR when building this port and the port will still work correctly) consider using DOCSDIR macro; if you are unsure if this this port is DOCSDIR-safe, then ignore this warning
WARN: /usr/ports/audio/amarok/pkg-plist: [568]: If and only if your port is DOCSDIR-safe (that is, a user can override DOCSDIR when building this port and the port will still work correctly) consider using DOCSDIR macro; if you are unsure if this this port is DOCSDIR-safe, then ignore this warning
WARN: /usr/ports/audio/amarok/pkg-plist: [569]: If and only if your port is DOCSDIR-safe (that is, a user can override DOCSDIR when building this port and the port will still work correctly) consider using DOCSDIR macro; if you are unsure if this this port is DOCSDIR-safe, then ignore this warning
WARN: /usr/ports/audio/amarok/pkg-plist: [570]: If and only if your port is DOCSDIR-safe (that is, a user can override DOCSDIR when building this port and the port will still work correctly) consider using DOCSDIR macro; if you are unsure if this this port is DOCSDIR-safe, then ignore this warning
WARN: /usr/ports/audio/amarok/pkg-plist: [571]: If and only if your port is DOCSDIR-safe (that is, a user can override DOCSDIR when building this port and the port will still work correctly) consider using DOCSDIR macro; if you are unsure if this this port is DOCSDIR-safe, then ignore this warning

....many more....

WARN: /usr/ports/audio/amarok/pkg-plist: [945]: If and only if your port is DOCSDIR-safe (that is, a user can override DOCSDIR when building this port and the port will still work correctly) consider using DOCSDIR macro; if you are unsure if this this port is DOCSDIR-safe, then ignore this warning
WARN: /usr/ports/audio/amarok/pkg-plist: [946]: If and only if your port is DOCSDIR-safe (that is, a user can override DOCSDIR when building this port and the port will still work correctly) consider using DOCSDIR macro; if you are unsure if this this port is DOCSDIR-safe, then ignore this warning
WARN: /usr/ports/audio/amarok/pkg-plist: Both ``%%PORTDOCS%%@dirrm %%DOCSDIR%%'' and ``%%PORTDOCS%%@unexec %D/%%DOCSDIR%% 2>/dev/null || true'' are missing.  At least one should be used.
WARN: Makefile: use ".if !defined(NOPORTDOCS)" to wrap installation of files into /usr/local/share/doc.
WARN: Makefile: Consider adding support for a WITHOUT_NLS knob to conditionally disable gettext support.
0 fatal errors and 383 warnings found.
===> flags: PREFIX=/home/chu/tmp/amarok-1.4.10_7 NO_DEPENDS=yes PKG_DBDIR=/tmp/pkg_db.kjmtIaM4 --
===> Cleaning workspace before port test
===>  Cleaning for amarok-1.4.10_7
===>  Found saved configuration for amarok-1.4.10_7
===>  Extracting for amarok-1.4.10_7
=> MD5 Checksum OK for amarok-1.4.10.tar.bz2.
=> SHA256 Checksum OK for amarok-1.4.10.tar.bz2.
===>  Patching for amarok-1.4.10_7
===>  Applying FreeBSD patches for amarok-1.4.10_7
===>  Configuring for amarok-1.4.10_7
checking build system type... i386-portbld-freebsd8
checking host system type... i386-portbld-freebsd8
checking target system type... i386-portbld-freebsd8
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes

....

gmake[2]: Entering directory `/usr/ports/audio/amarok/work/amarok-1.4.10/po/uz@cyrillic'
Making install in .
gmake[3]: Entering directory `/usr/ports/audio/amarok/work/amarok-1.4.10/po/uz@cyrillic'
gmake[4]: Entering directory `/usr/ports/audio/amarok/work/amarok-1.4.10/po/uz@cyrillic'
gmake[4]: Nothing to be done for `install-exec-am'.
/bin/sh ../../admin/mkinstalldirs /home/chu/tmp/amarok-1.4.10_7/share/locale/uz@cyrillic/LC_MESSAGES
mkdir /home/chu/tmp/amarok-1.4.10_7/share/locale/uz@cyrillic
mkdir /home/chu/tmp/amarok-1.4.10_7/share/locale/uz@cyrillic/LC_MESSAGES
install -o root -g wheel -m 444 amarok.gmo /home/chu/tmp/amarok-1.4.10_7/share/locale/uz@cyrillic/LC_MESSAGES/amarok.mo
gmake[4]: Leaving directory `/usr/ports/audio/amarok/work/amarok-1.4.10/po/uz@cyrillic'
gmake[3]: Leaving directory `/usr/ports/audio/amarok/work/amarok-1.4.10/po/uz@cyrillic'
gmake[2]: Leaving directory `/usr/ports/audio/amarok/work/amarok-1.4.10/po/uz@cyrillic'
gmake[1]: Leaving directory `/usr/ports/audio/amarok/work/amarok-1.4.10/po'
gmake[1]: Entering directory `/usr/ports/audio/amarok/work/amarok-1.4.10'
gmake[2]: Entering directory `/usr/ports/audio/amarok/work/amarok-1.4.10'
gmake[2]: Nothing to be done for `install-exec-am'.
gmake[2]: Leaving directory `/usr/ports/audio/amarok/work/amarok-1.4.10'
gmake[1]: Leaving directory `/usr/ports/audio/amarok/work/amarok-1.4.10'

                                 ATTENTION:

In order to use certain devices (MTP, iPod, ..) through Amarok you need to be
able to mount USB devices as the user running Amarok. Read more on how to set
this up on FreeBSD here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html
===>   Running ldconfig
/sbin/ldconfig -m /home/chu/tmp/amarok-1.4.10_7/lib
===>   Registering installation for amarok-1.4.10_7
===>  Building package for amarok-1.4.10_7
tar: bin/amarok: Cannot stat: No such file or directory
tar: bin/amarok_daapserver.rb: Cannot stat: No such file or directory
tar: bin/amarok_proxy.rb: Cannot stat: No such file or directory
tar: bin/amarokapp: Cannot stat: No such file or directory

....

tar: share/services/amaroklastfm.protocol: Cannot stat: No such file or directory
tar: share/services/amarokpcast.protocol: Cannot stat: No such file or directory
tar: share/servicetypes/amarok_codecinstall.desktop: Cannot stat: No such file or directory
tar: share/servicetypes/amarok_plugin.desktop: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
Creating package /usr/ports/packages/All/amarok-1.4.10_7.tbz
Registering depends:.
Creating bzip'd tar ball in '/usr/ports/packages/All/amarok-1.4.10_7.tbz'
*** Error code 1

Stop in /usr/ports/audio/amarok.
===> Error running make package
===> Files currently installed in PREFIX
share/doc/HTML/da/amarok/config.docbook
share/doc/HTML/da/amarok/requirements.docbook
share/doc/HTML/da/amarok/faq.docbook
share/doc/HTML/da/amarok/quick.docbook
share/doc/HTML/da/amarok/advanced.docbook
share/doc/HTML/da/amarok/index.docbook

....

share/locale/ku/LC_MESSAGES/amarok.mo
share/locale/lo/LC_MESSAGES/amarok.mo
share/locale/se/LC_MESSAGES/amarok.mo
share/locale/rw/LC_MESSAGES/amarok.mo
share/locale/ss/LC_MESSAGES/amarok.mo
share/locale/nds/LC_MESSAGES/amarok.mo
share/locale/uz@cyrillic/LC_MESSAGES/amarok.mo
===> Cleaning up



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.u85mzaj1mhpy7y>