Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[geki-overlay] split build of boost.org libraries
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Lustmored
Apprentice
Apprentice


Joined: 28 May 2010
Posts: 206
Location: Poland

PostPosted: Mon Feb 07, 2011 8:01 pm    Post subject: Reply with quote

But paludis at least allows me to do anything with them. Thanks a lot :D
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Sun Feb 20, 2011 11:38 am    Post subject: Reply with quote

noone told me there was boost beta 1.46.0 ...
_________________
hear hear
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Sun Feb 20, 2011 8:10 pm    Post subject: Reply with quote

I am going to add patches for rb_libtorrent and qbittorrent soon :o

edit #1
not worthy of a new post: 1.46 bump
_________________
hear hear
Back to top
View user's profile Send private message
one_and_only
Apprentice
Apprentice


Joined: 13 May 2007
Posts: 250
Location: PL/Krakow

PostPosted: Tue Mar 15, 2011 1:45 am    Post subject: Reply with quote

Why symbolic links in /usr/lib64/boost-1_46 have *_1 at the end? I couldn't make add_boost_paths option work with such a symbolic link naming schema...
Back to top
View user's profile Send private message
h017ah
n00b
n00b


Joined: 18 Apr 2007
Posts: 46

PostPosted: Tue Mar 15, 2011 10:22 am    Post subject: Reply with quote

Yeah, I had the same problem as one_and_only too..

Geki, you should include your patched ebuilds at http://code.google.com/p/gekis-playground/downloads/list in your overlay :)
Just to mention it, I couldn't get rb_libtorrent to compile with 1.46.1 even with your patched ebuild and symlinks in /usr/lib64/boost-1_46 renamed. Compilation of the python bindings fails....

Edit: boost-thread 1.46.1 also leaves a dangling symlink in /usr/lib64/boost-1_46, it doesn't have a non -mt .so to link to...
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Tue Mar 15, 2011 6:17 pm    Post subject: Reply with quote

one_and_only and h017ah
thanks for reporting! fixed! though, you have to remerge the packages and may need to cleanup manually old files. i wonder why ... :/
_________________
hear hear
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Tue Jul 12, 2011 9:36 pm    Post subject: Reply with quote

yay, 1.47 has some structural changes. :o

let's see what else breaks!
_________________
hear hear
Back to top
View user's profile Send private message
Lustmored
Apprentice
Apprentice


Joined: 28 May 2010
Posts: 206
Location: Poland

PostPosted: Tue Jul 12, 2011 10:17 pm    Post subject: Reply with quote

Code:
>>> Starting src_prepare
 * Applying various patches (bugfixes/updates) ...
 *   00_skip-headers.diff ...                                            [ ok ]
 *   01_remove-toolset.diff ...

 * Failed Patch: 01_remove-toolset.diff !
 *  ( /var/tmp/paludis/dev-libs-boost-python-1.47.0/work/patches/01_remove-toolset.diff )


[EDIT] Found it fixed - thanks :)
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Wed Jul 13, 2011 2:10 pm    Post subject: Reply with quote

Lustmored
you are too fast. :P


btw, starting eclass/python EAPI 4 testing!

have fun! :twisted:
_________________
hear hear
Back to top
View user's profile Send private message
Lustmored
Apprentice
Apprentice


Joined: 28 May 2010
Posts: 206
Location: Poland

PostPosted: Wed Jul 13, 2011 7:39 pm    Post subject: Reply with quote

Doing my best ;)

What does it mean for the end user? Nothing changes or...?
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Wed Jul 13, 2011 9:10 pm    Post subject: Reply with quote

nothing should change.

though, python dependency or setup may be wrong ..?!
_________________
hear hear
Back to top
View user's profile Send private message
Lustmored
Apprentice
Apprentice


Joined: 28 May 2010
Posts: 206
Location: Poland

PostPosted: Thu Jul 14, 2011 9:00 am    Post subject: Reply with quote

Code:
dev-libs/boost-python-1.47.0:1.47::geki-overlay
    Description               boost.org python libraries for C++
    Homepage                  http://www.boost.org/
    Use flags                 
        USE                   
            -debug            Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
            -doc              Adds extra documentation (API, Javadoc, etc)
            -static           !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
            threads           Adds threads support for various packages. Usually pthreads
            (-test)           Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore
        Build Options         
            -optional_tests   Run tests considered by the package to be optional
            symbols=split     How to handle debug symbols in installed files
                              Permitted values:
                                  compress:  Split and compress debug symbols
                                  preserve:  Preserve debug symbols
                                  split:     Split debug symbols
                                  strip:     Strip debug symbols
            -trace            Trace actions executed by the package (very noisy, for debugging broken builds only)
            -preserve_work    Do not remove build directories, and do not modify the image when merging
    Build dependencies       
                              sys-libs/zlib
                              ~dev-libs/boost-headers-1.47.0
                              ~dev-util/boost-build-1.47.0
                              >=app-admin/eselect-python-20091230
                              || (
                                  =dev-lang/python-3.3*
                                  =dev-lang/python-3.2*
                                  =dev-lang/python-3.1*
                                  =dev-lang/python-2.7*
                                  =dev-lang/python-2.6*
                              )
    Run dependencies         
                              sys-libs/zlib
                              >=app-admin/eselect-python-20091230
                              || (
                                  =dev-lang/python-3.3*
                                  =dev-lang/python-3.2*
                                  =dev-lang/python-3.1*
                                  =dev-lang/python-2.7*
                                  =dev-lang/python-2.6*
                              )


Looks kinda normal :)
Back to top
View user's profile Send private message
h017ah
n00b
n00b


Joined: 18 Apr 2007
Posts: 46

PostPosted: Thu Jul 14, 2011 3:21 pm    Post subject: Reply with quote

Code:
ERROR: prepare
ERROR: dev-libs/boost-python-1.47.0 failed (prepare phase):
  python_pkg_setup() can be used only in pkg_setup() phase

Call stack:
    ebuild.sh, line   56:  Called src_prepare
  environment, line 5924:  Called python_pkg_setup
  environment, line 5560:  Called die
The specific snippet of code:
          die "${FUNCNAME}() can be used only in pkg_setup() phase";

If you need support, post the output of 'emerge --info =dev-libs/boost-python-1.47.0',
the complete build log and the output of 'emerge -pqv =dev-libs/boost-python-1.47.0'.
This ebuild used the following eclasses from overlays:
  /usr/portage/local/layman/python/eclass/python.eclass
This ebuild is from a repository named 'geki-overlay'

Using the python overlay too... The ebuild works if you put python_pkg_setup within pkg_setup { } ...

Geki, do you think you could be bothered to also have mkvtoolnix in your overlay? :)
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Thu Jul 14, 2011 3:42 pm    Post subject: Reply with quote

h017ah
how could I. :o

wrt mkvtoolnix, libtorrent-rasterbar and qbittorrent patching. anyone reliable may get access to maintain those.
_________________
hear hear
Back to top
View user's profile Send private message
h017ah
n00b
n00b


Joined: 18 Apr 2007
Posts: 46

PostPosted: Fri Jul 15, 2011 2:49 pm    Post subject: Reply with quote

Well, I probably can volunteer, but I'm not fit for fixing C/C++ source code myself though. I can manage compile-time options, ebuilds, implementing patches and other easy stuff.

Send me a pm if interested!
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Fri Jul 15, 2011 4:06 pm    Post subject: Reply with quote

h017ah
then it is not far to fix basic c/c++ errors. ;)
hmm, well, once you can decipher the error messages.
_________________
hear hear
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Tue Jul 26, 2011 1:02 pm    Post subject: Reply with quote

jfyi, split-boost is not quite splitted anymore starting with revision 1.47.0-r1. only locally by useflags. *yay*
FEATURES="test" need some love, though. anyone?! :o

edit #1
revision 192 should block old packages. boost-headers is kept.
_________________
hear hear
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Tue Jul 26, 2011 7:19 pm    Post subject: Reply with quote

I like the sound of that. ;)
Back to top
View user's profile Send private message
Lustmored
Apprentice
Apprentice


Joined: 28 May 2010
Posts: 206
Location: Poland

PostPosted: Thu Jul 28, 2011 9:27 am    Post subject: Reply with quote

Code:
>>> Starting src_compile
 * bjam-1_47 -j5 -q -d+2 gentoorelease threading=single,multi link=shared runtime-link=shared pch=off
        --user-config=/var/tmp/paludis/dev-libs-boost-1.47.0-r1/work/boost_1_47_0/user-config.jam
        --prefix=/var/tmp/paludis/dev-libs-boost-1.47.0-r1/image//usr
        --boost-build=/usr/share/boost-build-1_47
        --layout=versioned
        --with-date_time
        --with-filesystem
        --with-graph
        --with-program_options
        --with-python
        --with-regex
        --with-signals
        --with-thread
        --disable-icu
/var/tmp/paludis/dev-libs-boost-1.47.0-r1/work/boost_1_47_0/user-config.jam:7: syntax error at EOF
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
notice: could not find main target gentoorelease
notice: assuming it is a name of file to create.

Building the Boost C++ Libraries.


Performing configuration checks

    - has_icu builds           : no

Error:
  * In program cave --log-level warning perform install --hooks --managed-output --output-exclusivity with-others =dev-libs/boost-1.47.0-r1:1.47::geki-overlay --destination installed --replacing =dev-libs/boost-1.47.0:1.47::installed --x-of-y 1 of 13:
  * When installing 'dev-libs/boost-1.47.0-r1:1.47::geki-overlay' replacing { 'dev-libs/boost-1.47.0:1.47::installed' }:
  * When running an ebuild command on 'dev-libs/boost-1.47.0-r1:1.47::geki-overlay':
  * Install failed for 'dev-libs/boost-1.47.0-r1:1.47::geki-overlay' (paludis::ActionFailedError)

don't know how to make <e>gentoorelease

!!! ERROR in dev-libs/boost-1.47.0-r1::geki-overlay:
!!! In boost-monolithic_src_compile at line 1576
!!! build failed for options: pch=off --user-config=/var/tmp/paludis/dev-libs-boost-1.47.0-r1/work/boost_1_47_0/user-config.jam --prefix=/var/tmp/paludis/dev-libs-boost-1.47.0-r1/image//usr --boost-build=/usr/share/boost-build-1_47 --layout=versioned --with-date_time --with-filesystem --with-graph --with-program_options --with-python --with-regex --with-signals --with-thread --disable-icu

!!! Call stack:
!!!    * boost-monolithic_src_compile (/var/tmp/paludis/dev-libs-boost-1.47.0-r1/temp/loadsaveenv:1576)
!!!    * src_compile (/var/tmp/paludis/dev-libs-boost-1.47.0-r1/temp/loadsaveenv:7466)
!!!    * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:56)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:646)
!!!    * main (/usr/libexec/paludis/ebuild.bash:672)

diefunc: making ebuild PID 10484 exit with error
die trap: exiting with error.


With use flags:

Code:
u   dev-libs/boost:1.47::geki-overlay 1.47.0-r1 to ::installed replacing 1.47.0
    date_time -debug+ -doc+ filesystem graph -graph_parallel -icu+ -iostreams -math -mpi program_options python -random regex -serialization signals -static+ -system thread threads+ -tools+ -wave (-test) build_options: -optional_tests symbols=split -trace -preserve_work
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Thu Jul 28, 2011 3:05 pm    Post subject: Reply with quote

Lustmored
you may try revision 198. though, did not test. see:
http://code.google.com/p/gekis-playground/source/detail?r=198
_________________
hear hear
Back to top
View user's profile Send private message
Lustmored
Apprentice
Apprentice


Joined: 28 May 2010
Posts: 206
Location: Poland

PostPosted: Thu Jul 28, 2011 3:35 pm    Post subject: Reply with quote

No luck, but looks like earlier error:

Code:
>>> Starting src_compile
 * bjam-1_47 -j5 -q -d+2 gentoorelease threading=single,multi link=shared runtime-link=shared pch=off
        --user-config=/var/tmp/paludis/dev-libs-boost-1.47.0-r1/work/boost_1_47_0/user-config.jam
        --prefix=/var/tmp/paludis/dev-libs-boost-1.47.0-r1/image//usr
        --boost-build=/usr/share/boost-build-1_47
        --layout=versioned
        --with-date_time
        --with-filesystem
        --with-graph
        --with-program_options
        --with-python
        --with-regex
        --with-signals
        --with-thread
        --disable-icu
/var/tmp/paludis/dev-libs-boost-1.47.0-r1/work/boost_1_47_0/user-config.jam:7: in modules.load
rule
using unknown in module user-config.
/usr/share/boost-build-1_47/build-system.jam:257: in load-config
/usr/share/boost-build-1_47/build-system.jam:395: in load-configuration-files
/usr/share/boost-build-1_47/build-system.jam:555: in load
/usr/share/boost-build-1_47/kernel/modules.jam:283: in import
/usr/share/boost-build-1_47/kernel/bootstrap.jam:142: in boost-build
/var/tmp/paludis/dev-libs-boost-1.47.0-r1/work/boost_1_47_0/boost-build.jam:17: in module scope

!!! ERROR in dev-libs/boost-1.47.0-r1::geki-overlay:
!!! In boost-monolithic_src_compile at line 1571
!!! build failed for options: pch=off --user-config=/var/tmp/paludis/dev-libs-boost-1.47.0-r1/work/boost_1_47_0/user-config.jam --prefix=/var/tmp/paludis/dev-libs-boost-1.47.0-r1/image//usr --boost-build=/usr/share/boost-build-1_47 --layout=versioned --with-date_time --with-filesystem --with-graph --with-program_options --with-python --with-regex --with-signals --with-thread --disable-icu

!!! Call stack:
!!!    * boost-monolithic_src_compile (/var/tmp/paludis/dev-libs-boost-1.47.0-r1/temp/loadsaveenv:1571)
!!!    * src_compile (/var/tmp/paludis/dev-libs-boost-1.47.0-r1/temp/loadsaveenv:7460)
!!!    * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:56)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:646)
!!!    * main (/usr/libexec/paludis/ebuild.bash:672)

diefunc: making ebuild PID 8546 exit with error
die trap: exiting with error.

Error:
  * In program cave --log-level warning perform install --hooks --managed-output --output-exclusivity with-others =dev-libs/boost-1.47.0-r1:1.47::geki-overlay --destination installed --replacing =dev-libs/boost-1.47.0:1.47::installed --x-of-y 1 of 10:
  * When installing 'dev-libs/boost-1.47.0-r1:1.47::geki-overlay' replacing { 'dev-libs/boost-1.47.0:1.47::installed' }:
  * When running an ebuild command on 'dev-libs/boost-1.47.0-r1:1.47::geki-overlay':
  * Install failed for 'dev-libs/boost-1.47.0-r1:1.47::geki-overlay' (paludis::ActionFailedError)
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Thu Jul 28, 2011 4:37 pm    Post subject: Reply with quote

Lustmored
thank you for reporting. finally fixed with r199. :o
_________________
hear hear
Back to top
View user's profile Send private message
Lustmored
Apprentice
Apprentice


Joined: 28 May 2010
Posts: 206
Location: Poland

PostPosted: Thu Jul 28, 2011 5:17 pm    Post subject: Reply with quote

Fix confirmed :) I'm glad to help.

And again huge thanks for your fantastic work :D
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Sat Jul 30, 2011 11:18 am    Post subject: Reply with quote

JFYI, I am going to remove the split packages of the boost libraries.

if you want to move to boost monolithic update svn repository to revision 202!
_________________
hear hear
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Sat Jul 30, 2011 7:48 pm    Post subject: Reply with quote

So, eventually I will get to try your boost stuff. ;) Time to alter your first post? ;) Should we bring life to your boost bug and add ebuilds with boost use dependencies as blockers?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 5 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum