Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 19.10 builds #1262

Closed
Ayesh opened this issue Oct 18, 2019 · 22 comments
Closed

Ubuntu 19.10 builds #1262

Ayesh opened this issue Oct 18, 2019 · 22 comments

Comments

@Ayesh
Copy link

Ayesh commented Oct 18, 2019

Hi there,
Ubuntu 19.10 was released yesterday, and it would be awesome if we could have PHP packages for it as well.

Thank you!

@oerdnj
Copy link
Owner

oerdnj commented Oct 18, 2019

Seems like I have only two classes of users - one class is still running Ubuntu 14.04 and the other one is running the latest greatest from the day one ;).

I’ll add the packages with the next PHP release...

@minimarek
Copy link

I'm also looking forward to the Ubuntu 19.10 packages in order to be able to upgrade to the new version of Ubuntu. Fortunately there is a new version of PHP so I expect packages soon.

Yes, I belong to a class of users who have been using the latest releases since the first second :)

@oerdnj
Copy link
Owner

oerdnj commented Oct 24, 2019

I started the process, but it seems some of the build dependencies are still missing. I’ll take a look tomorrow, and you might get the base packages soon.

@chrisleup
Copy link

exciting! looking forward to them!! hmm.. i had recent issues with 7.2.23 working well with clear linux's openssl libraries "-lssl -lcrypt -lcrypto" order and linkage ... was dealing with php's own openssl.c code having some nasty #else's looking for rc4 support that wasn't' there... shouldv'e been detected via autoconfiguring i'd think... anything similar?? (ps - I think it may've been related to openssl's 1.1.1d builds possibly, which aren't in ubuntu 19.10 as of yet, only patchlevel "c" right now it appears..)

@cedricwalter
Copy link

cedricwalter commented Oct 28, 2019

Any updates? trying to get latest PHP 5.3.11 but in 19.10 i get nothing downloaded and was hoping it is because of the issue above...

I can't find any php7.3-x package by apt search command on ubuntu 19.10.

PHP 7.3 has a nasty #PHP 7 remote code execution bug exploited in the wild https://www.zdnet.com/article/nasty-php7-remote-code-execution-bug-exploited-in-the-wild/
and we need to update ASAP to 7.3.11

Thanks

@esfahanweb
Copy link

Hello,

I added your PPA successfully, but unfortunately, I can't find any php7.1-x package by apt search command on ubuntu 19.10.

best regards

@oerdnj
Copy link
Owner

oerdnj commented Oct 28, 2019

I will announce it here when the packages are available. They are not yet ready.

@cedricwalter
Copy link

Luckily for us, php 7.3.11 is now available in official ubuntu repository
So no hurry anymore :-)

# sudo apt-cache policy php7.3
php7.3:
  Installed: 7.3.11-0ubuntu0.19.10.1
  Candidate: 7.3.11-0ubuntu0.19.10.1
  Version table:
 *** 7.3.11-0ubuntu0.19.10.1 500
        500 http://us.archive.ubuntu.com/ubuntu eoan-updates/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu eoan-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu eoan-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu eoan-security/main i386 Packages

@chrisleup
Copy link

chrisleup commented Oct 28, 2019 via email

@oerdnj
Copy link
Owner

oerdnj commented Oct 28, 2019

It looks like there's something wrong with mysql-server-core-8.0 package that doesn't bind on a provided port:

+ /usr/sbin/mysqld --no-defaults --skip-grant-tables --user=mysql --bind-address=127.0.0.1 --port=1114 --socket=/<<PKGBUILDDIR>>/mysql_db/mysql.sock --datadir=/<<PKGBUILDDIR>>/mysql_db/data --skip-mysqlx
+ c=1
+ sleep 3
2019-10-28T21:20:33.934453Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.17-0ubuntu2) starting as process 15633
2019-10-28T21:20:34.333031Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2019-10-28T21:20:34.342905Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.17-0ubuntu2'  socket: '/<<PKGBUILDDIR>>/mysql_db/mysql.sock'  port: 0  (Ubuntu).

If anybody has any idea how to fix that I am all ears...

@chrisleup
Copy link

chrisleup commented Oct 28, 2019 via email

@oerdnj
Copy link
Owner

oerdnj commented Oct 28, 2019

If you leave out the --socket declaration, it tries to create socket in a default location (and fails, because the directory doesn't exist in the sbuild chroot)...

@oerdnj
Copy link
Owner

oerdnj commented Oct 28, 2019

Also it's a "new" thing, it works pretty well for anything older and for MariaDB.

@oerdnj
Copy link
Owner

oerdnj commented Oct 28, 2019

Also the internal variables are correctly set:

# /usr/sbin/mysqld --no-defaults --skip-grant-tables --user=mysql --bind-address=127.0.0.1 --port=12345 --socket=/tmp/mysql/mysql.sock --datadir=/tmp/mysql/data --skip-mysqlx --verbose --help | grep -E "^(port|skip-networking|socket)[[:space:]]"
port                                                         12345
skip-networking                                              FALSE
socket                                                       /tmp/mysql/mysql.sock

but still

# /usr/sbin/mysqld --no-defaults --skip-grant-tables --user=mysql --bind-address=127.0.0.1 --port=12345 --socket=/tmp/mysql/mysql.sock --datadir=/tmp/mysql/data --skip-mysqlx
2019-10-28T21:56:44.415778Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.17-0ubuntu2) starting as process 29528
2019-10-28T21:56:44.642859Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2019-10-28T21:56:44.643039Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/tmp' in the path is accessible to all OS users. Consider choosing a different directory.
2019-10-28T21:56:44.648983Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.17-0ubuntu2'  socket: '/tmp/mysql/mysql.sock'  port: 0  (Ubuntu).
2019-10-28T21:56:47.936768Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.17-0ubuntu2)  (Ubuntu).

@chrisleup
Copy link

hmm.. you get a bind-address shown in there if you include it in in your grep expression?
what about attempting bind-address 0.0.0.0 to see behavior?

@oerdnj
Copy link
Owner

oerdnj commented Oct 28, 2019

Good guesses, but no luck:

bind-address                                                 127.0.0.1
port                                                         12345
skip-networking                                              FALSE
socket                                                       /tmp/mysql/mysql.sock

and

# /usr/sbin/mysqld --no-defaults --skip-grant-tables --user=mysql --bind-address=0.0.0.0 --port=12345 --socket=/tmp/mysql/mysql.sock --datadir=/tmp/mysql/data --skip-mysqlx
2019-10-28T22:01:55.527738Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.17-0ubuntu2) starting as process 29598
2019-10-28T22:01:55.755514Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2019-10-28T22:01:55.755755Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/tmp' in the path is accessible to all OS users. Consider choosing a different directory.
2019-10-28T22:01:55.761830Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.17-0ubuntu2'  socket: '/tmp/mysql/mysql.sock'  port: 0  (Ubuntu).

It seems like a genuine bug in Ubuntu packages (or upstream).

@chrisleup
Copy link

chrisleup commented Oct 28, 2019 via email

@oerdnj
Copy link
Owner

oerdnj commented Oct 28, 2019

I already sent mail to Robie, let's wait what he responds.

Meanwhile, I disabled running the test suite when MySQL 8.0 is being used.

@chrisleup
Copy link

chrisleup commented Oct 28, 2019 via email

@oerdnj
Copy link
Owner

oerdnj commented Oct 28, 2019

Nevertheless, the packages have been built now, and I will slowly start plowing through extensions.

@chrisleup
Copy link

chrisleup commented Oct 29, 2019 via email

@oerdnj
Copy link
Owner

oerdnj commented Oct 30, 2019

It should be done. Also with exception of php-phalcon (that's missing PHP 7.4 support), all extensions have been rebuilt for Ubuntu 19.10.

@oerdnj oerdnj closed this as completed Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants