Opened 19 years ago

Closed 19 years ago

#5558 closed defect (fixed)

BUG: libprelude compile fails / prelude-async.c

Reported by: cooperstephenjames@… Owned by: julien.touche@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

Environments Mac OSX 10.4.2 Xcode 2.1 Powerbook 12" Darwinports 1.102

To inform you that the darwinports package "libprelude" fails to compile with the following error:

Last login: Sat Oct 29 19:57:02 on console Welcome to Darwin! ibook:~ stephen$ sudo port list | grep prelude Password: libprelude security/libprelude 0.8.10 Prelude Network Intrusion Detection System librairies prelude-lml security/prelude-lml 0.8.6 Prelude Network Intrusion Detection System Log Monitoring Lackey prelude-manager security/prelude-manager 0.8.10 Prelude Network Intrusion Detection System central logging point prelude-nids security/prelude-nids 0.8.6 Prelude Network Intrusion Detection System sensor prelude-piwi security/prelude-piwi 0.8 Prelude Network Intrusion Detection System PIWI ibook:~ stephen$ port install libprelude Unable to execute port: /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_security_libprelud e/work/.darwinports.libprelude.state is not writable - check permission on port directory ibook:~ stephen$ sudo port -d install libprelude DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/security/libprelude DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/security/libprelude DEBUG: Requested variant powerpc is not provided by port libprelude. DEBUG: Requested variant darwin is not provided by port libprelude. DEBUG: Requested variant macosx is not provided by port libprelude. DEBUG: Skipping completed com.apple.main (libprelude) DEBUG: Skipping completed com.apple.unarchive (libprelude) DEBUG: Skipping completed com.apple.fetch (libprelude) DEBUG: Skipping completed com.apple.checksum (libprelude) DEBUG: Skipping completed com.apple.extract (libprelude) DEBUG: Skipping completed com.apple.patch (libprelude) DEBUG: Skipping completed com.apple.configure (libprelude) ---> Building libprelude with target all DEBUG: Executing com.apple.build (libprelude) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_security_libprelud e/work/libprelude-0.8.10" && gnumake all' gnumake all-recursive Making all in libltdl gnumake all-am gnumake[3]: Nothing to be done for `all-am'. Making all in src Making all in include gnumake[3]: Nothing to be done for `all'. source='prelude-async.c' object='prelude-async.lo' libtool=yes \ depfile='.deps/prelude-async.Plo' tmpdepfile='.deps/prelude-async.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DSENSORS_CONFIG_DIR=\"/opt/local/etc/prelude-sensors\" - DSENSORS_SPOOL_DIR=\"/opt/local/var/spool/prelude-sensors\" -DSENSORS_IDENT_FILE=\"/opt/ local/etc/prelude-sensors/sensors.ident\" -DWORDS_BIGENDIAN -D_REENTRANT -I. -I. -I.. -I.. -I./ include -I../libltdl -g -O2 -Wall -Wno-strict-prototypes -Wmissing-prototypes -Wmissing- declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -c -o prelude-async.lo test -f 'prelude-async.c' || echo './'prelude-async.c gcc -DSENSORS_CONFIG_DIR=\"/opt/local/etc/prelude-sensors\" -DSENSORS_SPOOL_DIR=\"/opt/ local/var/spool/prelude-sensors\" -DSENSORS_IDENT_FILE=\"/opt/local/etc/prelude-sensors/ sensors.ident\" -DWORDS_BIGENDIAN -D_REENTRANT -I. -I. -I.. -I.. -I./include -I../libltdl -g -O2 -Wall -Wno-strict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast- qual -Wcast-align -Wnested-externs -Wunused -c prelude-async.c -MT prelude-async.lo -MD -MP - MF .deps/prelude-async.TPlo -fno-common -DPIC -o .libs/prelude-async.o In file included from prelude-async.c:35: ./include/prelude-io.h:69: error: parse error before 'prelude_io_read' ./include/prelude-io.h:69: warning: type defaults to 'int' in declaration of 'prelude_io_read' ./include/prelude-io.h:69: warning: data definition has no type or storage class ./include/prelude-io.h:71: error: parse error before 'prelude_io_read_wait' ./include/prelude-io.h:71: warning: type defaults to 'int' in declaration of 'prelude_io_read_wait' ./include/prelude-io.h:71: warning: data definition has no type or storage class ./include/prelude-io.h:73: error: parse error before 'prelude_io_read_delimited' ./include/prelude-io.h:73: warning: type defaults to 'int' in declaration of 'prelude_io_read_delimited' ./include/prelude-io.h:73: warning: data definition has no type or storage class ./include/prelude-io.h:76: error: parse error before 'prelude_io_write' ./include/prelude-io.h:76: warning: type defaults to 'int' in declaration of 'prelude_io_write' ./include/prelude-io.h:76: warning: data definition has no type or storage class ./include/prelude-io.h:81: error: parse error before 'prelude_io_forward' ./include/prelude-io.h:81: warning: type defaults to 'int' in declaration of 'prelude_io_forward' ./include/prelude-io.h:81: warning: data definition has no type or storage class ./include/prelude-io.h:87: error: parse error before 'prelude_io_pending' ./include/prelude-io.h:87: warning: type defaults to 'int' in declaration of 'prelude_io_pending' ./include/prelude-io.h:87: warning: data definition has no type or storage class gnumake[3]: * [prelude-async.lo] Error 1 gnumake[2]: * [all-recursive] Error 1 gnumake[1]: * [all-recursive] Error 1 gnumake: * [all] Error 2 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_security_libprelud e/work/libprelude-0.8.10" && gnumake all" returned error 2 Command output: Making all in include gnumake[3]: Nothing to be done for `all'. source='prelude-async.c' object='prelude-async.lo' libtool=yes \ depfile='.deps/prelude-async.Plo' tmpdepfile='.deps/prelude-async.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DSENSORS_CONFIG_DIR=\"/opt/local/etc/prelude-sensors\" - DSENSORS_SPOOL_DIR=\"/opt/local/var/spool/prelude-sensors\" -DSENSORS_IDENT_FILE=\"/opt/ local/etc/prelude-sensors/sensors.ident\" -DWORDS_BIGENDIAN -D_REENTRANT -I. -I. -I.. -I.. -I./ include -I../libltdl -g -O2 -Wall -Wno-strict-prototypes -Wmissing-prototypes -Wmissing- declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -c -o prelude-async.lo test -f 'prelude-async.c' || echo './'prelude-async.c gcc -DSENSORS_CONFIG_DIR=\"/opt/local/etc/prelude-sensors\" -DSENSORS_SPOOL_DIR=\"/opt/ local/var/spool/prelude-sensors\" -DSENSORS_IDENT_FILE=\"/opt/local/etc/prelude-sensors/ sensors.ident\" -DWORDS_BIGENDIAN -D_REENTRANT -I. -I. -I.. -I.. -I./include -I../libltdl -g -O2 -Wall -Wno-strict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast- qual -Wcast-align -Wnested-externs -Wunused -c prelude-async.c -MT prelude-async.lo -MD -MP - MF .deps/prelude-async.TPlo -fno-common -DPIC -o .libs/prelude-async.o In file included from prelude-async.c:35: ./include/prelude-io.h:69: error: parse error before 'prelude_io_read' ./include/prelude-io.h:69: warning: type defaults to 'int' in declaration of 'prelude_io_read' ./include/prelude-io.h:69: warning: data definition has no type or storage class ./include/prelude-io.h:71: error: parse error before 'prelude_io_read_wait' ./include/prelude-io.h:71: warning: type defaults to 'int' in declaration of 'prelude_io_read_wait' ./include/prelude-io.h:71: warning: data definition has no type or storage class ./include/prelude-io.h:73: error: parse error before 'prelude_io_read_delimited' ./include/prelude-io.h:73: warning: type defaults to 'int' in declaration of 'prelude_io_read_delimited' ./include/prelude-io.h:73: warning: data definition has no type or storage class ./include/prelude-io.h:76: error: parse error before 'prelude_io_write' ./include/prelude-io.h:76: warning: type defaults to 'int' in declaration of 'prelude_io_write' ./include/prelude-io.h:76: warning: data definition has no type or storage class ./include/prelude-io.h:81: error: parse error before 'prelude_io_forward' ./include/prelude-io.h:81: warning: type defaults to 'int' in declaration of 'prelude_io_forward' ./include/prelude-io.h:81: warning: data definition has no type or storage class ./include/prelude-io.h:87: error: parse error before 'prelude_io_pending' ./include/prelude-io.h:87: warning: type defaults to 'int' in declaration of 'prelude_io_pending' ./include/prelude-io.h:87: warning: data definition has no type or storage class gnumake[3]: * [prelude-async.lo] Error 1 gnumake[2]: * [all-recursive] Error 1 gnumake[1]: * [all-recursive] Error 1 gnumake: * [all] Error 2

Warning: the following items did not execute (for libprelude): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install ibook:~ stephen$

ibook:~ stephen$

Change History (2)

comment:1 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to julien.touche@…
Summary: libprelude compile fails / prelude-async.cBUG: libprelude compile fails / prelude-async.c

comment:2 Changed 19 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

This has been fixed in CVS.

Note: See TracTickets for help on using tickets.