Re: Building snapshots on 5.5-stable?
Hi On Tue, May 06, 2014 at 10:17:01AM +0100, John Cox wrote: Hi Is it possible to build snapshots on OpenBSD-5.5-Stable (built from source because as far as I can tell the release ISO still contains Heartbleed)? Neither the OpenBSD or the Portable version works for me. I can understand that the OpenBSD version tracks current and may fail to build at any point, but I was hopeful theat the portable vsrsion might be more portable... I'd like to follow this project and maybe help if I ever have the time (which is, at the moment, I admit, unlikely) but I really don't have the time to try and follow OpenBSD-current Many thanks John Cox Hi, Sorry for the breakage. The new snapshot should now work on both current and stable. Please try it out. Sadly it still doesn't build - the problem has moved on: cc -O2 -pipe -I/home/jc/opensmtpd-201405071639/smtpd/../asr -g3 -ggdb -I/home/jc/opensmtpd-201405071639/smtpd/.. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -DIO_SSL -DQUEUE_PROFILING -c /home/jc/opensmtpd-201405071639/smtpd/../asr/res_query.c /home/jc/opensmtpd-201405071639/smtpd/../asr/res_query.c: In function 'res_query': /home/jc/opensmtpd-201405071639/smtpd/../asr/res_query.c:63: warning: comparison between signed and unsigned /home/jc/opensmtpd-201405071639/smtpd/../asr/res_query.c: In function 'res_search': /home/jc/opensmtpd-201405071639/smtpd/../asr/res_query.c:105: warning: comparison between signed and unsigned cc -O2 -pipe -I/home/jc/opensmtpd-201405071639/smtpd/../asr -g3 -ggdb -I/home/jc/opensmtpd-201405071639/smtpd/.. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -DIO_SSL -DQUEUE_PROFILING -c /home/jc/opensmtpd-201405071639/smtpd/../res_search_async.c cc -O2 -pipe -I/home/jc/opensmtpd-201405071639/smtpd/../asr -g3 -ggdb -I/home/jc/opensmtpd-201405071639/smtpd/.. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -DIO_SSL -DQUEUE_PROFILING -c /home/jc/opensmtpd-201405071639/smtpd/../asr/res_send.c /home/jc/opensmtpd-201405071639/smtpd/../asr/res_send.c: In function '__res_send': /home/jc/opensmtpd-201405071639/smtpd/../asr/res_send.c:55: warning: comparison between signed and unsigned cc -O2 -pipe -I/home/jc/opensmtpd-201405071639/smtpd/../asr -g3 -ggdb -I/home/jc/opensmtpd-201405071639/smtpd/.. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -DIO_SSL -DQUEUE_PROFILING -c /home/jc/opensmtpd-201405071639/smtpd/../res_send_async.c /home/jc/opensmtpd-201405071639/smtpd/../res_send_async.c: In function 'res_send_async': /home/jc/opensmtpd-201405071639/smtpd/../res_send_async.c:70: warning: cast discards qualifiers from pointer target type cc -O2 -pipe -I/home/jc/opensmtpd-201405071639/smtpd/../asr -g3 -ggdb -I/home/jc/opensmtpd-201405071639/smtpd/.. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -DIO_SSL -DQUEUE_PROFILING -c /home/jc/opensmtpd-201405071639/smtpd/../asr/sethostent.c cc -O2 -pipe -I/home/jc/opensmtpd-201405071639/smtpd/../asr -g3 -ggdb -I/home/jc/opensmtpd-201405071639/smtpd/.. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -DIO_SSL -DQUEUE_PROFILING -c /home/jc/opensmtpd-201405071639/smtpd/../asr/event_asr_run.c cc -o smtpd aliases.o bounce.o ca.o compress_backend.o config.o control.o crypto.o delivery.o dict.o dns.o envelope.o esc.o expand.o forward.o iobuf.o ioev.o limit.o lka.o lka_session.o log.o mda.o mproc.o mta.o mta_session.o parse.o pony.o queue.o queue_backend.o ruleset.o runq.o scheduler.o scheduler_backend.o smtp.o smtp_session.o smtpd.o ssl.o ssl_privsep.o ssl_smtpd.o stat_backend.o table.o to.o tree.o util.o waitq.o compress_gzip.o delivery_filename.o delivery_maildir.o delivery_mbox.o delivery_mda.o delivery_lmtp.o table_db.o table_getpwnam.o table_proc.o table_static.o queue_fs.o queue_null.o queue_proc.o queue_ram.o scheduler_ramqueue.o scheduler_null.o scheduler_proc.o stat_ramstat.o asr.o asr_debug.o asr_utils.o getaddrinfo.o getaddrinfo_async.o gethostnamadr.o gethostnamadr_async.o getnameinfo.o getnameinfo_async.o getnetnamadr.o getnetnamadr_async.o getrrsetbyname.o getrrsetbyname_async.o res_debug.o res_init.o res_mkquery.o res_query.o res_search_async.o res_send.o res_send_async.o sethostent.o event_asr_run.o -levent -lutil -lssl -lcrypto -lm -lz asr.o(.text+0x5c7): In function `asr_resolver_done': /home/jc/opensmtpd-201405071639/smtpd/../asr.c:164: undefined reference to `_THREAD_PRIVATE' asr.o(.text+0x17ee): In function `asr_use_resolver': /home/jc/opensmtpd-201405071639/smtpd/../asr.c:348: undefined reference to
Re: Building snapshots on 5.5-stable?
On Tue, May 06, 2014 at 10:17:01AM +0100, John Cox wrote: Hi Is it possible to build snapshots on OpenBSD-5.5-Stable (built from source because as far as I can tell the release ISO still contains Heartbleed)? Neither the OpenBSD or the Portable version works for me. I can understand that the OpenBSD version tracks current and may fail to build at any point, but I was hopeful theat the portable vsrsion might be more portable... I'd like to follow this project and maybe help if I ever have the time (which is, at the moment, I admit, unlikely) but I really don't have the time to try and follow OpenBSD-current Many thanks John Cox Hi, Sorry for the breakage. The new snapshot should now work on both current and stable. Please try it out. Eric. -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: Building snapshots on 5.5-stable?
On Wed, May 07, 2014 at 04:57:44PM +0200, Eric Faurot wrote: On Tue, May 06, 2014 at 10:17:01AM +0100, John Cox wrote: Hi Is it possible to build snapshots on OpenBSD-5.5-Stable (built from source because as far as I can tell the release ISO still contains Heartbleed)? Neither the OpenBSD or the Portable version works for me. I can understand that the OpenBSD version tracks current and may fail to build at any point, but I was hopeful theat the portable vsrsion might be more portable... I'd like to follow this project and maybe help if I ever have the time (which is, at the moment, I admit, unlikely) but I really don't have the time to try and follow OpenBSD-current Many thanks John Cox Hi, Sorry for the breakage. The new snapshot should now work on both current and stable. Please try it out. Also I would like to stress out that you (in general) should not use the portable branch on OpenBSD. It is not supposed to work and if it does, it still is not supposed to ;-) For the archives: The OpenBSD master and portable branches have very very slight diffs and we try to keep them as minimal as possible. However, OpenBSD has some features we want to use and that do not always exist elsewhere. Sometimes the feature is simple enough that we can add a function to the compat glue and use it if not present on the system. This is the case for strl*(3), closefrom(2) and more ... Sometimes the feature is trickier and is not something you can write as it requires help from the kernel. In such cases, we can either do a work-around that closely but imperfectly mimics the original stuff or we simply don't provide the feature. This happens in many places, for example interface groups which work on OpenBSD but not on others or getdtablecount(2) which exists on OpenBSD but is emulated using a trick that's not too bad but not too good either. With this in mind... The master branch is *heavily* tested on OpenBSD. The portable branch is *heavily* tested on Linux/FreeBSD. The portable branch is *never* tested on OpenBSD. When you run portable branch on OpenBSD, we don't know how the work-arounds behave and if they work as good as on other systems. We don't even know which ones kick in and I would have to go check each one individually just to be sure if I was asked. In theory, it should work, in practice it's not tested and the executables generated from building master / portable are different so you're essentially running a subtly different code that's untested. Voila ! -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Building snapshots on 5.5-stable?
Hi Is it possible to build snapshots on OpenBSD-5.5-Stable (built from source because as far as I can tell the release ISO still contains Heartbleed)? Neither the OpenBSD or the Portable version works for me. I can understand that the OpenBSD version tracks current and may fail to build at any point, but I was hopeful theat the portable vsrsion might be more portable... I'd like to follow this project and maybe help if I ever have the time (which is, at the moment, I admit, unlikely) but I really don't have the time to try and follow OpenBSD-current Many thanks John Cox Trying to build opensmtpd-201404151425 fails: cc -O2 -pipe -I -DNEED_EVENT_ASR_RUN -g3 -ggdb -I/home/jc/opensmtpd-201404151425/smtpd/.. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -DIO_SSL -DQUEUE_PROFILING -c /home/jc/opensmtpd-201404151425/smtpd/../dict.c cc -O2 -pipe -I -DNEED_EVENT_ASR_RUN -g3 -ggdb -I/home/jc/opensmtpd-201404151425/smtpd/.. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -DIO_SSL -DQUEUE_PROFILING -c /home/jc/opensmtpd-201404151425/smtpd/../dns.c /home/jc/opensmtpd-201404151425/smtpd/../dns.c:32:17: error: asr.h: No such file or directory /home/jc/opensmtpd-201404151425/smtpd/../dns.c:58: warning: 'struct asr_result' declared inside parameter list /home/jc/opensmtpd-201404151425/smtpd/../dns.c:58: warning: its scope is only this definition or declaration, which is probably not what you want /home/jc/opensmtpd-201404151425/smtpd/../dns.c:59: warning: 'struct asr_result' declared inside parameter list /home/jc/opensmtpd-201404151425/smtpd/../dns.c:60: warning: 'struct asr_result' declared inside parameter list /home/jc/opensmtpd-201404151425/smtpd/../dns.c:61: warning: 'struct asr_result' declared inside parameter list /home/jc/opensmtpd-201404151425/smtpd/../dns.c: In function 'dns_imsg': /home/jc/opensmtpd-201404151425/smtpd/../dns.c:225: warning: implicit declaration of function 'getnameinfo_async' /home/jc/opensmtpd-201404151425/smtpd/../dns.c:226: warning: assignment makes pointer from integer without a cast /home/jc/opensmtpd-201404151425/smtpd/../dns.c:227: warning: implicit declaration of function 'event_asr_run' /home/jc/opensmtpd-201404151425/smtpd/../dns.c:253: warning: implicit declaration of function 'res_query_async' /home/jc/opensmtpd-201404151425/smtpd/../dns.c:253: warning: assignment makes pointer from integer without a cast /home/jc/opensmtpd-201404151425/smtpd/../dns.c:276: warning: assignment makes pointer from integer without a cast /home/jc/opensmtpd-201404151425/smtpd/../dns.c: At top level: /home/jc/opensmtpd-201404151425/smtpd/../dns.c:296: warning: 'struct asr_result' declared inside parameter list /home/jc/opensmtpd-201404151425/smtpd/../dns.c:297: error: conflicting types for 'dns_dispatch_host' /home/jc/opensmtpd-201404151425/smtpd/../dns.c:58: error: previous declaration of 'dns_dispatch_host' was here /home/jc/opensmtpd-201404151425/smtpd/../dns.c: In function 'dns_dispatch_host': /home/jc/opensmtpd-201404151425/smtpd/../dns.c:304: error: dereferencing pointer to incomplete type /home/jc/opensmtpd-201404151425/smtpd/../dns.c:313: error: dereferencing pointer to incomplete type /home/jc/opensmtpd-201404151425/smtpd/../dns.c:314: error: dereferencing pointer to incomplete type /home/jc/opensmtpd-201404151425/smtpd/../dns.c:316: error: dereferencing pointer to incomplete type /home/jc/opensmtpd-201404151425/smtpd/../dns.c:317: error: dereferencing pointer to incomplete type /home/jc/opensmtpd-201404151425/smtpd/../dns.c: At top level: /home/jc/opensmtpd-201404151425/smtpd/../dns.c:330: warning: 'struct asr_result' declared inside parameter list /home/jc/opensmtpd-201404151425/smtpd/../dns.c:331: error: conflicting types for 'dns_dispatch_ptr' /home/jc/opensmtpd-201404151425/smtpd/../dns.c:59: error: previous declaration of 'dns_dispatch_ptr' was here /home/jc/opensmtpd-201404151425/smtpd/../dns.c: In function 'dns_dispatch_ptr': /home/jc/opensmtpd-201404151425/smtpd/../dns.c:337: error: dereferencing pointer to incomplete type /home/jc/opensmtpd-201404151425/smtpd/../dns.c:338: error: dereferencing pointer to incomplete type /home/jc/opensmtpd-201404151425/smtpd/../dns.c: At top level: /home/jc/opensmtpd-201404151425/smtpd/../dns.c:345: warning: 'struct asr_result' declared inside parameter list /home/jc/opensmtpd-201404151425/smtpd/../dns.c:346: error: conflicting types for 'dns_dispatch_mx' /home/jc/opensmtpd-201404151425/smtpd/../dns.c:60: error: previous declaration of 'dns_dispatch_mx' was here /home/jc/opensmtpd-201404151425/smtpd/../dns.c: In function 'dns_dispatch_mx': /home/jc/opensmtpd-201404151425/smtpd/../dns.c:355: error: dereferencing pointer to incomplete type /home/jc/opensmtpd-201404151425/smtpd/../dns.c:355: error: dereferencing pointer to incomplete type