Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401703 - dev-lang/gdl-0.9.2 installs library of procedures into /usr/var/tmp/portage
Summary: dev-lang/gdl-0.9.2 installs library of procedures into /usr/var/tmp/portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-31 21:44 UTC by Joe Sapp (RETIRED)
Modified: 2012-02-02 11:26 UTC (History)
2 users (show)

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


Attachments
patch against gdl-0.9.2.ebuild (gdl-0.9.2-fix.patch,569 bytes, patch)
2012-02-01 06:17 UTC, Ben Kohler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Sapp (RETIRED) gentoo-dev 2012-01-31 21:44:10 UTC
It seems that dev-lang/gdl-0.9.2 installs its library of procedures into /usr/var/tmp/portage/....  It seems to be misplaced; according to GDL_PATH, these belong in /usr/share/gdl/pro (which does not exist on my machine).

$ equery f gdl
 * Searching for gdl ...
 * Contents of dev-lang/gdl-0.9.2:
/etc
/etc/env.d
/etc/env.d/50gdl
/usr
/usr/bin
/usr/bin/gdl
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/gdl.1.bz2
/usr/var
/usr/var/tmp
/usr/var/tmp/portage
/usr/var/tmp/portage/dev-lang
/usr/var/tmp/portage/dev-lang/gdl-0.9.2
/usr/var/tmp/portage/dev-lang/gdl-0.9.2/work
/usr/var/tmp/portage/dev-lang/gdl-0.9.2/work/gdl-0.9.2_build
/usr/var/tmp/portage/dev-lang/gdl-0.9.2/work/gdl-0.9.2_build/share
/usr/var/tmp/portage/dev-lang/gdl-0.9.2/work/gdl-0.9.2_build/share/gdl
/usr/var/tmp/portage/dev-lang/gdl-0.9.2/work/gdl-0.9.2_build/share/gdl/pro
/usr/var/tmp/portage/dev-lang/gdl-0.9.2/work/gdl-0.9.2_build/share/gdl/pro/gdl
/usr/var/tmp/portage/dev-lang/gdl-0.9.2/work/gdl-0.9.2_build/share/gdl/pro/gdl/lib
/usr/var/tmp/portage/dev-lang/gdl-0.9.2/work/gdl-0.9.2_build/share/gdl/pro/gdl/lib/README.txt
/usr/var/tmp/portage/dev-lang/gdl-0.9.2/work/gdl-0.9.2_build/share/gdl/pro/gdl/lib/STATUS
/usr/var/tmp/portage/dev-lang/gdl-0.9.2/work/gdl-0.9.2_build/share/gdl/pro/gdl/lib/appleman.pro
...

Reproducible: Didn't try




Let me know if you really need my emerge --info.  I don't immediately see the error in the ebuild.
Comment 1 Ben Kohler gentoo-dev 2012-02-01 05:24:40 UTC
GDL_DATA_DIR isn't being set like it should be, can't tell why right away.  But I can see that @ configure time it's
${GDL_DATA_DIR} = /var/tmp/portage/dev-lang/gdl-0.9.2/work/gdl-0.9.2_build/share/gdl/pro/gdl
rather than 
${GDL_DATA_DIR} = share/gdl/pro/gdl
Comment 2 Ben Kohler gentoo-dev 2012-02-01 06:17:36 UTC
Created attachment 300587 [details, diff]
patch against gdl-0.9.2.ebuild

For the life of me, I can't see why it's not respecting -DGDL_DATA_DIR which we set in src_configure.  This patch just manually sets the variable in src/CMakeLists.txt but it does fix the install paths that are broken.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2012-02-01 17:50:08 UTC
fixed. thanks.
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-02-02 11:26:14 UTC
*gdl-0.9.2-r1 (01 Feb 2012)

  01 Feb 2012; Sébastien Fabbro <bicatali@gentoo.org> +gdl-0.9.2-r1.ebuild:
  Added a test for openmp, install pro routines in default directory
  (/usr/shared/gnudatalanguage/lib), bug #401703 thanks Ben Kohler, and force
  libX11 dependency since it does not compile without