Comments (20)
Same problem for fedora package.
from phpcas.
Quickly generated package.xml (to be able to update the fedora packages)
http://pkgs.fedoraproject.org/gitweb/?p=php-pear-CAS.git;a=blob_plain;f=package.xml;hb=HEAD
from phpcas.
Thanks for reporting the issue. The pear file was somehow dropped during the restructuring.
@remicollet: Your package has one thing wrong as far as i could determine on a quick look. The license was changed to the apache license v 2.0 with the 1.3.0 release.
I will fix the package.xml for the next release.
from phpcas.
I have updated to wiki so that people are at least aware of the issue.
from phpcas.
I have commited a fix.
Can someone please verify that it works a designed. A quick ant clean
and ant dist
should generate a full package in utils\tmp that is ready for install via pear.
from phpcas.
The package still does not contain the package.xml file although it is now being generated and can be found in the utils/tmp directory. Below are the steps I used to generate the package:
$ ant clean
Buildfile: build.xml
clean:
[delete] Deleting directory /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp
BUILD SUCCESSFUL
Total time: 0 seconds
$ ant dist
Buildfile: build.xml
dist:
[mkdir] Created dir: /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp/CAS-1.3.0
[copy] Copying 41 files to /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp/CAS-1.3.0
[copy] Copying 1 file to /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp/CAS-1.3.0
[copy] Copying 1 file to /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp/CAS-1.3.0
[copy] Copying 1 file to /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp/CAS-1.3.0
[mkdir] Created dir: /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp/CAS-1.3.0/docs
[copy] Copying 25 files to /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp/CAS-1.3.0/docs
[copy] Copied 2 empty directories to 1 empty directory under /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp/CAS-1.3.0/docs
[copy] Copying 3 files to /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp/CAS-1.3.0/docs
[echo] checking for doxygen...
[echo] write Doxygen configuration file...
[copy] Copying 1 file to /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp
[echo] writing API documentation...
[doxygen] Version check complete
[doxygen] Created Config file
[tar] Building tar: /home/herringm/Jasig-phpCAS-0d9b1a4/utils/dist/docs-1.3.0.tgz
[delete] Deleting directory /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp/CAS-1.3.0/docs/api
[echo] write makepackage.php file...
[copy] Copying 1 file to /home/herringm/Jasig-phpCAS-0d9b1a4/utils/tmp
[echo] checking for php...
[echo] building the PEAR package.xml file...
[tar] Building tar: /home/herringm/Jasig-phpCAS-0d9b1a4/utils/dist/CAS-1.3.0.tgz
BUILD SUCCESSFUL
Total time: 5 seconds
$ pear install dist/CAS-1.3.0.tgz
Could not get contents of package "/home/herringm/Jasig-phpCAS-0d9b1a4/utils/dist/CAS-1.3.0.tgz". Invalid tgz file.
install failed
from phpcas.
Can you please confirm that the tgz is not corrupt? At least the pear message suggests a corrupt tgz file.
On my workstation it works every time and i can't reproduce your problem. Can you run ant in debug mode and find out what is going wrong in your build?
from phpcas.
Well the .tgz is not corrupt and does infact contain the package.xml file. It would appear the that package.xml is not being generated properly for my environment because if I move the package.xml file down one level into the CAS-1.3.0 folder and generate a new CAS-1.3.0.tgz file I can successfully install it via pear.
from phpcas.
Very strange. I simpy can't reproduce on my end and the package works fine for me.
@remicollet : Is this patch working for you?
from phpcas.
Sorry for the long response delay.
After creating a build.properties, with
doxygen.path=/usr/bin/doxygen
php.path=/usr/bin/php
After installing "PEAR_PackageFileManager2" (version 1.0.2)
After running
ant -f utils/build.xml clean
ant -f utils/build.xml dist
The resulting utils/dist/CAS-1.3.0.tgz is usable.
Only 1 minor issue detected : LICENSE, NOTICE and README.md files should be tagged as "doc", not as "data".
from phpcas.
@remicollet Sorry, for the undocumented build procedure. Your comments gave me some reason to documented this properly. The build procedurec isn't very complicated if your give people a few hints...
Also thanks for the further feadback. I will fix the outstanding issues.
from phpcas.
Ok everything fixed.
@herringm If you have any clue what might be the problem i'm happy to investigate further. But with Remis feedback i currently assume that the package works as designed and it's a local issue of some sort that i can't track down remotely. I will wait for your response and will close this isssue if we don't have more info.
from phpcas.
Joachim,
Attached is the package.xml that I generated. Can you diff it to yours?
-Michael
On Wed, Apr 11, 2012 at 12:22 PM, Joachim Fritschi <
[email protected]
wrote:
Ok everything fixed.
@herringm If you have any clue what might be the problem i'm happy to
investigate further. But with Remis feedback i currently assume that the
package works as designed and it's a local issue of some sort that i can't
track down remotely. I will wait for your response and will close this
isssue if we don't have more info.
Reply to this email directly or view it on GitHub:
#30 (comment)
Michael Herring
Information Technology Services
Web Developer
Denison University
740-587-6360
[email protected]
from phpcas.
@herringm I don't see any attached file. I guess github does not support attaching files via mail. Please send it via mail to me personally ([email protected]) and i will have a look.
from phpcas.
@jfritschi Thanks for the your time and help diffing the package.xml files and providing your generated CAS-1.3.0.tgz file. Your CAS package successful installs in my environment while the one I generated does not. Given that the diff of our package.xml is nearly identical and your package works I'm going to say this issue is closed and that there is some gremlin in my build environment that still needs sorted.
Thanks for restoring PEAR support.
from phpcas.
Ok, closing the issue then. We can always reopen if you find more clues and trace it back to phpcas.
@ALL: Thanks for all the feedback in this issue.
from phpcas.
Has this change been fully released? Can we now install via the pear interface as normal? As far as I can see, current hasn't been rebuilt for over a month so cannot include the changes from 8 days ago.
from phpcas.
Can you guys please tag the PEAR-compatible version? Thanks.
from phpcas.
I will tag and package a release a new version as soon as i have confirmation that the other outstanding issues are properly fixed.
from phpcas.
The new release is out.
from phpcas.
Related Issues (20)
- handleLogoutRequest and config file HOT 10
- Autoloader calls die(), causes problems with Rector HOT 1
- PHP 8 redirect issue HOT 4
- Notice PHP : Variable is undefined
- phpunit tests broken in github actions HOT 2
- phpCAS::getAttributes gives me an empty array HOT 7
- No ability to disable displaying errors directly into the response. HOT 2
- Differentiate ErrorException from GracefullTerminationException HOT 1
- deprecation warning in php 8.1.2 HOT 2
- time for new release? HOT 3
- Is there a way to use phpCAS within a Symfony API REST? HOT 1
- Endless Loop, ticket not found HOT 5
- Autoload.php should not emit a composer-preferred warning HOT 3
- Version 1.6.0 is a breaking upgrade and is not compatible with older versions HOT 7
- jasig/phpcas package should be abandoned in favor of apereo/phpcas HOT 9
- login with 1.6.0 wrong redirection HOT 2
- Non-empty $_SESSION array disrupts page caching techniques
- DOMDocument::loadXML(): Argument #1 ($source) must not be empty HOT 2
- phpCAS relies on curl being available HOT 1
- Alternate URL for logout requests HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpcas.