Created attachment 366766 [details] build.log libtool: link: x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -D_GNU_SOURCE -g -Wall -finline-functions -Wno-pointer-sign -D_REENTRANT -Wl,-O1 -Wl,--as-needed -o silcd serverconfig.o silcd.o server_version.o serverid.o route.o idlist.o se rver_query.o server.o packet_send.o packet_receive.o command.o command_reply.o server_util.o server_backup.o server_http.o -L/var/tmp/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib /var/tmp/portage/net-im/silc-server-1.1.1 8/work/silc-server-1.1.18/lib/.libs/libsilc.a -lgmp -lpthread /var/tmp/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib/.libs/libsilc.a(silcasn1_encode.o): In function `silc_asn1_encoder': /var/tmp/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib/silcasn1/silcasn1_encode.c:314: undefined reference to `silc_mp_sinit' /var/tmp/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib/.libs/libsilc.a(silcasn1_decode.o): In function `silc_asn1_decoder': /var/tmp/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib/silcasn1/silcasn1_decode.c:466: undefined reference to `silc_mp_sinit' /var/tmp/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib/silcasn1/silcasn1_decode.c:504: undefined reference to `silc_mp_sinit' collect2: error: ld returned 1 exit status
Created attachment 366768 [details] environment
Created attachment 366770 [details] emerge --info '=net-im/silc-server-1.1.18::gentoo'
There are new sources for toolkit-1.1.12, server-1.1.19 and client-1.1.11 on the project-homepage. All three compile successfully on direct commands like ./configure --prefix=/usr make make install (as root) The old server didn't do this, maybe server/toolkit versions didn't match. Will you do a version-bump please? I think that will fix the problems.
Yep, I get this on amd64 (stable, with package.unmask hole poked) /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=core-avx-i -O2 -pipe -D_G NU_SOURCE -g -Wall -finline-functions -Wno-pointer-sign -D_REENTRANT -L/dev/shm/portage/net-im/silc-s erver-1.1.18/work/silc-server-1.1.18/lib -Wl,-O1 -Wl,--as-needed -o silcd serverconfig.o silcd.o serve r_version.o serverid.o route.o idlist.o server_query.o server.o packet_send.o packet_receive.o command .o command_reply.o server_util.o server_backup.o server_http.o -lsilc -lgmp -lpthread libtool: link: x86_64-pc-linux-gnu-gcc -march=core-avx-i -O2 -pipe -D_GNU_SOURCE -g -Wall -finline-fun ctions -Wno-pointer-sign -D_REENTRANT -Wl,-O1 -Wl,--as-needed -o silcd serverconfig.o silcd.o server_v ersion.o serverid.o route.o idlist.o server_query.o server.o packet_send.o packet_receive.o command.o command_reply.o server_util.o server_backup.o server_http.o -L/dev/shm/portage/net-im/silc-server-1.1 .18/work/silc-server-1.1.18/lib /dev/shm/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib /.libs/libsilc.a -lgmp -lpthread /dev/shm/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib/.libs/libsilc.a(silcasn1_encode .o): In function `silc_asn1_encoder': /dev/shm/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib/silcasn1/silcasn1_encode.c:314: undefined reference to `silc_mp_sinit' /dev/shm/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib/.libs/libsilc.a(silcasn1_decode .o): In function `silc_asn1_decoder': /dev/shm/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib/silcasn1/silcasn1_decode.c:466: undefined reference to `silc_mp_sinit' /dev/shm/portage/net-im/silc-server-1.1.18/work/silc-server-1.1.18/lib/silcasn1/silcasn1_decode.c:504: undefined reference to `silc_mp_sinit' collect2: error: ld returned 1 exit status Makefile:377: recipe for target 'silcd' failed
still fails to build
Created attachment 409728 [details] functioning ebuild
Created attachment 409730 [details] functioning ebuild
Created attachment 409732 [details] functioning ebuild
Some source-files exist only as *.tar.gz, the *.tar.bz2 are down on upstream.
Do you want to proxy maintain this?
No problem. What will I have to do?
Well, please take a look to https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers , I will also CC the team here Thanks a lot for volunteering :)
(In reply to Berthold Humkamp from comment #8) > Created attachment 409732 [details] > functioning ebuild On runtesting this ebuild, it builds and installs to /image with 3 qa issues. They are all warnings and the 3rd. is coded to be submitted to upstream. >>> Completed installing silc-server-1.1.18-r1 into /mnt/gen2/TmpDir/portage/net-im/silc-server-1.1.18-r1/image/ * QA Notice: Unrecognized configure options: * * --with-simdir * --with-simdir * QA Notice: The following files contain writable and executable sections * Files with such sections will not work properly (or at all!) on some * architectures/operating systems. A bug should be filed at * http://bugs.gentoo.org/ to make sure the issue is fixed. * For more information, see: * * https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart * * Please include the following list of files in your report: * Note: Bugs should be filed for the respective maintainers * of the package in question and not hardened@g.o. * RWX --- --- usr/sbin/silcd * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * silcfileutil.c:160:29: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] * md5.c:157:24: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: http://silcnet.org/ Being warnings they are non fatal, however the first two still require correction: 1. --with-simdir=/usr/$(get_libdir)/${PN}/modules appears to be a bogus option so I don't know whence you acquired it. 2. usr/sbin/silcd is installed by default since it doesn't appear to be set within econf \. Offhand I can't tell what is wrong with it in that state. Thanks you for the contribution.
Any updates on this? :/
I've made the silc-toolkit ebuild compile and qmerge successfully. There is no silc-client in portage currently, but probably not difficult to integrate. The download URI's have changed to sourceforge, this is a minor adjustment. I can also get the silc-server to compile, but there are some issues with the sandbox image pre-qmerge which I'm investigating currently. If nobody comes forward in the next few days, I'll proxy this set of packages for/until someone else does. ^^ Proposed in IRC #gentoo-proxy-maint by idella4.
For reference, the long and short is that the server has a dependency on the silc-toolkit, and should link to it (clearly an omission in the upstream configure script). This is why it fails to link at the final stages, with the messages detailed above. As the 1.1.18 package is already slated, we shall version-bump to 1.1.19 which is upstream stable, and the silc-toolkit similarly to v1.1.12 where the old version (v1.1.10) will also be slated.
see https://bugs.gentoo.org/show_bug.cgi?id=522916 There you will find new ebuilds for all three packages, with all hints worked in.
[master 37194df] net-im/silc-server: Remove last-rited pkg, #522916 6 files changed, 1 insertion(+), 113 deletions(-) delete mode 100644 net-im/silc-server/Manifest delete mode 100644 net-im/silc-server/files/silcd.initd-r1 delete mode 100644 net-im/silc-server/metadata.xml delete mode 100644 net-im/silc-server/silc-server-1.1.18-r1.ebuild