Bug 207257

Summary: print/pecl-pdflib doesn't build with php70
Product: Ports & Packages Reporter: rainer
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Many People CC: maniactraq, mb, miwi, w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (ale)
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
build log from poudriere none

Description rainer 2016-02-16 21:07:55 UTC
Created attachment 167096 [details]
build log from poudriere

as a result, phpmyadmin doesn't get built.

poussiere build log attached
Comment 1 Matthias Breddin 2016-02-16 21:25:03 UTC
pdflib-lite-7 is broken for php7

"In general, we support PHP 4.3/4.4 – 5.1/5.2/5.3. See our PDFlib-in-PHP-HowTo document for more info about PHP and PDFlib." - 

from http://www.pdflib.com/download/pdflib-family/pdflib-7/


I don't think they'll update the old one to php7, since last version supported is 5.3


You'll need pfdlib-9 (commercial / paid)

"We support PHP 5.4-5.6 and 7.0 (not all versions are available on all platforms). See our PDFlib in PHP HowTo document for more info about PHP and PDFlib."

http://www.pdflib.com/download/pdflib-family/pdflib-9/
Comment 2 rainer 2016-02-16 21:33:32 UTC
OK, so I'll just have to disable the pdf option in phpmyadmin.
I wonder how linux distributions are going to deal with this.
I've certainly never exported a PDF from phpmyadmin in my entire life and I wonder if any of our customers has...
Comment 3 Matthias Breddin 2016-02-16 21:35:08 UTC
Is the pdf export option pre-selected? maybe that one should be defaulted to not enabled or marked broken with php7
Comment 4 rainer 2016-02-16 21:38:05 UTC
I think it's off anyway:
OPTIONS_DEFAULT=        BZ2 GD MCRYPT OPENSSL XML ZIP ZLIB

I've just enabled it at some point in the past, so I don't have to re-build and re-deploy the package on the remote chance that a customer needs it.
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2016-02-17 05:09:28 UTC
Hi,

We had a discussion here already https://github.com/miwi-fbsd/miwi-ports/issues/3 about this problem. Someone just need to try that and if it works we might have to figure out a way to build a port based on composer.

Martin
Comment 6 SBB 2016-08-29 21:48:20 UTC
I hope it's ok to comment here and forgive my ignorance but is there a way pdflib 9 (http://www.pdflib.com/download/pdflib-family/pdflib/) can be added to ports so that it can be used with other programs that require PDF but don't give the option to disable (IE joomla3). Or is it not that simple?
Comment 7 Walter Schwarzenfeld 2018-01-18 17:10:18 UTC
Is this still relevant?
Comment 8 rainer 2018-07-25 07:27:53 UTC
No, it can be closed.