Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541982 - =net-misc/vpnc-0.5.3_p550: fails tests: Error decrypting signature: unexpected decrypted size 512 (expected 256)
Summary: =net-misc/vpnc-0.5.3_p550: fails tests: Error decrypting signature: unexpecte...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Martin Mokrejš
URL:
Whiteboard:
Keywords:
: 623830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-03 14:01 UTC by tka
Modified: 2020-06-06 22:54 UTC (History)
7 users (show)

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


Attachments
build.log (build.log,15.56 KB, text/plain)
2015-03-03 14:02 UTC, tka
Details
emerge-info.txt (emerge-info.txt,14.05 KB, text/plain)
2017-07-17 17:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,78.43 KB, text/plain)
2017-07-17 17:33 UTC, Toralf Förster
Details
environment (environment,109.67 KB, text/plain)
2017-07-17 17:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.46 KB, application/x-bzip)
2017-07-17 17:33 UTC, Toralf Förster
Details
net-vpn:vpnc-0.5.3_p550:20170717-170821.log (net-vpn:vpnc-0.5.3_p550:20170717-170821.log,15.29 KB, text/plain)
2017-07-17 17:33 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.19 KB, application/x-bzip)
2017-07-17 17:33 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2015-03-03 14:01:04 UTC
>>> Test phase: net-misc/vpnc-0.5.3_p550
make -j1   test
./test-crypto test/sig_data.bin test/dec_data.bin test/ca_list.pem \
	test/cert3.pem test/cert2.pem test/cert1.pem 
Error decrypting signature: unexpected decrypted size 512 (expected 256)
Makefile:117: recipe for target 'test' failed
make: *** [test] Error 1
 * ERROR: net-misc/vpnc-0.5.3_p550::gentoo failed (test phase):
 *   Make test failed. See above for details.
 * 
 * Call stack:
 *            ebuild.sh, line   93:  Called src_test
 *          environment, line 2660:  Called default
 *   phase-functions.sh, line  770:  Called default_src_test
 *   phase-functions.sh, line  799:  Called __eapi0_src_test
 *     phase-helpers.sh, line  764:  Called die
 * The specific snippet of code:
 *   		$emake_cmd ${internal_opts} test || \
 *   			die "Make test failed. See above for details."
 * 
 * If you need support, post the output of `emerge --info '=net-misc/vpnc-0.5.3_p550::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/vpnc-0.5.3_p550::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/vpnc-0.5.3_p550/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/vpnc-0.5.3_p550/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/vpnc-0.5.3_p550/work/vpnc-0.5.3_p550'
 * S: '/var/tmp/portage/net-misc/vpnc-0.5.3_p550/work/vpnc-0.5.3_p550'

>>> Failed to emerge net-misc/vpnc-0.5.3_p550, Log file:

>>>  '/var/tmp/portage/net-misc/vpnc-0.5.3_p550/temp/build.log'


Reproducible: Always




# emerge --info =net-misc/vpnc-0.5.3_p550
Portage 2.2.17 (python 3.3.5-final-0, hardened/linux/amd64/no-multilib, gcc-4.9.2, glibc-2.20-r2, 3.19.0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.19.0-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:    16400588 total,  12794780 free
KiB Swap:   17825788 total,  17825788 free
Timestamp of repository gentoo: Tue, 03 Mar 2015 13:30:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.7.4::gentoo, 4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /var/lib/portage-local/local
    masters: gentoo
    priority: 0

testing
    location: /var/lib/portage-local/testing
    masters: gentoo
    priority: 1

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 acl acpi alsa amd64 avx berkdb bzip2 cairo caps cdda cddb cdparanoia cli cracklib crypt cups cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig foomaticdb gdbm gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg justify lame lcms libav libnotify lzma mad matroska mmap mmx mmxext modules mp3 mpeg ncurses networkmanager nptl ogg opengl openmp pam pcre png policykit ppds readline sasl sdl session sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower vaapi vorbis wayland x264 xattr xcb xml xtpax xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="i965 intel nouveau" XFCE_PLUGINS="battery brightness logout menu power trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 tka 2015-03-03 14:02:45 UTC
Created attachment 397928 [details]
build.log
Comment 2 Toralf Förster gentoo-dev 2017-07-17 17:33:34 UTC
got at the unstable amd64 chroot image 13.0_20170716-131855 this : net-vpn/vpnc-0.5.3_p550 : Error decrypting signature: unexpected decrypted size 512 (expected 256)
Comment 3 Toralf Förster gentoo-dev 2017-07-17 17:33:37 UTC
Created attachment 485348 [details]
emerge-info.txt
Comment 4 Toralf Förster gentoo-dev 2017-07-17 17:33:42 UTC
Created attachment 485350 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-07-17 17:33:45 UTC
Created attachment 485352 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-07-17 17:33:49 UTC
Created attachment 485354 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-07-17 17:33:52 UTC
Created attachment 485356 [details]
net-vpn:vpnc-0.5.3_p550:20170717-170821.log
Comment 8 Toralf Förster gentoo-dev 2017-07-17 17:33:55 UTC
Created attachment 485358 [details]
temp.tbz2
Comment 9 Mart Raudsepp gentoo-dev 2018-07-24 23:41:48 UTC
*** Bug 623830 has been marked as a duplicate of this bug. ***
Comment 10 Martin Mokrejš 2019-01-18 22:33:22 UTC
I can only add that I also get the error when I enable the testing.

# FEATURES=test emerge -pv vpnc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] net-vpn/vpnc-0.5.3_p550::gentoo  USE="gnutls resolvconf (-selinux)" 0 KiB


I only see a question from @jlec to upstream with no answer:

https://vpnc-devel.unix-ag.uni-kl.narkive.com/qR70FPOS/test-failure-error-decrypting-signature-unexpected-decrypted-size-512-expected-256

Maybe somebody maintaining openssl/gnutls in Gentoo would be able to inspect what the test is really aiming to do?
Comment 11 Martin Mokrejš 2019-01-18 22:38:27 UTC
Actually, Davide Pucci forked the vpnc tree as mentioned in https://vpnc-devel.unix-ag.uni-kl.narkive.com/rsD7EZeL/asking-for-patch-merge , so I opened github issue for this. ;-)

https://github.com/streambinder/vpnc/issues/4
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-06 22:54:31 UTC
Ping. Getting this on arm64.

Looks like upstream bug was closed due to inactivity?