Re: Two questions for FreeBSD 11: libgcc & pkg

2016-07-27 Thread Matthieu Volat
First, thanks for your time!

On Wed, 27 Jul 2016 15:14:49 -0700
Kevin Oberman  wrote:

> On Wed, Jul 27, 2016 at 10:42 AM, Matthieu Volat  wrote:
> 
> > Hi, if somebody would be kind enough to educate me, I've two small
> > questions about the 11 release.
> >
> >
> > First, https://wiki.freebsd.org/WhatsNew/FreeBSD11 mention that libgcc
> > was replaced by libcompiler_rt, yet after the freebsd-update
> > upgrade/install/install/portmaster -af/install routine, I still have a
> > (recently updated) libgcc:
> >
> >   # ls -l /lib/libgcc_s.so.1
> >   -r--r--r--  1 root  wheel  56608 Jul 26 14:13 /lib/libgcc_s.so.1
> >
> > Is it normal?
> >  
> 
> I think so, but I am not sure. Is libcompiler_rt found? It seems likely the
> old library is retrained for existing images linked to it while
> libcompiler_rt is now used when new images are linked. (N.B. This is a
> guess, though.)

Things are a bit strange: there is a  static libcompiler_rt library in 
/usr/lib. A few executable in /usr/bin seems to still use libgcc (groff/troff 
stuff mainly). So maybe this is still in a transitional stage... Base cc/c+++ 
seems to be sane since I managed to rebuild all the installed ports.

> 
> 
> > Second question is about the talks that the base system would be
> > pkg-ized (https://wiki.freebsd.org/PkgBase). Do base pkgs share the same
> > pkg database as ports pkgs? Can I now damage base installation with bad pkg
> > usage?
> >  
> 
> I don't have the message handy, but several issues popped up that forced
> the delay if the packaging of teh base system until at least 11.1. You can
> probably look in the current@ archive to find the note.

Thanks, I was not sure I did not miss some pre-release instruction to migrate 
settings as nothing would show up in pkg info and such.

> 
> 
> > Thanks a lot for answers!
> >
> > --
> > Matthieu Volat 
> >  
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkober...@gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


-- 
Matthieu Volat 
tel: 06 84 54 39 43
www: 


pgpI2U5PgknPi.pgp
Description: OpenPGP digital signature


FreeBSD Quarterly Status Report - Second Quarter 2016

2016-07-27 Thread Benjamin Kaduk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

FreeBSD Project Quarterly Status Report - Second Quarter 2016

   Now available: the 2016Q2 model of the FreeBSD Project Status Report!

   This quarter brings several exciting improvements over previous models.
   We have enhancements from different teams, new features like robust
   mutexes and support for full disk encryption with GELI. You'll find
   expanded graphics support, both at the chipset and window manager
   levels, and ongoing development in many pending features.

   Perhaps most exciting, under the hood you'll find a brand-new Core
   Team.

   Don't wait. Take FreeBSD for a spin today.

   --Michael W. Lucas
 __

   Please submit status reports for the third quarter of 2016 by October 7.
 __

FreeBSD Team Reports

 * FreeBSD IRC Admin Team
 * FreeBSD Issue Triage Team
 * FreeBSD Release Engineering Team
 * Ports Collection
 * The FreeBSD Core Team
 * The FreeBSD Foundation

Projects

 * ASLR Interim State
 * Ceph on FreeBSD
 * EFI Refactoring and GELI Support
 * Robust Mutexes
 * The Graphics Stack on FreeBSD

Kernel

 * ARM Allwinner SoC Support
 * FreeBSD on Hyper-V and Azure
 * VIMAGE Virtualized Network Stack Update

Architectures

 * FreeBSD/arm64

Userland Programs

 * Reproducible Builds in FreeBSD
 * Updates to GDB
 * Using lld, the LLVM Linker, to Link FreeBSD

Ports

 * Bringing GitLab into the Ports Collection
 * GNOME on FreeBSD
 * Intel Networking Tools
 * IPv6 Promotion Campaign
 * KDE on FreeBSD
 * Obsoleting Rails 3
 __

FreeBSD Team Reports

FreeBSD IRC Admin Team

   Links
   FreeBSD IRC Wiki
URL: https://wiki.FreeBSD.org/IRC/

   Contact: IRC Admin Team 

   Contact: Kubilay Kocak 

   Contact: Eitan Adler 

   The FreeBSD IRC Admin team manages the FreeBSD Project's IRC presence
   on the freenode IRC network, looking after:
 * Registrations and ongoing management of channels within the
   official namespace (#freebsd*).
 * Liaising with freenode staff.
 * Allocating freebsd hostmask cloaks for users.
 * General user support.

   In order to facilitate a constructive and positive environment for all
   members of the FreeBSD community, IRC Admin over the past 3-9 months
   has established and consolidated a consistent baseline with respect to
   the management of its channels on freenode. This report is a summary of
   what has happened so far and things to come.

   These activities were completed over the last few quarters:
 * Registered FreeBSD Group Contacts (GC) with freenode staff. For
   information on what this means, see the group registration page.
 * Created a FreeBSD NickServ account to assign as primary
   owner/founder of the #freebsd* namespace channels.
 * The primary channels are owned/founded by a generic FreeBSD account
   that is owned and managed by the FreeBSD Project.
 * Created the Services::IRC component in Bugzilla for change requests
   and issue reports.
 * Obtained a report of all registered freenode channels matching the
   #freebsd* namespace and assessed the list for current ownership and
   activity status.
 * Assigned freebsd/ user cloaks to users requesting them. For more
   information, see IRC Cloaks.
 * Obtained a report on all nicknames and accounts with existing
   freebsd/* user cloaks.
 * Liaised with freenode staff on upcoming changes to freebsd
   channels.

   The goals for the next few quarters are to:
 * Complete the transfer of founder ownership for all #freebsd*
   channels. Existing channel creators, some of whom are project
   members and others who are not, will be contacted using known
   contact information or contact information set in their registered
   NickServ account, in order to initiate the transfer of the channel
   to the FreeBSD Project. If the contact information of the existing
   channel owner cannot be obtained, or if no response is received
   after a suitable period of time has elapsed, IRC Admin will
   complete the ownership transfer with freenode staff.
 * Deregister defunct and inactive #freebsd* channels. Channels which
   have no visible signs of activity based on last active time or
   registered owner last seen, have been deprecated by alternative
   channels, or have no other way of having ownership transferred will
   be deregistered. For channels where a sunset period may be
   suitable, a channel topic will be set, and optionally a forwarding
   channel, informing users of the changes, including support and
   contact information.
 

Re: Two questions for FreeBSD 11: libgcc & pkg

2016-07-27 Thread Kevin Oberman
On Wed, Jul 27, 2016 at 10:42 AM, Matthieu Volat  wrote:

> Hi, if somebody would be kind enough to educate me, I've two small
> questions about the 11 release.
>
>
> First, https://wiki.freebsd.org/WhatsNew/FreeBSD11 mention that libgcc
> was replaced by libcompiler_rt, yet after the freebsd-update
> upgrade/install/install/portmaster -af/install routine, I still have a
> (recently updated) libgcc:
>
>   # ls -l /lib/libgcc_s.so.1
>   -r--r--r--  1 root  wheel  56608 Jul 26 14:13 /lib/libgcc_s.so.1
>
> Is it normal?
>

I think so, but I am not sure. Is libcompiler_rt found? It seems likely the
old library is retrained for existing images linked to it while
libcompiler_rt is now used when new images are linked. (N.B. This is a
guess, though.)


> Second question is about the talks that the base system would be
> pkg-ized (https://wiki.freebsd.org/PkgBase). Do base pkgs share the same
> pkg database as ports pkgs? Can I now damage base installation with bad pkg
> usage?
>

I don't have the message handy, but several issues popped up that forced
the delay if the packaging of teh base system until at least 11.1. You can
probably look in the current@ archive to find the note.


> Thanks a lot for answers!
>
> --
> Matthieu Volat 
>
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Two questions for FreeBSD 11: libgcc & pkg

2016-07-27 Thread Matthieu Volat
Hi, if somebody would be kind enough to educate me, I've two small questions 
about the 11 release.


First, https://wiki.freebsd.org/WhatsNew/FreeBSD11 mention that libgcc was 
replaced by libcompiler_rt, yet after the freebsd-update 
upgrade/install/install/portmaster -af/install routine, I still have a 
(recently updated) libgcc:

  # ls -l /lib/libgcc_s.so.1
  -r--r--r--  1 root  wheel  56608 Jul 26 14:13 /lib/libgcc_s.so.1

Is it normal?


Second question is about the talks that the base system would be
pkg-ized (https://wiki.freebsd.org/PkgBase). Do base pkgs share the same pkg 
database as ports pkgs? Can I now damage base installation with bad pkg usage?


Thanks a lot for answers!

-- 
Matthieu Volat 


pgpTlNwuwx_nj.pgp
Description: OpenPGP digital signature


Re: sed command does not behave equal from 10.3 to 11.0

2016-07-27 Thread Kimmo Paasiala
On Wed, Jul 27, 2016 at 2:55 PM, Tomoaki AOKI  wrote:
> Hi.
>
> There were some collation related changes (*1) between 10.3 and 11.
> So the results can be changed even with the same locale.
>
> *1: For example, r302512.
>   https://lists.freebsd.org/pipermail/svn-src-head/2016-July/088919.html
>
> But I cannot understand why ASCII range of characters are affected with
> UTF-8 encoding.
>
>
> On Wed, 27 Jul 2016 11:19:06 +0200
> Jos〓 Garc〓a Juanino  wrote:
>
>> On 27 July 2016 at 11:01, Matthew D. Fuller  wrote:
>> > On Wed, Jul 27, 2016 at 09:45:23AM +0100 I heard the voice of
>> > krad, and lo! it spake thus:
>> >> are you sure you aren't hitting a port or something?
>> >
>> > Locale dependant.
>> >
>> > % echo "abc_ABC.def" | env LANG=C sed -e 's/[^A-Z0-9]//g'
>> > ABC
>> >
>> > % echo "abc_ABC.def" | env LANG=en_US.UTF-8 sed -e 's/[^A-Z0-9]//g'
>> > bcABCdef
>> >
>> > (pre-branch -CURRENT)
>> >
>>
>> The issue is that, under the same locale, the output is not the same
>> in 10.3 as 11.0. It sounds to me a bug ...
>> ___
>> freebsd-stable@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>>
>
>
> --
> Tomoaki AOKIjunch...@dec.sakura.ne.jp
> ___

If I change the invocation to this I get the correct output:

% echo "abc_ABC.def" | env LANG=en_US.UTF-8 sed -e 's/[^ABC]//g'

Is the real problem that the UTF-8 locale messes up character ranges
(e.g. A-Z) in sed(1)?

-Kimmo
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: FreeBSD 11.0-BETA2 won't boot on an Acer Aspire 5560

2016-07-27 Thread Kubilay Kocak
On 27/07/2016 7:22 PM, Peter Jeremy wrote:
> I'm trying to boot the 11.0-BETA2/amd64 memory stick image and the
> kernel panics: (Following copied by hand):
> 
> ACPI APIC Table: 
> ...
> acpi0:  on motherboard
> ACPI Error: Hardware did not change modes (20160527/hwacpi-160)
> ACPI Error: Could not transition to APCI mode (20160527/evxfevnt-105)
> ACPI Warning: AcpiEnable failed (20160527/utxfinit-184)
> acpi0: Could not enable ACPI: AE_NO_HARDWARE_RESPONSE
> device_attach: acpi0 attach returned 6
> 
> Followed by a NULL dereference panic at nexus_acpi_attach+0x89
> 
> The system boots a 10.0-RELEASE/amd64 memstick (the only other image I
> have conveniently to date) without problem.
> 

Thank you for the report Peter

Did it boot prior to 11.0-BETA2? ie; is it a regression?

Please report a bug in bugzilla with version: 11.0-BETA2 and cc
r...@freebsd.org

If it's possible to obtain a backtrace of the panic, please include it
as an attachment:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

Setting debug.debugger_on_panic=1 in loader may help get it to the debugger.


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


Re: sed command does not behave equal from 10.3 to 11.0

2016-07-27 Thread Tomoaki AOKI
Hi.

There were some collation related changes (*1) between 10.3 and 11.
So the results can be changed even with the same locale.

*1: For example, r302512.
  https://lists.freebsd.org/pipermail/svn-src-head/2016-July/088919.html

But I cannot understand why ASCII range of characters are affected with
UTF-8 encoding.


On Wed, 27 Jul 2016 11:19:06 +0200
Jos〓 Garc〓a Juanino  wrote:

> On 27 July 2016 at 11:01, Matthew D. Fuller  wrote:
> > On Wed, Jul 27, 2016 at 09:45:23AM +0100 I heard the voice of
> > krad, and lo! it spake thus:
> >> are you sure you aren't hitting a port or something?
> >
> > Locale dependant.
> >
> > % echo "abc_ABC.def" | env LANG=C sed -e 's/[^A-Z0-9]//g'
> > ABC
> >
> > % echo "abc_ABC.def" | env LANG=en_US.UTF-8 sed -e 's/[^A-Z0-9]//g'
> > bcABCdef
> >
> > (pre-branch -CURRENT)
> >
> 
> The issue is that, under the same locale, the output is not the same
> in 10.3 as 11.0. It sounds to me a bug ...
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 


-- 
Tomoaki AOKIjunch...@dec.sakura.ne.jp
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


FreeBSD 11.0-BETA2 won't boot on an Acer Aspire 5560

2016-07-27 Thread Peter Jeremy
I'm trying to boot the 11.0-BETA2/amd64 memory stick image and the
kernel panics: (Following copied by hand):

ACPI APIC Table: 
...
acpi0:  on motherboard
ACPI Error: Hardware did not change modes (20160527/hwacpi-160)
ACPI Error: Could not transition to APCI mode (20160527/evxfevnt-105)
ACPI Warning: AcpiEnable failed (20160527/utxfinit-184)
acpi0: Could not enable ACPI: AE_NO_HARDWARE_RESPONSE
device_attach: acpi0 attach returned 6

Followed by a NULL dereference panic at nexus_acpi_attach+0x89

The system boots a 10.0-RELEASE/amd64 memstick (the only other image I
have conveniently to date) without problem.

-- 
Peter Jeremy


signature.asc
Description: PGP signature


Re: sed command does not behave equal from 10.3 to 11.0

2016-07-27 Thread José García Juanino
On 27 July 2016 at 11:01, Matthew D. Fuller  wrote:
> On Wed, Jul 27, 2016 at 09:45:23AM +0100 I heard the voice of
> krad, and lo! it spake thus:
>> are you sure you aren't hitting a port or something?
>
> Locale dependant.
>
> % echo "abc_ABC.def" | env LANG=C sed -e 's/[^A-Z0-9]//g'
> ABC
>
> % echo "abc_ABC.def" | env LANG=en_US.UTF-8 sed -e 's/[^A-Z0-9]//g'
> bcABCdef
>
> (pre-branch -CURRENT)
>

The issue is that, under the same locale, the output is not the same
in 10.3 as 11.0. It sounds to me a bug ...
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: sed command does not behave equal from 10.3 to 11.0

2016-07-27 Thread José García Juanino
On 27 July 2016 at 10:45, krad  wrote:
> are you sure you aren't hitting a port or something?
>
> #  uname -r ; echo "abc_ABC.def" | sed -e 's/[^A-Z0-9]//g' ; which sed ; md5
> /usr/bin/sed
> 10.3-STABLE
> ABC
> /usr/bin/sed
> MD5 (/usr/bin/sed) = 34e6aedf3b42cbd6dd8379342626e0db

In 10.3 I get the following:

$ freebsd-version -ku
$ which sed ; md5 /usr/bin/sed
/usr/bin/sed
MD5 (/usr/bin/sed) = 858696b78b6d8ed26a1e9835b1bcd89f


In 11.0-BETA2 I get:

$ freebsd-version -ku
$ which sed ; md5 /usr/bin/sed
/usr/bin/sed
MD5 (/usr/bin/sed) = 229d361061fcf528be12d513ad9a2cf3



I think that the issue is locale or encoding related, as it happens
also with gsed, but *not* with LANG=C:

 $ locale
LANG=es_ES.ISO8859-15
LC_CTYPE="es_ES.ISO8859-15"
LC_COLLATE="es_ES.ISO8859-15"
LC_TIME="es_ES.ISO8859-15"
LC_NUMERIC="es_ES.ISO8859-15"
LC_MONETARY="es_ES.ISO8859-15"
LC_MESSAGES="es_ES.ISO8859-15"
LC_ALL=

$ echo "abc_ABC.def" | sed -e 's/[^A-Z0-9]//g'
bcABCdef ### wrong


$ export LANG=C
$  locale
LANG=C
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

$ echo "abc_ABC.def" | sed -e 's/[^A-Z0-9]//g'
ABC  ##  right
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: sed command does not behave equal from 10.3 to 11.0

2016-07-27 Thread Matthew D. Fuller
On Wed, Jul 27, 2016 at 09:45:23AM +0100 I heard the voice of
krad, and lo! it spake thus:
> are you sure you aren't hitting a port or something?

Locale dependant.

% echo "abc_ABC.def" | env LANG=C sed -e 's/[^A-Z0-9]//g'
ABC

% echo "abc_ABC.def" | env LANG=en_US.UTF-8 sed -e 's/[^A-Z0-9]//g'
bcABCdef

(pre-branch -CURRENT)


-- 
Matthew Fuller (MF4839)   |  fulle...@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: sed command does not behave equal from 10.3 to 11.0

2016-07-27 Thread krad
are you sure you aren't hitting a port or something?

#  uname -r ; echo "abc_ABC.def" | sed -e 's/[^A-Z0-9]//g' ; which sed ;
md5 /usr/bin/sed
10.3-STABLE
ABC
/usr/bin/sed
MD5 (/usr/bin/sed) = 34e6aedf3b42cbd6dd8379342626e0db


#  uname -r ; echo "abc_ABC.def" | sed -e 's/[^A-Z0-9]//g' ; which sed ;
md5 /usr/bin/sed
11.0-BETA2
ABC
/usr/bin/sed
MD5 (/usr/bin/sed) = d3fddd6bcca17fc597d7c4598c3311d1






On 27 July 2016 at 09:20, José García Juanino  wrote:

> Hi FreeBSD stable,
>
> After upgrade to 11.0-BETA2, a lot of sed scripts are no longer valid:
>
> FreeBSD 10.3
> -
> $ echo "abc_ABC.def" | sed -e 's/[^A-Z0-9]//g'
> ABC
>
>
> FreeBSD 11.0
> 
> $ echo "abc_ABC.def" | sed -e 's/[^A-Z0-9]//g'
> bcABCdef
>
>
> Indeed, in 11.0 you need to re rewrite the sentence as follows:
>
> $ echo "abc_ABC.def" | sed -e 's/[^[:upper:][:digit:]]//g'
> ABC
>
> In linux, sed behaves exactly as 10.3.
>
> Is this behaviour expected or is a bug?
>
> Best regards
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

sed command does not behave equal from 10.3 to 11.0

2016-07-27 Thread José García Juanino
Hi FreeBSD stable,

After upgrade to 11.0-BETA2, a lot of sed scripts are no longer valid:

FreeBSD 10.3
-
$ echo "abc_ABC.def" | sed -e 's/[^A-Z0-9]//g'
ABC


FreeBSD 11.0

$ echo "abc_ABC.def" | sed -e 's/[^A-Z0-9]//g'
bcABCdef


Indeed, in 11.0 you need to re rewrite the sentence as follows:

$ echo "abc_ABC.def" | sed -e 's/[^[:upper:][:digit:]]//g'
ABC

In linux, sed behaves exactly as 10.3.

Is this behaviour expected or is a bug?

Best regards
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"