-
Notifications
You must be signed in to change notification settings - Fork 483
update packages deps for latest debian and ubuntus #861
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
Conversation
There is already an open pull request for this. But this could replace or enhance PR #857 |
noting that PR #857 is in a failing state perhaps it is doing to much - this patch and PR #862 are all that i need to do to get it to build and travis is happy with both of them as individual patches the only problem i had was while using it issue #860 - maybe there is something in PR #857 to help with that |
oh also i needed to manually add the apache config to /etc/apache2/sites-available/but i was not not sure if this was a bug or intended behavior |
Intended behavior, but this will be fixed by PR #859. Travis was nearly happy. Just had some problems with the docker container. Nice contributions, but why do all the work a second time? Next time you should maybe check the existing Pull Requests first and help out there, instead of starting from zero. |
indeed i was too impatient tho i wanted to get this working today - the red "do not merge" label indicates i would have had to wait if not do it myself - also it is good to see that the dev team is responsive - thanks this was my second attempt actually - the day before i had first gotten it to build on parabola which is an archlinux derrivative but then i hit a PHP error running the post install script - i could send a PR with what i have so far if you are interested in supporting archlinux variants |
Sure why not. Contributions are welcome The pull request actually works on debian 9. There is just one error with the docker container, which actually runs with debian 8.8. So unrelated problem to debian stable. The label reads "do not merge yet". Stands for soon to be merged PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think breaking the php conf script is serious (because of the hard reference there to php5), because it is default executed by the package installation.
Would you mind to check with the
https://github.com/fossology/fossology/blob/master/install/scripts/php-conf-fix.sh
?
35f10ca
to
9d12a88
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No tests are executed for PHP 7.0. That's why travis actually doesn't fail with the PHPUnit tests.
so you want a switch something like this in install/scripts/php-conf-fix.sh ?
|
* debian stretch,buster,sid * ubuntu yakkety,zesty,artful
9d12a88
to
800b685
Compare
i may be in a bit over my head at this point - 'php5' is hard-coded in many places and PR #857 has not touched on any of these yet so it looks like there is much more work to complete debian9 support again to be clear tho - my install on debian9 includes only the changes currently in this patch and it seems to be working fully (though i am not familiar with all of the features) the following files contain the literal text 'php5':
this is the complete listing:
|
the single commit in this PR is now merged into #857 which is marked as "approved" so this one can probably be closed |
now contained in #857 |
the explicit requirement of PHP5 cause build to fail on debian 9 which has PHP7
this PR addis the appropriate package for debian 'stretch' and ubuntu 'yakkety','zesty', and 'artful' - although this was not tested on ubuntu the package names were gathered from the following URLs:
the additional 'php-xml' package was needed when bulding on debian 9
it should be noted that, instead of this PR, the entire debian/ubuntu sections could probably be greatly simplified to resemble the other distro sections by requiring only these meta packages - i.e. these would probably work for any release:
note that 'libapache2-mod-php7.0' is be omitted in this PR because it is required by 'php7.0'