Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#15179 closed defect (fixed)

Can't compile Thunar

Reported by: larsbenders@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Thunar Cc: afb@…
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

sudo port install Thunar
---> Fetching Thunar
---> Verifying checksum(s) for Thunar
---> Extracting Thunar
---> Applying patches to Thunar
---> Configuring Thunar
---> Building Thunar 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_xfce_Thunar/work/Thunar-0.9.0" && make all " returned error 2
Command output: thunar-metafile.c:64: warning: no semicolon at end of struct or union thunar-metafile.c:66: error: syntax error before '}' token
thunar-metafile.c: In function 'thunar_metafile_get_type':
thunar-metafile.c:89: error: invalid application of 'sizeof' to incomplete type 'ThunarMetafile'
thunar-metafile.c: In function 'thunar_metafile_init':
thunar-metafile.c:133: error: dereferencing pointer to incomplete type
thunar-metafile.c:134: error: dereferencing pointer to incomplete type
thunar-metafile.c: In function 'thunar_metafile_finalize':
thunar-metafile.c:149: error: dereferencing pointer to incomplete type
thunar-metafile.c:150: error: dereferencing pointer to incomplete type
thunar-metafile.c:153: error: dereferencing pointer to incomplete type
thunar-metafile.c:154: error: dereferencing pointer to incomplete type
thunar-metafile.c: In function 'thunar_metafile_read':
thunar-metafile.c:166: error: dereferencing pointer to incomplete type
thunar-metafile.c: In function 'thunar_metafile_fetch':
thunar-metafile.c:264: error: dereferencing pointer to incomplete type
thunar-metafile.c:279: error: dereferencing pointer to incomplete type
thunar-metafile.c:280: error: dereferencing pointer to incomplete type
thunar-metafile.c:283: error: dereferencing pointer to incomplete type
thunar-metafile.c:284: error: dereferencing pointer to incomplete type
thunar-metafile.c:288: error: dereferencing pointer to incomplete type
thunar-metafile.c:289: error: dereferencing pointer to incomplete type
thunar-metafile.c: In function 'thunar_metafile_store':
thunar-metafile.c:355: error: dereferencing pointer to incomplete type
thunar-metafile.c:431: error: dereferencing pointer to incomplete type
thunar-metafile.c:440: error: dereferencing pointer to incomplete type
make[3]: *** [Thunar-thunar-metafile.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Attachments (1)

thunar-debug.log (225.1 KB) - added by scott@… 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 17 years ago by afb@…

Keywords: Thunar added
Milestone: Port Bugs

Strange bug, that TDB_CONTEXT type should be defined locally.

What is your gcc --version, and do you have anything else in /opt/local/include/tdb/tdb.h or /usr/local/include/tdb/tdb.h ? Please attach the full build log (from running with port -d)

Changed 16 years ago by scott@…

Attachment: thunar-debug.log added

comment:2 in reply to:  1 ; Changed 16 years ago by scott@…

Having the same problem here.... Leopard 10.5.2.

gcc --version is: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)

Attaching the debug log.

comment:3 in reply to:  2 Changed 16 years ago by afb@…

Attaching the debug log.

Thank you, that shows the real error.

In file included from thunar-metafile.c:40:
 	../tdb/tdb.h:112: error: syntax error before 'ino_t'

comment:4 Changed 16 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)

comment:5 Changed 16 years ago by afb@…

Resolution: fixed
Status: newclosed

Fixed, r37684.

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.