Re: gettext problem in FreeBSD 8.3 system hosed

2013-03-28 Thread Ruben de Groot
On Tue, Mar 26, 2013 at 06:53:11AM -0500, Antonio Olivares typed:
> Dear Sir,
> 
> >
> > As bapt@ hints: try rebuilding binutils without NLS.
> >
> > --
> > --
> 
> I have binutils installed without NLS.  I ran make deinstall reinstall
> inside /usr/ports/devel/binutils/ and it deinstalls and it fails to
> reinstall because it depends on gettext :(  Now I guess I am really in
> trouble.

Don't do make deinstall reinstall! Run make deinstall, than make config,
disable the NLS option and then run make install.

Ruben

___
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: gettext problem in FreeBSD 8.3 system hosed

2013-03-26 Thread Antonio Olivares
Dear Sir,

>
> As bapt@ hints: try rebuilding binutils without NLS.
>
> --
> --

I have binutils installed without NLS.  I ran make deinstall reinstall
inside /usr/ports/devel/binutils/ and it deinstalls and it fails to
reinstall because it depends on gettext :(  Now I guess I am really in
trouble.

I am not using pkgng just ports.  On three machines I am successfull,
two 9.1-RELEASE-p1 and one 8.3-RELEASE, but this 9.1-RELEASE box I
could not build some ports, I tried deinstall/reinstall options, and
now I guess I am in a major problem, unless gettext starts to build
soon, I uninstalled glib20, and tried reinstall it fails with gettext.
 There is a new version out, but it has not made it to ports :(
I'll hang in there for a little while longer, but if it comes down to
deleting and reinstalling all ports, I may do just that.

Best Regards && Thanks for the suggestions and advice provided.

Antonio
___
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: gettext problem in FreeBSD 8.3 system hosed

2013-03-25 Thread ill...@gmail.com
On 25 March 2013 12:52, Antonio Olivares  wrote:
> Dear folks,
>
> As following /usr/port/UPDATING, I ran into a bit of trouble.  System
> is hosed and I cannot update any ports.  I tried to follow advice
> here:
>
> 20130316:
>   AFFECTS: users of converters/libiconv and devel/gettext
>   AUTHOR: b...@freebsd.org
>
>   libiconv now handles the lib/charset.alias file instead of devel/gettext.
>   If you are using pkgng 'and' upgrading from source with portupgrade or
>   portmaster, first delete gettext, upgrade libiconv, then reinstall gettext.
>
>   # pkg delete -f devel/gettext
>   # portmaster converters/libiconv devel/gettext
> or
>   # pkg delete -f devel/gettext
>   # portupgrade converters/libiconv devel/gettext
>
> but I get error(s) in gettext.  I see that there is a small problem
> with gettext:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=177176
>
> How can I get around it, I made errors by deleting devel/gmake, and
> devel/glib20 and I tried to reinstall these, I did a make deinstall
> reinstall to see if I could bypass the error, but update(s) always
> fail with gettext.  Any ideas/suggestions to fix this problem?
>

As bapt@ hints: try rebuilding binutils without NLS.

-- 
--
___
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: gettext problem in FreeBSD 8.3 system hosed

2013-03-25 Thread ill...@gmail.com
On 25 March 2013 20:12, Michael Powell  wrote:
> Antonio Olivares wrote:
>
> [snip]
>>> As following /usr/port/UPDATING, I ran into a bit of trouble.  System
>>> is hosed and I cannot update any ports.  I tried to follow advice
>>> here:
>>>
>>> 20130316:
>>>   AFFECTS: users of converters/libiconv and devel/gettext
>>>   AUTHOR: b...@freebsd.org
>>>
>>>   libiconv now handles the lib/charset.alias file instead of
>>>   devel/gettext. If you are using pkgng 'and' upgrading from source with
>>>   portupgrade or portmaster, first delete gettext, upgrade libiconv, then
>>>   reinstall gettext.
>>>
>>>   # pkg delete -f devel/gettext
>>>   # portmaster converters/libiconv devel/gettext
>>> or
>>>   # pkg delete -f devel/gettext
>>>   # portupgrade converters/libiconv devel/gettext
> [snip]
>>
>> I have tried to follow the instructions included in
>> /usr/ports/UPDATING but I have not succeeded in this machine.  I am
>> thinking of moving it to 8.4-BETA1 release and then reworking the
>> ports or deleting them and restarting in case of not having replies I
>> have gotten myself out of trouble before but it can take days to get
>> the machine back in working order :(
>>
>
> Not exactly an answer here, in terms of recovery, but more along the lines
> of trying to figure out how it happened.
>
> Did you previously convert this machine to pkgng? The reason I ask is the
> instructions in UPDATING _only_ apply if you did so. If you did not, then
> you did not need to pay any attention to that section in UPDATING.
>
> I have not yet investigated the changeover to pkgng. I recently just did a
> portupgrade -a without doing as UPDATING suggested and had no difficulty with
> either port.
>
> So if you have not converted to pkgng then there is/was a misunderstanding
> in the reading of UPDATING. If you did convert to pkgng then you are in new
> territory I have not seen yet, and the point is moot.
>

Having switched to pkgng & failing in my duty to carefully read
/usr/ports/UPDATING before rather blindly running portmaster -a
I ran into this problem (to a smaller extent, at least).

I ran the suggested pkg delete -f gettext, which instantly hosed
sudo.  (Why sudo has NLS on by default is beyond me.  Why
sudo isn't a static binary is another issue entirely.)

However, su still worked & I the "portmaster" stage ran without
difficulty.

In a pre-pkgng world (& without portmaster) I would run
"pkg_delete -f gettext && cd /usr/ports/converters/libiconv &&
make deinstall reinstall && cd ../../devel/gettext && make install"
as root.

Or some variation on that, perhaps involving -C  (I've become
addicted to abusing make  -C  ;)
&/or a "clean" being added to the make arguments.

-- 
--
___
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: gettext problem in FreeBSD 8.3 system hosed

2013-03-25 Thread Michael Powell
Antonio Olivares wrote:

[snip]
>> As following /usr/port/UPDATING, I ran into a bit of trouble.  System
>> is hosed and I cannot update any ports.  I tried to follow advice
>> here:
>>
>> 20130316:
>>   AFFECTS: users of converters/libiconv and devel/gettext
>>   AUTHOR: b...@freebsd.org
>>
>>   libiconv now handles the lib/charset.alias file instead of
>>   devel/gettext. If you are using pkgng 'and' upgrading from source with
>>   portupgrade or portmaster, first delete gettext, upgrade libiconv, then
>>   reinstall gettext.
>>
>>   # pkg delete -f devel/gettext
>>   # portmaster converters/libiconv devel/gettext
>> or
>>   # pkg delete -f devel/gettext
>>   # portupgrade converters/libiconv devel/gettext
[snip]
> 
> I have tried to follow the instructions included in
> /usr/ports/UPDATING but I have not succeeded in this machine.  I am
> thinking of moving it to 8.4-BETA1 release and then reworking the
> ports or deleting them and restarting in case of not having replies I
> have gotten myself out of trouble before but it can take days to get
> the machine back in working order :(
> 

Not exactly an answer here, in terms of recovery, but more along the lines 
of trying to figure out how it happened.

Did you previously convert this machine to pkgng? The reason I ask is the 
instructions in UPDATING _only_ apply if you did so. If you did not, then 
you did not need to pay any attention to that section in UPDATING.

I have not yet investigated the changeover to pkgng. I recently just did a 
portupgrade -a without doing as UPDATING suggested and had no difficulty with 
either port.  

So if you have not converted to pkgng then there is/was a misunderstanding 
in the reading of UPDATING. If you did convert to pkgng then you are in new 
territory I have not seen yet, and the point is moot.

-Mike


___
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: gettext problem in FreeBSD 8.3 system hosed

2013-03-25 Thread Antonio Olivares
Dear folks,

On Mon, Mar 25, 2013 at 11:52 AM, Antonio Olivares
 wrote:
> Dear folks,
>
> As following /usr/port/UPDATING, I ran into a bit of trouble.  System
> is hosed and I cannot update any ports.  I tried to follow advice
> here:
>
> 20130316:
>   AFFECTS: users of converters/libiconv and devel/gettext
>   AUTHOR: b...@freebsd.org
>
>   libiconv now handles the lib/charset.alias file instead of devel/gettext.
>   If you are using pkgng 'and' upgrading from source with portupgrade or
>   portmaster, first delete gettext, upgrade libiconv, then reinstall gettext.
>
>   # pkg delete -f devel/gettext
>   # portmaster converters/libiconv devel/gettext
> or
>   # pkg delete -f devel/gettext
>   # portupgrade converters/libiconv devel/gettext
>
> but I get error(s) in gettext.  I see that there is a small problem
> with gettext:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=177176
>
> How can I get around it, I made errors by deleting devel/gmake, and
> devel/glib20 and I tried to reinstall these, I did a make deinstall
> reinstall to see if I could bypass the error, but update(s) always
> fail with gettext.  Any ideas/suggestions to fix this problem?
>
> Thanks in Advance,
>
>
> Antonio

In case if anyone is wondering which error I am encountering:  It is
the following:

http://lists.freebsd.org/pipermail/freebsd-ports/2013-February/081576.html

http://forums.freebsd.org/showthread.php?t=38558

devel/glib20 fails to build also with error:

http://www.freebsd.org/cgi/query-pr.cgi?pr=177069

I have tried to follow the instructions included in
/usr/ports/UPDATING but I have not succeeded in this machine.  I am
thinking of moving it to 8.4-BETA1 release and then reworking the
ports or deleting them and restarting in case of not having replies I
have gotten myself out of trouble before but it can take days to get
the machine back in working order :(


Best Regards,



Antonio
___
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"