#29926 closed defect (invalid)
sshfs @2.2 Build Error
Reported by: | p3k (Tobi Schäfer) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | sshfs macfuse |
Description
$ system_profiler SPHardwareDataType Hardware: Hardware Overview: Model Name: MacBook Model Identifier: MacBook4,1 Processor Name: Intel Core 2 Duo Processor Speed: 2,4 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 3 MB Memory: 6 GB Bus Speed: 800 MHz Boot ROM Version: MB41.00C1.B00 SMC Version (system): 1.31f1 ...
$ which gcc /Developer/usr/bin/gcc $ gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) Copyright (C) 2007 Free Software Foundation, Inc.
$ sudo port -d install sshfs ... ---> Building sshfs DEBUG: build phase started at Sat Jun 25 01:43:40 CEST 2011 DEBUG: Executing org.macports.build (sshfs) DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs/work/sshfs-fuse-2.2" && /usr/bin/make -j2 all' /usr/bin/make all-am /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -DFUSE_USE_VERSION=26 -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -DDARWIN_SEMAPHORE_COMPAT -D_REENTRANT -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/opt/local/include/fuse -O2 -arch x86_64 -Wall -W -c -o sshfs-sshfs.o `test -f 'sshfs.c' || echo './'`sshfs.c /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -DFUSE_USE_VERSION=26 -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -DDARWIN_SEMAPHORE_COMPAT -D_REENTRANT -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/opt/local/include/fuse -O2 -arch x86_64 -Wall -W -c -o sshfs-cache.o `test -f 'cache.c' || echo './'`cache.c cache.c:14:18: error: glib.h: No such file or directory cache.c:28: error: expected specifier-qualifier-list before 'GHashTable' cache.c:50: error: expected specifier-qualifier-list before 'GPtrArray' cache.c:54: error: expected ')' before 'node_' cache.c: In function 'cache_clean_entry': cache.c:65: error: 'TRUE' undeclared (first use in this function) cache.c:65: error: (Each undeclared identifier is reported only once cache.c:65: error: for each function it appears in.) cache.c:67: error: 'FALSE' undeclared (first use in this function) cache.c: In function 'cache_clean': cache.c:73: error: 'struct cache' has no member named 'last_cleaned' cache.c:74: warning: implicit declaration of function 'g_hash_table_size' cache.c:74: error: 'struct cache' has no member named 'table' cache.c:75: error: 'struct cache' has no member named 'last_cleaned' cache.c:76: warning: implicit declaration of function 'g_hash_table_foreach_remove' cache.c:76: error: 'struct cache' has no member named 'table' cache.c:77: error: 'GHRFunc' undeclared (first use in this function) cache.c:77: error: expected ')' before 'cache_clean_entry' cache.c:78: error: 'struct cache' has no member named 'last_cleaned' cache.c: In function 'cache_lookup': cache.c:84: warning: implicit declaration of function 'g_hash_table_lookup' cache.c:84: error: 'struct cache' has no member named 'table' cache.c:84: warning: cast to pointer from integer of different size cache.c: In function 'cache_purge': cache.c:89: warning: implicit declaration of function 'g_hash_table_remove' cache.c:89: error: 'struct cache' has no member named 'table' cache.c: In function 'cache_purge_parent': cache.c:97: error: 'struct cache' has no member named 'table' cache.c:99: warning: implicit declaration of function 'g_strndup' cache.c:99: warning: initialization makes pointer from integer without a cast cache.c:101: warning: implicit declaration of function 'g_free' cache.c: In function 'cache_invalidate': cache.c:111: error: 'struct cache' has no member named 'lock' cache.c:113: error: 'struct cache' has no member named 'lock' cache.c: In function 'cache_invalidate_write': cache.c:118: error: 'struct cache' has no member named 'lock' cache.c:120: error: 'struct cache' has no member named 'write_ctr' cache.c:121: error: 'struct cache' has no member named 'lock' cache.c: In function 'cache_invalidate_dir': cache.c:126: error: 'struct cache' has no member named 'lock' cache.c:129: error: 'struct cache' has no member named 'lock' cache.c: In function 'cache_del_children': cache.c:136: error: 'TRUE' undeclared (first use in this function) cache.c:138: error: 'FALSE' undeclared (first use in this function) cache.c: In function 'cache_do_rename': cache.c:143: error: 'struct cache' has no member named 'lock' cache.c:144: error: 'struct cache' has no member named 'table' cache.c:144: error: 'GHRFunc' undeclared (first use in this function) cache.c:144: error: expected ')' before 'cache_del_children' cache.c:150: error: 'struct cache' has no member named 'lock' cache.c: In function 'cache_get': cache.c:157: warning: implicit declaration of function 'g_strdup' cache.c:157: warning: initialization makes pointer from integer without a cast cache.c:158: warning: implicit declaration of function 'g_new0' cache.c:158: error: expected expression before 'struct' cache.c:158: warning: assignment makes pointer from integer without a cast cache.c:159: warning: implicit declaration of function 'g_hash_table_insert' cache.c:159: error: 'struct cache' has no member named 'table' cache.c: In function 'cache_add_attr': cache.c:172: error: 'struct cache' has no member named 'lock' cache.c:173: error: 'struct cache' has no member named 'write_ctr' cache.c:182: error: 'struct cache' has no member named 'lock' cache.c: In function 'cache_add_dir': cache.c:190: error: 'struct cache' has no member named 'lock' cache.c:193: warning: implicit declaration of function 'g_strfreev' cache.c:199: error: 'struct cache' has no member named 'lock' cache.c: In function 'cache_add_link': cache.c:214: error: 'struct cache' has no member named 'lock' cache.c:218: warning: assignment makes pointer from integer without a cast cache.c:223: error: 'struct cache' has no member named 'lock' cache.c: In function 'cache_get_attr': cache.c:230: error: 'struct cache' has no member named 'lock' cache.c:239: error: 'struct cache' has no member named 'lock' cache.c: In function 'cache_get_write_ctr': cache.c:247: error: 'struct cache' has no member named 'lock' cache.c:248: error: 'struct cache' has no member named 'write_ctr' cache.c:249: error: 'struct cache' has no member named 'lock' cache.c: In function 'cache_readlink': cache.c:271: error: 'struct cache' has no member named 'lock' cache.c:278: error: 'struct cache' has no member named 'lock' cache.c:282: error: 'struct cache' has no member named 'lock' sshfs.c:41:18: error: glib.h: No such file or directory cache.c: In function 'cache_dirfill': cache.c:295: warning: implicit declaration of function 'g_ptr_array_add' cache.c:295: error: 'struct fuse_cache_dirhandle' has no member named 'dir' cache.c:300: warning: implicit declaration of function 'g_strdup_printf' cache.c:300: warning: assignment makes pointer from integer without a cast cache.c:301: error: 'struct fuse_cache_dirhandle' has no member named 'wrctr' cache.c: In function 'cache_getdir': cache.c:315: error: 'struct cache' has no member named 'lock' cache.c:322: error: 'struct cache' has no member named 'lock' cache.c:326: error: 'struct cache' has no member named 'lock' cache.c:331: error: 'struct fuse_cache_dirhandle' has no member named 'dir' cache.c:331: warning: implicit declaration of function 'g_ptr_array_new' cache.c:332: error: 'struct fuse_cache_dirhandle' has no member named 'wrctr' cache.c:334: error: 'struct fuse_cache_dirhandle' has no member named 'dir' cache.c:335: error: 'struct fuse_cache_dirhandle' has no member named 'dir' cache.c:340: warning: implicit declaration of function 'g_ptr_array_free' cache.c:340: error: 'struct fuse_cache_dirhandle' has no member named 'dir' cache.c:340: error: 'FALSE' undeclared (first use in this function) sshfs.c:221: error: expected specifier-qualifier-list before 'GHashTable' sshfs.c:323: warning: implicit declaration of function 'offsetof' sshfs.c:323: error: expected expression before 'struct' sshfs.c:323: error: initializer element is not constant sshfs.c:323: error: (near initialization for 'sshfs_opts[0].offset') sshfs.c:324: error: expected expression before 'struct' sshfs.c:324: error: initializer element is not constant sshfs.c:324: error: (near initialization for 'sshfs_opts[1].offset') sshfs.c:325: error: expected expression before 'struct' sshfs.c:325: error: initializer element is not constant sshfs.c:325: error: (near initialization for 'sshfs_opts[2].offset') sshfs.c:326: error: expected expression before 'struct' sshfs.c:326: error: initializer element is not constant sshfs.c:326: error: (near initialization for 'sshfs_opts[3].offset') sshfs.c:327: error: expected expression before 'struct' sshfs.c:327: error: initializer element is not constant sshfs.c:327: error: (near initialization for 'sshfs_opts[4].offset') sshfs.c:328: error: expected expression before 'struct' sshfs.c:328: error: initializer element is not constant sshfs.c:328: error: (near initialization for 'sshfs_opts[5].offset') sshfs.c:329: error: expected expression before 'struct' sshfs.c:329: error: initializer element is not constant sshfs.c:329: error: (near initialization for 'sshfs_opts[6].offset') sshfs.c:330: error: expected expression before 'struct' sshfs.c:330: error: initializer element is not constant sshfs.c:330: error: (near initialization for 'sshfs_opts[7].offset') sshfs.c:331: error: expected expression before 'struct' sshfs.c:331: error: initializer element is not constant sshfs.c:331: error: (near initialization for 'sshfs_opts[8].offset') sshfs.c:332: error: expected expression before 'struct' sshfs.c:332: error: initializer element is not constant sshfs.c:332: error: (near initialization for 'sshfs_opts[9].offset') sshfs.c:333: error: expected expression before 'struct' sshfs.c:333: error: initializer element is not constant sshfs.c:333: error: (near initialization for 'sshfs_opts[10].offset') sshfs.c:334: error: expected expression before 'struct' sshfs.c:334: error: initializer element is not constant sshfs.c:334: error: (near initialization for 'sshfs_opts[11].offset') sshfs.c:335: error: expected expression before 'struct' sshfs.c:335: error: initializer element is not constant sshfs.c:335: error: (near initialization for 'sshfs_opts[12].offset') sshfs.c:336: error: expected expression before 'struct' sshfs.c:336: error: initializer element is not constant sshfs.c:336: error: (near initialization for 'sshfs_opts[13].offset') sshfs.c:337: error: expected expression before 'struct' sshfs.c:337: error: initializer element is not constant sshfs.c:337: error: (near initialization for 'sshfs_opts[14].offset') sshfs.c:338: error: expected expression before 'struct' sshfs.c:338: error: initializer element is not constant sshfs.c:338: error: (near initialization for 'sshfs_opts[15].offset') sshfs.c:339: error: expected expression before 'struct' sshfs.c:339: error: initializer element is not constant sshfs.c:339: error: (near initialization for 'sshfs_opts[16].offset') sshfs.c:340: error: expected expression before 'struct' sshfs.c:340: error: initializer element is not constant sshfs.c:340: error: (near initialization for 'sshfs_opts[17].offset') sshfs.c:356: error: expected expression before 'struct' sshfs.c:356: error: initializer element is not constant sshfs.c:356: error: (near initialization for 'workaround_opts[0].offset') sshfs.c:357: error: expected expression before 'struct' sshfs.c:357: error: initializer element is not constant sshfs.c:357: error: (near initialization for 'workaround_opts[1].offset') sshfs.c:358: error: expected expression before 'struct' sshfs.c:358: error: initializer element is not constant sshfs.c:358: error: (near initialization for 'workaround_opts[2].offset') sshfs.c:359: error: expected expression before 'struct' sshfs.c:359: error: initializer element is not constant sshfs.c:359: error: (near initialization for 'workaround_opts[3].offset') sshfs.c:360: error: expected expression before 'struct' sshfs.c:360: error: initializer element is not constant sshfs.c:360: error: (near initialization for 'workaround_opts[4].offset') sshfs.c:361: error: expected expression before 'struct' sshfs.c:361: error: initializer element is not constant sshfs.c:361: error: (near initialization for 'workaround_opts[5].offset') sshfs.c:362: error: expected expression before 'struct' sshfs.c:362: error: initializer element is not constant sshfs.c:362: error: (near initialization for 'workaround_opts[6].offset') sshfs.c:363: error: expected expression before 'struct' sshfs.c:363: error: initializer element is not constant sshfs.c:363: error: (near initialization for 'workaround_opts[7].offset') sshfs.c:364: error: expected expression before 'struct' sshfs.c:364: error: initializer element is not constant sshfs.c:364: error: (near initialization for 'workaround_opts[8].offset') sshfs.c:365: error: expected expression before 'struct' sshfs.c:365: error: initializer element is not constant sshfs.c:365: error: (near initialization for 'workaround_opts[9].offset') sshfs.c:366: error: expected expression before 'struct' sshfs.c:366: error: initializer element is not constant sshfs.c:366: error: (near initialization for 'workaround_opts[10].offset') sshfs.c:367: error: expected expression before 'struct' sshfs.c:367: error: initializer element is not constant sshfs.c:367: error: (near initialization for 'workaround_opts[11].offset') sshfs.c:368: error: expected expression before 'struct' sshfs.c:368: error: initializer element is not constant sshfs.c:368: error: (near initialization for 'workaround_opts[12].offset') sshfs.c:369: error: expected expression before 'struct' sshfs.c:369: error: initializer element is not constant sshfs.c:369: error: (near initialization for 'workaround_opts[13].offset') sshfs.c:370: error: expected expression before 'struct' sshfs.c:370: error: initializer element is not constant sshfs.c:370: error: (near initialization for 'workaround_opts[14].offset') sshfs.c:371: error: expected expression before 'struct' sshfs.c:371: error: initializer element is not constant sshfs.c:371: error: (near initialization for 'workaround_opts[15].offset') cache.c: In function 'cache_init': cache.c:567: error: 'struct cache' has no member named 'lock' cache.c:568: error: 'struct cache' has no member named 'table' cache.c:568: warning: implicit declaration of function 'g_hash_table_new_full' cache.c:568: error: 'g_str_hash' undeclared (first use in this function) cache.c:568: error: 'g_str_equal' undeclared (first use in this function) cache.c:569: error: 'g_free' undeclared (first use in this function) cache.c:569: error: 'free_node' undeclared (first use in this function) cache.c:570: error: 'struct cache' has no member named 'table' cache.c: At top level: cache.c:579: warning: implicit declaration of function 'offsetof' cache.c:579: error: expected expression before 'struct' cache.c:579: error: initializer element is not constant cache.c:579: error: (near initialization for 'cache_opts[0].offset') cache.c:580: error: expected expression before 'struct' cache.c:580: error: initializer element is not constant cache.c:580: error: (near initialization for 'cache_opts[1].offset') cache.c:581: error: expected expression before 'struct' cache.c:581: error: initializer element is not constant cache.c:581: error: (near initialization for 'cache_opts[2].offset') cache.c:582: error: expected expression before 'struct' cache.c:582: error: initializer element is not constant cache.c:582: error: (near initialization for 'cache_opts[3].offset') cache.c:583: error: expected expression before 'struct' cache.c:583: error: initializer element is not constant cache.c:583: error: (near initialization for 'cache_opts[4].offset') cache.c:584: error: expected expression before 'struct' cache.c:584: error: initializer element is not constant cache.c:584: error: (near initialization for 'cache_opts[5].offset') cache.c:585: error: expected expression before 'struct' cache.c:585: error: initializer element is not constant cache.c:585: error: (near initialization for 'cache_opts[6].offset') cache.c:586: error: expected expression before 'struct' cache.c:586: error: initializer element is not constant cache.c:586: error: (near initialization for 'cache_opts[7].offset') sshfs.c:372: error: expected expression before 'struct' sshfs.c:372: error: initializer element is not constant sshfs.c:372: error: (near initialization for 'workaround_opts[16].offset') sshfs.c:373: error: expected expression before 'struct' sshfs.c:373: error: initializer element is not constant sshfs.c:373: error: (near initialization for 'workaround_opts[17].offset') sshfs.c:374: error: expected expression before 'struct' sshfs.c:374: error: initializer element is not constant sshfs.c:374: error: (near initialization for 'workaround_opts[18].offset') sshfs.c:375: error: expected expression before 'struct' sshfs.c:375: error: initializer element is not constant sshfs.c:375: error: (near initialization for 'workaround_opts[19].offset') sshfs.c: In function 'buf_add_path': sshfs.c:551: warning: implicit declaration of function 'g_strdup_printf' sshfs.c:552: warning: assignment makes pointer from integer without a cast sshfs.c:554: warning: implicit declaration of function 'g_free' make[1]: *** [sshfs-cache.o] Error 1 make[1]: *** Waiting for unfinished jobs.... sshfs.c: In function 'buf_get_attrs': sshfs.c:671: error: 'struct sshfs' has no member named 'remote_uid_detected' sshfs.c:672: error: 'struct sshfs' has no member named 'remote_uid' sshfs.c:672: warning: comparison between pointer and integer sshfs.c:673: error: 'struct sshfs' has no member named 'local_uid' sshfs.c:673: warning: assignment makes integer from pointer without a cast sshfs.c:674: error: 'struct sshfs' has no member named 'remote_gid' sshfs.c:674: warning: comparison between pointer and integer sshfs.c:675: error: 'struct sshfs' has no member named 'local_gid' sshfs.c:675: warning: assignment makes integer from pointer without a cast sshfs.c:686: error: 'struct sshfs' has no member named 'blksize' sshfs.c:687: error: 'struct sshfs' has no member named 'blksize' sshfs.c:687: warning: assignment makes integer from pointer without a cast sshfs.c:688: error: 'struct sshfs' has no member named 'blksize' sshfs.c:689: error: 'struct sshfs' has no member named 'blksize' sshfs.c:689: error: invalid operands to binary & (have 'struct fuse_opt *' and 'long long unsigned int') sshfs.c:689: error: invalid operands to binary >> (have 'struct fuse_opt *' and 'int') sshfs.c:689: warning: assignment makes integer from pointer without a cast sshfs.c: In function 'pty_expect_loop': sshfs.c:870: error: 'struct sshfs' has no member named 'fd' sshfs.c:870: warning: assignment makes integer from pointer without a cast sshfs.c:872: error: 'struct sshfs' has no member named 'ptyfd' sshfs.c:872: warning: assignment makes integer from pointer without a cast sshfs.c:893: error: 'struct sshfs' has no member named 'ptyfd' sshfs.c:893: warning: passing argument 1 of 'read' makes integer from pointer without a cast sshfs.c:906: error: 'struct sshfs' has no member named 'ptyfd' sshfs.c:906: error: 'struct sshfs' has no member named 'password' sshfs.c:907: error: 'struct sshfs' has no member named 'password' sshfs.c:907: warning: passing argument 1 of 'strlen' from incompatible pointer type sshfs.c:907: warning: passing argument 1 of 'write' makes integer from pointer without a cast sshfs.c:917: error: 'struct sshfs' has no member named 'password' sshfs.c:917: error: 'struct sshfs' has no member named 'password' sshfs.c:917: error: 'struct sshfs' has no member named 'password' sshfs.c:917: error: 'struct sshfs' has no member named 'password' sshfs.c:918: error: 'struct sshfs' has no member named 'password' sshfs.c:919: error: 'struct sshfs' has no member named 'password' sshfs.c:919: warning: statement with no effect sshfs.c: In function 'start_ssh': sshfs.c:963: error: 'struct sshfs' has no member named 'password_stdin' sshfs.c:965: error: 'struct sshfs' has no member named 'ptyfd' sshfs.c:965: warning: statement with no effect sshfs.c:966: error: 'struct sshfs' has no member named 'ptyfd' sshfs.c:966: warning: comparison between pointer and integer sshfs.c:969: error: 'struct sshfs' has no member named 'ptyslavefd' sshfs.c:969: warning: statement with no effect sshfs.c:970: error: 'struct sshfs' has no member named 'ptyslavefd' sshfs.c:970: warning: comparison between pointer and integer sshfs.c:978: error: 'struct sshfs' has no member named 'fd' sshfs.c:978: warning: statement with no effect sshfs.c:1035: error: 'struct sshfs' has no member named 'password_stdin' sshfs.c:1045: error: 'struct sshfs' has no member named 'ptyslavefd' sshfs.c:1045: warning: passing argument 1 of 'close' makes integer from pointer without a cast sshfs.c:1046: error: 'struct sshfs' has no member named 'ptyfd' sshfs.c:1046: warning: passing argument 1 of 'close' makes integer from pointer without a cast sshfs.c: In function 'connect_to': sshfs.c:1103: error: 'struct sshfs' has no member named 'fd' sshfs.c:1103: warning: statement with no effect sshfs.c: In function 'do_write': sshfs.c:1111: error: 'struct sshfs' has no member named 'fd' sshfs.c:1111: warning: passing argument 1 of 'writev' makes integer from pointer without a cast sshfs.c: In function 'sftp_send_iov': sshfs.c:1175: error: 'struct sshfs' has no member named 'lock_write' sshfs.c:1175: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type sshfs.c:1177: error: 'struct sshfs' has no member named 'lock_write' sshfs.c:1177: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c: In function 'do_read': sshfs.c:1188: error: 'struct sshfs' has no member named 'fd' sshfs.c:1188: warning: passing argument 1 of 'read' makes integer from pointer without a cast sshfs.c: In function 'chunk_put_locked': sshfs.c:1250: error: 'struct sshfs' has no member named 'lock' sshfs.c:1250: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type sshfs.c:1252: error: 'struct sshfs' has no member named 'lock' sshfs.c:1252: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c: In function 'clean_req': sshfs.c:1267: error: 'TRUE' undeclared (first use in this function) sshfs.c:1267: error: (Each undeclared identifier is reported only once sshfs.c:1267: error: for each function it appears in.) sshfs.c:1267: warning: return makes integer from pointer without a cast sshfs.c: In function 'process_one_request': sshfs.c:1285: error: 'struct sshfs' has no member named 'lock' sshfs.c:1285: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type sshfs.c:1287: warning: implicit declaration of function 'g_hash_table_lookup' sshfs.c:1287: error: 'struct sshfs' has no member named 'reqtab' sshfs.c:1287: warning: implicit declaration of function 'GUINT_TO_POINTER' sshfs.c:1287: warning: cast to pointer from integer of different size sshfs.c:1293: error: 'struct sshfs' has no member named 'outstanding_len' sshfs.c:1293: error: 'struct sshfs' has no member named 'max_outstanding_len' sshfs.c:1294: error: 'struct sshfs' has no member named 'outstanding_len' sshfs.c:1294: warning: statement with no effect sshfs.c:1296: error: 'struct sshfs' has no member named 'outstanding_len' sshfs.c:1296: error: 'struct sshfs' has no member named 'max_outstanding_len' sshfs.c:1297: error: 'struct sshfs' has no member named 'outstanding_cond' sshfs.c:1297: warning: passing argument 1 of 'pthread_cond_broadcast' from incompatible pointer type sshfs.c:1299: warning: implicit declaration of function 'g_hash_table_remove' sshfs.c:1299: error: 'struct sshfs' has no member named 'reqtab' sshfs.c:1301: error: 'struct sshfs' has no member named 'lock' sshfs.c:1301: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c:1314: error: 'struct sshfs' has no member named 'min_rtt' sshfs.c:1314: warning: comparison between pointer and integer sshfs.c:1314: error: 'struct sshfs' has no member named 'num_received' sshfs.c:1315: error: 'struct sshfs' has no member named 'min_rtt' sshfs.c:1315: warning: statement with no effect sshfs.c:1316: error: 'struct sshfs' has no member named 'max_rtt' sshfs.c:1316: warning: comparison between pointer and integer sshfs.c:1317: error: 'struct sshfs' has no member named 'max_rtt' sshfs.c:1317: warning: statement with no effect sshfs.c:1318: error: 'struct sshfs' has no member named 'total_rtt' sshfs.c:1318: warning: statement with no effect sshfs.c:1319: error: 'struct sshfs' has no member named 'num_received' sshfs.c:1319: error: lvalue required as increment operand sshfs.c:1319: error: lvalue required as increment operand sshfs.c:1319: warning: statement with no effect sshfs.c:1320: error: 'struct sshfs' has no member named 'bytes_received' sshfs.c:1320: warning: statement with no effect sshfs.c:1329: error: 'struct sshfs' has no member named 'lock' sshfs.c:1329: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type sshfs.c:1331: error: 'struct sshfs' has no member named 'lock' sshfs.c:1331: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c: In function 'close_conn': sshfs.c:1343: error: 'struct sshfs' has no member named 'fd' sshfs.c:1343: warning: passing argument 1 of 'close' makes integer from pointer without a cast sshfs.c:1344: error: 'struct sshfs' has no member named 'fd' sshfs.c:1344: warning: statement with no effect sshfs.c:1345: error: 'struct sshfs' has no member named 'ptyfd' sshfs.c:1345: warning: comparison between pointer and integer sshfs.c:1346: error: 'struct sshfs' has no member named 'ptyfd' sshfs.c:1346: warning: passing argument 1 of 'close' makes integer from pointer without a cast sshfs.c:1347: error: 'struct sshfs' has no member named 'ptyfd' sshfs.c:1347: warning: statement with no effect sshfs.c:1349: error: 'struct sshfs' has no member named 'ptyslavefd' sshfs.c:1349: warning: comparison between pointer and integer sshfs.c:1350: error: 'struct sshfs' has no member named 'ptyslavefd' sshfs.c:1350: warning: passing argument 1 of 'close' makes integer from pointer without a cast sshfs.c:1351: error: 'struct sshfs' has no member named 'ptyslavefd' sshfs.c:1351: warning: statement with no effect sshfs.c: In function 'process_requests': sshfs.c:1368: error: 'struct sshfs' has no member named 'lock' sshfs.c:1368: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type sshfs.c:1369: error: 'struct sshfs' has no member named 'processing_thread_started' sshfs.c:1369: warning: statement with no effect sshfs.c:1371: warning: implicit declaration of function 'g_hash_table_foreach_remove' sshfs.c:1371: error: 'struct sshfs' has no member named 'reqtab' sshfs.c:1371: error: 'GHRFunc' undeclared (first use in this function) sshfs.c:1371: error: expected ')' before 'clean_req' sshfs.c:1373: error: 'struct sshfs' has no member named 'connver' sshfs.c:1373: error: lvalue required as increment operand sshfs.c:1373: error: lvalue required as increment operand sshfs.c:1373: warning: statement with no effect sshfs.c:1374: error: 'struct sshfs' has no member named 'lock' sshfs.c:1374: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c: In function 'sftp_init_reply_ok': sshfs.c:1420: error: 'struct sshfs' has no member named 'ext_posix_rename' sshfs.c:1420: warning: statement with no effect sshfs.c:1425: error: 'struct sshfs' has no member named 'ext_statvfs' sshfs.c:1425: warning: statement with no effect sshfs.c: In function 'sftp_init': sshfs.c:1466: error: 'struct sshfs' has no member named 'password_stdin' sshfs.c:1472: error: 'struct sshfs' has no member named 'server_version' sshfs.c:1472: warning: statement with no effect sshfs.c: In function 'sftp_detect_uid': sshfs.c:1542: error: 'struct sshfs' has no member named 'remote_uid' sshfs.c:1542: warning: statement with no effect sshfs.c:1543: error: 'struct sshfs' has no member named 'local_uid' sshfs.c:1543: warning: statement with no effect sshfs.c:1545: error: 'struct sshfs' has no member named 'remote_gid' sshfs.c:1545: warning: statement with no effect sshfs.c:1546: error: 'struct sshfs' has no member named 'local_gid' sshfs.c:1546: warning: statement with no effect sshfs.c:1548: error: 'struct sshfs' has no member named 'remote_uid_detected' sshfs.c:1548: warning: statement with no effect sshfs.c:1549: error: 'struct sshfs' has no member named 'remote_uid' sshfs.c:1549: warning: format '%i' expects type 'int', but argument 3 has type 'struct fuse_opt *' sshfs.c:1552: error: 'struct sshfs' has no member named 'remote_uid_detected' sshfs.c: In function 'connect_remote': sshfs.c:1631: error: 'struct sshfs' has no member named 'num_connect' sshfs.c:1631: error: lvalue required as increment operand sshfs.c:1631: error: lvalue required as increment operand sshfs.c:1631: warning: statement with no effect sshfs.c: In function 'start_processing_thread': sshfs.c:1643: error: 'struct sshfs' has no member named 'processing_thread_started' sshfs.c:1646: error: 'struct sshfs' has no member named 'fd' sshfs.c:1646: warning: comparison between pointer and integer sshfs.c:1665: error: 'struct sshfs' has no member named 'processing_thread_started' sshfs.c:1665: warning: statement with no effect sshfs.c: In function 'sftp_request_wait': sshfs.c:1741: error: 'struct sshfs' has no member named 'lock' sshfs.c:1741: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type sshfs.c:1743: error: 'struct sshfs' has no member named 'lock' sshfs.c:1743: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c: In function 'sftp_request_send': sshfs.c:1756: warning: implicit declaration of function 'g_new0' sshfs.c:1756: error: expected expression before 'struct' sshfs.c:1756: warning: initialization makes pointer from integer without a cast sshfs.c:1763: error: 'struct sshfs' has no member named 'lock' sshfs.c:1763: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type sshfs.c:1769: error: 'struct sshfs' has no member named 'lock' sshfs.c:1769: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c:1773: error: 'struct sshfs' has no member named 'outstanding_len' sshfs.c:1773: warning: statement with no effect sshfs.c:1774: error: 'struct sshfs' has no member named 'outstanding_len' sshfs.c:1774: error: 'struct sshfs' has no member named 'max_outstanding_len' sshfs.c:1775: error: 'struct sshfs' has no member named 'outstanding_cond' sshfs.c:1775: error: 'struct sshfs' has no member named 'lock' sshfs.c:1775: warning: passing argument 1 of 'pthread_cond_wait' from incompatible pointer type sshfs.c:1775: warning: passing argument 2 of 'pthread_cond_wait' from incompatible pointer type sshfs.c:1777: warning: implicit declaration of function 'g_hash_table_insert' sshfs.c:1777: error: 'struct sshfs' has no member named 'reqtab' sshfs.c:1780: error: 'struct sshfs' has no member named 'num_sent' sshfs.c:1780: error: lvalue required as increment operand sshfs.c:1780: error: lvalue required as increment operand sshfs.c:1780: warning: statement with no effect sshfs.c:1781: error: 'struct sshfs' has no member named 'bytes_sent' sshfs.c:1781: warning: statement with no effect sshfs.c:1784: error: 'struct sshfs' has no member named 'lock' sshfs.c:1784: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c:1788: error: 'struct sshfs' has no member named 'lock' sshfs.c:1788: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type sshfs.c:1789: error: 'struct sshfs' has no member named 'reqtab' sshfs.c:1790: error: 'struct sshfs' has no member named 'lock' sshfs.c:1790: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c: In function 'sshfs_readlink': sshfs.c:1922: error: 'struct sshfs' has no member named 'server_version' sshfs.c:1922: warning: comparison between pointer and integer sshfs.c: In function 'sshfs_symlink': sshfs.c:2027: error: 'struct sshfs' has no member named 'server_version' sshfs.c:2027: warning: comparison between pointer and integer sshfs.c: In function 'random_string': sshfs.c:2091: error: 'struct sshfs' has no member named 'randseed' sshfs.c:2091: warning: passing argument 1 of 'rand_r' from incompatible pointer type sshfs.c: In function 'sshfs_rename': sshfs.c:2098: error: 'struct sshfs' has no member named 'ext_posix_rename' sshfs.c: In function 'sshfs_chown': sshfs.c:2143: error: 'struct sshfs' has no member named 'remote_uid_detected' sshfs.c:2144: error: 'struct sshfs' has no member named 'local_uid' sshfs.c:2144: warning: comparison between pointer and integer sshfs.c:2145: error: 'struct sshfs' has no member named 'remote_uid' sshfs.c:2145: warning: assignment makes integer from pointer without a cast sshfs.c:2146: error: 'struct sshfs' has no member named 'local_gid' sshfs.c:2146: warning: comparison between pointer and integer sshfs.c:2147: error: 'struct sshfs' has no member named 'remote_gid' sshfs.c:2147: warning: assignment makes integer from pointer without a cast sshfs.c: In function 'sshfs_truncate': sshfs.c:2165: error: 'struct sshfs' has no member named 'modifver' sshfs.c:2165: error: lvalue required as increment operand sshfs.c:2165: error: lvalue required as increment operand sshfs.c:2165: warning: statement with no effect sshfs.c: In function 'sshfs_file_is_conn': sshfs.c:2194: error: 'struct sshfs' has no member named 'connver' sshfs.c:2194: warning: comparison between pointer and integer sshfs.c: In function 'sshfs_open_common': sshfs.c:2230: error: expected expression before 'struct' sshfs.c:2230: warning: assignment makes pointer from integer without a cast sshfs.c:2240: error: 'struct sshfs' has no member named 'modifver' sshfs.c:2240: warning: assignment makes integer from pointer without a cast sshfs.c:2241: error: 'struct sshfs' has no member named 'connver' sshfs.c:2241: warning: assignment makes integer from pointer without a cast sshfs.c: In function 'sshfs_flush': sshfs.c:2314: error: 'struct sshfs' has no member named 'lock' sshfs.c:2314: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type sshfs.c:2321: error: 'struct sshfs' has no member named 'lock' sshfs.c:2321: warning: passing argument 2 of 'pthread_cond_wait' from incompatible pointer type sshfs.c:2325: error: 'struct sshfs' has no member named 'lock' sshfs.c:2325: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c: In function 'submit_read': sshfs.c:2470: error: expected expression before 'struct' sshfs.c:2470: warning: initialization makes pointer from integer without a cast sshfs.c:2477: error: 'struct sshfs' has no member named 'modifver' sshfs.c:2477: warning: assignment makes integer from pointer without a cast sshfs.c:2479: error: 'struct sshfs' has no member named 'lock' sshfs.c:2479: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type sshfs.c:2482: error: 'struct sshfs' has no member named 'lock' sshfs.c:2482: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c: In function 'search_read_chunk': sshfs.c:2506: error: 'struct sshfs' has no member named 'modifver' sshfs.c:2506: warning: comparison between pointer and integer sshfs.c: In function 'sshfs_async_read': sshfs.c:2523: error: 'struct sshfs' has no member named 'lock' sshfs.c:2523: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type sshfs.c:2525: error: 'struct sshfs' has no member named 'modifver' sshfs.c:2525: warning: comparison between pointer and integer sshfs.c:2527: error: 'struct sshfs' has no member named 'modifver' sshfs.c:2527: warning: assignment makes integer from pointer without a cast sshfs.c:2529: error: 'struct sshfs' has no member named 'lock' sshfs.c:2529: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type sshfs.c: In function 'sshfs_write': sshfs.c:2620: error: 'struct sshfs' has no member named 'modifver' sshfs.c:2620: error: lvalue required as increment operand sshfs.c:2620: error: lvalue required as increment operand sshfs.c:2620: warning: statement with no effect sshfs.c: In function 'sshfs_statfs': sshfs.c:2663: error: 'struct sshfs' has no member named 'ext_statvfs' sshfs.c:2667: error: 'struct sshfs' has no member named 'blksize' sshfs.c:2667: warning: assignment makes integer from pointer without a cast sshfs.c: In function 'sshfs_ftruncate': sshfs.c:2726: error: 'struct sshfs' has no member named 'modifver' sshfs.c:2726: error: lvalue required as increment operand sshfs.c:2726: error: lvalue required as increment operand sshfs.c:2726: warning: statement with no effect sshfs.c: In function 'processing_init': sshfs.c:2892: error: 'struct sshfs' has no member named 'lock' sshfs.c:2892: warning: passing argument 1 of 'pthread_mutex_init' from incompatible pointer type sshfs.c:2893: error: 'struct sshfs' has no member named 'lock_write' sshfs.c:2893: warning: passing argument 1 of 'pthread_mutex_init' from incompatible pointer type sshfs.c:2894: error: 'struct sshfs' has no member named 'outstanding_cond' sshfs.c:2894: warning: passing argument 1 of 'pthread_cond_init' from incompatible pointer type sshfs.c:2895: error: 'struct sshfs' has no member named 'reqtab' sshfs.c:2895: warning: implicit declaration of function 'g_hash_table_new' sshfs.c:2895: warning: statement with no effect sshfs.c:2896: error: 'struct sshfs' has no member named 'reqtab' sshfs.c: In function 'sshfs_opt_proc': sshfs.c:3016: warning: assignment makes pointer from integer without a cast sshfs.c:3031: warning: assignment makes pointer from integer without a cast sshfs.c:3041: warning: assignment makes pointer from integer without a cast sshfs.c: In function 'read_password': sshfs.c:3135: error: 'struct sshfs' has no member named 'password' sshfs.c:3137: warning: statement with no effect sshfs.c:3138: error: 'struct sshfs' has no member named 'password' sshfs.c:3143: error: 'struct sshfs' has no member named 'password' sshfs.c:3144: error: 'struct sshfs' has no member named 'password' sshfs.c:3144: error: 'struct sshfs' has no member named 'password' sshfs.c:3144: error: 'struct sshfs' has no member named 'password' sshfs.c:3144: error: 'struct sshfs' has no member named 'password' sshfs.c:3145: error: 'struct sshfs' has no member named 'password' sshfs.c:3146: error: 'struct sshfs' has no member named 'password' sshfs.c:3146: warning: statement with no effect sshfs.c:3156: error: 'struct sshfs' has no member named 'password' sshfs.c:3162: error: 'struct sshfs' has no member named 'password' sshfs.c:3162: error: incompatible types in assignment sshfs.c:3162: warning: statement with no effect sshfs.c:3165: error: 'struct sshfs' has no member named 'password' sshfs.c:3165: error: invalid operands to binary == (have 'struct fuse_opt' and 'int') sshfs.c:3172: error: 'struct sshfs' has no member named 'password' sshfs.c:3172: error: incompatible types in assignment sshfs.c:3172: warning: statement with no effect sshfs.c: In function 'fsname_escape_commas': sshfs.c:3266: warning: implicit declaration of function 'g_malloc' sshfs.c:3266: warning: initialization makes pointer from integer without a cast sshfs.c: At top level: sshfs.c:3287: warning: 'main' takes only zero or two arguments sshfs.c: In function 'main': sshfs.c:3303: warning: implicit declaration of function 'g_slice_set_config' sshfs.c:3303: error: 'G_SLICE_CONFIG_ALWAYS_MALLOC' undeclared (first use in this function) sshfs.c:3303: error: 'TRUE' undeclared (first use in this function) sshfs.c:3305: warning: implicit declaration of function 'g_thread_init' sshfs.c:3307: error: 'struct sshfs' has no member named 'blksize' sshfs.c:3307: warning: statement with no effect sshfs.c:3320: error: 'struct sshfs' has no member named 'progname' sshfs.c:3320: warning: statement with no effect sshfs.c:3321: error: 'struct sshfs' has no member named 'fd' sshfs.c:3321: warning: statement with no effect sshfs.c:3322: error: 'struct sshfs' has no member named 'ptyfd' sshfs.c:3322: warning: statement with no effect sshfs.c:3323: error: 'struct sshfs' has no member named 'ptyslavefd' sshfs.c:3323: warning: statement with no effect sshfs.c:3339: error: 'struct sshfs' has no member named 'password_stdin' sshfs.c:3349: error: 'struct sshfs' has no member named 'max_outstanding_len' sshfs.c:3349: warning: statement with no effect sshfs.c:3351: error: 'struct sshfs' has no member named 'max_outstanding_len' sshfs.c:3351: warning: statement with no effect sshfs.c:3359: warning: implicit declaration of function 'g_strdup' sshfs.c:3359: warning: assignment makes pointer from integer without a cast sshfs.c:3362: warning: assignment makes pointer from integer without a cast sshfs.c:3364: warning: assignment makes pointer from integer without a cast sshfs.c:3369: warning: assignment makes pointer from integer without a cast sshfs.c:3405: error: 'struct sshfs' has no member named 'randseed' sshfs.c:3405: warning: statement with no effect sshfs.c:3414: warning: assignment makes pointer from integer without a cast sshfs.c:3416: warning: assignment makes pointer from integer without a cast sshfs.c:3426: warning: assignment makes pointer from integer without a cast sshfs.c:3440: error: 'struct sshfs' has no member named 'num_sent' sshfs.c:3441: error: 'struct sshfs' has no member named 'total_rtt' sshfs.c:3441: error: 'struct sshfs' has no member named 'num_sent' sshfs.c:3441: error: invalid operands to binary / (have 'struct fuse_opt *' and 'struct fuse_opt *') sshfs.c:3441: warning: assignment makes integer from pointer without a cast sshfs.c:3443: error: 'struct sshfs' has no member named 'num_sent' sshfs.c:3443: error: 'struct sshfs' has no member named 'bytes_sent' sshfs.c:3443: error: 'struct sshfs' has no member named 'num_received' sshfs.c:3443: error: 'struct sshfs' has no member named 'bytes_received' sshfs.c:3443: error: 'struct sshfs' has no member named 'min_rtt' sshfs.c:3443: error: 'struct sshfs' has no member named 'max_rtt' sshfs.c:3443: error: 'struct sshfs' has no member named 'num_connect' sshfs.c:3443: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'struct fuse_opt *' sshfs.c:3443: warning: format '%u' expects type 'unsigned int', but argument 8 has type 'struct fuse_opt *' sshfs.c:3443: warning: format '%u' expects type 'unsigned int', but argument 10 has type 'struct fuse_opt *' make[1]: *** [sshfs-sshfs.o] Error 1 make: *** [all] Error 2 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs/work/sshfs-fuse-2.2" && /usr/bin/make -j2 all " returned error 2 Error: Target org.macports.build returned: shell command failed (see log for details) DEBUG: Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" Warning: the following items did not execute (for sshfs): org.macports.activate org.macports.build org.macports.destroot org.macports.install Log for sshfs is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Change History (4)
comment:1 follow-up: 2 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by p3k (Tobi Schäfer)
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Replying to jmr@…:
You have glib bits in /usr/local.
But this is all I have in /usr/local:
$ ll /usr/local/ total 0 drwxr-xr-x 9 root admin 306B Feb 18 13:00 MacGPG2 drwxr-xr-x 4 root wheel 136B Jun 25 00:00 bin
Do I need to clean the environment somehow to make the compiler forget about /usr/local?
comment:4 follow-up: 5 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
I can't tell you exactly where it came from just from an incomplete build log and a non-recursive directory listing. But that -I/usr/local/lib/glib-2.0/include
came from somewhere, and it's not us and it's not Apple, which means your configuration is unsupported, which means I'm closing the ticket.
Trac is not a troubleshooting venue; try the mailing list for that.
comment:5 Changed 13 years ago by p3k (Tobi Schäfer)
Replying to jmr@…:
Trac is not a troubleshooting venue; try the mailing list for that.
Sorry.
(Doing a “sudo port clean sshfs” plus reinstall solved the issue for me.)
Note: See
TracTickets for help on using
tickets.
You have glib bits in /usr/local.