Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143236 - PLATFORM Environment
Summary: PLATFORM Environment
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-08 12:00 UTC by Daniel Glaser
Modified: 2006-08-08 12:56 UTC (History)
0 users

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 Daniel Glaser 2006-08-08 12:00:21 UTC
After installing the Xilinx (http://www.xilinx.com) Web-Pack (a free Programmable Logic Development Environment from worlds FPGA leader, which is unfortunately not included in Gentoo), I had strange Problems with emerging some Packages (Latest problem: qt-4.1.4). Always the Path to mkspecs was not correctly. The last few emerges I solved this problem by simply editing the ebuild and setting the PLATFORM manually to "linux-g++" (instead of lin as it was while encountering this error). Now, after tracing back the reason, why this is happening, I found that /etc/env.d/99Webpack was the source of this setting. Because there is no other env.d-file on my system that uses this variable, the value of this should be generated in the ebuild itself, that it won't be hurt by non-Gentoo packages.

The error can be traced back by setting PLATFORM="lin" in a temporary file in env.d or setting it by export (?)
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-08-08 12:13:03 UTC
not quite sure what this is about, but doesn't seem to be portage related.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-08 12:14:58 UTC
No idea what installs /etc/env.d/99Webpack... 
Comment 3 Daniel Glaser 2006-08-08 12:17:07 UTC
(In reply to comment #2)
> No idea what installs /etc/env.d/99Webpack... 
For sure the Xilinx WebPack I described above...

Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-08 12:19:38 UTC
Well, in that case I fail to see why are you filing a bug; it's not in the tree at all.
Comment 5 Daniel Glaser 2006-08-08 12:56:31 UTC
(In reply to comment #4)
> Well, in that case I fail to see why are you filing a bug; it's not in the tree
> at all.

It's because no package I know uses this Environment-Variable and it is never set. But the qt-Installation reacts on it, if it is set. This is a strange behavior in my eyes. And I think, the Xilinx-WebPack is used by many people in the near future. (When it get's available in Gentoo)