Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201440 - rox-base/rox-clib - libtool file includes PORTAGE_TMPDIR path
Summary: rox-base/rox-clib - libtool file includes PORTAGE_TMPDIR path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-05 23:57 UTC by Rafał Mużyło
Modified: 2013-06-16 08:20 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 Rafał Mużyło 2007-12-05 23:57:10 UTC
In rox-base/rox-clib-2.1.9-r1 (but this bug is much older)
/usr/lib/ROX-CLib/Linux-ix86/lib/librox-clib.la has:
libdir='/var/tmp/portage/rox-base/rox-clib-2.1.9-r1/work/ROX-CLib/src/../Linux-ix86/lib'
It's an upstream bug:
build process uses ${shell pwd} to get build dir.
Comment 1 Jim Ramsay (lack) (RETIRED) gentoo-dev 2007-12-06 14:01:04 UTC
I see this, yes, but I'm not sure that it's actually a problem.  All rox apps that link against ROX-Clib should be calling:

  /usr/lib/ROX-CLib/AppRun --libs

Which properly sets '-L/usr/lib/ROX-CLib/Linux-ix86/lib', and all apps I know about that actually use this library do not exhibit any sign that they care.

In other words:
Are you seeing any actual effect of libdir being set incorrectly in the .la file?

Or better yet, do you know the proper way to fix it?  I don't know a lot about libtool.  I could manually run a 'sed' script on the file to fix the location, but I'm not sure if there's more to it than that.
Comment 2 Rafał Mużyło 2007-12-06 20:21:10 UTC
Well, not really, that's why I called it initially QA issue.
As far as I know it doe not affect anything, but is still incorrect.
I know only where does the problem come from.
In src/Makefile.in there's a line
ABS_PLATFORM_DIR = ${shell pwd}/${PLATFORM_DIR}
if I change that to
ABS_PLATFORM_DIR = /usr/lib/ROX-CLib/src/${PLATFORM_DIR}
problem is gone, but I'm x86, so it may not be correct for multilib.
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-01-18 13:50:07 UTC
I may try doing something about this, but it's not a high priority task, so marking it as such.
Comment 4 Pacho Ramos gentoo-dev 2013-06-04 20:20:36 UTC
Nothing requires this old lib that has dead upstream for ages and was already removed in a lot of distributions, I would treeclean it
Comment 5 Pacho Ramos gentoo-dev 2013-06-16 08:20:54 UTC
+  16 Jun 2013; Pacho Ramos <pacho@gentoo.org> rox-clib-2.1.10.ebuild:
+  Drop .la files and not try to install unexisting doc
+