RejectedSoftware Forums

Sign up

Pages: 1 2 3 4 5

Re: Release DUB 0.9.21 RC 4

On Wed, 19 Feb 2014 15:32:59 GMT, Sönke Ludwig wrote:

On Wed, 19 Feb 2014 14:44:19 GMT, Stephan Dilly wrote:

On Thu, 13 Feb 2014 23:27:38 +0100, Sönke Ludwig wrote:

RC 4 is out, fixing error messages and adding the --force-remove switch.

I already mentioned this in the NG but we still have this weird notification when running dub:

dub: /usr/lib64/libcurl.so.4: no version information available (required by dub)

distro: "CentOS release 6.5 (Final)"
Linux version 2.6.32-358.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 00:31:26 UTC 2013
dmd: 2.065 b3
dub: 0.9.21 RC 4

any ideas ?

A CentOS/RPM based build is in the works (see #245 and the installer scripts in https://github.com/rejectedsoftware/dub/tree/master/installer/rpm). But there is still some setup left to be done for the CI system to build this automatically.

Awesome! Thank you very much! Is it gonna be there on time for the release ?

Re: Release DUB 0.9.21 RC 4

Am 19.02.2014 16:42, schrieb Stephan Dilly:

On Wed, 19 Feb 2014 15:32:59 GMT, Sönke Ludwig wrote:

On Wed, 19 Feb 2014 14:44:19 GMT, Stephan Dilly wrote:

On Thu, 13 Feb 2014 23:27:38 +0100, Sönke Ludwig wrote:

RC 4 is out, fixing error messages and adding the --force-remove switch.

I already mentioned this in the NG but we still have this weird notification when running dub:

dub: /usr/lib64/libcurl.so.4: no version information available (required by dub)

distro: "CentOS release 6.5 (Final)"
Linux version 2.6.32-358.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 00:31:26 UTC 2013
dmd: 2.065 b3
dub: 0.9.21 RC 4

any ideas ?

A CentOS/RPM based build is in the works (see #245 and the installer scripts in https://github.com/rejectedsoftware/dub/tree/master/installer/rpm). But there is still some setup left to be done for the CI system to build this automatically.

Awesome! Thank you very much! Is it gonna be there on time for the release ?

Yep, that's more or less what is still holding up the release.

Re: Release DUB 0.9.21 RC 5

The fifth and hopefully last release candidate is up, including a new
RPM package.

Re: Release DUB 0.9.21 RC 5

Hi

i've tested the RC5 under CentOS 6.5 (64-Bit minimal) on new installed VM. After installing the dependencies (dmd 2.064, libevent, libevent-devel, libevent2 via rpm, gcc and so on) I've tried to build the app_skeleton of vibe.d.
First try has thrown the following output:

[root@localhost app_skeleton]# dub
vibe-d: ["vibe-d", "libevent", "openssl"]
app-skeleton: ["app-skeleton", "vibe-d", "libevent", "openssl"]
Target is up to date. Using existing build in /root/.dub/packages/vibe-d-0.7.18/.dub/build/libevent-debug-linux.posix-x86_64-dmd-2494B3E0AC5A6FFE1AD0A6AEA442D8E6/. Use --force to force a rebuild.
Building app-skeleton configuration "application", build type debug.
Compiling...
Compiling diet template 'error.dt' (compat)...
Compiling diet template 'about.dt' (compat)...
Compiling diet template 'home.dt' (compat)...
Linking...
/usr/bin/ld: cannot find -levent_pthreads
collect2: ld returned 1 exit status
--- errorlevel 1
FAIL .dub/build/application-debug-linux.posix-x86_64-dmd-4F90361D91B77B138A050B2B50F9D4C7 app-skeleton executable
Error executing command run: Link command failed with exit code 1

After checking the installation of libevent, libevent2, libevent-devel twice I've made a symlink to fix this issue:

[root@localhost app_skeleton]# ln -s /usr/lib64/libevent_pthreads-2.0.so.5.1.9 /usr/lib64/libevent_pthreads.so

Next try gave me:

[root@localhost app_skeleton]# dub
vibe-d: ["vibe-d", "libevent", "openssl"]
app-skeleton: ["app-skeleton", "vibe-d", "libevent", "openssl"]
Target is up to date. Using existing build in /root/.dub/packages/vibe-d-0.7.18/.dub/build/libevent-debug-linux.posix-x86_64-dmd-2494B3E0AC5A6FFE1AD0A6AEA442D8E6/. Use --force to force a rebuild.
Building app-skeleton configuration "application", build type debug.
Compiling...
Compiling diet template 'error.dt' (compat)...
Compiling diet template 'about.dt' (compat)...
Compiling diet template 'home.dt' (compat)...
Linking...
../../libvibe-d.a(libevent2_1ee7_5d7.o): In function `_D4vibe4core7drivers9libevent215Libevent2Driver6__ctorMFC4vibe4core6driver10DriverCoreZC4vibe4core7drivers9libevent215Libevent2Driver':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:76: undefined reference to `event_set_mem_functions'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:85: undefined reference to `evthread_set_lock_callbacks'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:93: undefined reference to `evthread_set_condition_callbacks'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:95: undefined reference to `evthread_set_id_callback'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:102: undefined reference to `evthread_make_base_notifiable'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:104: undefined reference to `evdns_base_new'
../../libvibe-d.a(libevent2_1ee7_5d7.o): In function `_D4vibe4core7drivers9libevent215Libevent2Driver6__dtorMFZv':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:128: undefined reference to `evdns_base_free'
../../libvibe-d.a(libevent2_1ee7_5d7.o): In function `_D4vibe4core7drivers9libevent215Libevent2Driver11resolveHostMFAyatbZS4vibe4core3net14NetworkAddress':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:197: undefined reference to `evutil_inet_pton'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:213: undefined reference to `evdns_base_resolve_ipv4'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:214: undefined reference to `evdns_base_resolve_ipv6'
../../libvibe-d.a(libevent2_1ee7_5d7.o): In function `_D4vibe4core7drivers9libevent215Libevent2Driver10connectTCPMFAyatZC4vibe4core3net13TCPConnection':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:247: undefined reference to `bufferevent_socket_new'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:258: undefined reference to `bufferevent_socket_connect'
../../libvibe-d.a(libevent2_1ee7_5d7.o): In function `_D4vibe4core7drivers9libevent215Libevent2Driver9listenTCPMFtDFC4vibe4core3net13TCPConnectionZvAyaE4vibe4core3net16TCPListenOptionsZC4vibe4core3net11TCPListener22setupConnectionHandlerFOC4vibe4core7drivers13libevent2_tcp19LibeventTCPListeneriS4vibe4core3net14NetworkAddressODFC4vibe4core3net13TCPConnectionZvZv':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:302: undefined reference to `event_new'
../../libvibe-d.a(libevent2_1eea_7cb.o): In function `_D4vibe4core7drivers9libevent220Libevent2ManualEvent6__dtorMFZv14__foreachbody1MFKS4vibe4core7drivers9libevent210ThreadSlotZi':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:430: undefined reference to `event_free'
../../libvibe-d.a(libevent2_1eea_7cb.o): In function `_D4vibe4core7drivers9libevent220Libevent2ManualEvent7acquireMFZv':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:487: undefined reference to `event_new'
../../libvibe-d.a(libevent2_1eea_7cb.o): In function `_D4vibe4core7drivers9libevent220Libevent2ManualEvent16onThreadShutdownMFZv':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:523: undefined reference to `event_free'
../../libvibe-d.a(libevent2_1eeb_56c.o): In function `_D4vibe4core7drivers9libevent214Libevent2Timer6__ctorMFC4vibe4core7drivers9libevent215Libevent2DriverDFZvZC4vibe4core7drivers9libevent214Libevent2Timer':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:568: undefined reference to `event_new'
../../libvibe-d.a(libevent2_1eeb_56c.o): In function `_D4vibe4core7drivers9libevent214Libevent2Timer6__dtorMFZv':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:574: undefined reference to `event_free'
../../libvibe-d.a(libevent2_1eec_864.o): In function `_D4vibe4core7drivers9libevent222Libevent2UDPConnection6__ctorMFS4vibe4core3net14NetworkAddressC4vibe4core7drivers9libevent215Libevent2DriverZC4vibe4core7drivers9libevent222Libevent2UDPConnection':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:674: undefined reference to `evutil_inet_ntop'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2.d:694: undefined reference to `event_new'
../../libvibe-d.a(libevent2_tcp_1f2d_862.o): In function `_D4vibe4core7drivers13libevent2_tcp22Libevent2TCPConnection6__ctorMFPS4vibe4core7drivers13libevent2_tcp10TCPContextZC4vibe4core7drivers13libevent2_tcp22Libevent2TCPConnection':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:78: undefined reference to `evutil_inet_ntop'
../../libvibe-d.a(libevent2_tcp_1f2d_862.o): In function `_D4vibe4core7drivers13libevent2_tcp22Libevent2TCPConnection11readTimeoutMFNdS4core4time8DurationZv':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:103: undefined reference to `bufferevent_set_timeouts'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:107: undefined reference to `bufferevent_set_timeouts'
../../libvibe-d.a(libevent2_tcp_1f2d_862.o): In function `_D4vibe4core7drivers13libevent2_tcp22Libevent2TCPConnection5closeMFZv':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:144: undefined reference to `bufferevent_flush'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:145: undefined reference to `bufferevent_flush'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:147: undefined reference to `bufferevent_get_output'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:148: undefined reference to `evbuffer_get_length'
../../libvibe-d.a(libevent2_tcp_1f2d_862.o): In function `_D4vibe4core7drivers13libevent2_tcp22Libevent2TCPConnection9leastSizeMFNdZm':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:169: undefined reference to `bufferevent_get_input'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:171: undefined reference to `evbuffer_get_length'
../../libvibe-d.a(libevent2_tcp_1f2d_862.o): In function `_D4vibe4core7drivers13libevent2_tcp22Libevent2TCPConnection20dataAvailableForReadMFNdZb':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:184: undefined reference to `bufferevent_get_input'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:184: undefined reference to `evbuffer_get_length'
../../libvibe-d.a(libevent2_tcp_1f2d_862.o): In function `_D4vibe4core7drivers13libevent2_tcp22Libevent2TCPConnection4peekMFZAxh':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:197: undefined reference to `bufferevent_get_input'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:197: undefined reference to `evbuffer_peek'
../../libvibe-d.a(libevent2_tcp_1f2d_862.o): In function `_D4vibe4core7drivers13libevent2_tcp22Libevent2TCPConnection11waitForDataMFS4core4time8DurationZb':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:229: undefined reference to `bufferevent_get_input'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:229: undefined reference to `evbuffer_get_length'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:234: undefined reference to `event_new'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:248: undefined reference to `evbuffer_get_length'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:255: undefined reference to `evbuffer_get_length'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:243: undefined reference to `event_free'
../../libvibe-d.a(libevent2_tcp_1f2d_862.o): In function `_D4vibe4core7drivers13libevent2_tcp22Libevent2TCPConnection5writeMFxAhZv':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:272: undefined reference to `bufferevent_get_output'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:275: undefined reference to `evbuffer_get_length'
../../libvibe-d.a(libevent2_tcp_1f2d_862.o): In function `_D4vibe4core7drivers13libevent2_tcp22Libevent2TCPConnection5flushMFZv':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:309: undefined reference to `bufferevent_flush'
../../libvibe-d.a(libevent2_tcp_1f2e_766.o): In function `_D4vibe4core7drivers13libevent2_tcp19LibeventTCPListener13stopListeningMFZv':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:348: undefined reference to `event_free'
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:348: undefined reference to `evutil_closesocket'
../../libvibe-d.a(libevent2_tcp_1f30_3a7.o): In function `_D4vibe4core7drivers13libevent2_tcp9onConnectUNbisPvZv10ClientTask7executeMFZv':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:426: undefined reference to `bufferevent_socket_new'
../../libvibe-d.a(libevent2_tcp_1f32_551.o): In function `onSocketWrite':
/root/.dub/packages/vibe-d-0.7.18/examples/app_skeleton/../../source/vibe/core/drivers/libevent2_tcp.d:531: undefined reference to `bufferevent_flush'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libevent_pthreads.so: undefined reference to `event_mm_malloc_'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libevent_pthreads.so: undefined reference to `event_mm_free_'
collect2: ld returned 1 exit status
--- errorlevel 1
FAIL .dub/build/application-debug-linux.posix-x86_64-dmd-4F90361D91B77B138A050B2B50F9D4C7 app-skeleton executable
Error executing command run: Link command failed with exit code 1

Do you have any idea what went wrong?

On Thu, 20 Feb 2014 17:01:04 +0100, Sönke Ludwig wrote:

The fifth and hopefully last release candidate is up, including a new
RPM package.

Re: Release DUB 0.9.21 RC 5

I think that it still picks up the libevent.so of libevent 1.4.x (from
the "libevent" package). When we installed the CentOS box for building
the RPM, we've finally built libevent 2.0.x from source (with the
libevent/libevent-devel packages removed in advance).

Re: Release DUB 0.9.21 RC 5

On Fri, 21 Feb 2014 12:37:18 +0100, Sönke Ludwig wrote:

I think that it still picks up the libevent.so of libevent 1.4.x (from
the "libevent" package). When we installed the CentOS box for building
the RPM, we've finally built libevent 2.0.x from source (with the
libevent/libevent-devel packages removed in advance).

So there is no way around building libevent from source when one wants to run vibe.d on centos ?

Re: Release DUB 0.9.21 RC 5

Ah k.

yum remove libevent
ln -s /usr/lib64/libevent-2.0.so.5 /usr/lib64/libevent.so

made it.

So its not neccessary to built from sources. You can install the rpm (http://rpm.pbone.net/index.php3/stat/4/idpl/21761893/dir/centos6/com/libevent-2.0.13-14.2.x8664.rpm.html) instead.

On Fri, 21 Feb 2014 12:37:18 +0100, Sönke Ludwig wrote:

I think that it still picks up the libevent.so of libevent 1.4.x (from
the "libevent" package). When we installed the CentOS box for building
the RPM, we've finally built libevent 2.0.x from source (with the
libevent/libevent-devel packages removed in advance).

Re: Release DUB 0.9.21 RC 5

Am 21.02.2014 12:41, schrieb Stephan Dilly:

On Fri, 21 Feb 2014 12:37:18 +0100, Sönke Ludwig wrote:

I think that it still picks up the libevent.so of libevent 1.4.x (from
the "libevent" package). When we installed the CentOS box for building
the RPM, we've finally built libevent 2.0.x from source (with the
libevent/libevent-devel packages removed in advance).

So there is no way around building libevent from source when one wants to run vibe.d on centos ?

Not sure, actually. There seem to be matching "libevent2-devel" packages
when searching the web [1], but we didn't test them an I have no idea
how trustworthy that repository actually is.

http://rpm.pbone.net/index.php3/stat/4/idpl/23552076/dir/centos_6/com/libevent2-devel-2.0.21-11.1.i686.rpm.html

Re: Release DUB 0.9.21 RC 5

Am 21.02.2014 12:46, schrieb Fabian Wallentowitz:

Ah k.

yum remove libevent
ln -s /usr/lib64/libevent-2.0.so.5 /usr/lib64/libevent.so

made it.

So its not neccessary to built from sources. You can install the rpm (http://rpm.pbone.net/index.php3/stat/4/idpl/21761893/dir/centos6/com/libevent-2.0.13-14.2.x8664.rpm.html) instead.

On Fri, 21 Feb 2014 12:37:18 +0100, Sönke Ludwig wrote:

I think that it still picks up the libevent.so of libevent 1.4.x (from
the "libevent" package). When we installed the CentOS box for building
the RPM, we've finally built libevent 2.0.x from source (with the
libevent/libevent-devel packages removed in advance).

Good to know. Is pbone.net a trusted source for RPM packages? All those
banners didn't make a very reputable impression to me at first glance.

Re: Release DUB 0.9.21 RC 5

On Fri, 21 Feb 2014 12:55:37 +0100, Sönke Ludwig wrote:

Am 21.02.2014 12:46, schrieb Fabian Wallentowitz:

Ah k.

yum remove libevent
ln -s /usr/lib64/libevent-2.0.so.5 /usr/lib64/libevent.so

made it.

So its not neccessary to built from sources. You can install the rpm (http://rpm.pbone.net/index.php3/stat/4/idpl/21761893/dir/centos6/com/libevent-2.0.13-14.2.x8664.rpm.html) instead.

On Fri, 21 Feb 2014 12:37:18 +0100, Sönke Ludwig wrote:

I think that it still picks up the libevent.so of libevent 1.4.x (from
the "libevent" package). When we installed the CentOS box for building
the RPM, we've finally built libevent 2.0.x from source (with the
libevent/libevent-devel packages removed in advance).

Good to know. Is pbone.net a trusted source for RPM packages? All those
banners didn't make a very reputable impression to me at first glance.

I usually use Debian based OS so I really don't know if pbone.net is a trusted rpm source. But it is also mentioned in the official Fedora documentation as a useful source for RPMs [1]. I think/hope that they wouldn't recommend this site if its not trustworthy ;-) But if you want to be on the safe side you should built it from the source.

http://docs.fedoraproject.org/en-US/FedoraDraftDocumentation/0.1/html/RPM_Guide/ch-online-resources.html

Pages: 1 2 3 4 5