Crash when trying to rsync to external NTFS-formatted HD

2013-03-25 Thread Leslie Jensen


Hello list.

I'm trying the following on my 9.1-RELEASE #0 system:

Mounting the external HD
ntfs-3g /dev/da0s1 /mnt/backup/

And doing
rsync -av /home/les /mnt/backup/BSD_backup/


I get Building incremental file list for about one minute then my 
system freezes and reboots.


I'm aware that NTFS might be the culprit. I have chosen it for 
convenience and the possibility to move my data to machines without FreeBSD.


Manually copying of files one by one works.

Thanks

/Leslie

___
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: snd_hda and front headphones jack

2013-03-25 Thread David Demelier
Try something like :

In /boot/device.hints

hint.hdaa.4.nid31.config=as=1 seq=0 # or seq=1 if does not work
hint.hdaa.4.nid25.config=as=1 seq=15

Also don't forget to add hw.snd.default_unit=4 in your /etc/sysctl.conf

Regards,


2013/3/12 Mark Felder f...@feld.me:
 Hi guys,

 I seem to be having problems getting my front headphones jack to work. I've
 read the snd_hda man page and perhaps I'm doing this wrong, but here's my
 setup:


 dev.hdaa.4.%desc: Conexant CX20641 Audio Function Group
 dev.hdaa.0.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack
 ctype=Digital loc=0x18 color=Unknown misc=0
 dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack
 ctype=Digital loc=0x18 color=Unknown misc=0
 dev.hdaa.2.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack
 ctype=Digital loc=0x18 color=Unknown misc=0
 dev.hdaa.3.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack
 ctype=Digital loc=0x18 color=Unknown misc=0
 dev.hdaa.4.nid24_original: 0x40f001f0 as=15 seq=0 device=Other conn=None
 ctype=Unknown loc=0x00 color=Unknown misc=1
 dev.hdaa.4.nid25_original: 0x02214040 as=4 seq=0 device=Headphones conn=Jack
 ctype=1/8 loc=Front color=Green misc=0
 dev.hdaa.4.nid26_original: 0x02a19020 as=2 seq=0 device=Mic conn=Jack
 ctype=1/8 loc=Front color=Pink misc=0
 dev.hdaa.4.nid27_original: 0x01a1903e as=3 seq=14 device=Mic conn=Jack
 ctype=1/8 loc=Rear color=Pink misc=0
 dev.hdaa.4.nid28_original: 0x01014010 as=1 seq=0 device=Line-out conn=Jack
 ctype=1/8 loc=Rear color=Green misc=0
 dev.hdaa.4.nid29_original: 0x01813030 as=3 seq=0 device=Line-in conn=Jack
 ctype=1/8 loc=Rear color=Blue misc=0
 dev.hdaa.4.nid30_original: 0x40f001f0 as=15 seq=0 device=Other conn=None
 ctype=Unknown loc=0x00 color=Unknown misc=1
 dev.hdaa.4.nid31_original: 0x9217011f as=1 seq=15 device=Speaker conn=Fixed
 ctype=Analog loc=0x12 color=Unknown misc=1
 dev.hdaa.4.nid32_original: 0x40f001f0 as=15 seq=0 device=Other conn=None
 ctype=Unknown loc=0x00 color=Unknown misc=1
 dev.hdaa.4.nid33_original: 0x40f001f0 as=15 seq=0 device=Other conn=None
 ctype=Unknown loc=0x00 color=Unknown misc=1
 dev.hdaa.4.nid38_original: 0x40f001ff as=15 seq=15 device=Other conn=None
 ctype=Unknown loc=0x00 color=Unknown misc=1


 If I am looking at this right I believe I need to set nid25 to as=1 which
 matches the nid31 Speaker and probably also set seq=15. However, this
 doesn't seem to be working. Am I overlooking something obvious?


 Thanks
 ___
 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



-- 
Demelier David
___
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


stupid portmaster question

2013-03-25 Thread Aryeh Friedman
How do I tell portmaster -ad to ignore certain ports because they are
broken such as editors/libreoffice is currently marked as (I am sure this
will change soon)
___
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: stupid portmaster question

2013-03-25 Thread David Demelier
Just use -x switch

portmaster -ad -x libreoffice

2013/3/25 Aryeh Friedman aryeh.fried...@gmail.com:
 How do I tell portmaster -ad to ignore certain ports because they are
 broken such as editors/libreoffice is currently marked as (I am sure this
 will change soon)
 ___
 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



-- 
Demelier David
___
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: stupid portmaster question

2013-03-25 Thread Julien Cigar

On 03/25/2013 10:40, Aryeh Friedman wrote:

How do I tell portmaster -ad to ignore certain ports because they are
broken such as editors/libreoffice is currently marked as (I am sure this
will change soon)
___
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

-x libreoffice

--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

___
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: stupid portmaster question

2013-03-25 Thread Leslie Jensen



2013-03-25 10:40, Aryeh Friedman skrev:

How do I tell portmaster -ad to ignore certain ports because they are
broken such as editors/libreoffice is currently marked as (I am sure this
will change soon)
___
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



Create the file +IGNOREME for all ports you want to ignore ;-)

Example

Touch /var/db/pkg/libreoffice-4.0.1_1/+IGNOREME

/Leslie
___
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


Remote IP to script over inetd

2013-03-25 Thread Radek KrejĨa
Hello,

I need to get remote ip of client who is runnig script over inetd. A
found that on linux is possible to use environment variable REMOTEHOST.
But if I try it on FreeBSD it doesnt work well. There is stored
something host but not actual. I thing that this variable is taken from
root environment and not show actual ip of client connected over port
serviced by inetd .

So question is - how I can get client ip addres to my script serviced by
inetd?

I am starting inetd only with inetd_enable in rc.conf, no other
attribues, so inetd i running:

/usr/sbin/inetd -wW -C 60

Its freebsd 9.1 amd64 and script looks like:

#!/bin/sh
echo $REMOTEHOST

I runs it on port 9000 serviced by inetd and started in inetd.conf

redirect   stream  tcp nowait  root/root/redirects.sh
redirects.sh

Thank you
Radek
___
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: stupid portmaster question

2013-03-25 Thread Anton Shterenlikht
How do I tell portmaster -ad to ignore certain ports because they are
broken such as editors/libreoffice is currently marked as (I am sure 
this
will change soon)

 -x  avoid building or updating ports that match this pattern.  Can be
 specified more than once.  If a port is not already installed the
 exclude pattern will be run against the directory name from
 /usr/ports.

Is that what you are looking for?

Anton
___
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


Intel Centrion Wireless N-2230 status?

2013-03-25 Thread Mikhail Krutov
Hello!
Recently I've bought a laptop which has Intel Centrino 
N-2230 wireless card in it.
Currently it runs Linux, however I'd like to be able to 
have WiFi available for FreeBSD (wifi is almost the 
only thing that stops me from installing bsd)
Is any work ongoing for that chip?
___
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: stupid portmaster question

2013-03-25 Thread Lowell Gilbert
Aryeh Friedman aryeh.fried...@gmail.com writes:

 How do I tell portmaster -ad to ignore certain ports because they are
 broken such as editors/libreoffice is currently marked as (I am sure this
 will change soon)

Your direct question was already answered, but note that libreoffice is
not broken overall, just with certain options that probably won't affect
its operation for you.
___
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: Crash when trying to rsync to external NTFS-formatted HD

2013-03-25 Thread Lowell Gilbert
Leslie Jensen les...@eskk.nu writes:

 I'm trying the following on my 9.1-RELEASE #0 system:

 Mounting the external HD
 ntfs-3g /dev/da0s1 /mnt/backup/

 And doing
 rsync -av /home/les /mnt/backup/BSD_backup/


 I get Building incremental file list for about one minute then my
 system freezes and reboots.

 I'm aware that NTFS might be the culprit. I have chosen it for
 convenience and the possibility to move my data to machines without
 FreeBSD.

 Manually copying of files one by one works.

Yes, it definitely sounds like fuse is corrupting something in the
kernel. Could be tricky to debug, and forcing a kernel dump would be the
first step.

The traditional most-portable way of moving files is to tar(1) onto a
raw device rather than having any filesystem at all. 
___
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


gettext problem in FreeBSD 8.3 system hosed

2013-03-25 Thread Antonio Olivares
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
___
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: Crash when trying to rsync to external NTFS-formatted HD

2013-03-25 Thread Waitman Gobble
Waitman Gobble
San Jose California USA
On Mar 25, 2013 9:01 AM, Lowell Gilbert 
freebsd-questions-lo...@be-well.ilk.org wrote:

 Leslie Jensen les...@eskk.nu writes:

  I'm trying the following on my 9.1-RELEASE #0 system:
 
  Mounting the external HD
  ntfs-3g /dev/da0s1 /mnt/backup/
 
  And doing
  rsync -av /home/les /mnt/backup/BSD_backup/
 
 
  I get Building incremental file list for about one minute then my
  system freezes and reboots.
 
  I'm aware that NTFS might be the culprit. I have chosen it for
  convenience and the possibility to move my data to machines without
  FreeBSD.
 
  Manually copying of files one by one works.

 Yes, it definitely sounds like fuse is corrupting something in the
 kernel. Could be tricky to debug, and forcing a kernel dump would be the
 first step.

 The traditional most-portable way of moving files is to tar(1) onto a
 raw device rather than having any filesystem at all.
 ___
 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

I have noticed this behavior with rsync and fuse mounted ntfs drives,
hooking the drive up to an ms machine and doing a chkdisk type of operation
may solve it for you, however i recommend using ufs formatted usb drives,
it will ease headaches :)

Waitman Gobble
San Jose California
___
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: stupid portmaster question

2013-03-25 Thread Walter Hurry
On Mon, 25 Mar 2013 09:53:00 -0400, Lowell Gilbert wrote:

 Aryeh Friedman aryeh.fried...@gmail.com writes:
 
 How do I tell portmaster -ad to ignore certain ports because they are
 broken such as editors/libreoffice is currently marked as (I am sure
 this will change soon)
 
 Your direct question was already answered, but note that libreoffice is
 not broken overall, just with certain options that probably won't affect
 its operation for you.

To amplify, the (main?) culprit is MERGELIBS. OP: If you are trying to 
upgrade, just do a 'make config' first and uncheck the option.

___
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
olivares14...@gmail.com 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


8.3 hanging on boot, Dell 1950 with mfi and qlogic HBA

2013-03-25 Thread Graham Allan
I feel sure I'm missing something pretty obvious here but I can't figure 
out what.


I have a Dell 1950 which I just installed 8.3 (amd64) onto. It has an 
internal OS drive on mfi (Dell PERC) and a qlogic QLE2462 for external 
SAN connection.


Problem is, the machine hangs on boot if the SAN fiber is connected. It 
boots up fine if disconnected, then I can reconnect the fiber and mount 
the SAN drives.


When booting with fiber connected, it hangs after these messages:
kbd3 at ukbd1
kbd3: ukbd1, generic (0), config:0x0, flags:0x3d
ums1: EP2 Interrupt on usbus1
ums1: 3 buttons and [XYZ] coordinates ID=0
uhub5: 4 ports with 4 removable, self powered

(which just look like normal device probes) then if I reboot with the 
fiber disconnected, the next lines are:


Trying to mount root from ufs:/dev/mfid0s1a
start_init: trying /sbin/init

Verbose boot doesn't seem to give any additional clues.

I feel convinced it's failing to find or mount the root filesystem - 
I've certainly seen this in the past where an add-in HBA like this 
usurps the internal OS drive, fixable by hard-wiring the bus order in 
/boot/device.hints. That's what I thought of first here, but mfi doesn't 
use CAM (I guess), and the OS drive /dev/mfid0 isn't changing its device 
name...


and of course I'm not getting any root mount errors either.

Is there part of the boot mechanism I'm missing?

Graham
--
-
Graham Allan
School of Physics and Astronomy - University of Minnesota
-
___
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: Remote IP to script over inetd

2013-03-25 Thread Daniel O'Callaghan

Hi Radek,

On 25/03/2013 10:09 PM, Radek Krejc(a wrote:

#!/bin/sh
echo $REMOTEHOST


getpeername() info is not available in Bourne shell directly.
You need to use perl or C or 

So you can do something like this:

--

   #!/usr/bin/perl

   # Example code from http://perldoc.perl.org/functions/getpeername.html
   use Socket;
$hersockaddr= getpeername(SOCK);
($port, $iaddr) = sockaddr_in($hersockaddr);
$herhostname= gethostbyaddr($iaddr, AF_INET);
$herstraddr = inet_ntoa($iaddr);   # $herstraddr is of form
   12.34.56.78

   # Now you know the remote IP address, do what we want to do
   # eg run a shell script and put IP into $1
   $cmd = /root/redirects.sh $herstraddr;
   exec($cmd);

--

PS, if you are just sending an HTTP redirect or similar, you don't need 
to run the script as root.


Cheers,

Danny
___
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: security/heimdal generates openssl conflict [was - Re: Installing openssl from ports]

2013-03-25 Thread Shane Ambler

On 26/03/2013 00:42, Jim Ballantine wrote:

Hi

I had removed the port, but it was reinstalled as a dependency of
other ports. I have WITH_OPENSSL_PORT=yes in /etc/make.conf, and
after I do a pkg delete -f heimdal openssl installs fine, but when I
try to install heimdal from ports (with  DISABLE_CONFLICTS=
openssl-1.0.1_8 in the Makefile) the installs ends with:


snip

Stop in /usr/ports/security/heimdal.

So I must be doing something wrong, but what??



Your not doing anything wrong, that's why I cc'd the last email to the
heimdal maintainer. I might look at making a patch to fix it today and
submit a PR as it appears the maintainer didn't respond to a previous PR

From what I see heimdal includes the openssl man pages in it's list of
files it installs, the new pkg system is picking up the same files
installed by openssl and heimdal and preventing the conflict, while the
old install system overlooked it.

Either the man pages list is incorrect or heimdal installs a duplicate
copy of the openssl man pages - maybe this could be disabled if openssl
from ports is used.

___
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 nightre...@hotmail.com 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 something -C someplace ;)
/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 ill...@gmail.com
On 25 March 2013 12:52, Antonio Olivares olivares14...@gmail.com 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