GithubHelp home page GithubHelp logo

tritondatacenter / pkgsrc-joyent Goto Github PK

View Code? Open in Web Editor NEW
30.0 53.0 31.0 46.33 MB

Various pkgsrc packages used by Joyent, not committed upstream yet

Makefile 44.80% Shell 16.02% C++ 10.99% C 10.21% Fortran 0.01% Objective-C 0.01% Java 0.65% Ruby 0.43% CMake 1.59% Python 4.38% Perl 0.02% QMake 0.03% Go 0.20% Rust 0.45% M4 9.98% GDB 0.04% 1C Enterprise 0.01% Roff 0.05% D 0.16% Tcl 0.01%

pkgsrc-joyent's Introduction

This repository holds miscelaneous packages that have been used by Joyent
historically. Ideally all of them will be committed upstream, though
in some cases that may turn out to be tricky.

pkgsrc-joyent's People

Contributors

jessegit avatar jperkin avatar poige avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pkgsrc-joyent's Issues

percona-xtrabackup is missing in 2016Q1 release

The package percona-xtrabackup (name including the version: percona56-xtrabackup) is missing in pkgsrc 2016Q1 release for SmartOS zones. I also assume that quickbackup-percona requires percona-xtrabackup to work correctly but the dependency has been removed in the following commit: 2bc5722

It would be nice if someone could guide me to some information. If there is an alternative package which should be used for quickbackup-percona to resolve the dependency for commands like innobackupex which is used in that script.

percona56-cluster broken on 2016Q4 base-64-lts (16.4.1) and 2017Q1

Percona XtraDB Cluster 5.6 does not work correctly on 2016Q4 with the Base-64 LTS image. There seems to be a discrepancy between the MySQL version used and the Galera version used. The MySQL instance will start but replication will not work.

I also tried the more recent base-64 17.1.0 which uses pkgsrc 2017Q1 and the problem doesn't occur there.

2017-06-04 16:21:02 77017 [Note] WSREP: Read nil XID from storage engines, skipping position init
2017-06-04 16:21:02 77017 [Note] WSREP: wsrep_load(): loading provider library '/opt/local/lib/mysql/plugin/libgalera_smm.so'
2017-06-04 16:21:02 77017 [ERROR] WSREP: provider interface version mismatch: need '26', found '25'
2017-06-04 16:21:02 77017 [ERROR] WSREP: wsrep_load(/opt/local/lib/mysql/plugin/libgalera_smm.so) failed: Invalid argument (22). Reverting to no provider.
2017-06-04 16:21:02 77017 [Note] WSREP: Read nil XID from storage engines, skipping position init
2017-06-04 16:21:02 77017 [Note] WSREP: wsrep_load(): loading provider library 'none'
2017-06-04 16:21:02 77017 [Note] Plugin 'FEDERATED' is disabled.

LLDB 6 package

Previous issue: TritonDataCenter/pkgsrc-wip#97

Either we need to patch usage of C++11 in LLDB code base, or select clang 6 or gcc 6 to compile it with c++11 flag. I would go with CC=$(which clang) CXX=$(which clang++) make ... option, as it is working out for other distros.

innotop/percona-toolkit pull installtion leaves p5-DBD-mysql client broken.

Steps to reproduce:

[root@test1 ~]# pkgin in mysql-server-5.5.38
[root@test1 ~]# pkgin in innotop

This results in output:

downloading packages...
p5-Term-ReadKey-2.30nb7.tgz                                                                                                                                                                                                                                   100%   27KB  27.5KB/s  27.5KB/s   00:00
p5-DBI-1.631nb1.tgz                                                                                                                                                                                                                                           100%  765KB 764.9KB/s 764.9KB/s   00:01
p5-DBD-percona56-cluster-4.027nb1.tgz                                                                                                                                                                                                                         100%  228KB 228.4KB/s 228.4KB/s   00:00
innotop-1.9.1nb1.tgz                                                                                                                                                                                                                                          100%  147KB 147.1KB/s 147.1KB/s   00:01
installing packages...
installing p5-Term-ReadKey-2.30nb7...
installing p5-DBI-1.631nb1...
installing p5-DBD-percona56-cluster-4.027nb1...
installing innotop-1.9.1nb1...
pkg_install warnings: 0, errors: 2
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
reading local summary...
processing local summary...
updating database: 100%
marking innotop-1.9.1nb1 as non auto-removable

And then trying to run innotop

ocalhost PROCESSLIST_NO_IS: install_driver(mysql) failed: Can't load '/opt/local/lib/perl5/vendor_perl/5.20.0/x86_64-solaris-thread-multi-64/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: perl: fatal: libmysqlclient.so.18: open failed: No such file or directory at /opt/local/lib/perl5/5.20.0/x86_64-solaris-thread-multi-64/DynaLoader.pm line 193.
 at (eval 519) line 3.
Compilation failed in require at (eval 519) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at /opt/local/bin/innotop line 7592.

The Issue

The same issue is present in percona-toolkit. The issue is the regexp dependency they both share https://github.com/joyent/pkgsrc-joyent/blob/master/innotop/Makefile#L15

If no p5-DBD has been installed pkgsrc always attempt to satisfy that dep by installing percona-cluster-DBD. This in turn also attempt to install percona-cluster-server which then fails due to conflicts with the already installed mysql-server.

pkgin log file

---Aug 14 00:12:27: installing libevent-2.0.21nb3...
---Aug 14 00:12:27: installing editline-3.1.20130712nb1...
---Aug 14 00:12:27: installing perl-5.20.0nb2...
---Aug 14 00:12:28: installing mysql-client-5.1.72nb3...
---Aug 14 00:12:29: installing mysql-server-5.1.72nb1...
---Aug 14 00:13:49: installing p5-Term-ReadKey-2.30nb7...
---Aug 14 00:13:49: installing p5-DBI-1.631nb1...
---Aug 14 00:13:49: installing p5-DBD-percona56-cluster-4.027nb1...
pkg_add: Package `percona-cluster-5.6.21nb3' conflicts with `{mysql,percona}*-{client,server}-[0-9]*', and `mysql-client-5.1.72nb3' is installed.
pkg_add: Can't install dependency percona-cluster>=5.6.15<5.7, continuing
pkg_add: Package `percona-cluster-5.6.21nb3' conflicts with `{mysql,percona}*-{client,server}-[0-9]*', and `mysql-client-5.1.72nb3' is installed.
pkg_add: Can't install dependency percona-cluster>=5.6.15, continuing
---Aug 14 00:13:51: installing innotop-1.9.1nb1...

Im not sure what the fix should be here, but it is suboptimal at the moment. The issue is there isn't enough information present at package install time for pkgsrc to pick the correct p5-DBD package to fulfil the dependency. As the correct package can only be determined by inspecting what is already installed.

Having deps evaluated at runtime supporting some kind of conditional could be a solution:

if "mysql-server" installed; p5-dep = p5-dep-variant1
if "percona-server" install; p5-dep = p5-dep-variant2

This might not be the best solution and would require a lot of effort on the face of it.

Hexchat Apple Silicon

Hi all user here (not a developer). Installed Hexchat on my MacBook Air w/ Apple Silicon M1... I'm not running Rosetta 2 (I haven Intel Mac for that)...

Installed with:

sudo pkgin -y install hexchat

It installs. I attempt to run it after using:

hexchat

and get the error back

zsh: segmentation fault hexchat

I'm running XQuartz for x11

Is this packaged Hexchat Intel code?

Could not install dblatex-0.3.10nb1

Trying to install dblatex aborts with Can't locate TeXLive/TLUtils.pm.

pkg_install warnings: 0, errors: 6
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
reading local summary...
processing local summary...
no such installed package dblatex-0.3.10nb1

Inlining the log here, any hints to resolve this would be appreciated, this is on macOS High Sierra 10.13.4 Beta.

/var/db/pkgin/pkg_install-err.log

...

---Feb 19 06:46:15: installing libXmu-1.1.2...
---Feb 19 06:46:16: installing lua52-5.2.4nb1...
---Feb 19 06:46:16: installing libXi-1.7.9...
---Feb 19 06:46:16: installing libXaw-1.0.13...
---Feb 19 06:46:17: installing tex-placeins-2.2...
---Feb 19 06:46:17: installing tex-notoccite-2009...
---Feb 19 06:46:18: installing tex-cmsd-2010...
---Feb 19 06:46:18: installing tex-minitoc-61...
---Feb 19 06:46:18: installing tex-euler-2.5...
---Feb 19 06:46:19: installing tex-beton-2010...
---Feb 19 06:46:19: installing tex-zapfding-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:20: installing tex-zapfchan-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:21: installing tex-times-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:21: installing tex-symbol-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:22: installing tex-palatino-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:23: installing tex-ncntrsbk-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:23: installing tex-mathpazo-1.003...
---Feb 19 06:46:24: installing tex-helvetic-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:25: installing tex-fpl-1.002...
---Feb 19 06:46:25: installing tex-courier-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:26: installing tex-charter-2010...
---Feb 19 06:46:26: installing tex-bookman-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:27: installing tex-avantgar-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:28: installing xdvik-22.87.03nb1...
---Feb 19 06:46:29: installing tex-xdvi-22.87.03...
---Feb 19 06:46:29: installing tex-texlive-scripts-2017...
---Feb 19 06:46:29: installing tex-texlive-docindex-2014...
---Feb 19 06:46:30: installing tex-tex-3.14159265...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/share/texmf-dist/scripts/texlive /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/fmtutil line 46.
BEGIN failed--compilation aborted at /opt/pkg/bin/fmtutil line 46.
---Feb 19 06:46:30: installing tex-mfware-2014...
---Feb 19 06:46:31: installing tex-mflogo-2016...
---Feb 19 06:46:31: installing tex-metafont-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/share/texmf-dist/scripts/texlive /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/fmtutil line 46.
BEGIN failed--compilation aborted at /opt/pkg/bin/fmtutil line 46.
---Feb 19 06:46:32: installing tex-makeindex-2.15nb1...
---Feb 19 06:46:32: installing tex-knuth-local-2016...
---Feb 19 06:46:33: installing tex-hyph-utf8-2016...
---Feb 19 06:46:33: installing tex-glyphlist-2016...
---Feb 19 06:46:33: installing tex-enctex-2014...
---Feb 19 06:46:34: installing tex-dvipdfmx-2016.41623...
---Feb 19 06:46:34: installing tex-bibtex-0.99dnb2...
---Feb 19 06:46:35: installing lua52-alt-getopt-0.7.0nb3...
---Feb 19 06:46:35: installing gsftopkk-1.19.2nb8...
---Feb 19 06:46:35: installing tex-koma-script-3.24...
---Feb 19 06:46:37: installing giflib-5.1.4...
---Feb 19 06:46:37: installing pkgconf-1.4.1nb1...
pkg_add: Package `pkgconf-1.4.1nb1' conflicts with `pkg-config-[0-9]*', and `pkg-config-0.29.2' is installed.
pkg_add: 1 package addition failed
---Feb 19 06:46:37: installing libwebp-0.6.1...
---Feb 19 06:46:37: installing libltdl-2.4.6...
---Feb 19 06:46:38: installing fftw-3.3.7...
---Feb 19 06:46:38: installing libXpm-3.5.12...
pkg_add: package `libXpm-3.5.12' was already installed as dependency, now marked as installed manually
---Feb 19 06:46:38: installing py27-expat-2.7.14...
---Feb 19 06:46:38: installing tex-xcolor-2.12nb1...
---Feb 19 06:46:39: installing tex-algorithms-0.1...
---Feb 19 06:46:40: installing tex-ms-2014...
---Feb 19 06:46:41: installing tex-eso-pic-2.0g...
---Feb 19 06:46:42: installing tex-wasy2-ps-2014...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:43: installing tex-wasy-2014...
pkg_add: package `tex-wasy-2014' was already installed as dependency, now marked as installed manually
---Feb 19 06:46:43: installing texlive-collection-basic-2017...
---Feb 19 06:46:43: installing tex-url-3.4...
---Feb 19 06:46:43: installing tex-pspicture-2009...
---Feb 19 06:46:44: installing tex-psnfss-9.2a.33946...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:45: installing tex-pslatex-2009...
---Feb 19 06:46:45: installing tex-natbib-8.31b...
---Feb 19 06:46:45: installing tex-mptopdf-2017...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/share/texmf-dist/scripts/texlive /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/fmtutil line 46.
BEGIN failed--compilation aborted at /opt/pkg/bin/fmtutil line 46.
---Feb 19 06:46:46: installing tex-mfnfss-2009...
---Feb 19 06:46:47: installing tex-ltxmisc-2010.21927...
---Feb 19 06:46:47: installing tex-hyperref-6.85a...
---Feb 19 06:46:48: installing tex-geometry-5.6...
---Feb 19 06:46:48: installing tex-fix2col-2016...
---Feb 19 06:46:48: installing tex-fancyhdr-3.9a...
---Feb 19 06:46:49: installing tex-colortbl-1.0a...
---Feb 19 06:46:49: installing tex-babelbib-1.31...
---Feb 19 06:46:50: installing tex-babel-english-3.3q...
---Feb 19 06:46:50: installing tex-amscls-2015...
---Feb 19 06:46:51: installing tex-ae-1.4...
---Feb 19 06:46:52: installing texlive-collection-latex-2017...
---Feb 19 06:46:52: installing tex-wasysym-2.0nb1...
---Feb 19 06:46:52: installing tex-titlesec-2.10.2...
---Feb 19 06:46:53: installing tex-subfigure-2.1.5...
---Feb 19 06:46:53: installing tex-stmaryrd-2010nb1...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:54: installing tex-rsfs-2009nb1...
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /opt/pkg/share/tlpkg /opt/pkg/lib/perl5/site_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/site_perl/5.24.0 /opt/pkg/lib/perl5/vendor_perl/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/vendor_perl/5.24.0 /opt/pkg/lib/perl5/5.24.0/darwin-thread-multi-2level /opt/pkg/lib/perl5/5.24.0 .) at /opt/pkg/bin/updmap line 40.
BEGIN failed--compilation aborted at /opt/pkg/bin/updmap line 41.
---Feb 19 06:46:54: installing tex-rotating-2.16b...
---Feb 19 06:46:55: installing tex-pdfpages-0.5k...
---Feb 19 06:46:55: installing tex-overpic-1.0...
---Feb 19 06:46:56: installing tex-multirow-2.2...
---Feb 19 06:46:56: installing tex-listings-1.6...
---Feb 19 06:46:57: installing tex-jknapltx-2014...
---Feb 19 06:46:57: installing tex-footmisc-5.5b...
pkg_add: package `tex-footmisc-5.5b' was already installed as dependency, now marked as installed manually
---Feb 19 06:46:57: installing tex-float-1.3d...
pkg_add: package `tex-float-1.3d' was already installed as dependency, now marked as installed manually
---Feb 19 06:46:57: installing tex-fancyvrb-2.8...
pkg_add: package `tex-fancyvrb-2.8' was already installed as dependency, now marked as installed manually
---Feb 19 06:46:57: installing tex-fancybox-1.4...
---Feb 19 06:46:58: installing tex-eepic-1.1e...
---Feb 19 06:46:58: installing tex-ec-1.0...
---Feb 19 06:47:00: installing tex-changebar-3.5c...
---Feb 19 06:47:01: installing tex-appendix-1.2b...
---Feb 19 06:47:01: installing tex-anysize-15878...
---Feb 19 06:47:02: installing py27-setuptools-38.4.0...
---Feb 19 06:47:03: installing makeindexk-2.15nb9...
pkg_add: package `makeindexk-2.15nb9' was already installed as dependency, now marked as installed manually
---Feb 19 06:47:03: installing fig2dev-3.2.6a...
---Feb 19 06:47:03: installing ImageMagick-7.0.7.22nb1...
pkg_add: Package `pkgconf-1.4.1nb1' conflicts with `pkg-config-[0-9]*', and `pkg-config-0.29.2' is installed.
pkg_add: Can't install dependency pkgconf-[0-9]*
pkg_add: 1 package addition failed
---Feb 19 06:47:03: installing dblatex-0.3.10nb1...
pkg_add: Package `pkgconf-1.4.1nb1' conflicts with `pkg-config-[0-9]*', and `pkg-config-0.29.2' is installed.
pkg_add: Can't install dependency pkgconf-[0-9]*
pkg_add: Can't install dependency ImageMagick-[0-9]*
pkg_add: 1 package addition failed

openjdk8: libsplashscreen.so bug

The bug happens with openjdk8 and openjdk10. openjdk11 works fine.

How to reproduce: run java application with a splash screen, e.g: pixelitor.

quickbackup-percona fails to detect xbstream format correctly

When attempting to restore an xbstream backup:

$ sudo quickbackup-percona restore /home/admin/2015-05-08_12-00-00-backup.xbs - Restore from /home/admin/2015-05-08_12-00-00-backup.xbs

ERROR - /home/admin/2015-05-08_12-00-00-backup.xbs appears to not be xbstream format.
Check that your quickbackup/stream setting is set to the type of file
you are trying to restore.

This definitely is an xbstream backup. The culprit is this line (line 321 in the version that came with my image):

[ `file ${RESTOREFILE} | awk '{ print $2 }'` != "data" ] && logerror "\nERROR - ${RESTOREFILE} appears to not be xbstream format.

When I comment it out the restore runs without issue.

quickbackup-percona always locks database

Would be great to have an option to enable --no-lock (and with it --safe-slave-backup) in backups. This is useful on busy servers where even a few seconds of read-locked tables is too much. Obviously this comes with some danger and should only be used where the binlog position is not needed (e.g. no async replication).

I ran across the need for this when running backups on a server where only system tables are MyISAM, but xtrabackup still read-locked everything for 30+ seconds, sometimes many minutes.

Node 0.12.6 Not Found

Why does pkgin list Node 0.12.6 but fails to install it?

# pkgin up
database for http://pkgsrc.joyent.com/packages/SmartOS/2015Q2/x86_64/All is up-to-date
# pkgin se node | grep 0.12.6
nodejs-0.12.6        V8 JavaScript for clients and servers
# pkgin in nodejs-0.12.6
…
pkgin: http://pkgsrc.joyent.com/packages/SmartOS/2015Q2/x86_64/All/nodejs-0.12.6.tgz: Not Found

Python and DTrace support

Python 2.7 and Python 3.4 from pkgsrc should be patched to add full DTrace support. The patch is located here:
https://www.jcea.es/artic/python_dtrace.htm

This adds full support for tracing Python programs (w/ ustack helper support as well) and could be of benefit to Python users using SmartOS. The patch is maintained by the developer everyitme a new version of Python comes out.

influx-cli update to 2.3.0

Hi,

I'm trying to upgrade to influx-cli 2.3.0 which was release last Firday but run into some new dependencies needed on some extra go modules.

I have the following changes now:

diff --git a/influx-cli/Makefile b/influx-cli/Makefile
index 7a8dc86..f5d74f2 100644
--- a/influx-cli/Makefile
+++ b/influx-cli/Makefile
@@ -1,6 +1,6 @@

$NetBSD$

-DISTNAME= influx-cli-2.1.1
+DISTNAME= influx-cli-2.3.0
MASTER_SITES= ${MASTER_SITE_GITHUB:=influxdata/}
CATEGORIES= databases
GITHUB_PROJECT= influx-cli
diff --git a/influx-cli/files/go.mod b/influx-cli/files/go.mod
index 53adcb2..c028dcd 100644
--- a/influx-cli/files/go.mod
+++ b/influx-cli/files/go.mod
@@ -11,6 +11,9 @@ require (
github.com/fujiwara/shapeio v1.0.0
github.com/gocarina/gocsv v0.0.0-20210408192840-02d7211d929d
github.com/gogo/protobuf v1.3.2

  •   google.golang.org/protobuf/proto v1.28.0
    
  •   google.golang.org/protobuf/reflect/protoreflect v1.28.0
    
  •   google.golang.org/protobuf/runtime/protoimpl v1.28.0
      github.com/golang/mock v1.5.0
      github.com/google/go-jsonnet v0.17.0
      github.com/mattn/go-isatty v0.0.13
    

But no idea how to update go-modules.mk

percona56-cluster (default) state transfer with 'wsrep_sst_method=xtrabackup-v2' does not work

Thanks to the efforts of @mamash in #29 percona56-cluster now works on 2016Q4. However I was only able to get it to work with using rsync as the state sync transfer method. When using xtrabackup-v2 method I bumped into issues. xtrabackup-v2 is the default and also more prefarable (most of the time) due to less (more targeted) locking while syncing.

When the second node is started after starting the first node in bootstrap mode the following error occurs on the first node:

2017-06-17 10:54:27 11313 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2017-06-17 10:54:27 11313 [Note] WSREP: REPL Protocols: 7 (3, 2)
2017-06-17 10:54:27 11313 [Note] WSREP: Assign initial position for certification: 2, protocol version: 3
2017-06-17 10:54:27 11313 [Note] WSREP: Service thread queue flushed.
2017-06-17 10:54:28 11313 [Note] WSREP: Member 1.0 (mysql-misc-2) requested state transfer from '*any*'. Selected 0.0 (mysql-misc-1)(SYNCED) as donor.
2017-06-17 10:54:28 11313 [Note] WSREP: Shifting SYNCED -> DONOR/DESYNCED (TO: 2)
2017-06-17 10:54:28 11313 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2017-06-17 10:54:28 11313 [Note] WSREP: Running: 'wsrep_sst_xtrabackup-v2 --role 'donor' --address 'mysql-misc-1.node.nl1.consul.example.com:4444/xtrabackup_sst//1' --socket '/tmp/mysql.sock' --datadir '/var/mysql/' --defaults-file '/opt/local/etc/my.cnf' --defaults-group-suffix ''   '' --gtid '7e9a32cc-506d-11e7-96d8-2204ed16c4d0:2''
2017-06-17 10:54:28 11313 [Note] WSREP: sst_donor_thread signaled with 0
2017-06-17 10:54:29 11313 [Note] WSREP: (1f684105, 'tcp://0.0.0.0:4567') turning message relay requesting off
WSREP_SST: [INFO] Streaming with xbstream (2017-06-17 10:54:30)
WSREP_SST: [INFO] Using socat as streamer (2017-06-17 10:54:30)
WSREP_SST: [INFO] Streaming GTID file before SST (2017-06-17 10:54:30)
WSREP_SST: [INFO] Evaluating xbstream -c ${INFO_FILE} | socat -u stdio TCP:mysql-misc-1.node.nl1.consul.example.com:4444; RC=( ${PIPESTATUS[@]} ) (2017-06-17 10:54:30)
2017/06/17 10:54:30 socat[24119] E connect(4, AF=2 10.100.3.102:4444, 16): Connection refused
WSREP_SST: [ERROR] Error while getting data from donor node:  exit codes: 141 1 (2017-06-17 10:54:30)
WSREP_SST: [ERROR] Cleanup after exit with status:32 (2017-06-17 10:54:30)
WSREP_SST: [INFO] Cleaning up temporary directories (2017-06-17 10:54:30)
2017-06-17 10:54:30 11313 [ERROR] WSREP: Failed to read from: wsrep_sst_xtrabackup-v2 --role 'donor' --address 'mysql-misc-1.node.nl1.consul.example.com:4444/xtrabackup_sst//1' --socket '/tmp/mysql.sock' --datadir '/var/mysql/' --defaults-file '/opt/local/etc/my.cnf' --defaults-group-suffix ''   '' --gtid '7e9a32cc-506d-11e7-96d8-2204ed16c4d0:2'
2017-06-17 10:54:30 11313 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup-v2 --role 'donor' --address 'mysql-misc-1.node.nl1.consul.example.com:4444/xtrabackup_sst//1' --socket '/tmp/mysql.sock' --datadir '/var/mysql/' --defaults-file '/opt/local/etc/my.cnf' --defaults-group-suffix ''   '' --gtid '7e9a32cc-506d-11e7-96d8-2204ed16c4d0:2': 32 (Broken pipe)
2017-06-17 10:54:30 11313 [ERROR] WSREP: Command did not run: wsrep_sst_xtrabackup-v2 --role 'donor' --address 'mysql-misc-1.node.nl1.consul.example.com:4444/xtrabackup_sst//1' --socket '/tmp/mysql.sock' --datadir '/var/mysql/' --defaults-file '/opt/local/etc/my.cnf' --defaults-group-suffix ''   '' --gtid '7e9a32cc-506d-11e7-96d8-2204ed16c4d0:2'
2017-06-17 10:54:30 11313 [Warning] WSREP: 0.0 (mysql-misc-1): State transfer to 1.0 (mysql-misc-2) failed: -32 (Broken pipe)
2017-06-17 10:54:30 11313 [Note] WSREP: Shifting DONOR/DESYNCED -> JOINED (TO: 2)
2017-06-17 10:54:30 11313 [Note] WSREP: Member 0.0 (mysql-misc-1) synced with group.
2017-06-17 10:54:30 11313 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 2)

Testing the command in standalone mode gives the same error:

[root@mysql-misc-1 ~]# wsrep_sst_xtrabackup-v2 --role 'donor' --address 'mysql-misc-1.node.nl1.consul.example.com:4444/xtrabackup_sst//1' --socket '/tmp/mysql.sock' --datadir '/var/mysql/' --defaults-file '/opt/local/etc/my.cnf' --defaults-group-suffix ''   '' --gtid '7e9a32cc-506d-11e7-96d8-2204ed16c4d0:2'
WSREP_SST: [INFO] Streaming with xbstream (2017-06-17 11:01:54)
WSREP_SST: [INFO] Using socat as streamer (2017-06-17 11:01:54)
WSREP_SST: [INFO] Streaming GTID file before SST (2017-06-17 11:01:54)
WSREP_SST: [INFO] Evaluating xbstream -c ${INFO_FILE} | socat -u stdio TCP:mysql-misc-1.node.nl1.consul.example.com:4444; RC=( ${PIPESTATUS[@]} ) (2017-06-17 11:01:54)
2017/06/17 11:01:54 socat[8095] E connect(4, AF=2 10.100.3.102:4444, 16): Connection refused
WSREP_SST: [ERROR] Error while getting data from donor node:  exit codes: 141 1 (2017-06-17 11:01:54)
WSREP_SST: [ERROR] Cleanup after exit with status:32 (2017-06-17 11:01:54)
WSREP_SST: [INFO] Cleaning up temporary directories (2017-06-17 11:01:54)

It looks as if the socat command designed to start listening on port 4444 is just never started.

For reference this is /optlocal/etc/my.conf:

#
# Joyent Percona configuration, based on my-large.cnf
#

# The MySQL server
[mysqld]
user = mysql
port = 3306
basedir = /opt/local
datadir = /var/mysql
socket = /tmp/mysql.sock
bind-address = 10.100.3.112
default-storage-engine = innodb
character-set-server = utf8
skip-external-locking
log_warnings
skip_name_resolve

server-id = 1

# MyISAM settings
key_buffer_size = 16M
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 4M
myisam_sort_buffer_size = 64M

# InnoDB settings
innodb_data_home_dir = /var/mysql
innodb_log_group_home_dir = /var/mysql
innodb_data_file_path = ibdata1:100M:autoextend
innodb_buffer_pool_size = 256M
innodb_log_file_size = 400M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 2
innodb_lock_wait_timeout = 50
innodb_file_per_table
innodb_doublewrite = 0
innodb_io_capacity = 1500
innodb_read_io_threads = 8
innodb_write_io_threads = 8

# Slow query log settings
# The default logs all full table scans,tmp tables,filesorts on disk queries
#use_global_long_query_time = 1
#long_query_time = 0.5
slow_query_log_file = /var/log/mysql/slowquery.log
slow_query_log = 1
log_slow_filter = "full_scan,tmp_table_on_disk,filesort_on_disk"
log_slow_verbosity = "full"

# Other general MySQL settings
thread_cache_size = 1000
#query_cache_size = 16M
#query_cache_strip_comments
query_cache_type = 0
back_log = 64
tmpdir = /var/tmp
max_connections = 1000
max_allowed_packet = 24M
max_join_size = 4294967295
net_buffer_length = 2K
thread_stack = 128K
tmp_table_size = 64M
max_heap_table_size = 64M

# Replication settings (master to slave)
# This is not enabled by default.  There are more steps
# to this besides uncommenting the lines below.
# See: http://wiki.joyent.com/wiki/display/jpc2/Replication
#
binlog_format=row
log-bin = /var/log/mysql/bin.log
#log-bin-index = /var/log/mysql/log-bin.index
log-error = /var/log/mysql/error.log
#report-host = percona
#relay_log_purge = 1
expire_logs_days = 7
#slave-skip-errors = 1062
#binlog-ignore-db = mysql

# Cluster settings
wsrep_provider=/opt/local/lib/mysql/plugin/libgalera_smm.so
wsrep_node_name=mysql-misc-2
wsrep_cluster_address=gcomm://mysql-misc-1.node.nl1.consul.example.com,mysql-misc-2.node.nl1.consul.example.com,mysql-misc-3.node.nl1.consul.example.com
innodb_autoinc_lock_mode=2
wsrep_cluster_name=misc
wsrep_node_address=mysql-misc-1.node.nl1.consul.example.com
wsrep_sst_method=xtrabackup-v2
wsrep_sst_auth="sstuser:SUPERSECRETSYNCPASSWORD"
#wsrep_sst_method=rsync

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[myisamchk]
key_buffer_size = 128M
sort_buffer_size = 128M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout

[xtrabackup]
tmpdir = /var/tmp

[sst]
streamfmt = xbstream

Postfix export_environment bug

Postfix provides the 'export_environment' option to define which environment variables should be passed to processes it calls.

See here: http://www.postfix.org/postconf.5.html#export_environment

In our case, we're using Postfix to deliver mail to a local system account. Inside the system account's .forward file, we have something like this:

|/home/mlm/test.py

Basically, postfix pipes all the mail to this script which does further processing. Inside /opt/local/etc/postfix/main.cf, we have several environment variables defined that our script needs to see.

export_environment = PATH=/home/mlm/virtualenv/bin PYTHONPATH=/home/mlm/virtualenv/lib/python2.7/site-packages/

We know that PYTHONPATH is being set correctly. However, for some reason, PATH is not getting correctly passed to the script. As far as I can tell, this looks like a packaging bug.

Inside test.py, we added this for debugging:

    for key in os.environ:
        logging.info("%s: %s" % (key, os.environ[key]))

And then this is what we saw in the log:

2014-07-21 11:02:48,112 - root - INFO - PATH: /usr/bin:/usr/ucb
2014-07-21 11:02:48,113 - root - INFO - PYTHONPATH: /home/mlm/virtualenv/lib/python2.7/site-packages/

As far as I can tell, this path is getting hard-coded somewhere in the packaging process:

# for i in `ls /opt/local/libexec/postfix/`;do echo $i: `strings /opt/local/libexec/postfix/$i | grep ucb` ;done
anvil:
bounce:
cleanup: /usr/bin:/usr/ucb
discard:
dnsblog:
error:
flush:
lmtp:
local: /usr/bin:/usr/ucb
main.cf:
master:
master.cf:
nqmgr:
oqmgr:
pickup:
pipe: /usr/bin:/usr/ucb
post-install: PATH=/bin:/usr/bin:/usr/sbin:/usr/etc:/sbin:/etc:/usr/contrib/bin:/usr/gnu/bin:/usr/ucb:/usr/bsd
postfix-files:
postfix-script:
postfix-wrapper:
postmulti-script:
postscreen:
proxymap:
qmgr:
qmqpd: /usr/bin:/usr/ucb
scache:
showq:
smtp:
smtpd: /usr/bin:/usr/ucb
spawn: /usr/bin:/usr/ucb
tlsmgr:
tlsproxy:
trivial-rewrite:
verify:
virtual:

Any suggestions?

cc: @nshalman

lmnsd_gtls.so and rsyslog

There is no way to have a package like rsyslog-gnutls?
To configure rsyslog to use ssl or tls communication.

Percona Cluster SST scripts fail

I don't know when Percona intends to fix this, and I don't know if you consider it something to patch in the Joyent package, but while setting up a Percona Cluster I ran into this bug:

https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1263476

The fixes are quite simple. I was able to patch the sst_xtrabackup-v2 script and make it work with the given fix for the first bug (using lsof instead of ss) and I hardcoded the number of processors for the second bug. (I'm not entirely sure of the best solution to that.)

OSSEC-* packages

The version available is 2.8.2 from 2014 while the latest stable version is 2.9.1.
Are there any plan to provide an upgrade to those security related packages ?
Kind regards,
Didier

percona57-* does not build via pkgbuild

At the moment it looks like some percona versions doesn't build via pkgbuild. I assume the reason is a change of the check-portability.awk.

I really simple fix for percona57-client would be:

diff --git a/percona57-client/Makefile.common b/percona57-client/Makefile.common
index 9466e3e..1db7e24 100644
--- a/percona57-client/Makefile.common
+++ b/percona57-client/Makefile.common
@@ -31,6 +31,9 @@ USE_TOOLS+=           bash bison gmake perl:run

 .include "options.mk"

+CHECK_PORTABILITY_SKIP=        storage/rocksdb/rocksdb/Makefile
+CHECK_PORTABILITY_SKIP+=       packaging/deb-in/*
+
 # MYSQL_USER           username of the database administrator
 # MYSQL_GROUP          group of the database administrator
 # MYSQL_DATADIR                home directory (location of the databases)

After this change the -server also build without any issue.

Include envoy in (SmartOS) pkgsrc

Envoy describes itself as "an opensource edge and service proxy designed for cloud native applications". Envoy usage is becoming quite wide spread (some go as far as to say the defacto standard). It was originally developed at Lyft but is now part of the Cloud Native Computing Foundation.

Long story short; It's a cloud native haproxy and NGINX alternative which can be used with for example HTTP/2 and is also popular for use with gRPC (Google's OSS Protobuf + HTTP/2 RPC implementation).

Aside from Lyft's own success story examples of it's popularity are Google and IBM creating Istio which uses Envoy to create a service mesh, a bunch of other success stories and online tutorials being produced by organisations like RedHat.

I've attempted to get Envoy to build on Illumos / SmartOS but ran in to issues. It was quite some time ago so I don't remember the exact issue. I'll give it a shot again and report my findings here. Envoy uses Bezel for it's build. Bezel is Java based, being primarily a Java dev Bezel shouldn't be too much of an issue for me. However for some of the subtleties of creating patches for Envoy I will require assistance.

Java flight recorder files produced by OpenJDK 11 are not properly readable by JMC

One of the nice improvements in OpenJDK 11 (vs 8) is the open sourcing and inclusion of Java Flight Recorder. This allows for low overhead profiling which is very useful when hunting down performance issues in production systems.

Unfortunately when using flight recorder with the pkgsrc OpenJDK 11 package it will always result in a file which JMC (JDK Mission Control) says contains only 2 seconds worth of events. No matter how long you actually specify flight recorder to record. Oddly enough the file size of the file with the recordings is about what you would expect it to be.

For example if you take this Java application in a file called Test.java:

class Test {
        public static void main(String[] args) throws Exception {
                int x = 0;
                while(true) {
                        System.out.println(String.format("Test %s", x));
                        x++;
                        Thread.sleep(1000);
                }
        }
}

Compile and run it:

$ javac Test.java
$ java Test

Flip over to another terminal and tell flight recorder to record 60 seconds worth of profiling information:

$ jcmd 563390 JFR.start duration=60s settings=profile filename=/var/tmp/pkgsrc-openjdk-test.jfr

The file size is actually about what you would expect. However when opening the file with Mission Control the recording duration says 1 minute however there is only 1.867 seconds of "Recording Time span". It seems to always exactly be 1.867 seconds.

I used the Vanilla pkgsrc OpenJDK which is version 11.0.2 (not the Shenandoah branch).

$  java -version
openjdk version "11.0.2-internal" 2019-01-15
OpenJDK Runtime Environment (build 11.0.2-internal+0-adhoc.root.openjdk11-11.0.2)
OpenJDK 64-Bit Server VM (build 11.0.2-internal+0-adhoc.root.openjdk11-11.0.2, mixed mode)

I also did a test with pkgsrc OpenJDK Shenandoah which is version 11.0.4+11 but ended up with the same result.

To test if this isn't some bug in OpenJDK itself (maybe affecting all Solaris-like OS'es) I downloaded the Tribblix OpenJDK 11 package ( http://pkgs.tribblix.org/openjdk/ ) and did the same test. That leads to a flight recorder file of about the same size however when opened with Mission Control the "Recording Time span" is 60 seconds as expected.

A quick peek with objdump -s --section .comment jdk11.0.4/bin/java indicates Tribblix was build with Sun Studio.

I tested this with both Liberica Mission Control as with my own build of jmc master.

"normalize" is missing in 18.3.0

In base-64 18.2.0:

# pkgin search normalize
...
normalize-0.7.7nb7   Audio file volume normalizer (wav,mp3,ogg)
...

In base-64 18.3.0:

# pkgin search normalize
...

Result:

"normalize" utility is missing in 18.3.0.

Expected Result:

"normalize" utility available.

Thanks!

"pkg-config" not available in 2018Q3

In 2018Q2:

# pkgin search pkg-config
verifypc-1.7         Sanity check package dependencies according to pkg-config
ruby25-pkg-config-1.3.1  Pure Ruby implementation of pkg-config
ruby24-pkg-config-1.3.1  Pure Ruby implementation of pkg-config
ruby23-pkg-config-1.3.1  Pure Ruby implementation of pkg-config
ruby22-pkg-config-1.3.1  Pure Ruby implementation of pkg-config
py36-pkgconfig-1.3.1  Python wrapper for pkg-config
py35-pkgconfig-1.3.1  Python wrapper for pkg-config
py34-pkgconfig-1.3.1  Python wrapper for pkg-config
py27-pkgconfig-1.3.1  Python wrapper for pkg-config
pkgconf-1.4.1nb1     API-driven pkg-config replacement
pkg-config-0.29.2    System for managing library compile/link flags
p5-ExtUtils-PkgConfig-1.16nb1  Simplistic perl interface to pkg-config

In 2018Q3:

# pkgin search pkg-config
verifypc-1.7         Sanity check package dependencies according to pkg-config
ruby25-pkg-config-1.3.1  Pure Ruby implementation of pkg-config
ruby24-pkg-config-1.3.1  Pure Ruby implementation of pkg-config
ruby23-pkg-config-1.3.1  Pure Ruby implementation of pkg-config
ruby22-pkg-config-1.3.1  Pure Ruby implementation of pkg-config
py37-pkgconfig-1.4.0  Python wrapper for pkg-config
py36-pkgconfig-1.4.0  Python wrapper for pkg-config
py35-pkgconfig-1.4.0  Python wrapper for pkg-config
py34-pkgconfig-1.4.0  Python wrapper for pkg-config
py27-pkgconfig-1.4.0  Python wrapper for pkg-config
pkgconf-1.4.1nb1     API-driven pkg-config replacement
p5-ExtUtils-PkgConfig-1.16nb2  Simplistic perl interface to pkg-config

Note that "pkg-config" package is missing in 2018Q3.

Thanks!

Allow bypassing default 10 s timeout in `sm-prepare-image -y`

There seems to be no publicly documented way of bypassing the default 10 s timeout in sm-prepare-image, even when passing -y.

(I think) this is possible to work around by passing private variables like: yn_start=y yn_nfs=y yn_subips=y yn_halt=n sm-prepare-image && poweroff.

nagios-plugins build error

the build of nagios-plugins gives this error:

=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for nagios-plugins-1.4.15nb3
ERROR: ************************************************************
ERROR: The following files are in /opt/local but not in the PLIST:
ERROR: /tmp/pkgsrc/net/nagios-plugins/work/.destdir/opt/local/libexec/nagios/check_apt
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/net/nagios-plugins
*** Error code 1

and the fix is very simple

--- pkgsrc/net/nagios-plugins/PLIST.orig 2013-03-19 17:20:11.642538898 +0000
+++ pkgsrc/net/nagios-plugins/PLIST 2013-03-19 17:20:21.352812081 +0000
@@ -43,6 +43,7 @@
libexec/nagios/check_udp
libexec/nagios/check_ups
libexec/nagios/check_users
+libexec/nagios/check_apt
libexec/nagios/negate
${PLIST.sunos}libexec/nagios/pst3
libexec/nagios/urlize

PHP strtolower converts UTF-8 wrong

Converting UTF-8 strings produces invalid characters, when a UTF-8 locale is set, otherwise they are just ignored, wich is fine.

<?php
    $t = 'ö';
    $c = strtolower($t);
    print(implode(unpack("H*", $t)) . "\t" . implode(unpack("H*", $c)) . "\n");
?>
LC_ALL="C" php test.php 
c3b6    c3b6
LC_ALL="en_US.UTF-8" php test.php 
c3b6    e3b6

In this case, it "converts" an already lowercase character, but it's the same for uppercase Umlauts, Ö(c396) will end up as e396 instead of c3b6.

It works on Linux, i do not yet know if it's a problem in Illumos or PHP.

The mb_strtolower($keywords, 'UTF-8') way works however.

Tested with:
PHP 5.3.29 (cli) (built: Jan 29 2016 19:08:29)
PHP 7.0.27 (cli) (built: Apr 8 2018 20:20:23) ( NTS )

"mkvmerge" crashes with "code dump" in 18.3.0

In Base-64 18.3.0:

# mkvmerge

Segmentation Fault (core dumped)

# truss -f mkvmerge
11715:  open("/usr/lib/locale//en_US.UTF-8/LC_CTYPE/LCL_DATA", O_RDONLY) = 3
11715:  fstat(3, 0xFFFFFC7FFFDFE8D0)                    = 0
11715:  mmap(0x00000000, 41108, PROT_READ, MAP_PRIVATE, 3, 0) = 0xFFFFFC7FEEF60000
11715:  close(3)                                        = 0
11715:  mmap(0x00010000, 131072, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, 4294967295, 0) = 0xFFFFFC7FEEE90000
11715:  munmap(0xFFFFFC7FEEF60000, 41108)               = 0
11715:  brk(0x00C67000)                                 = 0
11715:      Incurred fault #6, FLTBOUNDS  %pc = 0xFFFFFC7FB5356736
11715:        siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
11715:      Received signal #11, SIGSEGV [default]
11715:        siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000

Expected result:

"mkvmerge" should print a help message and exit. This command used to work fine in 18.2.0.

Thanks!.

wsrep patches looking for /usr/gnu/bin/grep

130901 20:07:03 [Note] WSREP: wsrep_load(): Galera 2.6(rXXXX) by Codership Oy [email protected] loaded succesfully.

sh: line 1: /usr/gnu/bin/grep: not found
130901 20:07:03 [ERROR] WSREP: Failed to read output of: '/sbin/ifconfig -a | /usr/gnu/bin/grep -m1 -1 -E 'net[0-9]:' | tail -n 1 | awk '{ print $2 }''

130901 20:07:03 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address.
130901 20:07:03 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly.

digicert ssl certs not trusted when using pkgsrc.joyent.com with os x

$ cat /usr/pkg/etc/pkgin/repositories.conf 
# $Id: repositories.conf,v 1.3 2012/06/13 13:50:17 imilh Exp $
#
# Pkgin repositories list
#
# Simply add repositories URIs one below the other
#
# WARNING: order matters, duplicates will not be added, if two
# repositories hold the same package, it will be fetched from 
# the first one listed in this file.
#
# This file format supports the following macros:
# $arch to define the machine hardware platform
# $osrelease to define the release version for the operating system
#
# Remote ftp repository
#
# ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/5.1/All
#
# Remote http repository
#
# http://mirror-master.dragonflybsd.org/packages/$arch/DragonFly-$osrelease/stable/All
#
# Local repository (must contain a pkg_summary.gz or bz2)
#
# file:///usr/pkgsrc/packages/All
#
http://pkgsrc.joyent.com/packages/Darwin/2014Q2/i386/All

$ sudo pkgin update-all
Password:
database for http://pkgsrc.joyent.com/packages/Darwin/2014Q2/i386/All is up-to-date

$ sudo pkgin full-upgrade
nothing to do.

$ which curl
/usr/pkg/bin/curl

$ pkgin list | grep certs
mozilla-rootcerts-1.0.20121229nb1 Root CA certificates from the Mozilla Project

$ curl -v https://global-root.digicert.com
* About to connect() to global-root.digicert.com port 443 (#0)
*   Trying 64.58.225.121...
* Connected to global-root.digicert.com (64.58.225.121) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /usr/pkg/etc/openssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS alert, Server hello (2):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

ClamAV is missing in 18.3.0

In base-64 18.2.0:

# pkgin search clamav
...
clamav-doc-0.99.4    Anti-virus toolkit documents
clamav-0.99.4nb1     Anti-virus toolkit

In base-64 18.3.0:

# pkgin search clamav
clamav-doc-0.99.4    Anti-virus toolkit documents

Result:

ClamAV antivirus is missing.

Expected result:

ClamAV antivirus available.

Thanks!.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.