ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Problems with Requires of libglade.


From: Stuart Hughes
Subject: Re: [Ltib] Problems with Requires of libglade.
Date: Fri, 16 Oct 2009 14:13:37 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Rogerio,

As long as it doesn't seem to cause too other packages to be updated like a "plate of spaghetti", I think we can upgrade libglade.

Please send the patch and I'll run it through the autobuilder.

Regards, Stuart

Rogério de Souza Moraes wrote:
Hi Stuart,

we are trying to install woosh web-browser in ltib and it requires webkit that requires libglade >= 2.6.4. We are keeping and testing a version of ltib here with your requirements, so if you think that it will not be a big deal to update libglade I can send you the patch else there is no problem for us here.

Regards, Rogerio

2009/10/15 Stuart Hughes <address@hidden <mailto:address@hidden>>

    Hi Rogerio,

    Why was the reason for the upgrade to 2.6.4.  My concern is that
    upgrading package X usually indirectly causes others to need
    updates, so I'm cautious.

    A patch would be nice.


    Regards, Stuart

    Rogério de Souza Moraes wrote:

        Hi Stuart,

        here we had to update the libglade to version 2.6.4. In this
        version, the libglade have do a gtktest that calls the
        "/usr/bin/python". To solve this I just need to put
        --disable-gtktest in configure parameter. If I think there is no
        problem to update libglake in ltib, I can send you the patch and
        the source to do that.

        Thanks for helping me again!

        Regards, Rogerio

        2009/10/15 Stuart Hughes <address@hidden <mailto:address@hidden>
        <mailto:address@hidden <mailto:address@hidden>>>


           Hi Rogerio,

           This normally happens if there is some utility or script
        included in
           the package payload that has #!/usr/bin/python in it at the
        start.
            Often you can just drop the offending script from the
        package (as
           they're normally not that important).  However it depends
        what it is.

           To find the offending file, unpack the rpm or otherwise have the
           package payload blownout (could use -m scinstall).  Then run (all
           one line):

           for i in `find path_to_package_files/ -type f` ; do echo $i ;
        echo
           $i | /opt/ltib/usr/lib/rpm/find-requires ; done

           This should list the files and the dependencies they pull in,
        from
           there  you should be able to determine the file and then if not
           essential, remove from the payload (put an rm -f
        ..../file_name into
           the %Install section after the 'make install').

           Regards, Stuart


           Rogério de Souza Moraes wrote:

               Hi folks,

               When I try to compile the package libglade in ltib I face the
               following problem:

               sudo /opt/ltib/usr/bin/rpm --root
               /work/ltib/ltib_2009-10-14_git/rootfs --dbpath
        /var/lib/rpm -e
               --allmatches --nodeps --noscripts --define '_tmppath
        /tmp/ltib'
               libglade 2>/dev/null
               sudo /opt/ltib/usr/bin/rpm --root
               /work/ltib/ltib_2009-10-14_git/rootfs --dbpath /var/lib/rpm
               --prefix / --ignorearch -ivh --force --excludedocs
        --noscripts
               --define '_tmppath /tmp/ltib'
/work/ltib/ltib_2009-10-14_git/rpm/RPMS/arm/libglade-2.6.4-1.arm.rpm
               error: failed dependencies:
                  /usr/bin/python   is needed by libglade-2.6.4-1


               Appears that somehow the "/usr/bin/python" is included in
        RPM. I
               executed to command bellow to confirm this.


               rpm -qpR
/work/ltib/ltib_2009-10-14_git/rpm/RPMS/arm/libglade-2.6.4-1.arm.rpm
               rpmlib(PayloadFilesHavePrefix) <= 4.0-1
               rpmlib(CompressedFileNames) <= 3.0.4-1
               /usr/bin/python libc.so.6(GLIBC_2.4)


               I checked inside the spec and the requires is empty.

               If I build this package following the steps:

               ./ltib -p libglade -m prep
               ./ltib -p libglade -m scbuild
               ./ltib -p libglade -m scdeploy

               The package doesn't get the (/usr/bin/python) require.
        Someone
               already faced it?

               Regards, Rogerio


------------------------------------------------------------------------

               _______________________________________________
               LTIB home page: http://ltib.org

               Ltib mailing list
               address@hidden <mailto:address@hidden>
        <mailto:address@hidden <mailto:address@hidden>>

               http://lists.nongnu.org/mailman/listinfo/ltib







reply via email to

[Prev in Thread] Current Thread [Next in Thread]