[Mageia-dev] schroot build problem with new libboost

2011-06-28 Thread philippe makowski
Hi,

can someone help me to solve the build problem here :
http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20110628070637.philippem.valstar.17988/

what is strange is that Fedora 16 build is ok with same libboost
version as our in Cauldron

thanks


Re: [Mageia-dev] schroot build problem with new libboost

2011-06-28 Thread Funda Wang
quote
/usr/bin/ld: cannot find -lboost_program_options
/quote

That is the problem here, it is looking for libboost_program_options,
but we only have libboost_program_options-mt.

2011/6/28 philippe makowski makowski.mag...@gmail.com:
 Hi,

 can someone help me to solve the build problem here :
 http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20110628070637.philippem.valstar.17988/

 what is strange is that Fedora 16 build is ok with same libboost
 version as our in Cauldron

 thanks



Re: [Mageia-dev] schroot build problem with new libboost

2011-06-28 Thread David W. Hodgins

On Tue, 28 Jun 2011 03:23:30 -0400, Funda Wang fundaw...@gmail.com wrote:


quote
/usr/bin/ld: cannot find -lboost_program_options
/quote

That is the problem here, it is looking for libboost_program_options,
but we only have libboost_program_options-mt.

2011/6/28 philippe makowski makowski.mag...@gmail.com:

Hi,

can someone help me to solve the build problem here :
http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20110628070637.philippem.valstar.17988/

what is strange is that Fedora 16 build is ok with same libboost
version as our in Cauldron

thanks

configure:8603: x86_64-mageia-linux-gnu-gcc -E  conftest.c
conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory

When debugging make errors, I always look at the first error, which seems
to be
configure:8603: x86_64-mageia-linux-gnu-gcc -E  conftest.c
conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory

urpmf conftest.c
libwxgtku2.8-devel:/usr/share/doc/libwxgtku2.8-devel/samples/config/conftest.cpp
libwxgtk2.8-devel:/usr/share/doc/libwxgtk2.8-devel/samples/config/conftest.cpp

Regards, Dave Hodgins


Re: [Mageia-dev] schroot build problem with new libboost

2011-06-28 Thread philippe makowski
2011/6/28 Funda Wang fundaw...@gmail.com:
 quote
 /usr/bin/ld: cannot find -lboost_program_options
 /quote

 That is the problem here, it is looking for libboost_program_options,
 but we only have libboost_program_options-mt.

and why ?
under mga1 we have libboost_program_options.so.1.44.0
and under Cauldron libboost_program_options-mt.so.1.46.1

why not libboost_program_options.so.1.46.1 ?

Fedora have both , why don't we have both ?

how to solve this ? (sorry it is out of my skills)


Re: [Mageia-dev] schroot build problem with new libboost

2011-06-28 Thread Ahmad Samir
On 28 June 2011 11:13, philippe makowski makowski.mag...@gmail.com wrote:
 2011/6/28 Funda Wang fundaw...@gmail.com:
 quote
 /usr/bin/ld: cannot find -lboost_program_options
 /quote

 That is the problem here, it is looking for libboost_program_options,
 but we only have libboost_program_options-mt.

 and why ?
 under mga1 we have libboost_program_options.so.1.44.0
 and under Cauldron libboost_program_options-mt.so.1.46.1

 why not libboost_program_options.so.1.46.1 ?

 Fedora have both , why don't we have both ?


[...]

 how to solve this ? (sorry it is out of my skills)


For some reason that particular configure check
(boost::program_options::validation_error) doesn't check
multi-threaded libboost_program_options-mt.so, the other ones do.

I've committed a fix, hopefully it'll work.

-- 
Ahmad Samir


Re: [Mageia-dev] schroot build problem with new libboost

2011-06-28 Thread philippe makowski
2011/6/28 Ahmad Samir ahmadsamir3...@gmail.com:
 I've committed a fix, hopefully it'll work.

thanks


[Mageia-dev] schroot

2011-04-22 Thread philippe makowski
Hi,

I packaged schroot, because I find it very useful
(for the Firebird project, all our snapshots builds are done with it,
and with lvm snapshots we have a clean env for running tests)

I took the Fedora package as a starter, but it need some debugging to
be fully integrated to Mageia
so if someone want to co maintain it with me, your are welcome

about schroot :
http://wiki.debian.org/RichardDarst/Schroot
man schroot
and exemple of use with lvm snapshots :
http://www.pseudorandom.co.uk/2007/sbuild/