enable.c:131:12: warning: incompatible pointer types passing 'FILE *' (aka
'struct __sFILE *') to parameter of type 'const char *'
[-Wincompatible-pointer-types]

parse.c:68:14: warning: passing 'const xmlChar *' (aka 'const unsigned char
*') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

    printf(stderr, "Can't create symlink in %s-enabled.\n", DESCDIR);

           ^~~~~~

  if (strcmp(name, "description") == 0) {

             ^~~~

/usr/include/stdio.h:218:16: note: expanded from macro 'stderr'

#define stderr  __stderrp

/usr/include/string.h:                ^~~~~~~~~77

:25: note: passing argument to/usr/include/stdio.h :parameter259 :'__s1'36
:here

note: passing argument to parameter here

int      strcmp(const char *__s1, const char *__s2);

                            ^

int      printf(const char * __restrict, ...) __printflike(1, 2);

                                       ^

parse.c:70:21: warning: passing 'const xmlChar *' (aka 'const unsigned char
*') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (strcmp(name, "message") == 0) {

                    ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:72:21: warning: passing 'const xmlChar *' (aka 'const unsigned char
*') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (strcmp(name, "startmessage") == 0) {

                    ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:74:21: warning: passing 'const xmlChar *' (aka 'const unsigned char
*') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (strcmp(name, "stopmessage") == 0) {

                    ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:76:21: warning: passing 'const xmlChar *' (aka 'const unsigned char
*') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (strcmp(name, "restartmessage") == 0) {

                    ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:79:21: warning: passing 'const xmlChar *' (aka 'const unsigned char
*') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (strcmp(name, "daemon") == 0) {

                    ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:96:13: warning: passing 'const xmlChar *' (aka 'const unsigned char
*') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

        if (strcmp(atts[i], "name") == 0) {

                   ^~~~~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:97:30: warning: passing 'const xmlChar *' (aka 'const unsigned char
*') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

          cur_daemon->name = strdup(atts[i+1]);

                                    ^~~~~~~~~

/usr/include/string.h:117:26: note: passing argument to parameter '__s1'
here

char    *strdup(const char *__s1);

                            ^

parse.c:102:43: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (cur_daemon != NULL && strcmp(name, "executable") == 0) {

                                          ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:107:13: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

        if (strcmp(atts[i], "background") == 0 &&
is_boolean_true(atts[i+1])) {

                   ^~~~~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:107:60: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

        if (strcmp(atts[i], "background") == 0 &&
is_boolean_true(atts[i+1])) {

                                                                  ^~~~~~~~~

parse.c:45:40: note: passing argument to parameter 's' here

static int is_boolean_true(const char *s)

                                       ^

parse.c:110:13: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

        if (strcmp(atts[i], "checkexit") == 0 &&
is_boolean_true(atts[i+1])) {

                   ^~~~~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:110:59: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

        if (strcmp(atts[i], "checkexit") == 0 &&
is_boolean_true(atts[i+1])) {

                                                                 ^~~~~~~~~

parse.c:45:40: note: passing argument to parameter 's' here

static int is_boolean_true(const char *s)

                                       ^

parse.c:115:43: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (cur_daemon != NULL && strcmp(name, "parameters") == 0) {

                                          ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:117:43: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (cur_daemon != NULL && strcmp(name, "prerun") == 0) {

                                          ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:119:43: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (cur_daemon != NULL && strcmp(name, "configfile") == 0) {

                                          ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:121:43: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (cur_daemon != NULL && strcmp(name, "pidfile") == 0) {

                                          ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:124:21: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (strcmp(name, "inetd") == 0) {

                    ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:141:13: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

        if (strcmp(atts[i], "name") == 0) {

                   ^~~~~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:142:29: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

          cur_inetd->name = strdup(atts[i+1]);

                                   ^~~~~~~~~

/usr/include/string.h:117:26: note: passing argument to parameter '__s1'
here

char    *strdup(const char *__s1);

                            ^

parse.c:147:42: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (cur_inetd != NULL && strcmp(name, "executable") == 0) {

                                         ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:152:13: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

        if (strcmp(atts[i], "tcpwrap") == 0 && is_boolean_true(atts[i+1])) {

                   ^~~~~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:152:57: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

        if (strcmp(atts[i], "tcpwrap") == 0 && is_boolean_true(atts[i+1])) {

                                                               ^~~~~~~~~

parse.c:45:40: note: passing argument to parameter 's' here

static int is_boolean_true(const char *s)

                                       ^

parse.c:155:13: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

        if (strcmp(atts[i], "wait") == 0) {

                   ^~~~~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:156:24: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

          if (is_boolean_true(atts[i+1])) {

                              ^~~~~~~~~

parse.c:45:40: note: passing argument to parameter 's' here

static int is_boolean_true(const char *s)

                                       ^

parse.c:164:42: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (cur_inetd != NULL && strcmp(name, "protocol") == 0) {

                                         ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:166:42: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (cur_inetd != NULL && strcmp(name, "port") == 0) {

                                         ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:168:42: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

  } else if (cur_inetd != NULL && strcmp(name, "user") == 0) {

                                         ^~~~

/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here

int      strcmp(const char *__s1, const char *__s2);

                            ^

parse.c:175:22: warning: passing 'const xmlChar *' (aka 'const unsigned
char *') to parameter of type 'const char *' converts between pointers to
integer types with different sign

      [-Wpointer-sign]

    cur_tag = strdup(name);

                     ^~~~

/usr/include/string.h:117:26: note: passing argument to parameter '__s1'
here

char    *strdup(const char *__s1);

                            ^

enable.c:261:7: warning: unused variable 'err' [-Wunused-variable]

  int err;

      ^

2 warnings generated.

29 warnings generated.

cc -Wall -O2 -DDESCDIR='"/sw/etc/daemons"' `xml2-config --cflags` -MD
-I/sw/include -L/sw/lib -o daemonic main.o parse.o enable.o `xml2-config
--libs`

fink-package-precedence --depfile-ext='\.d' .

Scanning /\.d$/ dependency files...

./enable.d

./main.d

./parse.d

Looking for incorrect headers in 3 dependency files...

Determining fink providers of 22 headers...

1 - 22

Found use of headers from 2 fink packages:

libiconv-dev

libxml2

Scanning binaries for incorrect dyld linking...

/bin/rm -rf /sw/src/fink.build/root-daemonic-20010902-10

/bin/mkdir -p /sw/src/fink.build/root-daemonic-20010902-10/sw

/bin/mkdir -p /sw/src/fink.build/root-daemonic-20010902-10/DEBIAN

/usr/sbin/chown -R fink-bld:fink-bld
/sw/src/fink.build/root-daemonic-20010902-10

sudo -u fink-bld [ENV] sh -c /tmp/fink.6rLTA

make install prefix=/sw DESTDIR=/sw/src/fink.build/root-daemonic-20010902-10

if test ! -d /sw/src/fink.build/root-daemonic-20010902-10/sw/bin ; then
install -d -m 755 /sw/src/fink.build/root-daemonic-20010902-10/sw/bin ; fi

if test ! -d /sw/src/fink.build/root-daemonic-20010902-10/sw/etc/daemons ;
then install -d -m 755
/sw/src/fink.build/root-daemonic-20010902-10/sw/etc/daemons ; fi

if test ! -d
/sw/src/fink.build/root-daemonic-20010902-10/sw/etc/daemons-enabled ; then
install -d -m 755
/sw/src/fink.build/root-daemonic-20010902-10/sw/etc/daemons-enabled ; fi

install -c -p -m 755 daemonic
/sw/src/fink.build/root-daemonic-20010902-10/sw/bin

mkdir -p
/sw/src/fink.build/root-daemonic-20010902-10/sw/share/bash-completion/completions

install -m755 bash_completion
/sw/src/fink.build/root-daemonic-20010902-10/sw/share/bash-completion/completions/daemonic

mkdir -p /sw/src/fink.build/root-daemonic-20010902-10/sw/sbin

install -m755 daemonic.init
/sw/src/fink.build/root-daemonic-20010902-10/sw/sbin/

install -m755 daemonic.init.run
/sw/src/fink.build/root-daemonic-20010902-10/sw/sbin/

mkdir -p /sw/src/fink.build/root-daemonic-20010902-10/sw/share/daemonic

install -m644 org.finkproject.daemonicinit.plist
/sw/src/fink.build/root-daemonic-20010902-10/sw/share/daemonic/

sudo -u fink-bld [ENV] sh -c /tmp/fink.jNnP9

/usr/bin/install -d -m 700
/sw/src/fink.build/root-daemonic-20010902-10/sw/share/doc/daemonic

/bin/cp -r COPYING
/sw/src/fink.build/root-daemonic-20010902-10/sw/share/doc/daemonic/

/bin/chmod -R go=u-w
/sw/src/fink.build/root-daemonic-20010902-10/sw/share/doc/daemonic

/bin/rm -f /sw/src/fink.build/root-daemonic-20010902-10/sw/info/dir
/sw/src/fink.build/root-daemonic-20010902-10/sw/info/dir.old
/sw/src/fink.build/root-daemonic-20010902-10/sw/share/info/dir
/sw/src/fink.build/root-daemonic-20010902-10/sw/share/info/dir.old

Reverting ownership of install dir to root

Writing control file...

Writing package script postinst...

Writing package script prerm...

Writing md5sums file...

env LANG=C LC_ALL=C dpkg-deb -b root-daemonic-20010902-10
/sw/fink/10.12/stable/main/binary-darwin-x86_64/base

dpkg-deb: building package `daemonic' in
`/sw/fink/10.12/stable/main/binary-darwin-x86_64/base/daemonic_20010902-10_darwin-x86_64.deb'.

Removing runtime build-lock...

Removing build-lock package...

/sw/bin/dpkg-lockwait -r fink-buildlock-daemonic-20010902-10

(Reading database ... 184141 files and directories currently installed.)

Removing fink-buildlock-daemonic-20010902-10 ...

Reading buildlock packages...

/sw/bin/dpkg-lockwait -i
/sw/fink/dists/stable/main/binary-darwin-x86_64/base/daemonic_20010902-10_darwin-x86_64.deb

(Reading database ... 184140 files and directories currently installed.)

Preparing to replace daemonic 20010902-9 (using
.../daemonic_20010902-10_darwin-x86_64.deb) ...

Unpacking replacement daemonic ...

Setting up daemonic (20010902-10) ...

No matching service found for "daemonic", skipping.

/sw/bin/dpkg: error processing daemonic (--install):

 subprocess post-installation script returned error exit status 1

Errors were encountered while processing:

 daemonic

### execution of /sw/bin/dpkg-lockwait failed, exit code 1

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/base/daemonic_20010902-10_darwin-x86_64.deb

Failed: can't install package daemonic-20010902-10
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
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