Re: portmaster -a command fails - *** Error code 1

2011-03-04 Thread Arthur Chance

On 03/04/11 15:37, Ed Flecko wrote:
[Snips]

Given this:


===/usr/ports/textproc/docproj-nojadetex/work not writable, skipping



Any ideas on what my problem(s) is and how to solve it???


Either you've got a read-only /usr/ports or you've forgotten to run as root.

[I will admit to doing the latter occasionally.]

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


Re: portmaster -a command fails - *** Error code 1

2011-03-04 Thread Ed Flecko
Thanks gentlemen; I was not running portmaster as root.

When I re-run portmaster -a as root, I get the following:

=== Starting check for runtime dependencies
=== Gathering dependency list for devel/automake from ports
=== Dependency check complete for devel/automake
en-freebsd-doc-20100625  textproc/docproj-nojadetex 
graphics/netpbm  graphics/jasper  graphics/libglut 
x11-toolkits/libXmu  x11-toolkits/libXt  x11/libSM 
devel/automake
===  Installing for automake-1.11.1
===   Generating temporary packing list
===  Checking if devel/automake already installed
===   automake-1.11.1 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of devel/automake
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/devel/automake.




Suggestions?

Thank you,
Ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portmaster -a command fails - *** Error code 1

2011-03-04 Thread Arthur Chance

On 03/04/11 17:00, Ed Flecko wrote:

Thanks gentlemen; I was not running portmaster as root.

When I re-run portmaster -a as root, I get the following:

===  Starting check for runtime dependencies
===  Gathering dependency list for devel/automake from ports
===  Dependency check complete for devel/automake
 en-freebsd-doc-20100625  textproc/docproj-nojadetex
graphics/netpbm  graphics/jasper  graphics/libglut
x11-toolkits/libXmu  x11-toolkits/libXt  x11/libSM
devel/automake
===   Installing for automake-1.11.1
===Generating temporary packing list
===   Checking if devel/automake already installed
===automake-1.11.1 is already installed
   You may wish to ``make deinstall'' and install this port again
   by ``make reinstall'' to upgrade it properly.
   If you really wish to overwrite the old port of devel/automake
   without deleting it first, set the variable FORCE_PKG_REGISTER
   in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/devel/automake.




Suggestions?


Do what it says?

make -C /usr/ports/devel/automake deinstall reinstall

or maybe (note the lack of -a here)

env FORCE_PKG_REGISTER=yes portmaster devel/automake

and then try portmaster -a again.

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


Re: portmaster -a command fails - *** Error code 1

2011-03-04 Thread Ed Flecko
Thanks Aurthur.

:-)

It's funny...I DID what it asks and it still didn't work (make deinstall, etc.).

Apparently, I installed it from a package, so I did a pkg_delete
automake and then started my portmaster -a again and it seems to be
running fine.

:-)

Ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portmaster -a command fails - *** Error code 1

2011-03-04 Thread Arthur Chance

On 03/04/11 17:36, Ed Flecko wrote:

Thanks Aurthur.

:-)

It's funny...I DID what it asks and it still didn't work (make deinstall, etc.).


A tip for the future: always say what you've tried. It lets us save our 
waning mind reading powers for important cases, like working out what 
the wife actually wants for her birthday when all she says is oh, any 
little thing will do. :-)



Apparently, I installed it from a package, so I did a pkg_delete
automake and then started my portmaster -a again and it seems to be
running fine.


Ah, the third option which I forgot to mention. It's always the option 
one forgets to mention that works.


In theory package install and port install are supposed to be the same 
(modulo config options). In practice there are odd cases, and automake 
seems to provoke them. Thinking back, I've had to pkg_delete it before 
now in order to upgrade, and I always install from ports.


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


Re: portmaster -a command fails - *** Error code 1

2011-03-04 Thread Tom Worster
these situations arise quite often where you have to delete a port before
portmaster will continue.

sometimes you can predict it by reading /usr/ports/UPDATING

not that this is the only reason to read UPDATING.


On 3/4/11 1:37 PM, Arthur Chance free...@qeng-ho.org wrote:

On 03/04/11 17:36, Ed Flecko wrote:
 Thanks Aurthur.

 :-)

 It's funny...I DID what it asks and it still didn't work (make
deinstall, etc.).

A tip for the future: always say what you've tried. It lets us save our
waning mind reading powers for important cases, like working out what
the wife actually wants for her birthday when all she says is oh, any
little thing will do. :-)

 Apparently, I installed it from a package, so I did a pkg_delete
 automake and then started my portmaster -a again and it seems to be
 running fine.

Ah, the third option which I forgot to mention. It's always the option
one forgets to mention that works.

In theory package install and port install are supposed to be the same
(modulo config options). In practice there are odd cases, and automake
seems to provoke them. Thinking back, I've had to pkg_delete it before
now in order to upgrade, and I always install from ports.

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


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


Re: portmaster -a command fails - *** Error code 1

2011-03-04 Thread RW
On Fri, 04 Mar 2011 18:37:32 +
Arthur Chance free...@qeng-ho.org wrote:

 On 03/04/11 17:36, Ed Flecko wrote:
  Thanks Aurthur.
 
  :-)
 
  It's funny...I DID what it asks and it still didn't work (make
  deinstall, etc.).
 ...
  Apparently, I installed it from a package, so I did a pkg_delete
  automake and then started my portmaster -a again and it seems to be
  running fine.
 
 Ah, the third option which I forgot to mention. It's always the
 option one forgets to mention that works.
 
 In theory package install and port install are supposed to be the
 same (modulo config options). In practice there are odd cases, and
 automake seems to provoke them. Thinking back, I've had to pkg_delete
 it before now in order to upgrade, and I always install from ports.

It's not really a matter of ports verses packages, a make deinstall
calls pkg_delete. 

The suggestion  You may wish to ``make deinstall'' and install this
port again... shouldn't be taken too seriously, since it just a
standard response to a  make install on an already installed port. It
probably fails because what's needed is to delete the package, not
delete and reinstall.




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