Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#15942 closed defect (fixed)

bacula not compiling properly

Reported by: mf2k (Frank Schima) Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: bacula Cc:
Port:

Description

I attempted to install bacula 2.2.6 but it does not install properly. The bacula-fd (the backup client) does not get installed among others. I ran in debug mode and see the errors listed below. Curiously, MacPorts believes that port works OK because it successfully activates the port, although it is completely non-functional for me.

I also modified my local port file to use the latest version - 2.4.1 - but I see other problems that cause it to not install properly.

Intel Mac Pro. Mac OS X 10.5.4. Xcode 3.0.

--->  Building bacula with target all
DEBUG: Executing org.macports.build (bacula)
DEBUG: Environment: 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6" && make all'
==>Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src
make[1]: Nothing to be done for `all'.
==>Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/scripts
make[1]: Nothing to be done for `all'.
==>Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/lib
Compiling attr.c
/usr/include/sys/types.h:100: error: declaration does not declare anything
/usr/include/sys/types.h:135: error: declaration does not declare anything
../bc_types.h:65: error: conflicting declaration 'typedef char int8_t'
/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h:20: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'
make[1]: *** [attr.o] Error 1


  ====== Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/lib ======


==>Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/findlib
Compiling find.c
/usr/include/sys/types.h:100: error: declaration does not declare anything
/usr/include/sys/types.h:135: error: declaration does not declare anything
../bc_types.h:65: error: conflicting declaration 'typedef char int8_t'
/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h:20: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'
make[1]: *** [find.o] Error 1


  ====== Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/findlib ======


==>Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/filed
Compiling filed.c
/usr/include/sys/types.h:100: error: declaration does not declare anything
/usr/include/sys/types.h:135: error: declaration does not declare anything
../bc_types.h:65: error: conflicting declaration 'typedef char int8_t'
/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h:20: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'
make[1]: *** [filed.o] Error 1


  ====== Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/filed ======


==>Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/console
Compiling console.c
/usr/include/sys/types.h:100: error: declaration does not declare anything
/usr/include/sys/types.h:135: error: declaration does not declare anything
../bc_types.h:65: error: conflicting declaration 'typedef char int8_t'
/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h:20: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'
make[1]: *** [console.o] Error 1


  ====== Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/console ======


==>Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/cats
Compiling mysql.c
/usr/include/sys/types.h:100: error: declaration does not declare anything
/usr/include/sys/types.h:135: error: declaration does not declare anything
../bc_types.h:65: error: conflicting declaration 'typedef char int8_t'
/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h:20: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'
make[1]: *** [mysql.o] Error 1


  ====== Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/cats ======


==>Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/dird
Compiling dird.c
/usr/include/sys/types.h:100: error: declaration does not declare anything
/usr/include/sys/types.h:135: error: declaration does not declare anything
../bc_types.h:65: error: conflicting declaration 'typedef char int8_t'
/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h:20: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'
make[1]: *** [dird.o] Error 1


  ====== Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/dird ======


==>Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/stored
Compiling stored.c
/usr/include/sys/types.h:100: error: declaration does not declare anything
/usr/include/sys/types.h:135: error: declaration does not declare anything
../bc_types.h:65: error: conflicting declaration 'typedef char int8_t'
/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h:20: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'
make[1]: *** [stored.o] Error 1


  ====== Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/stored ======


==>Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/tools
Compiling bsmtp.c
/usr/include/sys/types.h:100: error: declaration does not declare anything
/usr/include/sys/types.h:135: error: declaration does not declare anything
../bc_types.h:65: error: conflicting declaration 'typedef char int8_t'
/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdint.h:20: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'
make[1]: *** [bsmtp.o] Error 1


  ====== Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_sysutils_bacula/work/bacula-2.2.6/src/tools ======


Change History (3)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to macsforever2000@…
Status: newassigned

I fixed this in r38660. Thanks to blb for helping with compile issues with filed and others.

comment:2 Changed 16 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

Fixed in r38660. Thanks to blb for helping with compile issues with filed and others.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.