Git Product home page Git Product logo

Comments (20)

remicollet avatar remicollet commented on May 29, 2024

Same problem for fedora package.

from phpcas.

remicollet avatar remicollet commented on May 29, 2024

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.

jfritschi avatar jfritschi commented on May 29, 2024

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.

jfritschi avatar jfritschi commented on May 29, 2024

I have updated to wiki so that people are at least aware of the issue.

from phpcas.

jfritschi avatar jfritschi commented on May 29, 2024

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.

herringm avatar herringm commented on May 29, 2024

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.

jfritschi avatar jfritschi commented on May 29, 2024

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.

herringm avatar herringm commented on May 29, 2024

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.

jfritschi avatar jfritschi commented on May 29, 2024

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.

remicollet avatar remicollet commented on May 29, 2024

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.

jfritschi avatar jfritschi commented on May 29, 2024

@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.

jfritschi avatar jfritschi commented on May 29, 2024

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.

herringm avatar herringm commented on May 29, 2024

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.

jfritschi avatar jfritschi commented on May 29, 2024

@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.

herringm avatar herringm commented on May 29, 2024

@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.

jfritschi avatar jfritschi commented on May 29, 2024

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.

tomnatt avatar tomnatt commented on May 29, 2024

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.

laughingbovine avatar laughingbovine commented on May 29, 2024

Can you guys please tag the PEAR-compatible version? Thanks.

from phpcas.

jfritschi avatar jfritschi commented on May 29, 2024

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.

jfritschi avatar jfritschi commented on May 29, 2024

The new release is out.

from phpcas.

Related Issues (20)

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.