Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-16 Thread Brian John




- Original Message -
 
 Ignore my last message! change assert(0); to break; not continue;
 #

 On Tuesday 15 February 2005 08:52 pm, Brian John wrote:

 Brian, I can't send this to you as a patch because it would
 conflict with the last pr I submitted so I need you to do it this
 way instead:

 cd /usr/ports/sysutils/portmanager
 make deinstall
 make clean
 make patch
 cd /usr/ports/sysutils/portmanager/work/portmanager-0.2.6/libPMGR/src
 ee PMGRrUpgrade.c
 scroll down to line 271and change:

 assert(0);

 to

 break;

 cd /usr/ports/sysutils/portmanager
 make install clean

 Then let me know how it goes.  If this works for you I'll be adding it
 in the next change, I haven't been able to duplicate this on my machine
 so right now you are my only hope of fixing this bug.

 -Mike



H...I am still getting errors.  Output is below.

Thanks again

/Brian

if [ ! -d /usr/local/share/doc/libiconv ] ; then /bin/sh
../autoconf/mkinstalldirs /usr/local/share/doc/libiconv ; fi
mkdir -p -- /usr/local/share/doc/libiconv
if [ ! -d /usr/local/share/doc/libiconv ] ; then /bin/sh
../autoconf/mkinstalldirs /usr/local/share/doc/libiconv ; fi
builddir=`pwd`; cd .  for f in *.html ; do (cd $builddir; echo
install  -o root -g wheel -m 444 ./$f /usr/local/sh
are/doc/libiconv/$f ; install  -o root -g wheel -m 444 ./$f
/usr/local/share/doc/libiconv/$f) ; done
install -o root -g wheel -m 444 ./iconv.1.html
/usr/local/share/doc/libiconv/iconv.1.html
install -o root -g wheel -m 444 ./iconv.3.html
/usr/local/share/doc/libiconv/iconv.3.html
install -o root -g wheel -m 444 ./iconv_close.3.html
/usr/local/share/doc/libiconv/iconv_close.3.html
install -o root -g wheel -m 444 ./iconv_open.3.html
/usr/local/share/doc/libiconv/iconv_open.3.html
===   Compressing manual pages for libiconv-1.9.2_1
===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===   Registering installation for libiconv-1.9.2_1

deleting backup copy, installation of updated /converters/libiconv successful
PMGRrDoUpgrade 0.2.6_5 command: #6 of 8 cd /tmp; rm -f libiconv-1.9.2_1.tgz


making package of updated /converters/libiconv
PMGRrDoUpgrade 0.2.6_5 command: #7 of 8 cd /usr/ports/converters/libiconv;
make package

===  Building package for libiconv-1.9.2_1
Creating package /usr/ports/converters/libiconv/libiconv-1.9.2_1.tbz
Registering depends:.
Creating bzip'd tar ball in
'/usr/ports/converters/libiconv/libiconv-1.9.2_1.tbz'

terminal clean of work directories
PMGRrDoUpgrade 0.2.6_5 command: #8 of 8 cd /usr/ports/converters/libiconv;
make clean

===  Cleaning for libtool-1.5.10
===  Cleaning for libiconv-1.9.2_1

PMGRrStatus 0.2.6_5 info: Creating inital data bases


PMGRrStatus 0.2.6_5 info: looking for missing dependent ports


-=MISSING=- linux_base-rh-9[/emulators/linux_base-rh-9] may be a
dependency of linux-sun-jdk-1.4.2.06_1
verifing dependency status of linux_base-rh-9 (may take awhile) by
executing command:
cd /usr/ports/java/linux-sun-jdk14; make  all-depends-list
  *  *  *  *
linux_base-rh-9 is no longer a dependency of linux-sun-jdk-1.4.2.06_1
 forcing rebuild of linux-sun-jdk-1.4.2.06_1 to fix
/var/db/pkg/linux-sun-jdk-1.4.2.06_1/+CONTENTS file.
  *  *  *  *
WARNING:  linux_base-rh-9 may conflict with a new linux-sun-jdk-1.4.2.06_1
dependency
and may have to be manually removed with pkg_delete -f linux_base-rh-9.
If portmanager fails during rebuild of linux-sun-jdk-1.4.2.06_1 then review
/usr/ports/UPDATING and also note what is at the bottom of /usr/ports/MOVED.

-=MISSING=- linux_base-rh-9[/emulators/linux_base-rh-9] may be a
dependency of linux-flashplugin-6.0r79_2
verifing dependency status of linux_base-rh-9 (may take awhile) by
executing command:
cd /usr/ports/www/linux-flashplugin6; make  all-depends-list
  *  *  *  *
linux_base-rh-9 is no longer a dependency of linux-flashplugin-6.0r79_2
 forcing rebuild of linux-flashplugin-6.0r79_2 to fix
/var/db/pkg/linux-flashplugin-6.0r79_2/+CONTENTS file.
  *  *  *  *
WARNING:  linux_base-rh-9 may conflict with a new
linux-flashplugin-6.0r79_2 dependency
and may have to be 

Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-16 Thread Michael C. Shultz
On Wednesday 16 February 2005 09:50 am, Brian John wrote:
 - Original Message -

  
  Ignore my last message! change assert(0); to break; not continue;
  #
 
  On Tuesday 15 February 2005 08:52 pm, Brian John wrote:
 
  Brian, I can't send this to you as a patch because it would
  conflict with the last pr I submitted so I need you to do it this
  way instead:
 
  cd /usr/ports/sysutils/portmanager
  make deinstall
  make clean
  make patch
  cd
  /usr/ports/sysutils/portmanager/work/portmanager-0.2.6/libPMGR/src
  ee PMGRrUpgrade.c
  scroll down to line 271and change:
 
  assert(0);
 
  to
 
  break;
 
  cd /usr/ports/sysutils/portmanager
  make install clean
 
  Then let me know how it goes.  If this works for you I'll be adding
  it in the next change, I haven't been able to duplicate this on my
  machine so right now you are my only hope of fixing this bug.
 
  -Mike

 H...I am still getting errors.  Output is below.

 Thanks again

 /Brian

OK Brian I want to go through everything piece by piece on your system,
so I need to look at portmanager's databases. They shouldn't be too big.
Please send me: portmanager.tar.gz

cd /usr/local/share
tar -cf portmanager.tar portmanager
gzip portmanager.tar

Thank you

-Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-16 Thread Brian John
- Original Message -
 On Wednesday 16 February 2005 09:50 am, Brian John wrote:
 - Original Message -

  
  Ignore my last message! change assert(0); to break; not continue;
  #
 
  On Tuesday 15 February 2005 08:52 pm, Brian John wrote:
 
  Brian, I can't send this to you as a patch because it would
  conflict with the last pr I submitted so I need you to do it this
  way instead:
 
  cd /usr/ports/sysutils/portmanager
  make deinstall
  make clean
  make patch
  cd
  /usr/ports/sysutils/portmanager/work/portmanager-0.2.6/libPMGR/src
  ee PMGRrUpgrade.c
  scroll down to line 271and change:
 
  assert(0);
 
  to
 
  break;
 
  cd /usr/ports/sysutils/portmanager
  make install clean
 
  Then let me know how it goes.  If this works for you I'll be adding
  it in the next change, I haven't been able to duplicate this on my
  machine so right now you are my only hope of fixing this bug.
 
  -Mike

 H...I am still getting errors.  Output is below.

 Thanks again

 /Brian

 OK Brian I want to go through everything piece by piece on your system,
 so I need to look at portmanager's databases. They shouldn't be too big.
 Please send me: portmanager.tar.gz

 cd /usr/local/share
 tar -cf portmanager.tar portmanager
 gzip portmanager.tar

 Thank you

 -Mike
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



Sure, it's attached.

Let me know what you come up with

Thanks

/Brian___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error in port upgrade (was Re: portmanager hosed)

2005-02-15 Thread Brian John
Michael C. Shultz wrote:
On Tuesday 15 February 2005 10:15 am, Brian John wrote:
 

When I try to upgrade my ports I just get error messages.  Can
someone help me out?  I'll paste the output below.
Thanks
/Brian
su-2.05b# portmanager -u
portmanager 0.2.6_5 info: executing rm -f
/usr/local/share/portmanager/ports_cache.db
-
--- PMGRrStatus 0.2.6_5 info: Creating inital data bases
-
---
-
--- PMGRrStatus 0.2.6_5 info: looking for missing dependent ports
-
---
-
--- -=MISSING=- linux_base-8-8.0_6[/emulators/linux_base-8] may be a
dependency of linuxpluginwrapper-20050119_1
verifing dependency status of linux_base-8-8.0_6 (may take awhile) by
executing command:
cd /usr/ports/www/linuxpluginwrapper; make  all-depends-list
 *  *  *  *
linux_base-8-8.0_6 is indeed a missing dependency, adding to list of
things to be updated
 *  *  *  *
checking for linux_base-8-8.0_6 dependencies that also may not be
installed listing linux_base-8-8.0_6's known dependencies by
executing command: cd /usr/ports/emulators/linux_base-8; make 
   

 

all-depends-list *  *  *  *
dependency -=archivers/rpm
   executing: cd /usr/portsarchivers/rpm; make describe
cd: can't cd to /usr/portsarchivers/rpm
make: don't know how to make describe. Stop
   

The path /usr/portsarchivers/rpm is mangled here. Sorry
about this it looks like a portmanager bug :(  I'll work on a fix
right away. 

-Mike
 

I tried your fix but it still doesn't seem to be working.  The output is 
below.

Thanks very much for your help
/Brian
creating iconv
/bin/sh /usr/local/bin/libtool15 --mode=install install  -s -o root -g 
wheel -m 555 iconv /usr/local/bin/iconv
libtool15: install: warning: `../lib//libiconv.la' has not been 
installed in `/usr/local/lib'
install -o root -g wheel -m 555 -s .libs/iconv /usr/local/bin/iconv
if [ ! -d /usr/local ] ; then /bin/sh ./autoconf/mkinstalldirs 
/usr/local ; fi
if [ ! -d /usr/local ] ; then /bin/sh ./autoconf/mkinstalldirs 
/usr/local ; fi
if [ ! -d /usr/local/include ] ; then /bin/sh ./autoconf/mkinstalldirs 
/usr/local/include ; fi
install  -o root -g wheel -m 444 include/iconv.h /usr/local/include/iconv.h
cd po  make install prefix='/usr/local' exec_prefix='/usr/local' 
datadir='/usr/local/share'
if test libiconv = gettext-tools; then  /bin/sh 
../autoconf/mkinstalldirs /usr/local/share/gettext/po;  for file in 
Makefile.in.in remove-potcdate.sin  quot.sed boldquot.sed [EMAIL PROTECTED] 
[EMAIL PROTECTED] insert-header.sin Rules-quot   Makevars.template; do  
install  -o root -g wheel -m 444 ./$file  
/usr/local/share/gettext/po/$file;  done;  for file in Makevars; do  rm 
-f /usr/local/share/gettext/po/$file;  done;  else  : ;  fi
cd man  make install prefix='/usr/local' exec_prefix='/usr/local' 
datadir='/usr/local/share' mandir='/usr/local/man'
if [ ! -d /usr/local ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local ; fi
if [ ! -d /usr/local/share ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local/share ; fi
if [ ! -d /usr/local/man ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local/man ; fi
if [ ! -d /usr/local/man/man1 ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local/man/man1 ; fi
builddir=`pwd`; cd .  for f in *.1 ; do (cd $builddir; echo 
install  -o root -g wheel -m 444 ./$f /usr/local/man/man1/$f ; install  
-o root -g wheel -m 444 ./$f /usr/local/man/man1/$f) ; done
install -o root -g wheel -m 444 ./iconv.1 /usr/local/man/man1/iconv.1
if [ ! -d /usr/local/man/man3 ] ; then /bin/sh ../autoconf/mkinstalldirs 
/usr/local/man/man3 ; fi
builddir=`pwd`; cd .  for f in *.3 ; do (cd $builddir; echo 
install  -o root -g wheel -m 444 ./$f /usr/local/man/man3/$f ; install  
-o root -g wheel -m 444 ./$f /usr/local/man/man3/$f) ; done
install -o root -g wheel -m 444 ./iconv.3 /usr/local/man/man3/iconv.3
install -o root -g wheel -m 444 ./iconv_close.3 
/usr/local/man/man3/iconv_close.3
install -o root -g wheel -m 444 ./iconv_open.3 
/usr/local/man/man3/iconv_open.3
if [ ! -d /usr/local/share/doc ] ; then /bin/sh 
../autoconf/mkinstalldirs /usr/local/share/doc ; fi
if [ ! -d /usr/local/share/doc/libiconv ] ; then /bin/sh 
../autoconf/mkinstalldirs /usr/local/share/doc/libiconv ; fi
mkdir -p -- /usr/local/share/doc/libiconv
if [ ! -d /usr/local/share/doc/libiconv ] ; then /bin/sh 
../autoconf/mkinstalldirs /usr/local/share/doc/libiconv ; fi
builddir=`pwd`; cd .  for f in *.html ; do (cd $builddir; echo 
install  -o root -g wheel -m 444 ./$f /usr/local/share/doc/libiconv/$f ; 
install  -o root -g wheel -m 444 ./$f /usr/local/share/doc/libiconv/$f) 
; done
install -o root -g wheel -m 444 ./iconv.1.html 
/usr/local/share/doc/libiconv/iconv.1.html
install -o root -g wheel -m 

Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-15 Thread Michael C. Shultz
On Tuesday 15 February 2005 08:05 pm, you wrote:
 Michael C. Shultz wrote:
 On Tuesday 15 February 2005 10:15 am, Brian John wrote:
 When I try to upgrade my ports I just get error messages.  Can
 someone help me out?  I'll paste the output below.
 
 Thanks
 
 /Brian
 
 su-2.05b# portmanager -u
 portmanager 0.2.6_5 info: executing rm -f
 /usr/local/share/portmanager/ports_cache.db
 ---
 -- --- PMGRrStatus 0.2.6_5 info: Creating inital data bases
 ---
 -- ---
 ---
 -- --- PMGRrStatus 0.2.6_5 info: looking for missing dependent
  ports
  --
 --- ---
 ---
 -- --- -=MISSING=- linux_base-8-8.0_6[/emulators/linux_base-8]
  may be a dependency of linuxpluginwrapper-20050119_1
 verifing dependency status of linux_base-8-8.0_6 (may take awhile)
  by executing command:
 cd /usr/ports/www/linuxpluginwrapper; make  all-depends-list
   *  *  *  *
 linux_base-8-8.0_6 is indeed a missing dependency, adding to list
  of things to be updated
   *  *  *  *
 checking for linux_base-8-8.0_6 dependencies that also may not be
 installed listing linux_base-8-8.0_6's known dependencies by
 executing command: cd /usr/ports/emulators/linux_base-8; make
 
 
 
 
 
 all-depends-list *  *  *  *
 dependency -=archivers/rpm
 executing: cd /usr/portsarchivers/rpm; make describe
 cd: can't cd to /usr/portsarchivers/rpm
 make: don't know how to make describe. Stop
 
 The path /usr/portsarchivers/rpm is mangled here. Sorry
 about this it looks like a portmanager bug :(  I'll work on a fix
 right away.
 
 -Mike

 I tried your fix but it still doesn't seem to be working.  The output
 is below.

 Thanks very much for your help

 /Brian

Brian, to get you past the problem all you need do is

cd /usr/ports/emulators/linux_base-rh-9
make deinstall
cd ~
portmanager -u

emulators/linux_base-rh-9 is conflicting with emulators/linux_base-8

This output you sent just identified a bug I've been trying to track 
down for ages! Thanks for sending it!  It will be a few days to fix
it but I think you will be ok when your remove /linux_base-rh-9.
Let me know how it goes ok?

-Mike


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-15 Thread Brian John
Michael C. Shultz wrote:
On Tuesday 15 February 2005 08:05 pm, you wrote:
 

Michael C. Shultz wrote:
   

On Tuesday 15 February 2005 10:15 am, Brian John wrote:
 

When I try to upgrade my ports I just get error messages.  Can
someone help me out?  I'll paste the output below.
Thanks
/Brian
su-2.05b# portmanager -u
portmanager 0.2.6_5 info: executing rm -f
/usr/local/share/portmanager/ports_cache.db
---
-- --- PMGRrStatus 0.2.6_5 info: Creating inital data bases
---
-- ---
---
-- --- PMGRrStatus 0.2.6_5 info: looking for missing dependent
ports
--
--- ---
---
-- --- -=MISSING=- linux_base-8-8.0_6[/emulators/linux_base-8]
may be a dependency of linuxpluginwrapper-20050119_1
verifing dependency status of linux_base-8-8.0_6 (may take awhile)
by executing command:
cd /usr/ports/www/linuxpluginwrapper; make  all-depends-list
*  *  *  *
linux_base-8-8.0_6 is indeed a missing dependency, adding to list
of things to be updated
*  *  *  *
checking for linux_base-8-8.0_6 dependencies that also may not be
installed listing linux_base-8-8.0_6's known dependencies by
executing command: cd /usr/ports/emulators/linux_base-8; make


all-depends-list *  *  *  *
dependency -=archivers/rpm
  executing: cd /usr/portsarchivers/rpm; make describe
cd: can't cd to /usr/portsarchivers/rpm
make: don't know how to make describe. Stop
   

The path /usr/portsarchivers/rpm is mangled here. Sorry
about this it looks like a portmanager bug :(  I'll work on a fix
right away.
-Mike
 

I tried your fix but it still doesn't seem to be working.  The output
is below.
Thanks very much for your help
/Brian
   

Brian, to get you past the problem all you need do is
cd /usr/ports/emulators/linux_base-rh-9
make deinstall
cd ~
portmanager -u
emulators/linux_base-rh-9 is conflicting with emulators/linux_base-8
This output you sent just identified a bug I've been trying to track 
down for ages! Thanks for sending it!  It will be a few days to fix
it but I think you will be ok when your remove /linux_base-rh-9.
Let me know how it goes ok?

-Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I tried that and I am still having problems.  Output is below.
Thanks
/Brian
install -o root -g wheel -m 444 ./iconv_open.3.html 
/usr/local/share/doc/libiconv/iconv_open.3.html
===   Compressing manual pages for libiconv-1.9.2_1
===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===   Registering installation for libiconv-1.9.2_1

deleting backup copy, installation of updated /converters/libiconv 
successful
PMGRrDoUpgrade 0.2.6_5 command: #6 of 8 cd /tmp; rm -f libiconv-1.9.2_1.tgz


making package of updated /converters/libiconv
PMGRrDoUpgrade 0.2.6_5 command: #7 of 8 cd 
/usr/ports/converters/libiconv; make package

===  Building package for libiconv-1.9.2_1
Creating package /usr/ports/converters/libiconv/libiconv-1.9.2_1.tbz
Registering depends:.
Creating bzip'd tar ball in 
'/usr/ports/converters/libiconv/libiconv-1.9.2_1.tbz'

terminal clean of work directories
PMGRrDoUpgrade 0.2.6_5 command: #8 of 8 cd 
/usr/ports/converters/libiconv; make clean

===  Cleaning for libtool-1.5.10
===  Cleaning for libiconv-1.9.2_1

PMGRrStatus 0.2.6_5 info: Creating inital data bases


PMGRrStatus 0.2.6_5 info: looking for missing dependent ports


-=MISSING=- linux_base-rh-9[/emulators/linux_base-rh-9] may be a 
dependency of linux-sun-jdk-1.4.2.06_1
verifing dependency status of linux_base-rh-9 (may take awhile) by 
executing command:
cd /usr/ports/java/linux-sun-jdk14; make  all-depends-list
 *  *  *  *
linux_base-rh-9 is no longer a dependency of linux-sun-jdk-1.4.2.06_1
forcing rebuild of linux-sun-jdk-1.4.2.06_1 to fix 
/var/db/pkg/linux-sun-jdk-1.4.2.06_1/+CONTENTS file.
 *  *  *  *
WARNING:  

Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-15 Thread Michael C. Shultz
On Tuesday 15 February 2005 08:52 pm, Brian John wrote:

Brian, I can't send this to you as a patch because it would
conflict with the last pr I submitted so I need you to do it this
way instead:

cd /usr/ports/sysutils/portmanager
make deinstall
make clean
make patch
cd /usr/ports/sysutils/portmanager/work/portmanager-0.2.6/libPMGR/src
ee PMGRrUpgrade.c
scroll down to line 271and change:

assert(0);

to 

continue;

cd /usr/ports/sysutils/portmanager
make install clean

Then let me know how it goes.  If this works for you I'll be adding it 
in the next change, I haven't been able to duplicate this on my machine 
so right now you are my only hope of fixing this bug.

-Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error in port upgrade (was Re: portmanager hosed)

2005-02-15 Thread Michael C. Shultz

Ignore my last message! change assert(0); to break; not continue;
#

On Tuesday 15 February 2005 08:52 pm, Brian John wrote:

Brian, I can't send this to you as a patch because it would
conflict with the last pr I submitted so I need you to do it this
way instead:

cd /usr/ports/sysutils/portmanager
make deinstall
make clean
make patch
cd /usr/ports/sysutils/portmanager/work/portmanager-0.2.6/libPMGR/src
ee PMGRrUpgrade.c
scroll down to line 271and change:

assert(0);

to 

break;

cd /usr/ports/sysutils/portmanager
make install clean

Then let me know how it goes.  If this works for you I'll be adding it 
in the next change, I haven't been able to duplicate this on my machine 
so right now you are my only hope of fixing this bug.

-Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]