Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642138 - net-print/cndrvcups{,-common}-lb: unsymlink-lib impossible conversion due to lib{c3pl,cnlbcm}.so
Summary: net-print/cndrvcups{,-common}-lb: unsymlink-lib impossible conversion due to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
 
Reported: 2017-12-24 11:47 UTC by pva
Modified: 2019-06-06 17:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pva 2017-12-24 11:47:03 UTC
During attempt to switch on 17.1 profiles with 'SYMLINK_LIB=no' enabled I've run `unsymlink-lib --analyze` and it reported following problem:

One or more files are both in /usr/lib/&/usr/lib32/, making the conversion impossible.

	libc3pl.so
	libcnlbcm.so

These symlinks are created by this packages:
     net-print/cndrvcups-lb (/usr/lib/libcnlbcm.so)
     net-print/cndrvcups-common-lb (/usr/lib/libc3pl.so)

Inside ebuild there is explanation:
    #cndrvcups-lb-3.40.ebuild:
    # c3pldrv dlopens the absolute path /usr/lib/libcnlbcm.so :(
    if [[ "$(get_libdir)" != lib ]]; then
        dosym "../$(get_libdir)/libcnlbcm.so" /usr/lib/libcnlbcm.so
    fi
and same comment in cndrvcups-common-lb-3.40.ebuild. But is this still an issue? There is no reference for cnlbcm in c3pldrv (`readelf -a /usr/libexec/cups/filter/c3pldrv | grep cnlbcm`). How to reproduce this problem?
Comment 1 Pacho Ramos gentoo-dev 2018-09-15 11:56:14 UTC
[master 5965aba667df] net-print/cndrvcups-lb: Try to not create symlinks, bug #642138
 1 file changed, 109 insertions(+)
 create mode 100644 net-print/cndrvcups-lb/cndrvcups-lb-3.50-r1.ebuild
[master 59a9d97c1e9c] net-print/cndrvcups-common-lb: Try to not create symlinks, bug #642138
 1 file changed, 115 insertions(+)
 create mode 100644 net-print/cndrvcups-common-lb/cndrvcups-common-lb-3.50-r1.ebuild


We will try to skip the links... for now it seems to still work... but we will keep this opened a bit more to allow people to test it further
Comment 2 Karl Hakimian 2018-12-04 14:56:44 UTC
After the removal of those links, printing stopped working for me. When I manually added the link back (to the 32bit libraries the way it was on my system before the upgrade), printing started working again.

This is still true with version 3.60
Comment 3 Pacho Ramos gentoo-dev 2018-12-04 18:49:54 UTC
Maybe one option would be to install all in /usr/lib/
Comment 4 Larry the Git Cow gentoo-dev 2019-02-24 09:11:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb0c0677f53fceb50c8f74ce58895f9beebb3e5f

commit cb0c0677f53fceb50c8f74ce58895f9beebb3e5f
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2019-02-24 09:10:46 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2019-02-24 09:10:46 +0000

    net-print/cndrvcups-lb: Symlink is needed when SYMLINK_LIB=yes
    
    Closes: https://bugs.gentoo.org/642138
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 net-print/cndrvcups-lb/cndrvcups-lb-3.60-r2.ebuild | 112 +++++++++++++++++++++
 1 file changed, 112 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baf528a35f29ed085bf52f317c2379229d6fde7f

commit baf528a35f29ed085bf52f317c2379229d6fde7f
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2019-02-24 09:10:02 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2019-02-24 09:10:02 +0000

    net-print/cndrvcups-common-lb: Symlink is needed when SYMLINK_LIB=yes
    
    Closes: https://bugs.gentoo.org/642138
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../cndrvcups-common-lb-3.60-r1.ebuild             | 115 +++++++++++++++++++++
 1 file changed, 115 insertions(+)