portmaster ports update 20140416

Tijl Coosemans tijl at FreeBSD.org
Fri Apr 25 16:23:52 UTC 2014


On Fri, 25 Apr 2014 10:59:54 -0500 Antonio Olivares wrote:
> On Fri, Apr 25, 2014 at 10:53 AM, Antonio Olivares
> <olivares14031 at gmail.com> wrote:
>> On Fri, Apr 25, 2014 at 10:48 AM, Tijl Coosemans <tijl at freebsd.org> wrote:
>>> This @cwd here is the problem.  Please try the patch I sent earlier.
>>> (I've attached it in case you lost it.)
>>>
>>> # cd /usr/ports
>>> # patch -E < /path/to/colord.patch
>>> # cd graphics/colord
>>>
>>> Double-check that the @cwd lines in the pkg-plist file are gone now.
>>>
>>> Then do:
>>>
>>> # make clean install
>>
>>
>> It proceeds but fails now elsewhere :(
>>
>> tar: share/glib-2.0/schemas/org.freedesktop.ColorHelper.gschema.xml:
>> Cannot stat: No such file or directory
>> tar: Error exit delayed from previous errors.
>> pkg_create: make_dist: tar command failed with code 256
>> *** [do-package] Error code 1
>>
>> Stop in /usr/ports/graphics/colord.
>> *** [install] Error code 1
>>
>> Stop in /usr/ports/graphics/colord.
>> *** [reinstall] Error code 1
>>
>> Stop in /usr/ports/graphics/colord.
>> root at E-213-3W:/usr/ports/graphics/colord # pkg delete colord
>> Package(s) not found!
>> root at E-213-3W:/usr/ports/graphics/colord # make install clean
>> ===>  Building package for colord-1.0.1_1
>> Creating package /usr/ports/graphics/colord/work/pkg/colord-1.0.1_1.tbz
>> Registering depends: polkit-0.105_3 gobject-introspection-1.36.0_2
>> glib-2.36.3_2 python-2.7_1,2 python2-2_2 python27-2.7.6_4
>> gettext-0.18.3.1 dbus-1.8.0 libX11-1.6.2_2,1 libxcb-1.10_2
>> libxml2-2.8.0_5 libiconv-1.14_3 sqlite3-3.8.4.2 libffi-3.0.13_1
>> libpthread-stubs-0.3_4 pcre-8.34 lcms2-2.6_1 perl5-5.16.3_9
>> gnomehier-3.0 gnome_subr-1.0 expat-2.1.0 kbproto-1.0.6 libSM-1.2.2_2,1
>> libICE-1.0.8_2,1 libXau-1.0.8_2 libXdmcp-1.1.1_2 xproto-7.0.25.
>> Creating bzip'd tar ball in
>> '/usr/ports/graphics/colord/work/pkg/colord-1.0.1_1.tbz'
>> tar: share/glib-2.0/schemas/org.freedesktop.ColorHelper.gschema.xml:
>> Cannot stat: No such file or directory
>> tar: Error exit delayed from previous errors.
>> pkg_create: make_dist: tar command failed with code 256
>> *** [do-package] Error code 1
>>
>> Stop in /usr/ports/graphics/colord.
>> *** [install] Error code 1
>>
>> Stop in /usr/ports/graphics/colord.
>> root at E-213-3W:/usr/ports/graphics/colord # cd /usr/ports/
>> root at E-213-3W:/usr/ports # patch -E < /home/olivares/Downloads/colord.patch
>> Hmm...  Looks like a unified diff to me...
>> The text leading up to this was:
>> --------------------------
>> |Index: graphics/colord/Makefile
>> |===================================================================
>> |--- graphics/colord/Makefile    (revision 352018)
>> |+++ graphics/colord/Makefile    (working copy)
>> --------------------------
>> Patching file graphics/colord/Makefile using Plan A...
>> Hunk #1 failed at 4.
>> Hunk #2 failed at 71.
>> 2 out of 2 hunks failed--saving rejects to graphics/colord/Makefile.rej
>> Hmm...  The next patch looks like a unified diff to me...
>> The text leading up to this was:
>> --------------------------
>> |Index: graphics/colord/pkg-install
>> |===================================================================
>> |--- graphics/colord/pkg-install    (revision 352018)
>> |+++ graphics/colord/pkg-install    (working copy)
>> --------------------------
>> Patching file graphics/colord/pkg-install using Plan A...
>> Hunk #1 failed at 0.
>> 1 out of 1 hunks failed--saving rejects to graphics/colord/pkg-install.rej
>> Hmm...  The next patch looks like a unified diff to me...
>> The text leading up to this was:
>> --------------------------
>> |Index: graphics/colord/pkg-plist
>> |===================================================================
>> |--- graphics/colord/pkg-plist    (revision 352018)
>> |+++ graphics/colord/pkg-plist    (working copy)
>> --------------------------
>> Patching file graphics/colord/pkg-plist using Plan A...
>> Hunk #1 failed at 197.
>> 1 out of 1 hunks failed--saving rejects to graphics/colord/pkg-plist.rej
>> done
>> root at E-213-3W:/usr/ports # make install clean
>> ===> accessibility
>> ===> accessibility/accerciser
>> /!\ WARNING /!\
>> pkg_install EOL is scheduled for 2014-09-01. Please consider migrating to pkgng
>> http://blogs.freebsdish.org/portmgr/2014/02/03/time-to-bid-farewell-to-the-old-pkg_-tools/
>> If you do not want to see this message again set
>> NO_WARNING_PKG_INSTALL_EOL=yes in your make.conf
>> PYTHON_DEFAULT_VERSION is defined, consider using
>> DEFAULT_VERSIONS=python=2.7 instead
>>
>> => accerciser-1.12.1.tar.bz2 doesn't seem to exist in
>> /usr/ports/distfiles/gnome2.

...

>> ===> Compilation failed unexpectedly.
>> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
>> the maintainer.
>> *** [do-build] Error code 1
>>
>> Stop in /usr/ports/x11-servers/xorg-vfbserver.
>> *** [install] Error code 1
>>
>> Stop in /usr/ports/x11-servers/xorg-vfbserver.
>> *** [build-depends] Error code 1
>>
>> Stop in /usr/ports/accessibility/accerciser.
>> *** [_accerciser.realinstall] Error code 1
>>
>> Stop in /usr/ports/accessibility.
>> *** [_accessibility.realinstall] Error code 1
>>
>> Stop in /usr/ports.
>>
>>
>> Best Regards.
>>
>>
>> Antonio
> 
> I have moved this machine to pkgng as well.  IT is still failing:
> 
> ====> Compressing man pages (compress-man)
> ===> Correct pkg-plist sequence to create group(s) and user(s)
> ===>  Building package for colord-1.0.1_1
> Creating package /usr/ports/graphics/colord/work/pkg/colord-1.0.1_1.tbz
> Registering depends: polkit-0.105_3 gobject-introspection-1.36.0_2
> glib-2.36.3_2 python-2.7_1,2 python2-2_2 python27-2.7.6_4
> gettext-0.18.3.1 dbus-1.8.0 libX11-1.6.2_2,1 libxcb-1.10_2
> libxml2-2.8.0_5 libiconv-1.14_3 sqlite3-3.8.4.2 libffi-3.0.13_1
> libpthread-stubs-0.3_4 pcre-8.34 lcms2-2.6_1 perl5-5.16.3_9
> gnomehier-3.0 gnome_subr-1.0 expat-2.1.0 kbproto-1.0.6 libSM-1.2.2_2,1
> libICE-1.0.8_2,1 libXau-1.0.8_2 libXdmcp-1.1.1_2 xproto-7.0.25.
> Creating bzip'd tar ball in
> '/usr/ports/graphics/colord/work/pkg/colord-1.0.1_1.tbz'
> tar: share/glib-2.0/schemas/org.freedesktop.ColorHelper.gschema.xml:
> Cannot stat: No such file or directory
> tar: Error exit delayed from previous errors.
> pkg_create: make_dist: tar command failed with code 256
> *** [do-package] Error code 1
> 
> Stop in /usr/ports/graphics/colord.
> *** [install] Error code 1
> 
> Stop in /usr/ports/graphics/colord.

Antonio, I cannot help you if you cannot follow simple instructions.
Please look at what I said above.  I asked if you could:

1. apply the patch
2. check the pkg-plist file for any @cwd lines
3. run "make clean install"

Now look at the commands you executed.  You did:

1. something that resulted in an error
2. pkg delete colord (?? I thought you didn't use pkgng on this machine)
3. applied the patch (the output has the word "failed" all over it,
   possibly because this is the second time you try to apply it?)
4. run "make install clean" in /usr/ports (?? this starts to install
   all ports)
5. you switched to pkgng (how are we going to figure out the problem now?)

Now, to help you with the latest error, you probably need to clean the
working directory first by running "make clean" in /usr/ports/graphics/colord.


More information about the freebsd-questions mailing list