Package Details: payetools-rti 19.2.19220.1423-1

Git Clone URL: https://aur.archlinux.org/payetools-rti.git (read-only, click to copy)
Package Base: payetools-rti
Description: UK HMRC Basic PAYE Tools for Linux
Upstream URL: https://www.gov.uk/basic-paye-tools
Licenses: custom
Submitter: kubrick
Maintainer: kubrick
Last Packager: kubrick
Votes: 2
Popularity: 0.025734
First Submitted: 2016-05-19 11:41
Last Updated: 2019-10-10 14:32

Pinned Comments

kubrick commented on 2018-01-21 17:48

FYI, 17.4.17200.477-2 fixes an upstream security issue where a malicious user having access to /home/teamcity could preload libraries referenced in the RPATH of the binaries included in the upstream package. This new PKGBUILD removes the reference to the RPATH.

HOWEVER the problem is still not fixed for python libraries. I'll try to fix that in future releases

Latest Comments

1 2 Next › Last »

kubrick commented on 2019-08-28 19:27

@Haystack, thank you very much for your nice comment, I hope the package works well for you!

Haystack commented on 2019-08-28 18:20

Sorry for noise but I just wanted to say thanks so much for going to the effort of making a package for this! Things like this are what makes the AUR so incredible!

kubrick commented on 2019-05-02 19:08

Damn! I didn't think of doing this :D

Removing the file works just as well (as it will look in /usr/lib32/ too). Updating the PKGBUILD...

rossclarkartist commented on 2019-05-02 17:17

I have successfully managed to get PAYE RTI running by replacing

/opt/HMRC/basic-paye-tools/libm.so.6

with

/usr/lib32/libm.so.6

rossclarkartist commented on 2019-05-02 12:01

Experiencing the same problem here. Apologies if there are any formatting errors, I'll correct them when I get a chance. It's my first attempt using code blocks! If you need any more information let me know.

Thanks in advance.

Ross

When runnin the PAYE TOOLS

/opt/HMRC/basic-paye-tools/rti.linux

Will produce:

Traceback (most recent call last):
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/instance_manager.py", line 243, in be_the_instance
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/__init__.py", line 186, in start_common
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 52, in start_db
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 100, in db_has_unapplied_migrations
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/south/migration/base.py", line 31, in all_migrations
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 139, in get_apps
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 78, in _populate
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 99, in load_app
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/utils/importlib.py", line 40, in import_module
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/__init__.py", line 1, in <module>
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/employer.py", line 11, in <module>
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/__init__.py", line 1, in <module>
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/submission.py", line 13, in <module>
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/task_pool.py", line 2, in <module>
File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/tasks.py", line 2, in <module>
File "ExtensionLoader_lxml_etree.py", line 11, in <module>
ImportError: /opt/HMRC/basic-paye-tools/libm.so.6: version `GLIBC_2.29' not found (required by /usr/lib32/libicuuc.so.64)

Checking out my system. Pacman:

sudo pacman -Ss lib32-glibc

gives

core/lib32-glibc 2.29-1 [installed]
GNU C Library (32-bit)

Printing shared object dependencies for system's libm.so.6

sudo ldd -v /usr/lib32/libm.so.6

gives:

linux-gate.so.1 (0xf7f63000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf7c4e000)
/usr/lib/ld-linux.so.2 (0xf7f64000)

Version information:
/usr/lib32/libm.so.6:
    ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
    libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_PRIVATE) => /usr/lib32/libc.so.6        
/usr/lib32/libc.so.6:
    ld-linux.so.2 (GLIBC_2.3) => /usr/lib/ld-linux.so.2
    ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
    ld-linux.so.2 (GLIBC_2.1) => /usr/lib/ld-linux.so.2

Printing version information for basic-paye-tools libm.so.6

sudo ldd -v /opt/HMRC/basic-paye-tools/libm.so.6

gives:

/lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf7f03000)
linux-gate.so.1 (0xf7f02000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf7c8f000)

Version information:
/opt/HMRC/basic-paye-tools/libm.so.6:
    ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
    libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_PRIVATE) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
/usr/lib32/libc.so.6:    
    ld-linux.so.2 (GLIBC_2.3) => /usr/lib/ld-linux.so.2
    ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
    ld-linux.so.2 (GLIBC_2.1) => /usr/lib/ld-linux.so.2

Printing shared object dependencies for system's libicuuc.so.64

/usr/lib32/libicuuc.so.64

gives:

linux-gate.so.1 (0xf7f95000)
libicudata.so.64 => /usr/lib32/libicudata.so.64 (0xf630d000)
libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf62ec000)
libdl.so.2 => /usr/lib32/libdl.so.2 (0xf62e6000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf6162000)
libm.so.6 => /usr/lib32/libm.so.6 (0xf6096000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf6079000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf5e9d000)
/usr/lib/ld-linux.so.2 (0xf7f96000)

Version information:
/usr/lib32/libicuuc.so.64:
    libgcc_s.so.1 (GCC_3.0) => /usr/lib32/libgcc_s.so.1
    libdl.so.2 (GLIBC_2.0) => /usr/lib32/libdl.so.2
    libdl.so.2 (GLIBC_2.1) => /usr/lib32/libdl.so.2
    libm.so.6 (GLIBC_2.29) => /usr/lib32/libm.so.6
    libm.so.6 (GLIBC_2.0) => /usr/lib32/libm.so.6
    libc.so.6 (GLIBC_2.1) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.7) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.3.4) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
    libstdc++.so.6 (CXXABI_1.3.8) => /usr/lib32/libstdc++.so.6
    libstdc++.so.6 (CXXABI_1.3.2) => /usr/lib32/libstdc++.so.6
    libstdc++.so.6 (GLIBCXX_3.4.11) => /usr/lib32/libstdc++.so.6
    libstdc++.so.6 (CXXABI_1.3) => /usr/lib32/libstdc++.so.6
    libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib32/libstdc++.so.6
    libpthread.so.0 (GLIBC_2.0) => /usr/lib32/libpthread.so.0
/usr/lib32/libpthread.so.0:
    ld-linux.so.2 (GLIBC_2.1) => /usr/lib/ld-linux.so.2
    ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
    libc.so.6 (GLIBC_2.7) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.3.2) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.1) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.2) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_PRIVATE) => /usr/lib32/libc.so.6
/usr/lib32/libdl.so.2:
    ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
    libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_PRIVATE) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.1) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
/usr/lib32/libstdc++.so.6:
    libm.so.6 (GLIBC_2.0) => /usr/lib32/libm.so.6
    ld-linux.so.2 (GLIBC_2.3) => /usr/lib/ld-linux.so.2
    libgcc_s.so.1 (GCC_4.2.0) => /usr/lib32/libgcc_s.so.1
    libgcc_s.so.1 (GLIBC_2.0) => /usr/lib32/libgcc_s.so.1
    libgcc_s.so.1 (GCC_3.3) => /usr/lib32/libgcc_s.so.1
    libgcc_s.so.1 (GCC_3.0) => /usr/lib32/libgcc_s.so.1
    libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.18) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.16) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.1) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.3) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.17) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.3.2) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.2) => /usr/lib32/libc.so.6
/usr/lib32/libm.so.6:
    ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
    libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.4) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_PRIVATE) => /usr/lib32/libc.so.6
/usr/lib32/libgcc_s.so.1:
    libc.so.6 (GLIBC_2.2.4) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.1.3) => /usr/lib32/libc.so.6
    libc.so.6 (GLIBC_2.0) => /usr/lib32/libc.so.6
/usr/lib32/libc.so.6:
    ld-linux.so.2 (GLIBC_2.3) => /usr/lib/ld-linux.so.2
    ld-linux.so.2 (GLIBC_PRIVATE) => /usr/lib/ld-linux.so.2
    ld-linux.so.2 (GLIBC_2.1) => /usr/lib/ld-linux.so.2

tlvince commented on 2019-04-30 18:20

Thanks!

kubrick commented on 2019-04-29 15:12

hello @tlvince. I can reproduce the issue and it is probably due to the recent upgrade of lib32-glibc (2.28-6 -> 2.29-1).

I will see if I can do something about this...

tlvince commented on 2019-04-28 10:17

rti-19.x doesn't want to launch for me. First it complains about missing libxml2:

Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: Traceback (most recent call last):
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/instance_manager.py", line 243, in be_the_instance
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/__init__.py", line 186, in start_common
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 52, in start_db
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 100, in db_has_unapplied_migrations
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/south/migration/base.py", line 31, in all_migrations
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 139, in get_apps
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 78, in _populate
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 99, in load_app
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/utils/importlib.py", line 40, in import_module
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/__init__.py", line 1, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/employer.py", line 11, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/__init__.py", line 1, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/submission.py", line 13, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/task_pool.py", line 2, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/tasks.py", line 2, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "ExtensionLoader_lxml_etree.py", line 11, in <module>
Apr 28 11:15:39 arch Basic PAYE Tools - Assistive.desktop[7599]: ImportError: libxml2.so.2: cannot open shared object file: No such file or directory

pacman -S lib32-libxml2 solves that, but then it complains about glibc:

Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: Traceback (most recent call last):
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/instance_manager.py", line 243, in be_the_instance
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/__init__.py", line 186, in start_common
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 52, in start_db
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django_offline/startuphelpers.py", line 100, in db_has_unapplied_migrations
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/south/migration/base.py", line 31, in all_migrations
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 139, in get_apps
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 78, in _populate
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/db/models/loading.py", line 99, in load_app
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/django/utils/importlib.py", line 40, in import_module
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/__init__.py", line 1, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bpt_shared/models/employer.py", line 11, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/__init__.py", line 1, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/helpers/submission.py", line 13, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/task_pool.py", line 2, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "/home/teamcity/BuildAgent/work/2a7266086ca77170/src-copy/bptrti_submission/tasks.py", line 2, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]:   File "ExtensionLoader_lxml_etree.py", line 11, in <module>
Apr 28 11:13:45 arch Basic PAYE Tools - Assistive.desktop[7599]: ImportError: /opt/HMRC/basic-paye-tools/libm.so.6: version `GLIBC_2.29' not found (required by /usr/lib32/libicuuc.so.64)

That's already installed:

❯ pacman -Ss lib32-glibc
core/lib32-glibc 2.29-1 [installed]
    GNU C Library (32-bit)

Any ideas?

kubrick commented on 2018-04-08 16:00

No, I haven't found a way to contact them other than by phone on their helpline, and I've got a feeling this is going to be very time consuming...

tlvince commented on 2018-04-08 13:33

Thanks! NB, have you reported the RPATH issue?