[MacPorts] #33103: barcode has a missing dependency on libpaper

MacPorts noreply at macports.org
Wed Feb 1 10:46:03 PST 2012


#33103: barcode has a missing dependency on libpaper
-----------------------------+----------------------------------------------
  Reporter:  holms@…         |       Owner:  macports-tickets@…                   
      Type:  defect          |      Status:  closed                               
  Priority:  Normal          |   Milestone:                                       
 Component:  ports           |     Version:  2.0.3                                
Resolution:  fixed           |    Keywords:                                       
      Port:  barcode         |  
-----------------------------+----------------------------------------------

Comment(by holms@…):

 well doesn't work for me =)

 {{{
 --->  Fetching archive for barcode
 --->  barcode-0.98_0.darwin_11.x86_64.tbz2 doesn't seem to exist in
 /opt/local/var/macports/software/barcode
 --->  Attempting to fetch barcode-0.98_0.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/barcode
 --->  Fetching barcode
 --->  Verifying checksum(s) for barcode
 --->  Checksumming barcode-0.98.tar.gz
 --->  Extracting barcode
 --->  Extracting barcode-0.98.tar.gz
 --->  Configuring barcode
 creating cache ./config.cache
 checking for gcc... ccache /Developer/usr/bin/clang
 checking whether the C compiler (ccache /Developer/usr/bin/clang -pipe -O2
 -arch x86_64 -L/opt/local/lib -arch x86_64) works... yes
 checking whether the C compiler (ccache /Developer/usr/bin/clang -pipe -O2
 -arch x86_64 -L/opt/local/lib -arch x86_64) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether ccache /Developer/usr/bin/clang accepts -g... yes
 checking for ranlib... ranlib
 checking for a BSD compatible install... /usr/bin/install -c
 checking how to run the C preprocessor... ccache /Developer/usr/bin/clang
 -E
 checking for getopt.h... yes
 checking for paper.h... yes
 checking for unistd.h... yes
 checking for strerror... yes
 checking for strcasecmp... yes
 checking for gmake... yes
 checking if makeinfo can output html... yes
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 sed: confdefs.h: No such file or directory
 creating ./config.status
 creating doc/Makefile
 --->  Building barcode
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/barcode-0.98'
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o library.o library.c
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o ean.o ean.c
 ean.c:139:18: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     len = strlen(text);
                  ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 ean.c:140:18: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     spc = strchr(text, ' ');
                  ^~~~
 /usr/include/string.h:86:26: note: passing argument to parameter here
 char    *strchr(const char *, int);
                             ^
 ean.c:140:9: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     spc = strchr(text, ' ');
         ^ ~~~~~~~~~~~~~~~~~
 ean.c:158:2: warning: passing 'unsigned char [24]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strncpy(tmp, text, 7);
         ^~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:124:31: note: instantiated from:
    ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))     \
                               ^
 ean.c:158:10: note: instantiated from:
         strncpy(tmp, text, 7);
                 ^~~
 ean.c:158:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strncpy(tmp, text, 7);
         ^~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:124:37: note: instantiated from:
    ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))     \
                                     ^
 ean.c:158:15: note: instantiated from:
         strncpy(tmp, text, 7);
                      ^~~~
 ean.c:158:2: warning: passing 'unsigned char [24]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strncpy(tmp, text, 7);
         ^~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:125:28: note: instantiated from:
    : __inline_strncpy_chk (dest, src, len))
                            ^
 ean.c:158:10: note: instantiated from:
         strncpy(tmp, text, 7);
                 ^~~
 /usr/include/secure/_string.h:128:40: note: passing argument to parameter
 '__dest' here
 __inline_strncpy_chk (char *__restrict __dest, const char *__restrict
 __src,
                                        ^
 ean.c:158:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strncpy(tmp, text, 7);
         ^~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:125:34: note: instantiated from:
    : __inline_strncpy_chk (dest, src, len))
                                  ^
 ean.c:158:15: note: instantiated from:
         strncpy(tmp, text, 7);
                      ^~~~
 /usr/include/secure/_string.h:128:71: note: passing argument to parameter
 '__src' here
 __inline_strncpy_chk (char *__restrict __dest, const char *__restrict
 __src,
                                                                       ^
 ean.c:160:36: warning: passing 'unsigned char [24]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         if (text[7] != (ean_make_checksum(tmp, 0) + '0'))
                                           ^~~
 ean.c:101:36: note: passing argument to parameter 'text' here
 static int ean_make_checksum(char *text, int mode)
                                    ^
 ean.c:165:2: warning: passing 'unsigned char [24]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strncpy(tmp, text, 12);
         ^~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:124:31: note: instantiated from:
    ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))     \
                               ^
 ean.c:165:10: note: instantiated from:
         strncpy(tmp, text, 12);
                 ^~~
 ean.c:165:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strncpy(tmp, text, 12);
         ^~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:124:37: note: instantiated from:
    ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))     \
                                     ^
 ean.c:165:15: note: instantiated from:
         strncpy(tmp, text, 12);
                      ^~~~
 ean.c:165:2: warning: passing 'unsigned char [24]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strncpy(tmp, text, 12);
         ^~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:125:28: note: instantiated from:
    : __inline_strncpy_chk (dest, src, len))
                            ^
 ean.c:165:10: note: instantiated from:
         strncpy(tmp, text, 12);
                 ^~~
 /usr/include/secure/_string.h:128:40: note: passing argument to parameter
 '__dest' here
 __inline_strncpy_chk (char *__restrict __dest, const char *__restrict
 __src,
                                        ^
 ean.c:165:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strncpy(tmp, text, 12);
         ^~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:125:34: note: instantiated from:
    : __inline_strncpy_chk (dest, src, len))
                                  ^
 ean.c:165:15: note: instantiated from:
         strncpy(tmp, text, 12);
                      ^~~~
 /usr/include/secure/_string.h:128:71: note: passing argument to parameter
 '__src' here
 __inline_strncpy_chk (char *__restrict __dest, const char *__restrict
 __src,
                                                                       ^
 ean.c:167:37: warning: passing 'unsigned char [24]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         if (text[12] != (ean_make_checksum(tmp, 0) + '0'))
                                            ^~~
 ean.c:101:36: note: passing argument to parameter 'text' here
 static int ean_make_checksum(char *text, int mode)
                                    ^
 ean.c:185:6: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
             strncpy(result+1, text,  2); result[3]=text[5]; /* Manuf. */
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:124:37: note: instantiated from:
    ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))     \
                                     ^
 ean.c:185:24: note: instantiated from:
             strncpy(result+1, text,  2); result[3]=text[5]; /* Manuf. */
                               ^~~~
 ean.c:185:6: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
             strncpy(result+1, text,  2); result[3]=text[5]; /* Manuf. */
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:125:34: note: instantiated from:
    : __inline_strncpy_chk (dest, src, len))
                                  ^
 ean.c:185:24: note: instantiated from:
             strncpy(result+1, text,  2); result[3]=text[5]; /* Manuf. */
                               ^~~~
 /usr/include/secure/_string.h:128:71: note: passing argument to parameter
 '__src' here
 __inline_strncpy_chk (char *__restrict __dest, const char *__restrict
 __src,
                                                                       ^
 ean.c:222:18: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     spc = strchr(text, ' ');
                  ^~~~
 /usr/include/string.h:86:26: note: passing argument to parameter here
 char    *strchr(const char *, int);
                             ^
 ean.c:222:9: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     spc = strchr(text, ' ');
         ^ ~~~~~~~~~~~~~~~~~
 ean.c:226:15: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         len = strlen(text);
                      ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 ean.c:230:2: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(result, upc_e_to_a0(text));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:30: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 ean.c:230:9: note: instantiated from:
         strcpy(result, upc_e_to_a0(text));
                ^~~~~~
 ean.c:230:2: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(result, upc_e_to_a0(text));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:27: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                           ^
 ean.c:230:9: note: instantiated from:
         strcpy(result, upc_e_to_a0(text));
                ^~~~~~
 /usr/include/secure/_string.h:92:39: note: passing argument to parameter
 '__dest' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 library.cean.c:231:9: warning: returning 'unsigned char [16]' from a
 function with result type 'char *' converts between pointers to integer
 types with different sign [-Wpointer-sign]
         return result;
                ^~~~~~
 :161:22: warning: passing 'char *' to parameter of type 'unsigned char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
 ean.c:237:3: warning:     if (cptr->verify(bc->ascii) != 0) {
                      ^~~~~~~~~
 passing 'unsigned char [16]' to parameter of type 'char *' converts
 between pointers to integer types with different sign [-Wpointer-sign]
                 strcpy(result, upc_e_to_a0(text+1));
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:30: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 ean.c:237:10: note: instantiated from:
                 strcpy(result, upc_e_to_a0(text+1));
                        ^~~~~~
 ean.c:237:3: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
                 strcpy(result, upc_e_to_a0(text+1));
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:27: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                           ^
 ean.c:237:10: note: instantiated from:
                 strcpy(result, upc_e_to_a0(text+1));
                        ^~~~~~
 /usr/include/secure/_string.h:92:39: note: passing argument to parameter
 '__dest' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 ean.c:239:10: warning: returning 'unsigned char [16]' from a function with
 result type 'char *' converts between pointers to integer types with
 different sign [-Wpointer-sign]
                 return result;
                        ^~~~~~
 ean.c:243:2: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(result, upc_e_to_a0(text));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:30: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 ean.c:243:9: note: instantiated from:
         strcpy(result, upc_e_to_a0(text));
                ^~~~~~
 ean.c:243:2: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(result, upc_e_to_a0(text));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:27: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                           ^
 ean.c:243:9: note: instantiated from:
         strcpy(result, upc_e_to_a0(text));
                ^~~~~~
 /usr/include/secure/_string.h:92:39: note: passing argument to parameter
 '__dest' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 ean.c:244:26: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         chk = ean_make_checksum(result, 0);
                                 ^~~~~~
 ean.c:101:36: note: passing argument to parameter 'text' here
 static int ean_make_checksum(char *text, int mode)
                                    ^
 ean.c:247:10: warning: returning 'unsigned char [16]' from a function with
 result type 'char *' converts between pointers to integer types with
 different sign [-Wpointer-sign]
                 return result;
                        ^~~~~~
 ean.c:252:3: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
                 strcpy(result, upc_e_to_a0(text+1));
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:30: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 ean.c:252:10: note: instantiated from:
                 strcpy(result, upc_e_to_a0(text+1));
                        ^~~~~~
 ean.c:252:3: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
                 strcpy(result, upc_e_to_a0(text+1));
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:27: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                           ^
 ean.c:252:10: note: instantiated from:
                 strcpy(result, upc_e_to_a0(text+1));
                        ^~~~~~
 /usr/include/secure/_string.h:92:39: note: passing argument to parameter
 '__dest' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 ean.c:254:27: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
                 chk = ean_make_checksum(result, 0);
                                         ^~~~~~
 ean.c:101:36: note: passing argument to parameter 'text' here
 static int ean_make_checksum(char *text, int mode)
                                    ^
 ean.c:256:11: warning: returning 'unsigned char [16]' from a function with
 result type 'char *' converts between pointers to integer types with
 different sign [-Wpointer-sign]
                         return result;
                                ^~~~~~
 ean.c:274:18: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     len = strlen(text);
                  ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 ean.c:277:2: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(result, text);
         ^~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:30: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 ean.c:277:9: note: instantiated from:
         strcpy(result, text);
                ^~~~~~
 ean.c:277:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strcpy(result, text);
         ^~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:36: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                                    ^
 ean.c:277:17: note: instantiated from:
         strcpy(result, text);
                        ^~~~
 ean.c:277:2: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(result, text);
         ^~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:27: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                           ^
 ean.c:277:9: note: instantiated from:
         strcpy(result, text);
                ^~~~~~
 /usr/include/secure/_string.h:92:39: note: passing argument to parameter
 '__dest' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 ean.c:277:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strcpy(result, text);
         ^~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:33: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                                 ^
 ean.c:277:17: note: instantiated from:
         strcpy(result, text);
                        ^~~~
 /usr/include/secure/_string.h:92:70: note: passing argument to parameter
 '__src' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                                                      ^
 ean.c:279:29: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         chksum = ean_make_checksum(result, 0);
                                    ^~~~~~
 ean.c:101:36: note: passing argument to parameter 'text' here
 static int ean_make_checksum(char *text, int mode)
                                    ^
 ean.c:284:29: warning: passing 'unsigned char *' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         chksum = ean_make_checksum(text, 0);
                                    ^~~~
 ean.c:101:36: note: passing argument to parameter 'text' here
 static int ean_make_checksum(char *text, int mode)
                                    ^
 ean.c:290:5: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
     strcpy(result, "00000000"); /* 8 0's*/
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:30: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 ean.c:290:12: note: instantiated from:
     strcpy(result, "00000000"); /* 8 0's*/
            ^~~~~~
 ean.c:290:5: warning: passing 'unsigned char [16]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
     strcpy(result, "00000000"); /* 8 0's*/
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:27: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                           ^
 ean.c:290:12: note: instantiated from:
     strcpy(result, "00000000"); /* 8 0's*/
            ^~~~~~
 /usr/include/secure/_string.h:92:39: note: passing argument to parameter
 '__dest' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 ean.c:299:18: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
             && !strncmp(text+4, "0000", 4)) {
                         ^~~~~~
 /usr/include/string.h:94:26: note: passing argument to parameter here
 int      strncmp(const char *, const char *, size_t);
                              ^
 ean.c:303:25: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     } else if (!strncmp(text+4, "00000", 5)) {
                         ^~~~~~
 /usr/include/string.h:94:26: note: passing argument to parameter here
 int      strncmp(const char *, const char *, size_t);
                              ^
 ean.c:307:25: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     } else if (!strncmp(text+5, "00000", 5)) {
                         ^~~~~~
 /usr/include/string.h:94:26: note: passing argument to parameter here
 int      strncmp(const char *, const char *, size_t);
                              ^
 ean.c:311:45: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     } else if ((text[5] != '0') && !strncmp(text+6, "0000", 4)
                                             ^~~~~~
 /usr/include/string.h:94:26: note: passing argument to parameter here
 int      strncmp(const char *, const char *, size_t);
                              ^
 ean.c:337:18: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     len = strlen(text);
                  ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 ean.c:338:18: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     spc = strchr(text, ' ');
                  ^~~~
 /usr/include/string.h:86:26: note: passing argument to parameter here
 char    *strchr(const char *, int);
                             ^
 ean.c:338:9: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     spc = strchr(text, ' ');
         ^ ~~~~~~~~~~~~~~~~~
 ean.c:356:2: warning: passing 'unsigned char [24]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strncpy(tmp, text, len0);
         ^~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:124:31: note: instantiated from:
    ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))     \
                               ^
 ean.c:356:10: note: instantiated from:
         strncpy(tmp, text, len0);
                 ^~~
 ean.c:356:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strncpy(tmp, text, len0);
         ^~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:124:37: note: instantiated from:
    ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))     \
                                     ^
 ean.c:356:15: note: instantiated from:
         strncpy(tmp, text, len0);
                      ^~~~
 ean.c:356:2: warning: passing 'unsigned char [24]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strncpy(tmp, text, len0);
         ^~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:125:28: note: instantiated from:
    : __inline_strncpy_chk (dest, src, len))
                            ^
 ean.c:356:10: note: instantiated from:
         strncpy(tmp, text, len0);
                 ^~~
 /usr/include/secure/_string.h:128:40: note: passing argument to parameter
 '__dest' here
 __inline_strncpy_chk (char *__restrict __dest, const char *__restrict
 __src,
                                        ^
 ean.c:356:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strncpy(tmp, text, len0);
         ^~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:125:34: note: instantiated from:
    : __inline_strncpy_chk (dest, src, len))
                                  ^
 ean.c:356:15: note: instantiated from:
         strncpy(tmp, text, len0);
                      ^~~~
 /usr/include/secure/_string.h:128:71: note: passing argument to parameter
 '__src' here
 __inline_strncpy_chk (char *__restrict __dest, const char *__restrict
 __src,
                                                                       ^
 ean.c:362:2: warning: passing 'unsigned char [24]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strncpy(tmp, text, 11);
         ^~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:124:31: note: instantiated from:
    ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))     \
                               ^
 ean.c:362:10: note: instantiated from:
         strncpy(tmp, text, 11);
                 ^~~
 ean.c:362:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strncpy(tmp, text, 11);
         ^~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:124:37: note: instantiated from:
    ? __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))     \
                                     ^
 ean.c:362:15: note: instantiated from:
         strncpy(tmp, text, 11);
                      ^~~~
 ean.c:362:2: warning: passing 'unsigned char [24]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strncpy(tmp, text, 11);
         ^~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:125:28: note: instantiated from:
    : __inline_strncpy_chk (dest, src, len))
                            ^
 ean.c:362:10: note: instantiated from:
         strncpy(tmp, text, 11);
                 ^~~
 /usr/include/secure/_string.h:128:40: note: passing argument to parameter
 '__dest' here
 __inline_strncpy_chk (char *__restrict __dest, const char *__restrict
 __src,
                                        ^
 ean.c:362:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strncpy(tmp, text, 11);
         ^~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:125:34: note: instantiated from:
    : __inline_strncpy_chk (dest, src, len))
                                  ^
 ean.c:362:15: note: instantiated from:
         strncpy(tmp, text, 11);
                      ^~~~
 /usr/include/secure/_string.h:128:71: note: passing argument to parameter
 '__src' here
 __inline_strncpy_chk (char *__restrict __dest, const char *__restrict
 __src,
                                                                       ^
 ean.c:364:37: warning: passing 'unsigned char [24]' to parameter of type
 'char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         if (text[11] != (ean_make_checksum(tmp, 0) + '0'))
                                            ^~~
 ean.c:101:36: note: passing argument to parameter 'text' here
 static int ean_make_checksum(char *text, int mode)
                                    ^
 ean.c:407:16: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     if (strlen(text+i) != 6)
                ^~~~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 ean.c:525:2: warning: passing 'char *' to parameter of type 'unsigned char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:36: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                                    ^
 ean.c:525:37: note: instantiated from:
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
                                            ^~~~~~~~~
 ean.c:217:40: note: passing argument to parameter 'text' here
 static char *upc_e_to_a(unsigned char *text)
                                        ^
 ean.c:525:2: warning: passing 'char *' to parameter of type 'unsigned char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:36: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                                    ^
 ean.c:525:26: note: instantiated from:
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
                                 ^~~~~~~~~~~~~~~~~~~~~
 ean.c:269:49: note: passing argument to parameter 'text' here
 static unsigned char *upc_a_to_e(unsigned char *text)
                                                 ^
 ean.c:525:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:36: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                                    ^
 ean.c:525:15: note: instantiated from:
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ean.c:525:2: warning: passing 'char *' to parameter of type 'unsigned char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:33: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                                 ^
 ean.c:525:37: note: instantiated from:
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
                                            ^~~~~~~~~
 ean.c:217:40: note: passing argument to parameter 'text' here
 static char *upc_e_to_a(unsigned char *text)
                                        ^
 ean.c:525:2: warning: passing 'char *' to parameter of type 'unsigned char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:33: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                                 ^
 ean.c:525:26: note: instantiated from:
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
                                 ^~~~~~~~~~~~~~~~~~~~~
 ean.c:269:49: note: passing argument to parameter 'text' here
 static unsigned char *upc_a_to_e(unsigned char *text)
                                                 ^
 ean.c:525:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:33: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                                 ^
 ean.c:525:15: note: instantiated from:
         strcpy(text, upc_a_to_e(upc_e_to_a(bc->ascii)));
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:92:70: note: passing argument to parameter
 '__src' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                                                      ^
 ean.c:548:26: warning: passing 'char [256]' to parameter of type 'unsigned
 char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         xpos = width_of_partial(partial);
                                 ^~~~~~~
 ean.c:420:44: note: passing argument to parameter 'partial' here
 static int width_of_partial(unsigned char *partial)
                                            ^
 ean.c:581:27: warning: passing 'char *' to parameter of type 'unsigned
 char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         xpos += width_of_partial(guard[1]);
                                  ^~~~~~~~
 ean.c:420:44: note: passing argument to parameter 'partial' here
 static int width_of_partial(unsigned char *partial)
                                            ^
 ean.c:605:27: warning: passing 'char *' to parameter of type 'unsigned
 char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         xpos += width_of_partial(guard[2]);
                                  ^~~~~~~~
 ean.c:420:44: note: passing argument to parameter 'partial' here
 static int width_of_partial(unsigned char *partial)
                                            ^
 ean.c:612:26: warning: passing 'char [256]' to parameter of type 'unsigned
 char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         xpos = width_of_partial(partial);
                                 ^~~~~~~
 ean.c:420:44: note: passing argument to parameter 'partial' here
 static int width_of_partial(unsigned char *partial)
                                            ^
 ean.c:656:26: warning: passing 'char [256]' to parameter of type 'unsigned
 char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         xpos = width_of_partial(partial);
                                 ^~~~~~~
 ean.c:420:44: note: passing argument to parameter 'partial' here
 static int width_of_partial(unsigned char *partial)
                                            ^
 ean.c:666:27: warning: passing 'char *' to parameter of type 'unsigned
 char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         xpos += width_of_partial(guard[1]);
                                  ^~~~~~~~
 ean.c:420:44: note: passing argument to parameter 'partial' here
 static int width_of_partial(unsigned char *partial)
                                            ^
 ean.c:698:28: warning: passing 'char *' to parameter of type 'unsigned
 char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
                 xpos += width_of_partial(guardS[0]);
                                          ^~~~~~~~~
 ean.c:420:44: note: passing argument to parameter 'partial' here
 static int width_of_partial(unsigned char *partial)
                                            ^
 ean.c:701:28: warning: passing 'char *' to parameter of type 'unsigned
 char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
                 xpos += width_of_partial(guardS[1]);
                                          ^~~~~~~~~
 ean.c:420:44: note: passing argument to parameter 'partial' here
 static int width_of_partial(unsigned char *partial)
                                            ^
 ean.c:734:31: warning: passing 'char [256]' to parameter of type 'unsigned
 char *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         bc->width = width_of_partial(partial);
                                      ^~~~~~~
 ean.c:420:44: note: passing argument to parameter 'partial' here
 static int width_of_partial(unsigned char *partial)
                                            ^
 ean.c:755:5: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
     strcpy(text, "978"); j=3;
     ^~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:30: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 ean.c:755:12: note: instantiated from:
     strcpy(text, "978"); j=3;
            ^~~~
 ean.c:755:5: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
     strcpy(text, "978"); j=3;
     ^~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:27: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                           ^
 ean.c:755:12: note: instantiated from:
     strcpy(text, "978"); j=3;
            ^~~~
 /usr/include/secure/_string.h:92:39: note: passing argument to parameter
 '__dest' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 ean.c:757:11: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     otext = bc->ascii;
           ^ ~~~~~~~~~
 ean.c:765:16: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     if (strchr(otext, ' '))
                ^~~~~
 /usr/include/string.h:86:26: note: passing argument to parameter here
 char    *strchr(const char *, int);
                             ^
 ean.c:766:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strcat(text, strchr(otext, ' '));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:136:36: note: instantiated from:
    ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest))           \
                                    ^
 ean.c:766:22: note: instantiated from:
         strcat(text, strchr(otext, ' '));
                             ^~~~~
 /usr/include/string.h:86:26: note: passing argument to parameter here
 char    *strchr(const char *, int);
                             ^
 ean.c:766:2: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcat(text, strchr(otext, ' '));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:136:30: note: instantiated from:
    ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 ean.c:766:9: note: instantiated from:
         strcat(text, strchr(otext, ' '));
                ^~~~
 ean.c:766:2: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         strcat(text, strchr(otext, ' '));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:137:33: note: instantiated from:
    : __inline_strcat_chk (dest, src))
                                 ^
 ean.c:766:22: note: instantiated from:
         strcat(text, strchr(otext, ' '));
                             ^~~~~
 /usr/include/string.h:86:26: note: passing argument to parameter here
 char    *strchr(const char *, int);
                             ^
 ean.c:766:2: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcat(text, strchr(otext, ' '));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:137:27: note: instantiated from:
    : __inline_strcat_chk (dest, src))
                           ^
 ean.c:766:9: note: instantiated from:
         strcat(text, strchr(otext, ' '));
                ^~~~
 /usr/include/secure/_string.h:140:39: note: passing argument to parameter
 '__dest' here
 __inline_strcat_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 ean.c:767:15: warning: assigning to 'char *' from 'unsigned char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     bc->ascii = text;
               ^ ~~~~
 ean.c:770:15: warning: assigning to 'char *' from 'unsigned char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     bc->ascii = otext; /* restore ascii for the ps comments */
               ^ ~~~~~
 1 warning generated.
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o code128.o code128.c
 code128.c:166:16: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     if (strlen(text)%2)
                ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 code128.c:323:7: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     s = bc->ascii;
       ^ ~~~~~~~~~
 code128.c:336:12: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     for (s = bc->ascii; *s; /* increments are in the loop */) {
            ^ ~~~~~~~~~
 code128.c:512:17: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     if (!strlen(text))
                 ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 code128.c:515:13: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         if (sscanf(text, "%u%n", &val, &n) < 1)
                    ^~~~
 /usr/include/stdio.h:278:36: note: passing argument to parameter here
 int      sscanf(const char * __restrict, const char * __restrict, ...)
 __DARWIN_LDBL_COMPAT(sscanf) __scanflike(2, 3);
                                        ^
 83 warnings generated.
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o code39.o code39.c
 5 warnings generated.
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o code93.o code93.c
 code93.c:72:17: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     if (!strlen(text))
                 ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o i25.o i25.c
 code93.c:107:10: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     text = bc->ascii;
          ^ ~~~~~~~~~
 code93.c:114:31: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     partial = malloc( (strlen(text) *2 + 4) * 6 +2);
                               ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 code93.c:120:43: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     checksum_str = (int *)malloc( (strlen(text) + 3) * 2 * sizeof(int));
                                           ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 code93.c:128:33: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     textinfo = malloc(10*strlen(text) + 2);
                                 ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 code93.c:141:24: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     for (i=0; i<strlen(text); i++) {
                        ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 6 warnings generated.
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o msi.o msi.c
 i25.c:65:10: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     text = bc->ascii;
          ^ ~~~~~~~~~
 i25.c:84:2: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(text+1, bc->ascii);
         ^~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:30: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 i25.c:84:9: note: instantiated from:
         strcpy(text+1, bc->ascii);
                ^~~~~~
 i25.c:84:2: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(text+1, bc->ascii);
         ^~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:27: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                           ^
 i25.c:84:9: note: instantiated from:
         strcpy(text+1, bc->ascii);
                ^~~~~~
 /usr/include/secure/_string.h:92:39: note: passing argument to parameter
 '__dest' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 i25.c:86:2: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(text, bc->ascii);
         ^~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:30: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 i25.c:86:9: note: instantiated from:
         strcpy(text, bc->ascii);
                ^~~~
 i25.c:86:2: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcpy(text, bc->ascii);
         ^~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:27: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                           ^
 i25.c:86:9: note: instantiated from:
         strcpy(text, bc->ascii);
                ^~~~
 /usr/include/secure/_string.h:92:39: note: passing argument to parameter
 '__dest' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 i25.c:100:2: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcat(text, "0");
         ^~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:136:30: note: instantiated from:
    ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 i25.c:100:9: note: instantiated from:
         strcat(text, "0");
                ^~~~
 i25.c:100:2: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
         strcat(text, "0");
         ^~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:137:27: note: instantiated from:
    : __inline_strcat_chk (dest, src))
                           ^
 i25.c:100:9: note: instantiated from:
         strcat(text, "0");
                ^~~~
 /usr/include/secure/_string.h:140:39: note: passing argument to parameter
 '__dest' here
 __inline_strcat_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 i25.c:101:14: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         text[strlen(text)-1] += (10 - (i%10)) % 10;
                     ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 i25.c:105:31: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     partial = malloc( (strlen(text) + 3) * 5 +2); /* be large... */
                               ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 i25.c:113:34: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     textinfo = malloc(10*(strlen(text)+1) + 2);
                                  ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 i25.c:122:5: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
     strcpy(partial, "0"); /* the first space */
     ^~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:88:30: note: instantiated from:
    ? __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 i25.c:122:12: note: instantiated from:
     strcpy(partial, "0"); /* the first space */
            ^~~~~~~
 i25.c:122:5: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
     strcpy(partial, "0"); /* the first space */
     ^~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:89:27: note: instantiated from:
    : __inline_strcpy_chk (dest, src))
                           ^
 i25.c:122:12: note: instantiated from:
     strcpy(partial, "0"); /* the first space */
            ^~~~~~~
 /usr/include/secure/_string.h:92:39: note: passing argument to parameter
 '__dest' here
 __inline_strcpy_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 i25.c:123:5: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
     strcat(partial, guard[0]); /* start */
     ^~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:136:30: note: instantiated from:
    ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 i25.c:123:12: note: instantiated from:
     strcat(partial, guard[0]); /* start */
            ^~~~~~~
 i25.c:123:5: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
     strcat(partial, guard[0]); /* start */
     ^~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:137:27: note: instantiated from:
    : __inline_strcat_chk (dest, src))
                           ^
 i25.c:123:12: note: instantiated from:
     strcat(partial, guard[0]); /* start */
            ^~~~~~~
 /usr/include/secure/_string.h:140:39: note: passing argument to parameter
 '__dest' here
 __inline_strcat_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 i25.c:127:18: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     len = strlen(text);
                  ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 i25.c:137:5: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
         p1 = codes[text[i]-'0'];
            ^ ~~~~~~~~~~~~~~~~~~
 i25.c:138:5: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
         p2 = codes[text[i+1]-'0'];
            ^ ~~~~~~~~~~~~~~~~~~~~
 i25.c:139:24: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         pd = partial + strlen(partial); /* destination */
                               ^~~~~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 i25.c:146:23: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         if (usesum && strlen(text+i)==2) {
                              ^~~~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 i25.c:148:6: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
             sprintf(textptr, "%i:12:%c ", textpos, text[i]);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_stdio.h:50:28: note: instantiated from:
   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                            ^
 i25.c:148:14: note: instantiated from:
             sprintf(textptr, "%i:12:%c ", textpos, text[i]);
                     ^~~~~~~
 i25.c:150:6: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
             sprintf(textptr, "%i:12:%c %i:12:%c ", textpos, text[i],
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_stdio.h:50:28: note: instantiated from:
   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                            ^
 i25.c:150:14: note: instantiated from:
             sprintf(textptr, "%i:12:%c %i:12:%c ", textpos, text[i],
                     ^~~~~~~
 i25.c:154:27: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         textptr += strlen(textptr);
                           ^~~~~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 i25.c:156:5: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
     strcat(partial, guard[1]);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:136:30: note: instantiated from:
    ? __builtin___strcat_chk (dest, src, __darwin_obsz (dest))           \
                              ^
 i25.c:156:12: note: instantiated from:
     strcat(partial, guard[1]);
            ^~~~~~~
 i25.c:156:5: warning: passing 'unsigned char *' to parameter of type 'char
 *' converts between pointers to integer types with different sign
 [-Wpointer-sign]
     strcat(partial, guard[1]);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_string.h:137:27: note: instantiated from:
    : __inline_strcat_chk (dest, src))
                           ^
 i25.c:156:12: note: instantiated from:
     strcat(partial, guard[1]);
            ^~~~~~~
 /usr/include/secure/_string.h:140:39: note: passing argument to parameter
 '__dest' here
 __inline_strcat_chk (char *__restrict __dest, const char *__restrict
 __src)
                                       ^
 i25.c:158:17: warning: assigning to 'char *' from 'unsigned char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     bc->partial = partial;
                 ^ ~~~~~~~
 i25.c:159:18: warning: assigning to 'char *' from 'unsigned char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     bc->textinfo = textinfo;
                  ^ ~~~~~~~~
 26 warnings generated.
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o plessey.o plessey.c
 msi.c:45:17: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     if (!strlen(text))
                 ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 1 warning generated.
 plessey.c:48:17: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     if (!strlen(text))
                 ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o codabar.o codabar.c
 plessey.c:151:9: warning: format string is not a string literal
 (potentially insecure) [-Wformat-security]
         sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/secure/_stdio.h:50:56: note: instantiated from:
   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                        ^
 plessey.c:151:22: note: instantiated from:
         sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2 warnings generated.
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o ps.o ps.c
 codabar.c:58:17: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
     if (!strlen(text))
                 ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 codabar.c:70:34: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
                  (!startpresent || i != strlen(text) - 1))
                                                ^~~~
 /usr/include/string.h:92:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 2 warnings generated.
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o pcl.o pcl.c
 ps.c:84:14: warning: assigning to 'unsigned char *' from 'char *' converts
 between pointers to integer types with different sign [-Wpointer-sign]
     for (ptr = bc->partial+1; *ptr; ptr++)
              ^ ~~~~~~~~~~~~~
 ps.c:186:14: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) {
              ^ ~~~~~~~~~~~~~
 ps.c:225:18: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
         for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) {
                  ^ ~~~~~~~~~~~~
 ps.c:225:52: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) {
                                                    ^~~
 /usr/include/string.h:86:26: note: passing argument to parameter here
 char    *strchr(const char *, int);
                             ^
 ps.c:225:43: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
         for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) {
                                           ^ ~~~~~~~~~~~~~~~~
 ps.c:231:24: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
             if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) {
                        ^~~
 /usr/include/stdio.h:278:36: note: passing argument to parameter here
 int      sscanf(const char * __restrict, const char * __restrict, ...)
 __DARWIN_LDBL_COMPAT(sscanf) __scanflike(2, 3);
                                        ^
 6 warnings generated.
 ccache /Developer/usr/bin/clang -pipe -O2 -arch x86_64 -Wall
 -DHAVE_UNISTD_H=1 -DHAVE_STRCASECMP=1       -c -o main.o main.c
 pcl.c:65:14: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     for (ptr = bc->partial+1; *ptr; ptr++)
              ^ ~~~~~~~~~~~~~
 pcl.c:124:14: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
     for (ptr = bc->partial+1, i=1; *ptr; ptr++, i++) {
              ^ ~~~~~~~~~~~~~
 pcl.c:162:18: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
         for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) {
                  ^ ~~~~~~~~~~~~
 pcl.c:162:52: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
         for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) {
                                                    ^~~
 /usr/include/string.h:86:26: note: passing argument to parameter here
 char    *strchr(const char *, int);
                             ^
 pcl.c:162:43: warning: assigning to 'unsigned char *' from 'char *'
 converts between pointers to integer types with different sign [-Wpointer-
 sign]
         for (ptr = bc->textinfo; ptr; ptr = strchr(ptr, ' ')) {
                                           ^ ~~~~~~~~~~~~~~~~
 pcl.c:168:24: warning: passing 'unsigned char *' to parameter of type
 'const char *' converts between pointers to integer types with different
 sign [-Wpointer-sign]
             if (sscanf(ptr, "%lf:%lf:%c", &f1, &f2, &c) != 3) {
                        ^~~
 /usr/include/stdio.h:278:36: note: passing argument to parameter here
 int      sscanf(const char * __restrict, const char * __restrict, ...)
 __DARWIN_LDBL_COMPAT(sscanf) __scanflike(2, 3);
                                        ^
 main.c:32:10: fatal error: 'paper.h' file not found
 #include <paper.h>
          ^
 6 warnings generated.
 1 error generated.
 make: *** [main.o] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/barcode-0.98'
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/work/barcode-0.98"
 && /usr/bin/make -j2 -w all " returned error 2
 Warning: the following items did not execute (for barcode):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for barcode is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_barcode/barcode/main.log
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/33103#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list