I'm running into an issue building QT4 on 10.9.5, the error stream is
below, but to me it looks like a sed issue, a missing '-e' flag before
the command


> # use openssl100 now
> sed -i "/\b\(system-openssl\)\b/d" configure-for-fink.sh
> sed: 1: "configure-for-fink.sh": command c expects \ followed by text

I thing that would work properly as
sed -i -e "/\b\(system-openssl\)\b/d" configure-for-fink.sh

Thanks
Aaron

Setting runtime build-lock...
dpkg-deb -b
/sw/src/fink.build/root-fink-buildlock-qt4-base-x11-4.7.3-139
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-qt4-base-x11-4.7.3-139' in
`/sw/src/fink.build/fink-buildlock-qt4-base-x11-4.7.3-139_2015.08.12-10.56.51_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-qt4-base-x11-4.7.3-139_2015.08.12-10.56.51_darwin-x86_64.deb
Selecting previously deselected package
fink-buildlock-qt4-base-x11-4.7.3-139.
(Reading database ... 69907 files and directories currently installed.)
Unpacking fink-buildlock-qt4-base-x11-4.7.3-139 (from
.../fink-buildlock-qt4-base-x11-4.7.3-139_2015.08.12-10.56.51_darwin-x86_64.deb)
...
Setting up fink-buildlock-qt4-base-x11-4.7.3-139 (2015.08.12-10.56.51) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.vLaXo
env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions
-xf /sw/src/qt-4.7.3-mac-0cc7b7e.tar.gz
sudo -u fink-bld [ENV] sh -c /tmp/fink.RXgCo
[ -r /sw/fink/dists/stable/main/finkinfo/libs/qt4-base-x11.patch ]
sudo -u fink-bld [ENV] sh -c /tmp/fink.r7qv6
sed -e 's,@FINKPREFIX@,/sw,g'
/sw/fink/dists/stable/main/finkinfo/libs/qt4-base-x11.patch | patch -p1
--fuzz=4
patching file mkspecs/darwin-g++/qmake.conf
patching file src/3rdparty/clucene/src/CLucene/StdHeader.h
patching file
src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp
patching file src/3rdparty/javascriptcore/JavaScriptCore/wtf/HashTable.h
patching file src/corelib/global/qglobal.h
patching file src/corelib/kernel/qcore_unix.cpp
patching file src/corelib/tools/qiterator.h
patching file src/declarative/util/qdeclarativefontloader.cpp
patching file src/gui/dialogs/qfontdialog_mac.mm
patching file src/gui/kernel/qcocoamenuloader_mac.mm
patching file src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
patching file src/gui/kernel/qcocoaview_mac.mm
patching file src/gui/kernel/qt_cocoa_helpers_mac.mm
patching file src/gui/kernel/qt_cocoa_helpers_mac_p.h
patching file src/gui/kernel/qwidget_mac.mm
patching file src/plugins/bearer/corewlan/qcorewlanengine.mm
patching file tools/assistant/tools/assistant/assistant.pro
patching file
tools/assistant/tools/qcollectiongenerator/qcollectiongenerator.pro
patching file tools/assistant/tools/qhelpgenerator/qhelpgenerator.pro
perl -pi -e 's,const char,char,g' config.tests/unix/*iconv/*.cpp
perl -pi -e 's,CFG_MAC_XARCH=auto,CFG_MAC_XARCH=no,g' configure
sudo -u fink-bld [ENV] sh -c /tmp/fink.znQRY
/tmp/fink.tQRJI
#!/bin/sh -ev

. /sw/sbin/fink-buildenv-helper.sh
# Copyright (c) 2015, Hanspeter Niederstrasser
# All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

# Usage:
# Source this script file within {Patch,Compile,Install,Test}Script in
# your .info file in order to set environment variables calculated for the
# buildtime system.
#
# These variables can then be used for patch token replacement or in
# shell conditionals, among other uses, without reinventing the wheel.
# Example 1: Provide the proper SDK location in a patch
#                        Patch any hardcoded SDK locations in the source
tree and replace
#                               with the string @SDK_PATH@.
#                        In PatchScript, replace the token with the
variable containing the
#                               SDK location, and apply the patch:
#                        sed "s|@SDK_PATH@|$SDK_PATH|g" < %{PatchFile} |
patch -p1
# Example 2: Use in a conditional to determine if a flag is needed
#                        if [ "$OSX_MAJOR_VERSION" >  "10.7" ]; then ...

set +v || :
--------------------
Common System Values
--------------------

  FINK_PREFIX:          /sw
  FINK_ARCH:            x86_64

System Determined Variables:

  DARWIN_MAJOR_VERSION:     13
  DARWIN_MINOR_VERSION:     4
  DARWIN_VERSION:           13.4
  MACOSX_DEPLOYMENT_TARGET: 10.9
  OSX_MAJOR_VERSION:        10.9
  OSX_VERSION:              10.9.5
  SDK_PATH:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
  SDK_VERSION :             10.9
  X11_BASE_DIR:             /opt/X11
  X11_INCLUDE_DIR:          /opt/X11/include
  X11_LIBRARY_DIR :         /opt/X11/lib
  XCODE_PREFIX:             /Applications/Xcode.app/Contents/Developer
  XCODE_VERSION:            6.2

# use openssl100 now
sed -i "/\b\(system-openssl\)\b/d" configure-for-fink.sh
sed: 1: "configure-for-fink.sh": command c expects \ followed by text
### execution of /tmp/fink.tQRJI failed, exit code 1
### execution of /tmp/fink.znQRY failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-qt4-base-x11-4.7.3-139
(Reading database ... 69908 files and directories currently installed.)
Removing fink-buildlock-qt4-base-x11-4.7.3-139 ...
Updating the list of locally available binary packages.
Scanning dists/stable/main/binary-darwin-x86_64
New package:
dists/stable/main/binary-darwin-x86_64/libs/libpcre1-shlibs_8.37-1_darwin-x86_64.deb
New package:
dists/stable/main/binary-darwin-x86_64/libs/libpcre1_8.37-1_darwin-x86_64.deb
New package:
dists/stable/main/binary-darwin-x86_64/libs/pcre-bin_8.37-1_darwin-x86_64.deb
Downloading the indexes of available packages in the binary distribution.
/sw/bin/apt-get-lockwait -q update
Hit http://bindist.finkmirrors.net stable/main Packages
Hit http://bindist.finkmirrors.net stable/main Release
Reading Package Lists...
Building Dependency Tree...
Failed: phase compiling: qt4-base-x11-4.7.3-139 failed

Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

        The Fink Users List <fink-users@lists.sourceforge.net>
        The Fink Beginners List <fink-beginn...@lists.sourceforge.net>,

with a carbon copy to the maintainer:

        Benjamin Reed <q...@fink.raccoonfink.com>

Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.38.6
Distribution version: selfupdate-rsync Tue Aug 11 15:29:40 2015, 10.9,
x86_64
Trees: local/main stable/main
Xcode.app: 6.2
Xcode command-line tools: 6.2.0.0.1.1424975374
Max. Fink build jobs:  6
-- 
_______________________________________________________
Aaron Macks(aar...@wiglaf.org) [http://www.wiglaf.org/~aaronm ]
My sheep has seven gall bladders, that makes me the King of the Universe!

------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to