#13032 closed defect (fixed)
sysutils/tree fails to build on Mac OS X 10.5 Leopard
Reported by: | mordeth@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | sysutils tree warning error signedness | Cc: | mordeth@… |
Port: |
Description
[root@dissonance Shared]# port install tree ---> Fetching tree ---> Attempting to fetch tree-1.5.0.tgz from ftp://mama.indstate.edu/linux/tree/ ---> Verifying checksum(s) for tree ---> Extracting tree ---> Configuring tree ---> Building tree with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_tree/work/tree-1.5.0" && make all CFLAGS="-no-cpp-precomp" " returned error 2 Command output: gcc -no-cpp-precomp -c -o tree.o tree.c In file included from tree.c:33: /usr/include/sys/stat.h:261: error: redefinition of 'struct stat' tree.c: In function 'main': tree.c:467: warning: pointer targets in passing argument 1 of 'printit' differ in signedness tree.c: In function 'listdir': tree.c:709: warning: pointer targets in passing argument 1 of 'printit' differ in signedness tree.c:722: warning: pointer targets in passing argument 1 of 'printit' differ in signedness tree.c: In function 'printit': tree.c:1176: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness tree.c:1177: warning: pointer targets in passing argument 2 of 'mbstowcs' differ in signedness make: *** [tree.o] Error 1 Error: Status 1 encountered during processing.
Change History (7)
comment:1 Changed 17 years ago by mordeth@…
comment:2 Changed 17 years ago by afb@…
leopard added stat64, so it probably needs a little tweaking...
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mordeth@… added |
---|---|
Summary: | sysutils/tree fails to build on 10.5 → sysutils/tree fails to build on Mac OS X 10.5 Leopard |
comment:4 Changed 17 years ago by jdv85 (Jonas Due Vesterheden)
I get the exact same build failure on a PPC machine (iBook G4).
comment:5 Changed 17 years ago by 99@…
I get this same error on a Macbook with 10.5.1. It's very sad.
comment:6 Changed 17 years ago by boeyms@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r32371. Thanks to nsutton on IRC for helping to fix this bug.
Note: See
TracTickets for help on using
tickets.
Note: This result was from an Intel Core Duo MacBook Pro; I have not installed Leopard on PPC yet.