xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #399


Ignore:
Timestamp:
08/01/13 15:31:29 (8 years ago)
Author:
Antoine Martin
Comment:

The chcon warnings are related to SELinux:

chcon -t texrel_shlib_t %{python_sitelib}/xpra/x264/codec.so
chcon -t texrel_shlib_t %{python_sitelib}/xpra/vpx/codec.so

Can you please try running these two commands to see what the exact problem is? I've just tried it on CentOS 6.4 and didn't get any such errors during installation. (you will need to replace python_sitelib with your arch specific location)


The other two come from these two lines in the spec file:

update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

No idea why that causes problems, those were suggested as being required for proper packaging (see Packaging Scriptlet Snippets)... But since I was getting those same errors on CentOS 6.4, I have now removed this crap from the non-Fedora packaging as of r4039. (this will be part of 0.10.0 - I may backport if there is another 0.9.x release)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #399

    • Property Owner changed from Antoine Martin to Mark Hills
  • Ticket #399 – Description

    initial v1  
    11The following error when installing the CentOS 6.3 package.
    22
    3 - 0.9.x affected
    4 - 0.8.8 not affected
     3* 0.9.x affected
     4* 0.8.8 not affected
    55
    66The message varies slightly in newer 0.9.x packages.
    77
    8 Note that my test is on Scientific Linux 6.3 (a clone of RedHat 6.3 and CentOS 6.3).
    9 I tested multiple machines with the same result. I'm afraid I don't have an actual CentOS 6.3 available to test.
     8Note that my test is on Scientific Linux 6.3 (a clone of {{{RedHat}}} 6.3 and {{{CentOS}}} 6.3).
     9I tested multiple machines with the same result. I'm afraid I don't have an actual {{{CentOS}}} 6.3 available to test.
    1010
    1111The same error happens on upgrade, as well as install (below)
     
    1414
    1515---
    16 
     16{{{
    1717$ sudo rpm -ivh xpra-0.9.8-1.el6_3.x86_64.rpm
    1818warning: xpra-0.9.8-1.el6_3.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID f18ad6bb: NOKEY
     
    2424/var/tmp/rpm-tmp.UmKUdN: line 5: fg: no job control
    2525warning: %post(xpra-0.9.8-1.el6_3.x86_64) scriptlet failed, exit status 1
     26}}}
     27---
    2628
    27 -----
    28 
     29{{{
    2930$ rpm -qf /usr/lib/python2.6/site-packages/xpra/x264/codec.so
    3031xpra-0.9.8-1.el6_3.x86_64
     32}}}
     33---
    3134
    32 ------
    33 
     35{{{
    3436$ sudo rpm -e xpra
    3537$ sudo rpm -ivh xpra-0.9.0-25.el6.x86_64.rpm
     
    4042chcon: can't apply partial context to unlabeled file `/usr/lib/python2.6/site-packages/xpra/vpx/codec.so'
    4143warning: %post(xpra-0.9.0-25.el6.x86_64) scriptlet failed, exit status 1
     44}}}
    4245
    43 -------
     46---
    4447
     48{{{
    4549$ sudo rpm -e xpra
    4650$ sudo rpm -ivh xpra-0.8.8-1.el6.x86_64.rpm
     
    4852Preparing...                ########################################### [100%]
    4953   1:xpra                   ########################################### [100%]
     54}}}
    5055
    51 -----
     56---
    5257
     58{{{
    5359$ cat /etc/redhat-release
    5460Scientific Linux release 6.3 (Carbon)
    55 
     61}}}