[Bug 470696] Review Request: rubygem-passenger - Passenger Ruby on Rails deployment system

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 11 08:30:20 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=470696





--- Comment #11 from Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp>  2008-11-11 03:30:18 EDT ---
(In reply to comment #9)
> Created an attachment (id=323134)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=323134) [details]
> output on a compile with attached diff (1)
> 
> Attach output from a rake -v when compiling against the system-wide provided
> boost-static libraries

You should link against libboost_thread-mt.so, not against static
archive libboost_thread-mt.a.
But anyway linkage fails by other reasons like
-----------------------------------------------------------------
ApplicationPoolServerExecutable.cpp:86: undefined reference to
`boost::this_thread::interruption_requested()'
-----------------------------------------------------------------
(and many errors). It seems that this is because Fedora ships boot 1.34
while these symbols are introduced on 1.36+.
So until Fedora upgrades boost we have to use internal boost.
In this case Fedora compilation flags must be treated correctly.
The following seems to fix this issue:
------------------------------------------------------------------
--- Rakefile.orig       2008-11-11 16:23:45.000000000 +0900
+++ Rakefile    2008-11-11 17:23:32.000000000 +0900
@@ -88,7 +88,7 @@

 subdir 'ext/boost/src' do
        file 'libboost_thread.a' => Dir['*.cpp'] + Dir['pthread/*.cpp'] do
-               flags = "#{OPTIMIZATION_FLAGS} -fPIC -I../.. #{THREADING_FLAGS}
-DNDEBUG #{MULTI_ARCH_FLAGS}"
+               flags = "#{OPTIMIZATION_FLAGS} #{APACHE2::CXXFLAGS} -fPIC
-I../.. #{THREADING_FLAGS} -DNDEBUG #{MULTI_ARCH_FLAGS}"
                compile_cxx "*.cpp", flags
                # NOTE: 'compile_cxx "pthread/*.cpp", flags' doesn't work on
some systems,
                # so we do this instead.
-------------------------------------------------------------------

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list