Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277164 - app-crypt/bestcrypt fails to build
Summary: app-crypt/bestcrypt fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard: Pending Removal: 2012-12-24
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2009-07-09 11:15 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2012-12-15 12:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (bestcrypt-1.7.0:20090709-042209.log,25.40 KB, text/plain)
2009-07-09 11:15 UTC, Diego Elio Pettenò (RETIRED)
Details
bestcrypt-build.log (bestcrypt-build.log,6.72 KB, text/plain)
2011-06-14 12:02 UTC, Piotr Szymaniak
Details
Proposed ebuild for bestcrypt (bestcrypt-1.9_p2.ebuild,3.19 KB, text/plain)
2012-11-28 14:28 UTC, Martin Bartosch
Details
BestCrypt startup script (bcrypt3-1.8_p4,2.08 KB, text/plain)
2012-11-30 08:00 UTC, Martin Bartosch
Details
BestCrypt linking patch (bestcrypt-1.9_p0-fix-linking.patch,731 bytes, text/plain)
2012-11-30 08:01 UTC, Martin Bartosch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-09 11:15:26 UTC
Portage 2.1.6.13 (!../var/cache/portage/tree/profiles/default/linux/x86/2008.0, gcc-4.4.0-asneeded, glibc-2.10.1-r0, 2.6.30-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.1
Timestamp of tree: Wed, 08 Jul 2009 19:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /opt/openfire/resources/security/ /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/bufrtables /usr/share/config /var/bind /var/lib/hsqldb /var/phxd /var/spool/torque /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict test test-fail-continue unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
INSTALL_MASK="  /usr/share/doc  /usr/share/man  /usr/share/info"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j14"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/tree-tinderbox"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog java5 java6 midi mudflap ncurses nls nostatic nptl nptlonly openmp pam pcre perl pppd python qt3support readline reflection ruby session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-09 11:15:36 UTC
Created attachment 197312 [details]
Build log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-07 18:58:46 UTC
app-crypt/bestcrypt-1.8.0 is now available, but it fails with a different error message (with Linux 2.6.31):

  LD [M]  /var/tmp/portage/app-crypt/bestcrypt-1.8.0/work/bcrypt-1.8-0/mod/bc.o                                                                              
  Building modules, stage 2.                                                                                                                                 
  MODPOST 1 modules                                                                                                                                          
FATAL: modpost: GPL-incompatible module bc.ko uses GPL-only symbol 'find_task_by_pid_ns'                                                                     
make[2]: *** [__modpost] Error 1
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-16 16:33:30 UTC
app-crypt/bestcrypt-1.8.3 fails with:

/var/tmp/portage/app-crypt/bestcrypt-1.8.3/work/bcrypt-1.8-3/mod/bc_cfg.h:27:28: error: linux/autoconf.h: No such file or directory
Comment 4 Dane Smith (RETIRED) gentoo-dev 2011-03-25 21:32:39 UTC
Given that this has been open since '09 and we still don't seem to have a good working release, I'm all for removal. Does anyone object to this? If no, I'll mask it for removal.
Comment 5 Piotr Szymaniak 2011-06-14 12:02:05 UTC
Created attachment 277017 [details]
bestcrypt-build.log

Build.log
Comment 6 Piotr Szymaniak 2011-06-14 12:04:05 UTC
This supposed to be masked and removed? Still figures as stable in the tree.
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-14 20:09:21 UTC
app-crypt/bestcrypt-1.8.4 with disabled -Wl,--as-needed succeeds to build for me. (Small adjustments for compatibility with -Wl,--as-needed would be needed.)
Comment 8 Pacho Ramos gentoo-dev 2012-10-10 19:07:28 UTC
Should be either fixed or removed
Comment 9 Martin Bartosch 2012-11-28 14:28:39 UTC
Created attachment 330831 [details]
Proposed ebuild for bestcrypt

Here is an ebuild for BestCrypt that builds - at least on my amd64 with
kernel 3.0.35.
I can confirm that the software and the drivers work fine.

Feel free to use this as current ebuild instead of fully masking it from
the tree.
Comment 10 Martin Bartosch 2012-11-30 08:00:33 UTC
Created attachment 331020 [details]
BestCrypt startup script
Comment 11 Martin Bartosch 2012-11-30 08:01:49 UTC
Created attachment 331022 [details]
BestCrypt linking patch
Comment 12 Pacho Ramos gentoo-dev 2012-11-30 19:29:28 UTC
Would you be willing to proxy-maintain this package? crypto team, are you interested on this even with proxy maintainer or should I drop this one to proxy-maint herd and Martin as maintainer? (in the case he agrees on proxy maintaining it)
http://www.gentoo.org/proj/en/qa/proxy-maintainers/index.xml
Comment 13 Alon Bar-Lev (RETIRED) gentoo-dev 2012-12-15 03:09:45 UTC
OK, I bump the package to bestcrypt-2.0.0.

As I never seen this package working, I need someone to confirm it is.

They reworked the build system, but they are far away from something usable.

There is qt4 application now, but installation script needs much work, not worth to invest in it.

But at least now it built.

I resolve this as WONTFIX as not going to touch the old versions.
Comment 14 Alon Bar-Lev (RETIRED) gentoo-dev 2012-12-15 03:12:37 UTC
treecleaner: if nobody uses this we can safely remove it from tree... it was always hard to maintain it.
Comment 15 Pacho Ramos gentoo-dev 2012-12-15 12:39:31 UTC
(In reply to comment #13)
> OK, I bump the package to bestcrypt-2.0.0.
> 
> As I never seen this package working, I need someone to confirm it is.
> 
> They reworked the build system, but they are far away from something usable.
> 
> There is qt4 application now, but installation script needs much work, not
> worth to invest in it.
> 
> But at least now it built.
> 
> I resolve this as WONTFIX as not going to touch the old versions.

I think we can consider this as FIXED since it's solved in newer version and broken versions are not even in the tree now. Will also drop mask entry for now as this was the only reason for treecleaning it 

Thanks for taking care Alon