[OmniOS-discuss] OmniOS bloody updated -- now with gcc51 for non-illumos bits
Earlier, I said... On Jun 16, 2015, at 10:16 PM, Dan McDonald dan...@omniti.com wrote: I've pushed back the changes for gcc51 into omnios-build. I now need to build it a final time, and test upgrading. If you pull changes into omnios-build, you will be able to build most of the world, but not the gcc51 portions of it. Watch this list for a followup announcement when the bloody binaries on IPS are updated. I've now updated the IPS binaries on http://pkg.omniti.com/omnios/bloody/. The old gcc/g++-4-runtime has been marked as renamed and pkg update will download the new gcc/g++-5-runtime instead. These packages, however, will need to be installed explicitly to supplant their gcc48 predecessors: libgmp-gcc51 libmpfr-gcc51 libmpc-gcc51 gcc51 You can resume builds of omnios-build's non-illumos bits after this update and the installation of the gcc51 packages. An important safety tip for gcc51 -- its default standard's mode is gnu11. Some software assumes gnu89, so you may need to add -std=gnu89 to your CFLAGS. You'll note some of the gcc51 changes in omnios-build were to do just that for certain pieces of software. I've also updated the ISO, USB-dd, and Kayak .zfs.bz2 images. Details can be found on the http://omnios.omniti.com/wiki.php/Installation page. Thank you! Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] Problem updating ms-omniti local repo
Hi Javier! T hank you for the answer Volker You are welcome. I've recreated the repo following your indications and I still have the same problem when I try to update the repo. Don't worry, you will get there. Here is exactly what I did (I wanted a local copy anyway :-): | # zfs create -o mountpoint=/pkg/ms.omniti.com dpool/pkg/ms.omniti.com | # zfs set atime=off dpool/pkg/ms.omniti.com | # zfs set setuid=off dpool/pkg/ms.omniti.com | # zfs set devices=off dpool/pkg/ms.omniti.com | # zfs set exec=off dpool/pkg/ms.omniti.com | # pkgrepo create /pkg/ms.omniti.com | # pkgrepo add-publisher -s/pkg/ms.omniti.com ms.omniti.com Now you have a choice. You can clone the repository (= make an exact copy): | # pkgrecv -p ms.omniti.com -s http://pkg.omniti.com/omniti-ms/ -d /pkg/ms.omniti.com/ --clone | Processing packages for publisher ms.omniti.com ... | Retrieving and evaluating 1473 package(s)... | DOWNLOADPKGS FILESXFER (MB) SPEED | .../postgresql-936/pg_buffercache 1473/1473 617732/6177326552/6552 718k/s | | Verifying repository contents. | Initiating repository verification. | pkg://ms.omniti.com/omniti/monitoring/nad 8/1474 -Traceback (most recent call last): | File /usr/lib/python2.6/vendor-packages/pkg/server/repository.py, line 2391, in verify | trust_anchors, sig_required_names, use_crls): | File /usr/lib/python2.6/vendor-packages/pkg/server/repository.py, line 2288, in __gen_verify | hashes, errors = self.__get_hashes(path, pfmri) | File /usr/lib/python2.6/vendor-packages/pkg/server/repository.py, line 2005, in __get_hashes | fnames = fname.split() | AttributeError: 'NoneType' object has no attribute 'split' | Traceback (most recent call last): | File /usr/bin/pkgrepo, line 1689, in handle_errors | __ret = func(*args, **kwargs) | File /usr/bin/pkgrepo, line 1665, in main_func | return func(conf, pargs) | File /usr/bin/pkgrepo, line 1512, in subcmd_verify | for verify_tuple in repo.verify(pub=xpub, progtrack=progtrack): | File /usr/lib/python2.6/vendor-packages/pkg/server/repository.py, line 2396, in verify | raise apx._convert_error(e) | AttributeError: 'NoneType' object has no attribute 'split' | | | pkgrepo: This is an internal error in pkg(5) version 1427212657. Please log a | Service Request about this issue including the information above and this | message. | | pkgrecv: Pkgrepo verify found errors in the updated repository. | The original package catalog has been restored. | The clone operation can be retried; package content that has already been retrieved will not be downloaded again. This is a crash in pkgrepo verify, which will run automatically after the actual copy. But the repository is there. Or you can retrieve just the latest packages: | # pkgrecv -m latest -s http://pkg.omniti.com/omniti-ms/ -d /pkg/ms.omniti.com/ '*' | Processing packages for publisher omniti-ms ... | Retrieving catalog 1/1 omniti-ms 114.48 kB | Unable to retrieve package data for publisher 'omniti-ms' from one | of the following origin(s): | | http://pkg.omniti.com/omniti-ms/ | | The catalog retrieved from one of the origin(s) listed above only | contains package data for: ms.omniti.com. | | This is either a result of invalid origin information being provided | for publisher 'omniti-ms', or because the wrong publisher name was | provided when this publisher was added. | | Retrieving and evaluating 809 package(s)... | Download Manifests ( 36/809) - Again, there is an error message (because either the FMRI with omniti-ms confuses pkgrecv, or there really is an empty publisher entry for omniti-ms in the original repository), but the data will be there. Regards -- Volker -- Volker A. Brandt Consulting and Support for Oracle Solaris Brandt Brandt Computer GmbH WWW: http://www.bb-c.de/ Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de Handelsregister: Amtsgericht Bonn, HRB 10513 Schuhgröße: 46 Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt When logic and proportion have fallen sloppy dead ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] Problem updating ms-omniti local repo
Hi Volker, Thank you very much for your help. I think we had a small misunderstanding though: I don't have a problem with creating the repo, I in fact having it working now. I used your advice from your second email: # pkgrepo create /path/ms.omniti.com/ # pkgrepo add-publisher -s /path/ms.omniti.com/ ms.omniti.com # pkgrecv -s http://pkg.omniti.com/omniti-ms/ -d /path/ms.omniti.com/ '*' However, from the beginning, I've had a problem with updating it. I continue to receive this error message: # pkgrecv -s http://pkg.omniti.com/omniti-ms/ -d /path/ms.omniti.com/ '*' Processing packages for publisher omniti-ms ... Retrieving catalog ' http://pkg.omniti.com/omniti-ms/ '... Unable to retrieve package data for publisher 'omniti-ms' from one of the following origin(s): http://pkg.omniti.com/omniti-ms/ The catalog retrieved from one of the origin(s) listed above only contains package data for: ms.omniti.com. This is either a result of invalid origin information being provided for publisher 'omniti-ms', or because the wrong publisher name was provided when this publisher was added. I noticed in your last email you used a different method of cloning the repo: | # pkgrecv -p ms.omniti.com -s http://pkg.omniti.com/omniti-ms/ -d /pkg/ms.omniti.com/ --clone We ran into a problem with this command-- pkgrecv: Illegal option --p. Any idea what is going on here? We are running Your pkgrecv command as written specifies the publisher (I guess with the -p option): is this perhaps what is giving us a problem with updating? If that is the case, is there a way to fix what we already without having to download the entire repo again? (Just to give a bit of background, the reason why we asked this question in the first place is because we want to have our repo management server update our omnios repos on a cron job) Regards Javier Lopez System Administrator phone: mobile: fax: mail: web:+49 89 287018 0 +49 89 287018 18 javier.lo...@trixter.de http://www.trixter.de TRIXTER Film GmbH Amalienstrasse 67 80799 Munich, Germany TRIXTER FILM GMBH, Sitz Muenchen, Registergericht Muenchen, HRB 125141, Geschaeftsfuehrer: Simone Kraus, Michael Coldewey, Christian Sommer TRIXTER FILM GMBH, Place of business Munich, Register Court Munich, HRB 125141, Managing Directors: Simone Kraus, Michael Coldewey, Christian Sommer - Original Message - From: Volker A. Brandt v...@bb-c.de To: Javier Lopez javier.lo...@trixter.de Cc: omnios-discuss@lists.omniti.com, Trixter IT Dept i...@trixter.de Sent: Wednesday, June 17, 2015 9:06:34 AM Subject: Re: [OmniOS-discuss] Problem updating ms-omniti local repo Hi Javier! T hank you for the answer Volker You are welcome. I've recreated the repo following your indications and I still have the same problem when I try to update the repo. Don't worry, you will get there. Here is exactly what I did (I wanted a local copy anyway :-): | # zfs create -o mountpoint=/pkg/ms.omniti.com dpool/pkg/ms.omniti.com | # zfs set atime=off dpool/pkg/ms.omniti.com | # zfs set setuid=off dpool/pkg/ms.omniti.com | # zfs set devices=off dpool/pkg/ms.omniti.com | # zfs set exec=off dpool/pkg/ms.omniti.com | # pkgrepo create /pkg/ms.omniti.com | # pkgrepo add-publisher -s/pkg/ms.omniti.com ms.omniti.com Now you have a choice. You can clone the repository (= make an exact copy): | # pkgrecv -p ms.omniti.com -s http://pkg.omniti.com/omniti-ms/ -d /pkg/ms.omniti.com/ --clone | Processing packages for publisher ms.omniti.com ... | Retrieving and evaluating 1473 package(s)... | DOWNLOAD PKGS FILES XFER (MB) SPEED | .../postgresql-936/pg_buffercache 1473/1473 617732/617732 6552/6552 718k/s | | Verifying repository contents. | Initiating repository verification. | pkg://ms.omniti.com/omniti/monitoring/nad 8/1474 -Traceback (most recent call last): | File /usr/lib/python2.6/vendor-packages/pkg/server/repository.py, line 2391, in verify | trust_anchors, sig_required_names, use_crls): | File /usr/lib/python2.6/vendor-packages/pkg/server/repository.py, line 2288, in __gen_verify | hashes, errors = self.__get_hashes(path, pfmri) | File /usr/lib/python2.6/vendor-packages/pkg/server/repository.py, line 2005, in __get_hashes | fnames = fname.split() | AttributeError: 'NoneType' object has no attribute 'split' | Traceback (most recent call last): | File /usr/bin/pkgrepo, line 1689, in handle_errors | __ret = func(*args, **kwargs) | File /usr/bin/pkgrepo, line 1665, in main_func | return func(conf, pargs) | File /usr/bin/pkgrepo, line 1512, in subcmd_verify | for verify_tuple in repo.verify(pub=xpub, progtrack=progtrack): | File /usr/lib/python2.6/vendor-packages/pkg/server/repository.py, line 2396, in verify | raise apx._convert_error(e) | AttributeError: 'NoneType' object has no attribute 'split' | | | pkgrepo: This is an internal error in pkg(5) version 1427212657. Please log a | Service Request about
Re: [OmniOS-discuss] Problem updating ms-omniti local repo
Sorry I forgot to specify we are running 151014 Javier Lopez System Administrator phone: mobile: fax: mail: web:+49 89 287018 0 +49 89 287018 18 javier.lo...@trixter.de http://www.trixter.de TRIXTER Film GmbH Amalienstrasse 67 80799 Munich, Germany TRIXTER FILM GMBH, Sitz Muenchen, Registergericht Muenchen, HRB 125141, Geschaeftsfuehrer: Simone Kraus, Michael Coldewey, Christian Sommer TRIXTER FILM GMBH, Place of business Munich, Register Court Munich, HRB 125141, Managing Directors: Simone Kraus, Michael Coldewey, Christian Sommer - Original Message - From: Javier Lopez javier.lo...@trixter.de To: Volker A. Brandt v...@bb-c.de Cc: omnios-discuss@lists.omniti.com, Trixter IT Dept i...@trixter.de Sent: Wednesday, June 17, 2015 2:59:18 PM Subject: Re: [OmniOS-discuss] Problem updating ms-omniti local repo Hi Volker, Thank you very much for your help. I think we had a small misunderstanding though: I don't have a problem with creating the repo, I in fact having it working now. I used your advice from your second email: # pkgrepo create /path/ms.omniti.com/ # pkgrepo add-publisher -s /path/ms.omniti.com/ ms.omniti.com # pkgrecv -s http://pkg.omniti.com/omniti-ms/ -d /path/ms.omniti.com/ '*' However, from the beginning, I've had a problem with updating it. I continue to receive this error message: # pkgrecv -s http://pkg.omniti.com/omniti-ms/ -d /path/ms.omniti.com/ '*' Processing packages for publisher omniti-ms ... Retrieving catalog ' http://pkg.omniti.com/omniti-ms/ '... Unable to retrieve package data for publisher 'omniti-ms' from one of the following origin(s): http://pkg.omniti.com/omniti-ms/ The catalog retrieved from one of the origin(s) listed above only contains package data for: ms.omniti.com. This is either a result of invalid origin information being provided for publisher 'omniti-ms', or because the wrong publisher name was provided when this publisher was added. I noticed in your last email you used a different method of cloning the repo: | # pkgrecv -p ms.omniti.com -s http://pkg.omniti.com/omniti-ms/ -d /pkg/ms.omniti.com/ --clone We ran into a problem with this command-- pkgrecv: Illegal option --p. Any idea what is going on here? We are running Your pkgrecv command as written specifies the publisher (I guess with the -p option): is this perhaps what is giving us a problem with updating? If that is the case, is there a way to fix what we already without having to download the entire repo again? (Just to give a bit of background, the reason why we asked this question in the first place is because we want to have our repo management server update our omnios repos on a cron job) Regards Javier Lopez System Administrator phone: mobile: fax: mail: web:+49 89 287018 0 +49 89 287018 18 javier.lo...@trixter.de http://www.trixter.de TRIXTER Film GmbH Amalienstrasse 67 80799 Munich, Germany TRIXTER FILM GMBH, Sitz Muenchen, Registergericht Muenchen, HRB 125141, Geschaeftsfuehrer: Simone Kraus, Michael Coldewey, Christian Sommer TRIXTER FILM GMBH, Place of business Munich, Register Court Munich, HRB 125141, Managing Directors: Simone Kraus, Michael Coldewey, Christian Sommer - Original Message - From: Volker A. Brandt v...@bb-c.de To: Javier Lopez javier.lo...@trixter.de Cc: omnios-discuss@lists.omniti.com, Trixter IT Dept i...@trixter.de Sent: Wednesday, June 17, 2015 9:06:34 AM Subject: Re: [OmniOS-discuss] Problem updating ms-omniti local repo Hi Javier! T hank you for the answer Volker You are welcome. I've recreated the repo following your indications and I still have the same problem when I try to update the repo. Don't worry, you will get there. Here is exactly what I did (I wanted a local copy anyway :-): | # zfs create -o mountpoint=/pkg/ms.omniti.com dpool/pkg/ms.omniti.com | # zfs set atime=off dpool/pkg/ms.omniti.com | # zfs set setuid=off dpool/pkg/ms.omniti.com | # zfs set devices=off dpool/pkg/ms.omniti.com | # zfs set exec=off dpool/pkg/ms.omniti.com | # pkgrepo create /pkg/ms.omniti.com | # pkgrepo add-publisher -s/pkg/ms.omniti.com ms.omniti.com Now you have a choice. You can clone the repository (= make an exact copy): | # pkgrecv -p ms.omniti.com -s http://pkg.omniti.com/omniti-ms/ -d /pkg/ms.omniti.com/ --clone | Processing packages for publisher ms.omniti.com ... | Retrieving and evaluating 1473 package(s)... | DOWNLOAD PKGS FILES XFER (MB) SPEED | .../postgresql-936/pg_buffercache 1473/1473 617732/617732 6552/6552 718k/s | | Verifying repository contents. | Initiating repository verification. | pkg://ms.omniti.com/omniti/monitoring/nad 8/1474 -Traceback (most recent call last): | File /usr/lib/python2.6/vendor-packages/pkg/server/repository.py, line 2391, in verify | trust_anchors, sig_required_names, use_crls): | File /usr/lib/python2.6/vendor-packages/pkg/server/repository.py, line 2288, in
Re: [OmniOS-discuss] Problem updating ms-omniti local repo
Hi Javier! Sorry I forgot to specify we are running 151014 Same here: # uname -a SunOS nfs 5.11 omnios-170cea2 i86pc i386 i86pc # cat /etc/release OmniOS v11 r151014 Copyright 2015 OmniTI Computer Consulting, Inc. All rights reserved. Use is subject to license terms. # pkg version 1427212657 I think we had a small misunderstanding though: I don't have a problem with creating the repo, I in fact having it working now. I used your advice from your second email: Ah, that is good. However, from the beginning, I've had a problem with updating it. I continue to receive this error message: # pkgrecv -s http://pkg.omniti.com/omniti-ms/ -d /path/ms.omniti.com/ '*' Processing packages for publisher omniti-ms ... Retrieving catalog ' http://pkg.omniti.com/omniti-ms/ '... Unable to retrieve package data for publisher 'omniti-ms' from one of the following origin(s): http://pkg.omniti.com/omniti-ms/ The catalog retrieved from one of the origin(s) listed above only contains package data for: ms.omniti.com. This is either a result of invalid origin information being provided for publisher 'omniti-ms', or because the wrong publisher name was provided when this publisher was added. Yes, this message is annoying. I tried to explain what I think why this message appears. However, the repository is good despite the message. Just ignore it. | # pkgrecv -p ms.omniti.com -s http://pkg.omniti.com/omniti-ms/ -d /pkg/ms.omniti.com/ --clone We ran into a problem with this command-- pkgrecv: Illegal option --p. Any idea what is going on here? Maybe your pkgrecv simply does not have the -p option. Your version of pkg(5) might be too old. This is the version I have in my 151014 system: # pkg info pkg Name: package/pkg Summary: Image Packaging System Description: The Image Packaging System (IPS), or pkg(5), is the software delivery system used on Oracle Solaris. This package contains the core command-line components and pkg.depotd server. Category: System/Packaging State: Installed Publisher: omnios Version: 0.5.11 Branch: 0.151014 Packaging Date: Thu Apr 2 18:43:07 2015 Size: 11.75 MB FMRI: pkg://omnios/package/pkg@0.5.11-0.151014:20150402T184307Z What does pkg info pkg show on your box? Regards -- Volker -- Volker A. Brandt Consulting and Support for Oracle Solaris Brandt Brandt Computer GmbH WWW: http://www.bb-c.de/ Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de Handelsregister: Amtsgericht Bonn, HRB 10513 Schuhgröße: 46 Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt When logic and proportion have fallen sloppy dead ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss