Total Ports System Failure
Sean McLaughlin
sigma.zx at gmail.com
Mon Nov 19 23:30:37 PST 2007
All of a sudden, my entire ports system is out-of-whack. Trying to
make/portupgrade anything fails. For example, here is the output of
installing audio/faad:
-- begin --
# portupgrade audio/faad
---> Upgrading 'faad2-2.6,1' to 'faad2-2.6_1,1' (audio/faad)
---> Building '/usr/ports/audio/faad'
===> Cleaning for faad2-2.6_1,1
===> Extracting for faad2-2.6_1,1
=> MD5 Checksum OK for faad2-2.6.tar.gz.
=> SHA256 Checksum OK for faad2-2.6.tar.gz.
===> Patching for faad2-2.6_1,1
===> Converting DOS text files to UNIX text files
===> Applying FreeBSD patches for faad2-2.6_1,1
===> faad2-2.6_1,1 depends on executable: gmake - found
===> faad2-2.6_1,1 depends on file: /usr/local/bin/automake-1.5 - found
===> faad2-2.6_1,1 depends on file: /usr/local/bin/autoconf-2.61 - found
===> faad2-2.6_1,1 depends on file: /usr/local/bin/libtool - found
===> Configuring for faad2-2.6_1,1
/bin/mkdir -p /usr/ports/audio/faad/work/faad2/plugins/bmp
---> Backing up the old version
---> Uninstalling the old version
---> Deinstalling 'faad2-2.6,1'
---> Preserving /usr/local/lib/libfaad.so.0
as /usr/local/lib/compat/pkg/libfaad.so.0
pkg_delete: package 'faad2-2.6,1' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
ffmpeg-2007.10.04_1
gnash-0.8.1
vlc-0.8.6.c_5,2
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 713 packages found
(-1 +0) (...) done]
---> Installing the new version via the port
gmake: Makefile: No such file or directory
gmake: *** No rule to make target `Makefile'. Stop.
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
*** Error code 2
===> Registering installation for faad2-2.6_1,1
pkg_create: pkg_perform: unable to open contents
file '/usr/ports/audio/faad/work/.PLIST.mktmp' for input
*** Error code 2
2 errors
*** Error code 2
1 error
** Command failed [exit code 2]: /usr/bin/script -qa /tmp/portupgrade.9286.0
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=faad2-2.6,1 UPGRADE_PORT_VER=2.6,1
make reinstall
---> Restoring the old version
pkg_add: package faad2-2.6_1,1 has no origin recorded
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 715 packages found
(-0 +2) .. done]
** Listing the failed packages (*:skipped / !:failed)
! audio/faad (faad2-2.6,1) (install error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
** Could not clean up temporary directory: Directory not
empty - /var/tmp/portupgradee4EOJEQa
-- end --
And here is for archivers/arj:
-- start --
# portinstall arj
[Gathering depends for archivers/arj ................. done]
---> Installing 'arj-3.10.22_1' from a port (archivers/arj)
---> Building '/usr/ports/archivers/arj'
===> Cleaning for arj-3.10.22_1
===> Extracting for arj-3.10.22_1
=> MD5 Checksum OK for arj-3.10.22.tar.gz.
=> SHA256 Checksum OK for arj-3.10.22.tar.gz.
===> Patching for arj-3.10.22_1
===> arj-3.10.22_1 depends on executable: gmake - found
===> arj-3.10.22_1 depends on file: /usr/local/bin/autoconf-2.61 - found
===> Configuring for arj-3.10.22_1
---> Installing the new version via the port
gmake: GNUmakefile: No such file or directory
gmake: *** No rule to make target `GNUmakefile'. Stop.
cd /usr/ports/archivers/arj/work/arj-3.10.22/doc && install -o root -g
wheel -m 444 COPYING debug.txt /usr/local/share/doc/arj
*** Error code 2
cd /usr/ports/archivers/arj/work/arj-3.10.22/resource/en && install -o
root -g wheel -m 444 arjl.txt arjs.txt history.txt readme.txt
unix.txt /usr/local/share/doc/arj
1 error
*** Error code 2
1 error
** Command failed [exit code 2]: /usr/bin/script -qa /tmp/portinstall.6164.0
env make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! archivers/arj (install error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
-- end --
It seems like I have to go into the port directory and do "make do-configure",
etc. manually. In addition, trying to upgrade jdk results in "Do you agree
to the above license terms? [yes or no]" being written over and over. Plus,
in doing a "make config", the dialog box on the blue background is set in the
top-left
corner, non-functions (keypresses show up a cyan text beneath it in a black
row), and has to be interrupted with ^C.
I though I might've added something to /etc/make.conf to cause this, but
removing that file had no effect.
The only out-of-the-ordinary thing that happend was a power failure in the
middle of upgrading a bunch of ports a day or so ago. I was asleep so I
don't know at what point. Seems like that was the point after which
everything broke.
The last portsnap I did was a few seconds ago. The uname is
FreeBSD Pavilion 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: Mon Oct 29 14:34:26
PDT 2007 toor at Pavilion:/usr/obj/usr/src/sys/MYSMP i386
More information about the freebsd-ports
mailing list