#44068: serf1: building error on OSX 10.4 Server (PPC) ------------------------------+--------------------- Reporter: macports-trac@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: tiger Port: serf1 | ------------------------------+--------------------- Comment (by macports-trac@…): Replying to [comment:2 blair@…]: Error seems to be connected with '''scons''': {{{ :info:build scons: `libserf-1.a' is up to date. :info:build MACOSX_DEPLOYMENT_TARGET=10.4 /opt/local/bin/gcc-apple-4.2 -o libserf-1.1.3.4.dylib ... ... :info:build scons: *** [libserf-1.1.3.4.dylib] File exists :info:build scons: building terminated because of errors. }}} This looks very similar to [https://trac.macports.org/ticket/40155]: {{{ scons: *** [libserf-1.3.0.0.dylib] Error 1 scons: building terminated because of errors. }}} With that ticket 40155 is a patch attachment to be installed by: {{{ cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/serf1/ sudo patch <~/Downloads/serf1-portfile-40155-possible-fix-for-all-osx- versions.diff }}} That patch still works on the Portfile, but the included patch for the python file SConstruct in ...work/serf-1.3.4 is rejected. That patch deleted two 'env.Append(LINKFLAGS='-Wl,...' lines that no longer exist in serf-1.3.4. It also inserted one new line: {{{ env['SHLIBVERSION']='${%d}.0.0' % (MINOR+1,) }}} After 1) port sync, 2) port clean serf1, 3) port install serf1, I manually patched this line into SConstruct. This did change the error message to: {{{ :info:build scons: *** [libserf-1.4.0.0.dylib] File exists :info:build scons: building terminated because of errors. }}} When I directly change to the version used in Ticket 40155: {{{ env['SHLIBVERSION']='3.0.0' }}} The result is: {{{ :info:build scons: *** [libserf-1.3.0.0.dylib] File exists :info:build scons: building terminated because of errors. }}} '''Strangely – none of these shared google libraries "libserf-1.x.x.x.dylib" actually "exist" in /opt/local/lib/.''' Axel -- Ticket URL: <https://trac.macports.org/ticket/44068#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X