Weird portupgrade error on current amd64

Manfred Antar null at pozo.com
Tue Apr 26 14:15:54 UTC 2016


When using portupgrade on current it fails when upgrading libraries.
I can reproduce this on 3 different amd64 machines.

Example:

portupgrade -vf libnice ends like this:

--->  Build of net-im/libnice ended at: Tue, 26 Apr 2016 07:01:15 -0700 (consumed 00:00:10)
--->  Uninstallation of libnice-0.1.13 started at: Tue, 26 Apr 2016 07:01:15 -0700
--->  Fixing up dependencies before creating a package
/usr/local/lib/ruby/site_ruby/2.2/pkgtools/pkgtools.rb:1180: warning: Insecure world writable dir /tmp/. in PATH, mode 041777
--->  Backing up the old version
--->  Uninstalling the old version
/usr/local/lib/ruby/site_ruby/2.2/pkgtools/pkgtools.rb:1180: warning: Insecure world writable dir /tmp/. in PATH, mode 041777
[Reading data from pkg(8) ... - 1593 packages found - done]
--->  Deinstalling 'libnice-0.1.13'
[Reading data from pkg(8) ... - 1593 packages found - done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! libnice-0.1.13	(Broken pipe)
--->  Uninstallation of libnice-0.1.13 ended at: Tue, 26 Apr 2016 07:01:16 -0700 (consumed 00:00:01)
--->  Reinstallation of net-im/libnice ended at: Tue, 26 Apr 2016 07:01:16 -0700 (consumed 00:00:11)
--->  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
	! net-im/libnice (libnice-0.1.13)	(uninstall error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Session ended at: Tue, 26 Apr 2016 07:01:16 -0700 (consumed 00:00:12)

The error is (Broken pipe)

portmaster works fine and portupgrade on non library ports work fine, example portupgrade -vf bash-static:

-->  Installing the new version via the port
===>  Installing for bash-static-4.3.42_1
===>   bash-static-4.3.42_1 depends on executable: indexinfo - found
===>   bash-static-4.3.42_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   Registering installation for bash-static-4.3.42_1
Installing bash-static-4.3.42_1...
======================================================================

bash requires fdescfs(5) mounted on /dev/fd

If you have not done it yet, please do the following:

	mount -t fdescfs fdesc /dev/fd

To make it permanent, you need the following lines in /etc/fstab:

	fdesc	/dev/fd		fdescfs		rw	0	0

======================================================================

===>  Cleaning for bash-static-4.3.42_1
--->  Removing temporary files and directories
--->  Removing old package'
--->  Installation of shells/bash-static ended at: Tue, 26 Apr 2016 07:08:00 -0700 (consumed 00:00:01)
--->  Cleaning out obsolete shared libraries
/usr/local/lib/ruby/site_ruby/2.2/pkgtools/pkgtools.rb:1180: warning: Insecure world writable dir /tmp/. in PATH, mode 041777
--->  Reinstallation of shells/bash-static ended at: Tue, 26 Apr 2016 07:08:05 -0700 (consumed 00:00:38)
--->  ** Upgrade tasks 1: 1 done, 0 ignored, 0 skipped and 0 failed
/usr/local/lib/ruby/site_ruby/2.2/pkgtools/pkgtools.rb:1180: warning: Insecure world writable dir /tmp/. in PATH, mode 041777
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
	+ shells/bash-static (bash-static-4.3.42_1 -> bash-static-4.3.42_1)
--->  Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed
--->  Session ended at: Tue, 26 Apr 2016 07:08:06 -0700 (consumed 00:00:39)

This started happening sometime in the last 2 weeks, not sure when.
It’s happening on all 3 machines Dell 2950 server, HP-SFF, and a VirtualBox running on OSX all amd64
I noticed it when I did a portupgrade -av because 10 or so ports were outdated and all the library ones failed.

Not sure how to debug it as gdb doesn’t work with /usr/local/sbin/portupgrade.

Thanks
Manfred






More information about the freebsd-ports mailing list