Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #15179 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

Can't compile Thunar

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

Description (last modified by jmpp@…) (diff)

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

thunar-debug.log (225.1 KB) - added by scott@… 7 months ago.

Change History

follow-up: ↓ 2   Changed 7 months ago by afb@…

  • keywords Thunar added
  • milestone set to 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 7 months ago by scott@…

in reply to: ↑ 1 ; follow-up: ↓ 3   Changed 7 months 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.

in reply to: ↑ 2   Changed 7 months 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'

  Changed 7 months ago by jmpp@…

  • description modified (diff)

  Changed 6 months ago by afb@…

  • status changed from new to closed
  • resolution set to fixed

Fixed, r37684.

Note: See TracTickets for help on using tickets.