Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152382 - media-sound/linuxsampler & media-libs/libgig CVS ebuilds
Summary: media-sound/linuxsampler & media-libs/libgig CVS ebuilds
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-10-22 08:50 UTC by Christian Schoenebeck
Modified: 2008-09-16 17:33 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,9.43 KB, text/plain)
2008-01-22 14:10 UTC, Alex J. Ivasyuv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schoenebeck 2006-10-22 08:50:10 UTC
You can find ebuilds for the latest CVS version of libgig and linuxsampler here:

    http://download.linuxsampler.org/packages/gentoo/

Might be interesting for some, since the latest tarball release of LS at least is quite old.
Comment 1 Pamplemousse Mk2 2007-08-15 09:00:03 UTC
Hello,
I have downloaded the ebuilds. At the emerge of Linuxsampler, I get this error at the end:

ACCESS DENIED  mkdir:     /var/lib/linuxsampler
mkdir: ne peut créer le répertoire `/var/lib/linuxsampler': Permission non accordée
make[2]: *** [install-data-local] Erreur 1
make[2]: quittant le répertoire « /var/tmp/portage/media-sound/linuxsampler-0.4.0/work/linuxsampler »
make[1]: *** [install-am] Erreur 2
make[1]: quittant le répertoire « /var/tmp/portage/media-sound/linuxsampler-0.4.0/work/linuxsampler »
make: *** [install-recursive] Erreur 1
 * 
 * ERROR: media-sound/linuxsampler-0.4.0 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_install
 *   ebuild.sh, line 1083:   Called qa_call 'src_install'
 *   ebuild.sh, line 44:   Called src_install
 *   linuxsampler-0.4.0.ebuild, line 61:   Called einstall
 *   ebuild.sh, line 633:   Called die
 * 
 * einstall failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/linuxsampler-0.4.0/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/portage/toan/'
 * 
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-media-sound_-_linuxsampler-0.4.0-1253.log"

mkdir:     /var/lib/linuxsampler
--------------------------------------------------------------------------------
Comment 2 Christian Schoenebeck 2007-08-24 20:10:26 UTC
I couldn't reproduce that. Could you try figuring out where in the ebuild that error occurs? Place debug messages or something.

BTW, is there a common gentoo policy for CVS ebuilds? I don't think it's good practice to keep those CVS ebuilds with the common release version scheme. Would something like:

libgig-cvs.ebuild

and then subsequently:

libgig-cvs-r1.ebuild
libgig-cvs-r2.ebuild
...

be OK? Or what would be the common name scheme for CVS ebuilds?
Comment 3 Christian Schoenebeck 2007-08-30 12:29:27 UTC
I think I just fixed the issue you reported, which occurs when you compile LS with instruments DB support.

I also addressed the mentioned versioning scheme (see readme.txt for details).

Please grab the updated ebuilds:
http://download.linuxsampler.org/packages/gentoo/
and try again!
Comment 4 Pamplemousse Mk2 2007-09-01 18:58:39 UTC
Yes, now it works. Thank a lot!!!
Comment 5 Alex J. Ivasyuv 2008-01-22 14:09:52 UTC
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for NPTL bug... yes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You seem to have a buggy PTHREAD library! LinuxSampler would
probably crash due to this. Please report us the system you are
using and/or file a bug report to the bug tracking system of
your distribution.
If you have a NPTL-enabled glibc AND it was compiled for TLS as
well, you can try to circumvent this problem for now by setting
the environment variable LD_ASSUME_KERNEL="2.4.1" , which
should cause this test to pass.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
configure: error: possibly NPTL glibc bug detected
Comment 6 Alex J. Ivasyuv 2008-01-22 14:10:48 UTC
Created attachment 141577 [details]
build.log
Comment 7 Christian Schoenebeck 2008-01-22 14:37:36 UTC
(In reply to comment #5)
> checking for NPTL bug... yes
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> You seem to have a buggy PTHREAD library! LinuxSampler would
> probably crash due to this. Please report us the system you are
> using and/or file a bug report to the bug tracking system of
> your distribution.
> If you have a NPTL-enabled glibc AND it was compiled for TLS as
> well, you can try to circumvent this problem for now by setting
> the environment variable LD_ASSUME_KERNEL="2.4.1" , which
> should cause this test to pass.
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> configure: error: possibly NPTL glibc bug detected

This is not a bug in LS, it's a bug in Gentoo's current "stable" gcc (4.1.2), precisely: in libgcc_s.so.1

See bug #194076 for the whole story and solution.
Comment 8 Alex J. Ivasyuv 2008-01-22 15:20:16 UTC
(In reply to comment #7)
> (In reply to comment #5)
> > checking for NPTL bug... yes
> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > You seem to have a buggy PTHREAD library! LinuxSampler would
> > probably crash due to this. Please report us the system you are
> > using and/or file a bug report to the bug tracking system of
> > your distribution.
> > If you have a NPTL-enabled glibc AND it was compiled for TLS as
> > well, you can try to circumvent this problem for now by setting
> > the environment variable LD_ASSUME_KERNEL="2.4.1" , which
> > should cause this test to pass.
> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > configure: error: possibly NPTL glibc bug detected
> 
> This is not a bug in LS, it's a bug in Gentoo's current "stable" gcc (4.1.2),
> precisely: in libgcc_s.so.1
> 
> See bug #194076 for the whole story and solution.
> 

Thanks, worked!
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-23 12:51:55 UTC
scm ebuilds in the repository are the exception for development purposes, but there is no point in it, when upstream releases regularly.