printf '

' | fink --no-use-binary-dist --yes  --build-as-nobody rebuild dclock 2>&1
The package 'dclock' will be built without being installed.
Reading build dependency for dclock-2.2.2-2...
WARNING: While resolving dependency "llvm-gcc" for package "dclock-2.2.2-2", package "llvm-gcc" was not found.
Reading dependency for dclock-2.2.2-2...
Reading build conflict for dclock-2.2.2-2...
The package 'fink-package-precedence' will be installed.
Reading dependency for fink-package-precedence-0.18-1...
Reading runtime dependency for fink-package-precedence-0.18-1...
The package 'fontconfig2-dev' will be installed.
Reading dependency for fontconfig2-dev-2.10.2-1...
Reading runtime dependency for fontconfig2-dev-2.10.2-1...
The package 'freetype219' will be installed.
Reading dependency for freetype219-2.4.12-1...
Reading runtime dependency for freetype219-2.4.12-1...
The package 'llvm-gcc42' will be installed.
Reading dependency for llvm-gcc42-2336.11-7...
Reading runtime dependency for llvm-gcc42-2336.11-7...
The package 'xft2-dev' will be installed.
Reading dependency for xft2-dev-2.2.0-3...
Reading runtime dependency for xft2-dev-2.2.0-3...
The package 'xmkmf' will be installed.
Reading dependency for xmkmf-1.0.6-1201...
Reading runtime dependency for xmkmf-1.0.6-1201...
The package 'xft2-shlibs' will be installed.
Reading dependency for xft2-shlibs-2.2.0-3...
Reading runtime dependency for xft2-shlibs-2.2.0-3...
The package 'fontconfig2-shlibs' will be installed.
Reading dependency for fontconfig2-shlibs-2.10.2-1...
Reading runtime dependency for fontconfig2-shlibs-2.10.2-1...
The package 'expat1-shlibs' will be installed.
Reading dependency for expat1-shlibs-2.1.0-1...
Reading runtime dependency for expat1-shlibs-2.1.0-1...
The package 'freetype219-shlibs' will be installed.
Reading dependency for freetype219-shlibs-2.4.12-1...
Reading runtime dependency for freetype219-shlibs-2.4.12-1...
The package 'llvm-gcc42-shlibs' will be installed.
Reading dependency for llvm-gcc42-shlibs-2336.11-7...
Reading runtime dependency for llvm-gcc42-shlibs-2336.11-7...
The package 'fontconfig-config' will be installed.
Reading dependency for fontconfig-config-2.10.2-1...
Reading runtime dependency for fontconfig-config-2.10.2-1...
The following package will be rebuilt:
 dclock
The following 12 additional packages will be installed:
 expat1-shlibs fink-package-precedence fontconfig-config fontconfig2-dev
 fontconfig2-shlibs freetype219 freetype219-shlibs llvm-gcc42
 llvm-gcc42-shlibs xft2-dev xft2-shlibs xmkmf
Do you want to continue? [Y/n] (assuming default)
Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/base/expat1-shlibs_2.1.0-1_darwin-x86_64.deb
Selecting previously deselected package expat1-shlibs.
(Reading database ... 4740 files and directories currently installed.)
Unpacking expat1-shlibs (from .../expat1-shlibs_2.1.0-1_darwin-x86_64.deb) ...
Setting up expat1-shlibs (2.1.0-1) ...

Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/debs/fink-package-precedence_0.18-1_darwin-x86_64.deb
Selecting previously deselected package fink-package-precedence.
(Reading database ... 4745 files and directories currently installed.)
Unpacking fink-package-precedence (from .../fink-package-precedence_0.18-1_darwin-x86_64.deb) ...
Setting up fink-package-precedence (0.18-1) ...

Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/debs/freetype219_2.4.12-1_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/freetype219-shlibs_2.4.12-1_darwin-x86_64.deb
Selecting previously deselected package freetype219.
(Reading database ... 4746 files and directories currently installed.)
Unpacking freetype219 (from .../freetype219_2.4.12-1_darwin-x86_64.deb) ...
Selecting previously deselected package freetype219-shlibs.
Unpacking freetype219-shlibs (from .../freetype219-shlibs_2.4.12-1_darwin-x86_64.deb) ...
Setting up freetype219-shlibs (2.4.12-1) ...

Setting up freetype219 (2.4.12-1) ...
Clearing dependency_libs of .la files being installed

Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/debs/llvm-gcc42_2336.11-7_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/languages/llvm-gcc42-shlibs_2336.11-7_darwin-x86_64.deb
Selecting previously deselected package llvm-gcc42.
(Reading database ... 4945 files and directories currently installed.)
Unpacking llvm-gcc42 (from .../llvm-gcc42_2336.11-7_darwin-x86_64.deb) ...
Selecting previously deselected package llvm-gcc42-shlibs.
Unpacking llvm-gcc42-shlibs (from .../llvm-gcc42-shlibs_2336.11-7_darwin-x86_64.deb) ...
Setting up llvm-gcc42-shlibs (2336.11-7) ...

Setting up llvm-gcc42 (2336.11-7) ...
Clearing dependency_libs of .la files being installed
* Cpp: (cpp). The GNU C preprocessor.
* Cpplib: (cppinternals). Cpplib internals.
* gcc: (gcc). The GNU Compiler Collection.
install-info(/sw/share/info/llvm-gcc.info): replacing existing dir entry for `gcc'
* gccinstall: (gccinstall). Installing the GNU Compiler Collection.
* gccint: (gccint). Internals of the GNU Compiler Collection.

Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/debs/xmkmf_1.0.6-1201_darwin-x86_64.deb
Selecting previously deselected package xmkmf.
(Reading database ... 5076 files and directories currently installed.)
Unpacking xmkmf (from .../xmkmf_1.0.6-1201_darwin-x86_64.deb) ...
Setting up xmkmf (1.0.6-1201) ...

Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/debs/fontconfig2-dev_2.10.2-1_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/x11/fontconfig2-shlibs_2.10.2-1_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/x11/fontconfig-config_2.10.2-1_darwin-x86_64.deb
Selecting previously deselected package fontconfig2-dev.
(Reading database ... 5223 files and directories currently installed.)
Unpacking fontconfig2-dev (from .../fontconfig2-dev_2.10.2-1_darwin-x86_64.deb) ...
Selecting previously deselected package fontconfig2-shlibs.
Unpacking fontconfig2-shlibs (from .../fontconfig2-shlibs_2.10.2-1_darwin-x86_64.deb) ...
Selecting previously deselected package fontconfig-config.
Unpacking fontconfig-config (from .../fontconfig-config_2.10.2-1_darwin-x86_64.deb) ...
Setting up fontconfig-config (2.10.2-1) ...

Setting up fontconfig2-shlibs (2.10.2-1) ...

Setting up fontconfig2-dev (2.10.2-1) ...
Clearing dependency_libs of .la files being installed

Reading buildlock packages...
	All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/debs/xft2-dev_2.2.0-3_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/x11/xft2-shlibs_2.2.0-3_darwin-x86_64.deb
Selecting previously deselected package xft2-dev.
(Reading database ... 5516 files and directories currently installed.)
Unpacking xft2-dev (from .../xft2-dev_2.2.0-3_darwin-x86_64.deb) ...
Selecting previously deselected package xft2-shlibs.
Unpacking xft2-shlibs (from .../xft2-shlibs_2.2.0-3_darwin-x86_64.deb) ...
Setting up xft2-shlibs (2.2.0-3) ...

Setting up xft2-dev (2.2.0-3) ...
Clearing dependency_libs of .la files being installed

Setting runtime build-lock...
dpkg-deb -b /sw/build.build/root-fink-buildlock-dclock-2.2.2-2 /sw/build.build
dpkg-deb: building package `fink-buildlock-dclock-2.2.2-2' in `/sw/build.build/fink-buildlock-dclock-2.2.2-2_2014.08.07-15.21.22_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-dclock-2.2.2-2_2014.08.07-15.21.22_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-dclock-2.2.2-2.
(Reading database ... 5548 files and directories currently installed.)
Unpacking fink-buildlock-dclock-2.2.2-2 (from .../fink-buildlock-dclock-2.2.2-2_2014.08.07-15.21.22_darwin-x86_64.deb) ...
Setting up fink-buildlock-dclock-2.2.2-2 (2014.08.07-15.21.22) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.4tTuU
gzip -dc /sw/src/dclock-2.2.2.tgz | /bin/pax -rv  -s ,dclock.c,littledclock.c,
dclock
dclock/Dclock.h
dclock/README
dclock/dclock.man
dclock/DClock
dclock/DclockP.h
dclock/debian
dclock/debian/control
dclock/debian/copyright
dclock/debian/rules
dclock/debian/menu
dclock/debian/changelog
dclock/dclock.1
dclock/Makefile
dclock/TODO
dclock/Imakefile
dclock/Makefile.orig
dclock/Dclock.c
dclock/littledclock.c
dclock/Dclock.ad
dclock/sounds
dclock/sounds/digital.wav
dclock/sounds/bell.wav
sudo -u fink-bld [ENV] sh -c /tmp/fink.5JKbE
mv Imakefile Imakefile.orig
cat Imakefile.orig | sed -e 's/dclock\./littledclock\./' > Imakefile
mv Dclock.c Dclock.c.orig
cat Dclock.c.orig | sed -e 's|#include <values.h>||' | sed -e 's|#include <wait.h>||' > Dclock.c
sudo -u fink-bld [ENV] sh -c /tmp/fink.C0Zze
/tmp/fink.Dyf0z
#!/bin/sh -ev
 export PATH=/sw/lib/xmkmf/bin:$PATH 
 export IMAKEINCLUDE=-I/sw/lib/X11/config
 xmkmf
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/sw/lib/X11/config
 /usr/bin/make CDEBUGFLAGS="-Os -MD" CCOPTIONS="-I/sw/include -I/sw/include/freetype2" LOCAL_LDFLAGS=-L/sw/lib PROJECTROOT=/sw dclock
/usr/bin/cc -Os -MD -I/sw/include -I/sw/include/freetype2     -I/usr/X11/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DXFT_SUPPORT  -I/sw/include  -c -o Dclock.o Dclock.c
/usr/bin/cc -Os -MD -I/sw/include -I/sw/include/freetype2     -I/usr/X11/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED      -DXFT_SUPPORT  -I/sw/include  -c -o littledclock.o littledclock.c
littledclock.c:104:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
    exit(1);
    ^
littledclock.c:104:5: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
littledclock.c:117:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^~~~
littledclock.c:125:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (name = rindex(argv[0], '/'))
        ~~~~~^~~~~~~~~~~~~~~~~~~~~~
littledclock.c:125:14: note: place parentheses around the assignment to silence this warning
    if (name = rindex(argv[0], '/'))
             ^
        (                          )
littledclock.c:125:14: note: use '==' to turn this assignment into an equality comparison
    if (name = rindex(argv[0], '/'))
             ^
             ==
3 warnings generated.
Dclock.c:69:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static cur_position;    /* outline current digit for setting alarm */
~~~~~~ ^
Dclock.c:426:56: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       fade_stip[1] = XCreateBitmapFromData(dpy, root, stpl_1_8th, 16, 16);
                                                       ^~~~~~~~~~
/usr/X11/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
Dclock.c:427:56: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       fade_stip[2] = XCreateBitmapFromData(dpy, root, stpl_1_4th, 16, 16);
                                                       ^~~~~~~~~~
/usr/X11/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
Dclock.c:428:56: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       fade_stip[3] = XCreateBitmapFromData(dpy, root, stpl_3_8ths, 16, 16);
                                                       ^~~~~~~~~~~
/usr/X11/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
Dclock.c:429:56: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       fade_stip[4] = XCreateBitmapFromData(dpy, root, stpl_one_half, 16, 16);
                                                       ^~~~~~~~~~~~~
/usr/X11/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
Dclock.c:433:56: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       fade_stip[5] = XCreateBitmapFromData(dpy, root, stpl_3_8ths, 16, 16);
                                                       ^~~~~~~~~~~
/usr/X11/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
Dclock.c:434:56: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       fade_stip[6] = XCreateBitmapFromData(dpy, root, stpl_1_4th, 16, 16);
                                                       ^~~~~~~~~~
/usr/X11/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
Dclock.c:435:56: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       fade_stip[7] = XCreateBitmapFromData(dpy, root, stpl_1_8th, 16, 16);
                                                       ^~~~~~~~~~
/usr/X11/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
Dclock.c:1381:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else {
        ^
Dclock.c:1588:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (chgd[i] = (new_pix[i] != old_pix[i]))
                ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dclock.c:1588:18: note: place parentheses around the assignment to silence this warning
            if (chgd[i] = (new_pix[i] != old_pix[i]))
                        ^
                (                                   )
Dclock.c:1588:18: note: use '==' to turn this assignment into an equality comparison
            if (chgd[i] = (new_pix[i] != old_pix[i]))
                        ^
                        ==
Dclock.c:1685:45: warning: passing 'char [128]' to parameter of type 'const FcChar8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    XftTextExtents8(dpy, w->dclock.xftfont, datestr, datep, &xftextents);
                                            ^~~~~~~
/sw/include/X11/Xft/Xft.h:300:24: note: passing argument to parameter 'string' here
                 _Xconst FcChar8    *string, 
                                     ^
Dclock.c:1697:27: warning: passing 'char [128]' to parameter of type 'const FcChar8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                (BORDER/2) + tsize - 2, datestr, datep);
                                        ^~~~~~~
/sw/include/X11/Xft/Xft.h:197:24: note: passing argument to parameter 'string' here
                _Xconst FcChar8     *string,
                                     ^
Dclock.c:1710:27: warning: passing 'char [128]' to parameter of type 'const FcChar8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                winheight - BORDER - 2, datestr, datep);
                                        ^~~~~~~
/sw/include/X11/Xft/Xft.h:197:24: note: passing argument to parameter 'string' here
                _Xconst FcChar8     *string,
                                     ^
Dclock.c:2041:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (w->dclock.bell = !w->dclock.bell) {
        ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Dclock.c:2041:24: note: place parentheses around the assignment to silence this warning
    if (w->dclock.bell = !w->dclock.bell) {
                       ^
        (                               )
Dclock.c:2041:24: note: use '==' to turn this assignment into an equality comparison
    if (w->dclock.bell = !w->dclock.bell) {
                       ^
                       ==
Dclock.c:2162:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    static saved_secs, saved_miltime, saved_fade, saved_blink;
    ~~~~~~ ^
Dclock.c:2162:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    static saved_secs, saved_miltime, saved_fade, saved_blink;
    ~~~~~~             ^
Dclock.c:2162:39: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    static saved_secs, saved_miltime, saved_fade, saved_blink;
    ~~~~~~                            ^
Dclock.c:2162:51: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    static saved_secs, saved_miltime, saved_fade, saved_blink;
    ~~~~~~                                        ^
18 warnings generated.
rm -f dclock
/usr/bin/cc -o dclock -Os -MD -I/sw/include -I/sw/include/freetype2    -L/sw/lib -L/usr/X11/lib   Dclock.o littledclock.o -lXt -lSM -lICE -lXext -lX11   -lm -lXft  
 fink-package-precedence --depfile-ext='\.d' .
Scanning /\.d$/ dependency files...
	./Dclock.d
	./littledclock.d
Looking for incorrect headers in 2 dependency files...
Determining fink providers of 15 headers...
	1 - 15
Found use of headers from 3 fink packages:
	fontconfig2-dev
	freetype219
	xft2-dev
Scanning binaries for incorrect dyld linking...
/bin/rm -rf /sw/build.build/root-dclock-2.2.2-2
/bin/mkdir -p /sw/build.build/root-dclock-2.2.2-2/sw
/bin/mkdir -p /sw/build.build/root-dclock-2.2.2-2/DEBIAN
/usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-dclock-2.2.2-2
sudo -u fink-bld [ENV] sh -c /tmp/fink.wwXsd
/tmp/fink.fvUDC
#!/bin/sh -ev
 export PATH=/sw/lib/xmkmf/bin:$PATH 
 export IMAKEINCLUDE=-I/sw/lib/X11/config
 /usr/bin/make DESTDIR=/sw/build.build/root-dclock-2.2.2-2 BINDIR=/sw/bin MANPATH=/sw/share/man DOCDIR=/sw/share/doc/dclock INSTALLFLAGS="-c -s" install
+ mkdir -p /sw/build.build/root-dclock-2.2.2-2/sw/bin
install -c -s   dclock /sw/build.build/root-dclock-2.2.2-2/sw/bin/dclock
install in . done
 /bin/mkdir -p /sw/build.build/root-dclock-2.2.2-2/sw/share/man/man1
 /bin/cp dclock.1 /sw/build.build/root-dclock-2.2.2-2/sw/share/man/man1/
sudo -u fink-bld [ENV] sh -c /tmp/fink.QCWaf
/usr/bin/install -d -m 700 /sw/build.build/root-dclock-2.2.2-2/sw/share/doc/dclock
/bin/cp -r README /sw/build.build/root-dclock-2.2.2-2/sw/share/doc/dclock/
/bin/cp -r TODO /sw/build.build/root-dclock-2.2.2-2/sw/share/doc/dclock/
/bin/chmod -R go=u-w /sw/build.build/root-dclock-2.2.2-2/sw/share/doc/dclock
/bin/rm -f /sw/build.build/root-dclock-2.2.2-2/sw/info/dir /sw/build.build/root-dclock-2.2.2-2/sw/info/dir.old /sw/build.build/root-dclock-2.2.2-2/sw/share/info/dir /sw/build.build/root-dclock-2.2.2-2/sw/share/info/dir.old
Reverting ownership of install dir to root
Writing control file...
Writing md5sums file...
env LANG=C LC_ALL=C dpkg-deb -b root-dclock-2.2.2-2 /sw/fink/10.9/stable/main/binary-darwin-x86_64/x11
dpkg-deb: building package `dclock' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/x11/dclock_2.2.2-2_darwin-x86_64.deb'.
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-dclock-2.2.2-2
(Reading database ... 5549 files and directories currently installed.)
Removing fink-buildlock-dclock-2.2.2-2 ...