On 11/01 11:03, David Haller wrote:
> Hello Meino,
> 
> On Wed, 01 Nov 2017, tu...@posteo.de wrote:
> [..]
> >But it seems, that I am doing something wrong with the local
> >overlay...
> 
> I assumed you already have one. If not, drop this into your
> /etc/portage/repos.conf/ directory as e.g. local.conf:
> 
> ==== /etc/portage/repos.conf/local.conf ====
> [local]
> location = /usr/local/portage
> masters = gentoo
> auto-sync = no
> priority = 99
> ====
> 
> Or, if you have a _FILE_ /etc/portage/repos.conf, add the above
> snippet as a new section in there.
> 
> And create /usr/local/portage.
> 
> >I copied (as root)
> >
> >cp -a /usr/portage/media-gfx/structur-synth /usr/local/portage/media-gfx/.
> 
> Did you create /usr/local/portage/media-gfx/ before?
> 
> Clean up /usr/local/portage/media-gfx first, then use:
> 
> # mkdir -p /usr/local/portage/media-gfx/
> # cp -va /usr/portage/media-gfx/structure-synth \
>     /usr/local/portage/media-gfx/
> 
> Depending on your umask, you might need to make stuff explicitly
> readable for or owned by the user "portage" (usually).
> 
> # chown -cR portage.portage /usr/local/portage/
> 
> Anyway, this should get you a structure like:
> 
> /usr/local/portage/media-gfx/structure-synth/
> /usr/local/portage/media-gfx/structure-synth/metadata.xml
> /usr/local/portage/media-gfx/structure-synth/structure-synth-1.5.0.ebuild
> /usr/local/portage/media-gfx/structure-synth/Manifest
> 
> Then:
> 
> # mkdir /usr/local/portage/media-gfx/structure-synth/files
> 
> drop my '.patch' into that ./files/ dir, drop my -r1.ebuild into
> /usr/local/portage/media-gfx/structure-synth/
> 
> and run:
> 
> # pushd /usr/local/portage/media-gfx/structure-synth/
> # repoman -v manifest
> # popd
> 
> (I forgot that step in my first mail)
> 
> It should look like this then:
> 
> /usr/local/portage/media-gfx/structure-synth/
> /usr/local/portage/media-gfx/structure-synth/structure-synth-1.5.0.ebuild
> /usr/local/portage/media-gfx/structure-synth/structure-synth-1.5.0-r1.ebuild
> /usr/local/portage/media-gfx/structure-synth/files
> /usr/local/portage/media-gfx/structure-synth/files/structure-synth-1.5.0-gl.patch
> /usr/local/portage/media-gfx/structure-synth/metadata.xml
> /usr/local/portage/media-gfx/structure-synth/Manifest
> 
> (actually, you could prune the structure-synth-1.5.0.ebuild file,
> update the manifest again if you do).
> 
> >then
> >
> >eix structure-synth
> >
> >* media-gfx/structure-synth
> >     Available versions:  (~)1.5.0
> >     Homepage:            http://structuresynth.sourceforge.net/
> >     Description:         A program to generate 3D structures by specifying 
> > a design grammar
> >
> >so no *-r1 version visible.
> 
> Did you run 'eix-update'??? *nudge* *nudge*
> 
> Anyway: even without eix-update and eix not showing stuff,
> 
> # emerge --pretend --nodeps media-gfx/structure-synth
> 
> should show that it'd build media-gfx/structure-synth-1.5.0-r1::local
> 
> (unless I forgot something about initializing a local overlay, it's
> been a while).
> 
> >layman -l does not show up structure-synth
> 
> That lists overlays. Not packages inside them.
> 
> >Then I tried different permutations of "media-gfx" (w/o) and
> >structur-synth in combination with layman -a in desperation ;)
> >no success
> 
> layman and your local overlay have nothing to do with each other. 
> layman is "just" a tool to easily add/remove "external" public
> overlays. And eix-layman to add/remove them to/from your local
> 'eix'-DB and what is considered "local" ('eix' vs. 'eix -R').
> 
> [..]
> >So I think, that the layman engine is working correctly so far.
> >But the driver behind the steering wheels needs some instructions it
> >seems.... ;)
> >Where can I get my license?
> 
> In the handbook, IIRC :) I did read that about a local overlay in the
> official docs somewhere (and my local overlay is over 100 pkgs ;)
> 
> PS: I wonder how that ebuild got into the portage-tree ... Maybe some
> weird configs present or absent in the qt4/qmake stuff about opengl...
> 
> I found that 'QMAKE_LIBS_OPENGL="-lGL"' thingy I added (with the
> missing '-lGLU') to the ebuild in the qmake config files in
> /usr/share/qt4/... I hate qmake (and just about every other build
> system[1]).
> 
> Ask, if stuff is still unclear. And read up a bit again on overlays
> and layman ;)
> 
> HTH,
> -dnh
> 
> [1] had a problem recently with some stuff using scons. Needed
>     'strace' to find why it did not pick up some header or lib.
>     *gah* As bad as the autotools or plain Makefiles may be, they're
>     at least transparent and easy to grep around in and _local_ to
>     the package.
> 
> -- 
>   Thank God I'm an atheist.
> 

Hello David,

OH MAN!

Thanks a lot for the extensive help, SIR! :)

Ok, it works now...and it doesn't...

The repository was found and compilation had started with the
*-r1 version of the wonderful beast.
(are you in 3D-printing, David?...?)

BUT:
* Failed Patch: structure-synth-1.5.0-gl.patch !
 *  ( 
/var/tmp/portage/media-gfx/structure-synth-1.5.0-r1/files/structure-synth-1.5.0-gl.patch
 )
 * 
 * Include in your bugreport the contents of:
 * 
 *   
/var/tmp/portage/media-gfx/structure-synth-1.5.0-r1/temp/structure-synth-1.5.0-gl.patch.out

 * ERROR: media-gfx/structure-synth-1.5.0-r1::local failed (prepare phase):
 *   Failed Patch: structure-synth-1.5.0-gl.patch!
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_prepare
 *   environment, line 2247:  Called epatch 
'/var/tmp/portage/media-gfx/structure-synth-1.5.0-r1/files/structure-synth-1.5.0-gl.patch'
 *   environment, line  847:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 

The patch itself was found (so the local thing works fine) and failed.

The *.patch.out is attached to the email and after looking into it I
think you will find the problem a hundred years faster than me since
you created it. It seems some files are not where they are supposed to
be. There is a glitch in the matrix...they have changed something...I
see Schroedingers cat twice.

Ah! By the way: According to quantum physics the cite at the bottom of
you previous email is wrong :
"WANTED: Schroedingers Cat, dead or alive."
must be
"WANTED: Schroedingers Cat, dead and alive."
Heisenberg would not accept this kind of uncertainty -- in
principle... 
;)


Cheers
Meino
***** structure-synth-1.5.0-gl.patch *****
PWD: /var/tmp/portage/media-gfx/structure-synth-1.5.0-r1/work/Structure Synth 
Source Code
PATCH TOOL: patch -> /usr/bin/patch
VERSION INFO:
GNU patch 2.7.5
Copyright (C) 2003, 2009-2012 Free Software Foundation, Inc.
Copyright (C) 1988 Larry Wall

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Larry Wall and Paul Eggert

==========================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  --dry-run -f < 
'/var/tmp/portage/media-gfx/structure-synth-1.5.0-r1/files/structure-synth-1.5.0-gl.patch'

==========================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Raytracer/Sampler.h 
b/SyntopiaCore/GLEngine/Raytracer/Sampler.h
|--- a/SyntopiaCore/GLEngine/Raytracer/Sampler.h        2010-11-04 
20:02:46.000000000 +0100
|+++ b/SyntopiaCore/GLEngine/Raytracer/Sampler.h        2017-11-01 
04:42:46.320970684 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 
b/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp
|--- a/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 2010-09-08 
21:25:30.000000000 +0200
|+++ b/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 2017-11-01 
04:46:51.052969311 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 26
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Sphere.h 
b/SyntopiaCore/GLEngine/Sphere.h
|--- a/SyntopiaCore/GLEngine/Sphere.h   2010-08-11 15:12:22.000000000 +0200
|+++ b/SyntopiaCore/GLEngine/Sphere.h   2017-11-01 04:42:55.864970632 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
==========================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  --dry-run -f < 
'/var/tmp/portage/media-gfx/structure-synth-1.5.0-r1/files/structure-synth-1.5.0-gl.patch'

==========================================
checking file SyntopiaCore/GLEngine/Raytracer/Sampler.h
Hunk #1 FAILED at 1 (different line endings).
1 out of 1 hunk FAILED
checking file SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp
Hunk #1 FAILED at 122 (different line endings).
1 out of 1 hunk FAILED
checking file SyntopiaCore/GLEngine/Sphere.h
Hunk #1 FAILED at 1 (different line endings).
1 out of 1 hunk FAILED

patch program exited with status 1
==========================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  --dry-run -f < 
'/var/tmp/portage/media-gfx/structure-synth-1.5.0-r1/files/structure-synth-1.5.0-gl.patch'

==========================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Raytracer/Sampler.h 
b/SyntopiaCore/GLEngine/Raytracer/Sampler.h
|--- a/SyntopiaCore/GLEngine/Raytracer/Sampler.h        2010-11-04 
20:02:46.000000000 +0100
|+++ b/SyntopiaCore/GLEngine/Raytracer/Sampler.h        2017-11-01 
04:42:46.320970684 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 
b/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp
|--- a/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 2010-09-08 
21:25:30.000000000 +0200
|+++ b/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 2017-11-01 
04:46:51.052969311 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 26
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Sphere.h 
b/SyntopiaCore/GLEngine/Sphere.h
|--- a/SyntopiaCore/GLEngine/Sphere.h   2010-08-11 15:12:22.000000000 +0200
|+++ b/SyntopiaCore/GLEngine/Sphere.h   2017-11-01 04:42:55.864970632 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
==========================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  --dry-run -f < 
'/var/tmp/portage/media-gfx/structure-synth-1.5.0-r1/files/structure-synth-1.5.0-gl.patch'

==========================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Raytracer/Sampler.h 
b/SyntopiaCore/GLEngine/Raytracer/Sampler.h
|--- a/SyntopiaCore/GLEngine/Raytracer/Sampler.h        2010-11-04 
20:02:46.000000000 +0100
|+++ b/SyntopiaCore/GLEngine/Raytracer/Sampler.h        2017-11-01 
04:42:46.320970684 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 
b/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp
|--- a/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 2010-09-08 
21:25:30.000000000 +0200
|+++ b/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 2017-11-01 
04:46:51.052969311 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 26
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Sphere.h 
b/SyntopiaCore/GLEngine/Sphere.h
|--- a/SyntopiaCore/GLEngine/Sphere.h   2010-08-11 15:12:22.000000000 +0200
|+++ b/SyntopiaCore/GLEngine/Sphere.h   2017-11-01 04:42:55.864970632 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
==========================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  --dry-run -f < 
'/var/tmp/portage/media-gfx/structure-synth-1.5.0-r1/files/structure-synth-1.5.0-gl.patch'

==========================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Raytracer/Sampler.h 
b/SyntopiaCore/GLEngine/Raytracer/Sampler.h
|--- a/SyntopiaCore/GLEngine/Raytracer/Sampler.h        2010-11-04 
20:02:46.000000000 +0100
|+++ b/SyntopiaCore/GLEngine/Raytracer/Sampler.h        2017-11-01 
04:42:46.320970684 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 
b/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp
|--- a/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 2010-09-08 
21:25:30.000000000 +0200
|+++ b/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp 2017-11-01 
04:46:51.052969311 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 26
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -x '*~' -purN a/SyntopiaCore/GLEngine/Sphere.h 
b/SyntopiaCore/GLEngine/Sphere.h
|--- a/SyntopiaCore/GLEngine/Sphere.h   2010-08-11 15:12:22.000000000 +0200
|+++ b/SyntopiaCore/GLEngine/Sphere.h   2017-11-01 04:42:55.864970632 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1

Reply via email to