Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 688098

Summary: app-pda/jpilot plugins stopped working after switch to 17.1 profile
Product: Gentoo Linux Reporter: Roman 'gryf' Dobosz <gryf_esm>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    

Description Roman 'gryf' Dobosz 2019-06-15 10:46:15 UTC
After switch to 17.1 profile, jpilot stop to load its plugins (there are three of them in jpilot distribution: time sync, expense and keyring).

Reproducible: Always

Steps to Reproduce:
1. emerge jpilot
2. run it
Actual Results:  
No plugins menu available (there is no plugins in expected /usr/lib directory)
Executing "qlist jpilot|grep plugins" gives:

/usr/lib64/jpilot/plugins/libsynctime.so                                                                                                                                                                    
/usr/lib64/jpilot/plugins/libexpense.so                                                                                                                                                                     
/usr/lib64/jpilot/plugins/libkeyring.so

Expected Results:  
Available plugins.

There is assumption in Jpilot sources, that {prefix}/lib/jpilot/plugins is used for plugins searching in Linux distributions. Lucky for us, Irix have three type of binaries and uses 3 different locations for them. Those three locations are supported in Jpilot, so for amd64 architecture, it is easy as set ABILIB environment variable to 'lib64' before configuring and compiling Jpilot. So inthe ebuild it might be set by replacing src_configure with:

src_configure() {
	if use amd64; then
		export ABILIB="lib64"
	fi
	econf $(use_enable nls)
}

Probably, for other 64 architectures it might applied.

I know, I could do this by setting appropriate script and entry in /etc/portage/package.env, but I think ebuild should just work.
Comment 1 Larry the Git Cow gentoo-dev 2019-12-15 08:06:08 UTC
The bug has been closed via the following commit(s):

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

commit 43db9092c5257ce252ff8fcbce7a1a0c112fbe58
Author:     gryf <gryf73@gmail.com>
AuthorDate: 2019-12-15 08:01:17 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-12-15 08:05:58 +0000

    app-pda/jpilot: Fix paths with plugins on newest profile.
    
    Closes: https://bugs.gentoo.org/688098
    Signed-off-by: Roman Dobosz <gryf73@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-pda/jpilot/jpilot-1.8.2-r1.ebuild | 50 +++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)