[MacPorts] #35173: Gource 0.38 compilation fails
MacPorts
noreply at macports.org
Thu Jul 12 05:24:58 PDT 2012
#35173: Gource 0.38 compilation fails
----------------------------------------------------+-----------------------
Reporter: work@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: gource compilation boost filesystem v3 | Port: gource
----------------------------------------------------+-----------------------
When trying to install gource it fails on logmill.cpp:
{{{
:info:build mv -f $depbase.Tpo $depbase.Po
:info:build src/logmill.cpp: In member function ‘RCommitLog*
RLogMill::fetchLog(std::string&)’:
:info:build src/logmill.cpp:179: error: expected type-specifier
:info:build src/logmill.cpp:179: error: expected unqualified-id before
‘::’ token
:info:build src/logmill.cpp:179: error: expected `)' before ‘::’ token
:info:build src/logmill.cpp:179: error: expected `{' before ‘::’ token
:info:build src/logmill.cpp:179: error: ‘::filesystem_error’ has not been
declared
:info:build src/logmill.cpp:179: error: expected `;' before ‘)’ token
:info:build make: *** [src/logmill.o] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gource/gource/work/gource-0.38'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gource/gource/work/gource-0.38"
&& /usr/bin/make -j2 -w all
:info:build Exit code: 2
:error:build org.macports.build for port gource returned: command
execution failed
:debug:build Error code: CHILDSTATUS 16642 2
:debug:build Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
}}}
When I patch logmill.cpp compilation works:
{{{
bash-3.2# diff logmill.cpp.orig logmill.cpp
179c179
< } catch(boost::filesystem3::filesystem_error& error) {
---
> } catch(boost::filesystem::filesystem_error& error) {
bash-3.2#
}}}
I am no C developer, but I assume this is causing issues because
[http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/release_history.html
as of Boost 1.46.0 filesystem 3 is default] and the latest version of
boost in macports is 1.50.0?
{{{
boost @1.50.0 (devel)
Collection of portable C++ source libraries
}}}
--
Ticket URL: <https://trac.macports.org/ticket/35173>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list