printf ' ' | fink --no-use-binary-dist --yes --build-as-nobody rebuild sleepwatcher 2>&1 The package 'sleepwatcher' will be built without being installed. Reading build dependency for sleepwatcher-2.1.2-3... Reading dependency for sleepwatcher-2.1.2-3... Reading build conflict for sleepwatcher-2.1.2-3... The package 'daemonic' will be installed. Reading dependency for daemonic-20010902-4... Reading runtime dependency for daemonic-20010902-4... The package 'libxml2-bin' will be installed. Reading dependency for libxml2-bin-2.9.1-3... Reading runtime dependency for libxml2-bin-2.9.1-3... The package 'libxml2-shlibs' will be installed. Reading dependency for libxml2-shlibs-2.9.1-3... Reading runtime dependency for libxml2-shlibs-2.9.1-3... The package 'liblzma5-shlibs' will be installed. Reading dependency for liblzma5-shlibs-5.0.5-2... Reading runtime dependency for liblzma5-shlibs-5.0.5-2... The package 'readline6-shlibs' will be installed. Reading dependency for readline6-shlibs-6.3.6-1... Reading runtime dependency for readline6-shlibs-6.3.6-1... The following package will be rebuilt: sleepwatcher The following 5 additional packages will be installed: daemonic liblzma5-shlibs libxml2-bin libxml2-shlibs readline6-shlibs Do you want to continue? [Y/n] (assuming default) curl --connect-timeout 30 -f -L -A 'fink/0.37.0' -O http://distfiles.master.finkmirrors.net/distfiles/sleepwatcher_2.1.2.tgz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 43128 100 43128 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/utils/liblzma5-shlibs_5.0.5-2_darwin-x86_64.deb Selecting previously deselected package liblzma5-shlibs. (Reading database ... 4296 files and directories currently installed.) Unpacking liblzma5-shlibs (from .../liblzma5-shlibs_5.0.5-2_darwin-x86_64.deb) ... Setting up liblzma5-shlibs (5.0.5-2) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/readline6-shlibs_6.3.6-1_darwin-x86_64.deb Selecting previously deselected package readline6-shlibs. (Reading database ... 4307 files and directories currently installed.) Unpacking readline6-shlibs (from .../readline6-shlibs_6.3.6-1_darwin-x86_64.deb) ... Setting up readline6-shlibs (6.3.6-1) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/libxml2-bin_2.9.1-3_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/libxml2-shlibs_2.9.1-3_darwin-x86_64.deb Selecting previously deselected package libxml2-bin. (Reading database ... 4318 files and directories currently installed.) Unpacking libxml2-bin (from .../libxml2-bin_2.9.1-3_darwin-x86_64.deb) ... Selecting previously deselected package libxml2-shlibs. Unpacking libxml2-shlibs (from .../libxml2-shlibs_2.9.1-3_darwin-x86_64.deb) ... Setting up libxml2-shlibs (2.9.1-3) ... Setting up libxml2-bin (2.9.1-3) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/debs/daemonic_20010902-4_darwin-x86_64.deb Selecting previously deselected package daemonic. (Reading database ... 4335 files and directories currently installed.) Unpacking daemonic (from .../daemonic_20010902-4_darwin-x86_64.deb) ... Setting up daemonic (20010902-4) ... Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-sleepwatcher-2.1.2-3 /sw/build.build dpkg-deb: building package `fink-buildlock-sleepwatcher-2.1.2-3' in `/sw/build.build/fink-buildlock-sleepwatcher-2.1.2-3_2014.08.02-02.05.11_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-sleepwatcher-2.1.2-3_2014.08.02-02.05.11_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-sleepwatcher-2.1.2-3. (Reading database ... 4341 files and directories currently installed.) Unpacking fink-buildlock-sleepwatcher-2.1.2-3 (from .../fink-buildlock-sleepwatcher-2.1.2-3_2014.08.02-02.05.11_darwin-x86_64.deb) ... Setting up fink-buildlock-sleepwatcher-2.1.2-3 (2014.08.02-02.05.11) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.jNhh4 env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/sleepwatcher_2.1.2.tgz ./sleepwatcher_2.1.2/ ./sleepwatcher_2.1.2/._.DS_Store ./sleepwatcher_2.1.2/.DS_Store ./sleepwatcher_2.1.2/config/ ./sleepwatcher_2.1.2/ReadMe.rtf ./sleepwatcher_2.1.2/sleepwatcher ./sleepwatcher_2.1.2/sleepwatcher.8 ./sleepwatcher_2.1.2/sources/ ./sleepwatcher_2.1.2/sources/._.DS_Store ./sleepwatcher_2.1.2/sources/.DS_Store ./sleepwatcher_2.1.2/sources/Makefile ./sleepwatcher_2.1.2/sources/._sleepwatcher.c ./sleepwatcher_2.1.2/sources/sleepwatcher.c ./sleepwatcher_2.1.2/sources/sleepwatcher.xcodeproj/ ./sleepwatcher_2.1.2/sources/sleepwatcher.xcodeproj/bb.pbxuser ./sleepwatcher_2.1.2/sources/sleepwatcher.xcodeproj/bb.perspectivev3 ./sleepwatcher_2.1.2/sources/sleepwatcher.xcodeproj/project.pbxproj ./sleepwatcher_2.1.2/config/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist ./sleepwatcher_2.1.2/config/de.bernhard-baehr.sleepwatcher-20compatibility.plist ./sleepwatcher_2.1.2/config/rc.sleep ./sleepwatcher_2.1.2/config/rc.wakeup sudo -u fink-bld [ENV] sh -c /tmp/fink.WX6Qc [ -r /sw/fink/dists/stable/main/finkinfo/utils/sleepwatcher.patch ] sudo -u fink-bld [ENV] sh -c /tmp/fink.9kwCf /tmp/fink.dPoGf #!/bin/sh -ev case x86_64 in i386) ARCH=X86;; x86_64) ARCH=X86_64;; powerpc) ARCH=PPC;; *) echo "Architecture not recognized. Exiting" ; exit -1;; esac sed -e "s,@ARCH@,$ARCH," -e "s,@PREFIX@,/sw/build.build/root-sleepwatcher-2.1.2-3/sw," < /sw/fink/dists/stable/main/finkinfo/utils/sleepwatcher.patch | patch -p1 patching file sources/Makefile Hunk #1 succeeded at 9 (offset 1 line). patching file config/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist patching file config/de.bernhard-baehr.sleepwatcher-20compatibility.plist sudo -u fink-bld [ENV] sh -c /tmp/fink.vyWCu make -C sources sleepwatcher cc -O3 -prebind -mmacosx-version-min=10.7 -arch x86_64 -o sleepwatcher sleepwatcher.c -framework IOKit -framework CoreFoundation sleepwatcher.c:435:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*q++ = *p++) /* unmodified argument string */ ~~~~~^~~~~~ sleepwatcher.c:435:15: note: place parentheses around the assignment to silence this warning while (*q++ = *p++) /* unmodified argument string */ ^ ( ) sleepwatcher.c:435:15: note: use '==' to turn this assignment into an equality comparison while (*q++ = *p++) /* unmodified argument string */ ^ == sleepwatcher.c:440:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (op->has_arg == no_argument && buf[l] || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ~~ sleepwatcher.c:440:36: note: place parentheses around the '&&' expression to silence this warning if (op->has_arg == no_argument && buf[l] || ^ ( ) sleepwatcher.c:441:33: warning: '&&' within '||' [-Wlogical-op-parentheses] op->has_arg != no_argument && buf[l] != '=') ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ sleepwatcher.c:441:33: note: place parentheses around the '&&' expression to silence this warning op->has_arg != no_argument && buf[l] != '=') ^ ( ) sleepwatcher.c:864:7: warning: 'daemon' is deprecated: first deprecated in OS X 10.5 [-Wdeprecated-declarations] if (daemon(0, 0)) { ^ /usr/include/stdlib.h:267:6: note: 'daemon' declared here int daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_5, __IPHONE_2_0, __IPHONE_2_0); ^ 4 warnings generated. /bin/rm -rf /sw/build.build/root-sleepwatcher-2.1.2-3 /bin/mkdir -p /sw/build.build/root-sleepwatcher-2.1.2-3/sw /bin/mkdir -p /sw/build.build/root-sleepwatcher-2.1.2-3/DEBIAN /usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-sleepwatcher-2.1.2-3 sudo -u fink-bld [ENV] sh -c /tmp/fink.O4RPP make -C sources install mkdir -p /sw/build.build/root-sleepwatcher-2.1.2-3/sw/sbin install -m 755 sleepwatcher /sw/build.build/root-sleepwatcher-2.1.2-3/sw/sbin mkdir -p /sw/build.build/root-sleepwatcher-2.1.2-3/sw/share/man/man8 install -m 644 ../sleepwatcher.8 /sw/build.build/root-sleepwatcher-2.1.2-3/sw/share/man/man8 mkdir -p /sw/build.build/root-sleepwatcher-2.1.2-3/sw/etc install -m 755 config/rc.sleep /sw/build.build/root-sleepwatcher-2.1.2-3/sw/etc/ install -m 755 config/rc.wakeup /sw/build.build/root-sleepwatcher-2.1.2-3/sw/etc/ mkdir -p /sw/build.build/root-sleepwatcher-2.1.2-3/sw/opt/Library/LaunchDaemons install -m 644 config/de.bernhard-baehr.sleepwatcher* /sw/build.build/root-sleepwatcher-2.1.2-3/sw/opt/Library/LaunchDaemons sudo -u fink-bld [ENV] sh -c /tmp/fink.RsFoZ /usr/bin/install -d -m 700 /sw/build.build/root-sleepwatcher-2.1.2-3/sw/share/doc/sleepwatcher /bin/cp -r ReadMe.rtf /sw/build.build/root-sleepwatcher-2.1.2-3/sw/share/doc/sleepwatcher/ /bin/chmod -R go=u-w /sw/build.build/root-sleepwatcher-2.1.2-3/sw/share/doc/sleepwatcher /bin/rm -f /sw/build.build/root-sleepwatcher-2.1.2-3/sw/info/dir /sw/build.build/root-sleepwatcher-2.1.2-3/sw/info/dir.old /sw/build.build/root-sleepwatcher-2.1.2-3/sw/share/info/dir /sw/build.build/root-sleepwatcher-2.1.2-3/sw/share/info/dir.old Reverting ownership of install dir to root Writing control file... Writing package script postinst... Writing package script prerm... Writing daemonic info file sleepwatcher.xml... Writing md5sums file... env LANG=C LC_ALL=C dpkg-deb -b root-sleepwatcher-2.1.2-3 /sw/fink/10.9/stable/main/binary-darwin-x86_64/utils dpkg-deb: building package `sleepwatcher' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/utils/sleepwatcher_2.1.2-3_darwin-x86_64.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-sleepwatcher-2.1.2-3 (Reading database ... 4342 files and directories currently installed.) Removing fink-buildlock-sleepwatcher-2.1.2-3 ...