Hi all, I'm very please to announce the release of pkg 1.3.0 This version is the result of almost 9 month of hard work Here are the statistics for the version: - 373 files changed, 66973 insertions(+), 38512 deletions(-) - 29 different contributors Please not that for the first time I'm not the main contributor, and I would like to particularly thanks Vsevold Stakhov for all the hard work he has done to allow us to get this release out. I would like also to give a special thanks to Andrej Zverev for the tons of hours spending on testing and cleaning the bug tracker! So much has happened that it is hard to summarize so I'll try to highlight the major points: - New solver, now pkg has a real SAT solver able to automatically handle conflicts and dynamically discover them. (yes pkg set -o is deprecated now) - pkg install now able to install local files as well and resolve their dependencies from the remote repositories - Lots of parts of the code has been sandboxed - Lots of rework to improve portability - Package installation process has been reworked to be safer and handle properly the schg flags - Important modification of the locking system for finer grain locks - Massive usage of libucl - Simplification of the API - Lots of improvements on the UI to provide a better user experience. - Lots of improvements in multi repository mode - pkg audit code has been moved into the library - pkg -o A=B that will overwrite configuration file from cli - The ui now support long options - The unicity of a package is not anymore origin - Tons of bug fixes - Tons of behaviours fixes - Way more! Thank you to all contributors: Alberto Villa, Alexandre Perrin, Andrej Zverev, Antoine Brodin, Brad Davis, Bryan Drewery, Dag-Erling Sm?rgrav, Dmitry Marakasov, Elvira Khabirova, Jamie Landeg Jones, Jilles Tjoelker, John Marino, Julien Laffaye, Mathieu Arnold, Matthew Seaman, Maximilian Ga?, Michael Gehring, Michael Gmelin, Nicolas Szalay, Rodrigo Osorio, Roman Naumann, Rui Paulo, Sean Channel, Stanislav E. Putrya, Vsevolod Stakhov, Xin Li, coctic Regards, Bapt on behalf of the pkg@ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 181 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140723/b13cd802/attachment.sig>
On Wed, Jul 23, 2014 at 7:42 AM, Baptiste Daroussin <bapt@freebsd.org> wrote:> Hi all, > > I'm very please to announce the release of pkg 1.3.0 > This version is the result of almost 9 month of hard work > > Here are the statistics for the version: > - 373 files changed, 66973 insertions(+), 38512 deletions(-) > - 29 different contributors > > Please not that for the first time I'm not the main contributor, and I > would > like to particularly thanks Vsevold Stakhov for all the hard work he has > done to > allow us to get this release out. I would like also to give a special > thanks to > Andrej Zverev for the tons of hours spending on testing and cleaning the > bug > tracker! > > So much has happened that it is hard to summarize so I'll try to highlight > the > major points: > - New solver, now pkg has a real SAT solver able to automatically handle > conflicts and dynamically discover them. (yes pkg set -o is deprecated > now) > - pkg install now able to install local files as well and resolve their > dependencies from the remote repositories > - Lots of parts of the code has been sandboxed > - Lots of rework to improve portability > - Package installation process has been reworked to be safer and handle > properly > the schg flags > - Important modification of the locking system for finer grain locks > - Massive usage of libucl > - Simplification of the API > - Lots of improvements on the UI to provide a better user experience. > - Lots of improvements in multi repository mode > - pkg audit code has been moved into the library > - pkg -o A=B that will overwrite configuration file from cli > - The ui now support long options > - The unicity of a package is not anymore origin > - Tons of bug fixes > - Tons of behaviours fixes > - Way more! > > Thank you to all contributors: > Alberto Villa, Alexandre Perrin, Andrej Zverev, Antoine Brodin, Brad Davis, > Bryan Drewery, Dag-Erling Smørgrav, Dmitry Marakasov, Elvira Khabirova, > Jamie > Landeg Jones, Jilles Tjoelker, John Marino, Julien Laffaye, Mathieu Arnold, > Matthew Seaman, Maximilian Gaß, Michael Gehring, Michael Gmelin, Nicolas > Szalay, > Rodrigo Osorio, Roman Naumann, Rui Paulo, Sean Channel, Stanislav E. > Putrya, > Vsevolod Stakhov, Xin Li, coctic > > Regards, > Bapt on behalf of the pkg@ >Really, really great news! Congrats to Bapt and all of the contributors, large and small, for doing the work to make this happen. The real, live, provable solver is something that was desperately needed. Thaqt is followed closely with multi-repository mode. All of the rest is great, too. I think one bullet was a bit mangled in French->English translation, though. What does "The unicity of a package is not anymore origin" mean? I have a couple of guesses, but I am not really sure. Ithink the best translations would be "The unicity of a package is no longer the origin", but I am unsure of "unicity". "Uniqueness"? That would make sense, but I am not quite sure that is what was meant. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
On Wed, Jul 23, 2014 at 7:42 AM, Baptiste Daroussin <bapt at freebsd.org> wrote:> Hi all, > > I'm very please to announce the release of pkg 1.3.0 > This version is the result of almost 9 month of hard work > > Here are the statistics for the version: > - 373 files changed, 66973 insertions(+), 38512 deletions(-) > - 29 different contributors > > Please not that for the first time I'm not the main contributor, and I > would > like to particularly thanks Vsevold Stakhov for all the hard work he has > done to > allow us to get this release out. I would like also to give a special > thanks to > Andrej Zverev for the tons of hours spending on testing and cleaning the > bug > tracker! > > So much has happened that it is hard to summarize so I'll try to highlight > the > major points: > - New solver, now pkg has a real SAT solver able to automatically handle > conflicts and dynamically discover them. (yes pkg set -o is deprecated > now) > - pkg install now able to install local files as well and resolve their > dependencies from the remote repositories > - Lots of parts of the code has been sandboxed > - Lots of rework to improve portability > - Package installation process has been reworked to be safer and handle > properly > the schg flags > - Important modification of the locking system for finer grain locks > - Massive usage of libucl > - Simplification of the API > - Lots of improvements on the UI to provide a better user experience. > - Lots of improvements in multi repository mode > - pkg audit code has been moved into the library > - pkg -o A=B that will overwrite configuration file from cli > - The ui now support long options > - The unicity of a package is not anymore origin > - Tons of bug fixes > - Tons of behaviours fixes > - Way more! > > Thank you to all contributors: > Alberto Villa, Alexandre Perrin, Andrej Zverev, Antoine Brodin, Brad Davis, > Bryan Drewery, Dag-Erling Sm?rgrav, Dmitry Marakasov, Elvira Khabirova, > Jamie > Landeg Jones, Jilles Tjoelker, John Marino, Julien Laffaye, Mathieu Arnold, > Matthew Seaman, Maximilian Ga?, Michael Gehring, Michael Gmelin, Nicolas > Szalay, > Rodrigo Osorio, Roman Naumann, Rui Paulo, Sean Channel, Stanislav E. > Putrya, > Vsevolod Stakhov, Xin Li, coctic > > Regards, > Bapt on behalf of the pkg@ >Really, really great news! Congrats to Bapt and all of the contributors, large and small, for doing the work to make this happen. The real, live, provable solver is something that was desperately needed. Thaqt is followed closely with multi-repository mode. All of the rest is great, too. I think one bullet was a bit mangled in French->English translation, though. What does "The unicity of a package is not anymore origin" mean? I have a couple of guesses, but I am not really sure. Ithink the best translations would be "The unicity of a package is no longer the origin", but I am unsure of "unicity". "Uniqueness"? That would make sense, but I am not quite sure that is what was meant. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman at gmail.com
Great news! I've been running the 1.3 prereleases for a while, and aside from one hiccup in the early alphas, it's been a very pleasant experience. Thanks to all involved, David On 23 Jul 2014, at 15:42, Baptiste Daroussin <bapt@FreeBSD.org> wrote:> Hi all, > > I'm very please to announce the release of pkg 1.3.0 > This version is the result of almost 9 month of hard work > > Here are the statistics for the version: > - 373 files changed, 66973 insertions(+), 38512 deletions(-) > - 29 different contributors > > Please not that for the first time I'm not the main contributor, and I would > like to particularly thanks Vsevold Stakhov for all the hard work he has done to > allow us to get this release out. I would like also to give a special thanks to > Andrej Zverev for the tons of hours spending on testing and cleaning the bug > tracker! > > So much has happened that it is hard to summarize so I'll try to highlight the > major points: > - New solver, now pkg has a real SAT solver able to automatically handle > conflicts and dynamically discover them. (yes pkg set -o is deprecated now) > - pkg install now able to install local files as well and resolve their > dependencies from the remote repositories > - Lots of parts of the code has been sandboxed > - Lots of rework to improve portability > - Package installation process has been reworked to be safer and handle properly > the schg flags > - Important modification of the locking system for finer grain locks > - Massive usage of libucl > - Simplification of the API > - Lots of improvements on the UI to provide a better user experience. > - Lots of improvements in multi repository mode > - pkg audit code has been moved into the library > - pkg -o A=B that will overwrite configuration file from cli > - The ui now support long options > - The unicity of a package is not anymore origin > - Tons of bug fixes > - Tons of behaviours fixes > - Way more! > > Thank you to all contributors: > Alberto Villa, Alexandre Perrin, Andrej Zverev, Antoine Brodin, Brad Davis, > Bryan Drewery, Dag-Erling Smørgrav, Dmitry Marakasov, Elvira Khabirova, Jamie > Landeg Jones, Jilles Tjoelker, John Marino, Julien Laffaye, Mathieu Arnold, > Matthew Seaman, Maximilian Gaß, Michael Gehring, Michael Gmelin, Nicolas Szalay, > Rodrigo Osorio, Roman Naumann, Rui Paulo, Sean Channel, Stanislav E. Putrya, > Vsevolod Stakhov, Xin Li, coctic > > Regards, > Bapt on behalf of the pkg@_______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Great news! I've been running the 1.3 prereleases for a while, and aside from one hiccup in the early alphas, it's been a very pleasant experience. Thanks to all involved, David On 23 Jul 2014, at 15:42, Baptiste Daroussin <bapt at FreeBSD.org> wrote:> Hi all, > > I'm very please to announce the release of pkg 1.3.0 > This version is the result of almost 9 month of hard work > > Here are the statistics for the version: > - 373 files changed, 66973 insertions(+), 38512 deletions(-) > - 29 different contributors > > Please not that for the first time I'm not the main contributor, and I would > like to particularly thanks Vsevold Stakhov for all the hard work he has done to > allow us to get this release out. I would like also to give a special thanks to > Andrej Zverev for the tons of hours spending on testing and cleaning the bug > tracker! > > So much has happened that it is hard to summarize so I'll try to highlight the > major points: > - New solver, now pkg has a real SAT solver able to automatically handle > conflicts and dynamically discover them. (yes pkg set -o is deprecated now) > - pkg install now able to install local files as well and resolve their > dependencies from the remote repositories > - Lots of parts of the code has been sandboxed > - Lots of rework to improve portability > - Package installation process has been reworked to be safer and handle properly > the schg flags > - Important modification of the locking system for finer grain locks > - Massive usage of libucl > - Simplification of the API > - Lots of improvements on the UI to provide a better user experience. > - Lots of improvements in multi repository mode > - pkg audit code has been moved into the library > - pkg -o A=B that will overwrite configuration file from cli > - The ui now support long options > - The unicity of a package is not anymore origin > - Tons of bug fixes > - Tons of behaviours fixes > - Way more! > > Thank you to all contributors: > Alberto Villa, Alexandre Perrin, Andrej Zverev, Antoine Brodin, Brad Davis, > Bryan Drewery, Dag-Erling Sm?rgrav, Dmitry Marakasov, Elvira Khabirova, Jamie > Landeg Jones, Jilles Tjoelker, John Marino, Julien Laffaye, Mathieu Arnold, > Matthew Seaman, Maximilian Ga?, Michael Gehring, Michael Gmelin, Nicolas Szalay, > Rodrigo Osorio, Roman Naumann, Rui Paulo, Sean Channel, Stanislav E. Putrya, > Vsevolod Stakhov, Xin Li, coctic > > Regards, > Bapt on behalf of the pkg@
Hi, Great work @pkg-devs ! Tested on ~30 servers with different roles (mail, web, services...) and different FreeBSD versions (9.1,9.2,9.3,10.0) and no warning problem noticed (each servers needed ~30 package updates). Only a little problem with roundcube (pkg wants to remove it, but i upgraded all other packages before and the problem disappear). -- Best regards, Lo?c BLOT, Engineering UNIX Systems, Security and Network Engineer http://www.unix-experience.fr Le mercredi 23 juillet 2014 ? 16:42 +0200, Baptiste Daroussin a ?crit :> Hi all, > > I'm very please to announce the release of pkg 1.3.0 > This version is the result of almost 9 month of hard work > > Here are the statistics for the version: > - 373 files changed, 66973 insertions(+), 38512 deletions(-) > - 29 different contributors > > Please not that for the first time I'm not the main contributor, and I would > like to particularly thanks Vsevold Stakhov for all the hard work he has done to > allow us to get this release out. I would like also to give a special thanks to > Andrej Zverev for the tons of hours spending on testing and cleaning the bug > tracker! > > So much has happened that it is hard to summarize so I'll try to highlight the > major points: > - New solver, now pkg has a real SAT solver able to automatically handle > conflicts and dynamically discover them. (yes pkg set -o is deprecated now) > - pkg install now able to install local files as well and resolve their > dependencies from the remote repositories > - Lots of parts of the code has been sandboxed > - Lots of rework to improve portability > - Package installation process has been reworked to be safer and handle properly > the schg flags > - Important modification of the locking system for finer grain locks > - Massive usage of libucl > - Simplification of the API > - Lots of improvements on the UI to provide a better user experience. > - Lots of improvements in multi repository mode > - pkg audit code has been moved into the library > - pkg -o A=B that will overwrite configuration file from cli > - The ui now support long options > - The unicity of a package is not anymore origin > - Tons of bug fixes > - Tons of behaviours fixes > - Way more! > > Thank you to all contributors: > Alberto Villa, Alexandre Perrin, Andrej Zverev, Antoine Brodin, Brad Davis, > Bryan Drewery, Dag-Erling Sm?rgrav, Dmitry Marakasov, Elvira Khabirova, Jamie > Landeg Jones, Jilles Tjoelker, John Marino, Julien Laffaye, Mathieu Arnold, > Matthew Seaman, Maximilian Ga?, Michael Gehring, Michael Gmelin, Nicolas Szalay, > Rodrigo Osorio, Roman Naumann, Rui Paulo, Sean Channel, Stanislav E. Putrya, > Vsevolod Stakhov, Xin Li, coctic > > Regards, > Bapt on behalf of the pkg@
Baptiste Daroussin wrote, On 07/23/2014 16:42:> So much has happened that it is hard to summarize so I'll try to highlight the > major points: > - New solver, now pkg has a real SAT solver able to automatically handle > conflicts and dynamically discover them. (yes pkg set -o is deprecated now)Does pkg/Pkg/PKG/pkgng/PkgNg/PKGNG/whatever now downgrade/revert packages when removing an alternative repository, such as FreeBSD_new_xorg? (Previously, it didn't: I was required to manually remove and (re)install all X11-related packages.)
On Wed, Jul 23, 2014 at 04:42:51PM +0200, Baptiste Daroussin wrote:> Hi all, > > I'm very please to announce the release of pkg 1.3.0 > This version is the result of almost 9 month of hard work >...> Thank you to all contributors: > Alberto Villa, Alexandre Perrin, Andrej Zverev, Antoine Brodin, Brad Davis, > Bryan Drewery, Dag-Erling Sm?rgrav, Dmitry Marakasov, Elvira Khabirova, Jamie > Landeg Jones, Jilles Tjoelker, John Marino, Julien Laffaye, Mathieu Arnold, > Matthew Seaman, Maximilian Ga?, Michael Gehring, Michael Gmelin, Nicolas Szalay, > Rodrigo Osorio, Roman Naumann, Rui Paulo, Sean Channel, Stanislav E. Putrya, > Vsevolod Stakhov, Xin Li, coctic > > Regards, > Bapt on behalf of the pkg@Version 1.3 does better on armeb. It does not crash while installing itself, but still complains and get the architecture wrong: ################ root at cambria-build:/usr/ports/ports-mgmt/pkg # make install ===> Installing for pkg-1.3.0 ===> Checking if ports-mgmt/pkg already installed pkg-static: failed to find the version elf note ===> Registering installation for pkg-1.3.0 pkg-static: failed to find the version elf note pkg-static: failed to find the version elf note If you are upgrading from the old package format, first run: # pkg2ng root at cambria-build:/usr/ports/ports-mgmt/pkg # pkg info pkg pkg: failed to find the version elf note pkg-1.3.0 Name : pkg Version : 1.3.0 Installed on : Fri Jul 25 06:36:42 UTC 2014 Origin : ports-mgmt/pkg Architecture : ?? Prefix : /usr/local Categories : ports-mgmt Licenses : BSD2CLAUSE Maintainer : portmgr at FreeBSD.org WWW : http://wiki.freebsd.org/pkgng Comment : Package manager Flat size : 7.14MiB Description : Package management tool WWW: http://wiki.freebsd.org/pkgng root at cambria-build:/usr/ports/ports-mgmt/pkg # uname -a FreeBSD cambria-build 11.0-CURRENT FreeBSD 11.0-CURRENT #13 r269057M: Thu Jul 24 15:54:38 SAST 2014 jhay at dolphin.meraka.csir.co.za:/usr/obj/arm.armeb/snaps/arm/11-tst/src/sys/CAMBRIA arm root at cambria-build:/usr/ports/ports-mgmt/pkg # uname -p armeb root at cambria-build:/usr/ports/ports-mgmt/pkg # uname -m arm root at cambria-build:/usr/ports/ports-mgmt/pkg ################### On the previous pkg, I used a small crow-bar patch (attached) then it did install properly and its architecture looked like this: ################### % pkg info pkg pkg-1.2.7_3 Name : pkg Version : 1.2.7_3 Installed on : Thu Jul 17 15:15:05 SAST 2014 Origin : ports-mgmt/pkg Architecture : freebsd:11:arm:32:eb:eabi:softfp Prefix : /usr/local Categories : ports-mgmt Licenses : BSD2CLAUSE Maintainer : portmgr at FreeBSD.org WWW : http://wiki.freebsd.org/pkgng Comment : Package manager Shared Libs required: libpkg.so.1 Flat size : 6.48MiB Description : Package management tool WWW: http://wiki.freebsd.org/pkgng ################### Regards John -- John Hay -- jhay at meraka.csir.co.za / jhay at meraka.org.za --- libpkg/pkg_elf.c.orig 2014-03-15 13:15:46.000000000 +0000 +++ libpkg/pkg_elf.c 2014-06-23 17:41:35.000000000 +0000 @@ -636,6 +636,12 @@ int ret = EPKG_OK; int i; const char *arch, *abi, *endian_corres_str, *wordsize_corres_str, *fpu; + const char *path; + char localname[] = "freebsd"; + + path = getenv("ABI_FILE"); + if (path == NULL) + path = _PATH_BSHELL; if (elf_version(EV_CURRENT) == EV_NONE) { pkg_emit_error("ELF library initialization failed: %s", @@ -643,7 +649,7 @@ return (EPKG_FATAL); } - if ((fd = open(_PATH_BSHELL, O_RDONLY)) < 0) { + if ((fd = open(path, O_RDONLY)) < 0) { pkg_emit_errno("open", _PATH_BSHELL); snprintf(dest, sz, "%s", "unknown"); return (EPKG_FATAL); @@ -687,6 +693,7 @@ break; src += note.n_namesz + note.n_descsz; } +#if 0 if ((uintptr_t)src >= ((uintptr_t)data->d_buf + data->d_size)) { ret = EPKG_FATAL; pkg_emit_error("failed to find the version elf note"); @@ -698,7 +705,10 @@ version = be32dec(src); else version = le32dec(src); - +#else + osname = localname; + version = 11 * 100000; +#endif for (i = 0; osname[i] != '\0'; i++) osname[i] = (char)tolower(osname[i]);
On Wed, Jul 23, 2014 at 04:42:51PM +0200, Baptiste Daroussin wrote:> Hi all, > > I'm very please to announce the release of pkg 1.3.0 > This version is the result of almost 9 month of hard work >...> Thank you to all contributors: > Alberto Villa, Alexandre Perrin, Andrej Zverev, Antoine Brodin, Brad Davis, > Bryan Drewery, Dag-Erling Sm?rgrav, Dmitry Marakasov, Elvira Khabirova, Jamie > Landeg Jones, Jilles Tjoelker, John Marino, Julien Laffaye, Mathieu Arnold, > Matthew Seaman, Maximilian Ga?, Michael Gehring, Michael Gmelin, Nicolas Szalay, > Rodrigo Osorio, Roman Naumann, Rui Paulo, Sean Channel, Stanislav E. Putrya, > Vsevolod Stakhov, Xin Li, coctic > > Regards, > Bapt on behalf of the pkg@Version 1.3 does better on armeb. It does not crash while installing itself, but still complains and get the architecture wrong: ################ root@cambria-build:/usr/ports/ports-mgmt/pkg # make install ===> Installing for pkg-1.3.0 ===> Checking if ports-mgmt/pkg already installed pkg-static: failed to find the version elf note ===> Registering installation for pkg-1.3.0 pkg-static: failed to find the version elf note pkg-static: failed to find the version elf note If you are upgrading from the old package format, first run: # pkg2ng root@cambria-build:/usr/ports/ports-mgmt/pkg # pkg info pkg pkg: failed to find the version elf note pkg-1.3.0 Name : pkg Version : 1.3.0 Installed on : Fri Jul 25 06:36:42 UTC 2014 Origin : ports-mgmt/pkg Architecture : Prefix : /usr/local Categories : ports-mgmt Licenses : BSD2CLAUSE Maintainer : portmgr@FreeBSD.org WWW : http://wiki.freebsd.org/pkgng Comment : Package manager Flat size : 7.14MiB Description : Package management tool WWW: http://wiki.freebsd.org/pkgng root@cambria-build:/usr/ports/ports-mgmt/pkg # uname -a FreeBSD cambria-build 11.0-CURRENT FreeBSD 11.0-CURRENT #13 r269057M: Thu Jul 24 15:54:38 SAST 2014 jhay@dolphin.meraka.csir.co.za:/usr/obj/arm.armeb/snaps/arm/11-tst/src/sys/CAMBRIA arm root@cambria-build:/usr/ports/ports-mgmt/pkg # uname -p armeb root@cambria-build:/usr/ports/ports-mgmt/pkg # uname -m arm root@cambria-build:/usr/ports/ports-mgmt/pkg ################### On the previous pkg, I used a small crow-bar patch (attached) then it did install properly and its architecture looked like this: ################### % pkg info pkg pkg-1.2.7_3 Name : pkg Version : 1.2.7_3 Installed on : Thu Jul 17 15:15:05 SAST 2014 Origin : ports-mgmt/pkg Architecture : freebsd:11:arm:32:eb:eabi:softfp Prefix : /usr/local Categories : ports-mgmt Licenses : BSD2CLAUSE Maintainer : portmgr@FreeBSD.org WWW : http://wiki.freebsd.org/pkgng Comment : Package manager Shared Libs required: libpkg.so.1 Flat size : 6.48MiB Description : Package management tool WWW: http://wiki.freebsd.org/pkgng ################### Regards John -- John Hay -- jhay@meraka.csir.co.za / jhay@meraka.org.za --- libpkg/pkg_elf.c.orig 2014-03-15 13:15:46.000000000 +0000 +++ libpkg/pkg_elf.c 2014-06-23 17:41:35.000000000 +0000 @@ -636,6 +636,12 @@ int ret = EPKG_OK; int i; const char *arch, *abi, *endian_corres_str, *wordsize_corres_str, *fpu; + const char *path; + char localname[] = "freebsd"; + + path = getenv("ABI_FILE"); + if (path == NULL) + path = _PATH_BSHELL; if (elf_version(EV_CURRENT) == EV_NONE) { pkg_emit_error("ELF library initialization failed: %s", @@ -643,7 +649,7 @@ return (EPKG_FATAL); } - if ((fd = open(_PATH_BSHELL, O_RDONLY)) < 0) { + if ((fd = open(path, O_RDONLY)) < 0) { pkg_emit_errno("open", _PATH_BSHELL); snprintf(dest, sz, "%s", "unknown"); return (EPKG_FATAL); @@ -687,6 +693,7 @@ break; src += note.n_namesz + note.n_descsz; } +#if 0 if ((uintptr_t)src >= ((uintptr_t)data->d_buf + data->d_size)) { ret = EPKG_FATAL; pkg_emit_error("failed to find the version elf note"); @@ -698,7 +705,10 @@ version = be32dec(src); else version = le32dec(src); - +#else + osname = localname; + version = 11 * 100000; +#endif for (i = 0; osname[i] != '\0'; i++) osname[i] = (char)tolower(osname[i]); _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
On 07/24/14 23:56, John Hay wrote:> On Wed, Jul 23, 2014 at 04:42:51PM +0200, Baptiste Daroussin wrote: >> Hi all, >> >> I'm very please to announce the release of pkg 1.3.0 >> This version is the result of almost 9 month of hard work >> > ... >> Thank you to all contributors: >> Alberto Villa, Alexandre Perrin, Andrej Zverev, Antoine Brodin, Brad Davis, >> Bryan Drewery, Dag-Erling Sm?rgrav, Dmitry Marakasov, Elvira Khabirova, Jamie >> Landeg Jones, Jilles Tjoelker, John Marino, Julien Laffaye, Mathieu Arnold, >> Matthew Seaman, Maximilian Ga?, Michael Gehring, Michael Gmelin, Nicolas Szalay, >> Rodrigo Osorio, Roman Naumann, Rui Paulo, Sean Channel, Stanislav E. Putrya, >> Vsevolod Stakhov, Xin Li, coctic >> >> Regards, >> Bapt on behalf of the pkg@ > Version 1.3 does better on armeb. It does not crash while installing > itself, but still complains and get the architecture wrong: > >[snip] Would it make sense to get the architecture from the kernel, with a manual override for cross-installs? It seems like that would prevent cases like this permanently. -Nathan _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Just tried to update the port: ===>>> Creating a backup package for old version pkg-1.3.0 Creating package for pkg-1.3.0 Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 1 packages in the universe): Installed packages to be REMOVED: pkg-1.3.0 The operation will free 7 MB [1/1] Deleting pkg-1.3.0: 100% ===>>> Starting check for runtime dependencies ===>>> Gathering dependency list for ports-mgmt/pkg from ports ===>>> No dependencies for ports-mgmt/pkg ===> Installing for pkg-1.3.1 ===> Checking if ports-mgmt/pkg already installed Child process pid=82376 terminated abnormally: Segmentation fault: 11 *** [check-already-installed] Error code 245 Stop in /usr/ports/ports-mgmt/pkg. *** [/usr/ports/ports-mgmt/pkg/work/.install_done.pkg._usr_local] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. ===>>> A backup package for pkg-1.3.0 should be located in /usr/ports/packages/portmaster-backup ===>>> Installation of pkg-1.3.1 (ports-mgmt/pkg) failed ===>>> Aborting update ===>>> Update for ports-mgmt/pkg failed ===>>> Aborting update Any suggestion to solve this? Perhaps I am doing something wrong here - pls advise. thanks, Jos Chrispijn Kevin Oberman: On Wed, Jul 23, 2014 at 7:42 AM, Baptiste Daroussin [1]<bapt@freebsd.org> wrote: Hi all, I'm very please to announce the release of pkg 1.3.0 This version is the result of almost 9 month of hard work Here are the statistics for the version: - 373 files changed, 66973 insertions(+), 38512 deletions(-) - 29 different contributors Please not that for the first time I'm not the main contributor, and I would like to particularly thanks Vsevold Stakhov for all the hard work he has done to allow us to get this release out. I would like also to give a special thanks to Andrej Zverev for the tons of hours spending on testing and cleaning the bug tracker! So much has happened that it is hard to summarize so I'll try to highlight the major points: - New solver, now pkg has a real SAT solver able to automatically handle conflicts and dynamically discover them. (yes pkg set -o is deprecated now) - pkg install now able to install local files as well and resolve their dependencies from the remote repositories - Lots of parts of the code has been sandboxed - Lots of rework to improve portability - Package installation process has been reworked to be safer and handle properly the schg flags - Important modification of the locking system for finer grain locks - Massive usage of libucl - Simplification of the API - Lots of improvements on the UI to provide a better user experience. - Lots of improvements in multi repository mode - pkg audit code has been moved into the library - pkg -o A=B that will overwrite configuration file from cli - The ui now support long options - The unicity of a package is not anymore origin - Tons of bug fixes - Tons of behaviours fixes - Way more! Thank you to all contributors: Alberto Villa, Alexandre Perrin, Andrej Zverev, Antoine Brodin, Brad Davis, Bryan Drewery, Dag-Erling Smørgrav, Dmitry Marakasov, Elvira Khabirova, Jamie Landeg Jones, Jilles Tjoelker, John Marino, Julien Laffaye, Mathieu Arnold, Matthew Seaman, Maximilian GaÃY, Michael Gehring, Michael Gmelin, Nicolas Szalay, Rodrigo Osorio, Roman Naumann, Rui Paulo, Sean Channel, Stanislav E. Putrya, Vsevolod Stakhov, Xin Li, coctic Regards, Bapt on behalf of the pkg@ Really, really great news! Congrats to Bapt and all of the contributors, large and small, for doing the work to make this happen. The real, live, provable solver is something that was desperately needed. Thaqt is followed closely with multi-repository mode. All of the rest is great, too. I think one bullet was a bit mangled in French->English translation, though. What does "The unicity of a package is not anymore origin" mean? I have a couple of guesses, but I am not really sure. Ithink the best translations would be "The unicity of a package is no longer the origin", but I am unsure of "unicity". "Uniqueness"? That would make sense, but I am not quite sure that is what was meant. -- R. Kevin Oberman, Network Engineer, Retired E-mail: [2]rkoberman@gmail.com _______________________________________________ [3]freebsd-ports@freebsd.org mailing list [4]http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [5]"freebsd-ports-unsubscribe@freebsd.org" References 1. mailto:bapt@freebsd.org 2. mailto:rkoberman@gmail.com 3. mailto:freebsd-ports@freebsd.org 4. http://lists.freebsd.org/mailman/listinfo/freebsd-ports 5. mailto:freebsd-ports-unsubscribe@freebsd.org _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"