Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506374 - app-crypt/tinyca-2.0.7.5-r1 with dev-lang/perl-5.18.2 - syntax error at /usr/share/tinyca/lib/GUI.pm line 981, near "$l qw(CN EMAIL O OU C ST L)"
Summary: app-crypt/tinyca-2.0.7.5-r1 with dev-lang/perl-5.18.2 - syntax error at /usr/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-31 15:32 UTC by Zentoo
Modified: 2014-08-20 03:41 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge-info.txt,18.86 KB, text/plain)
2014-03-31 15:32 UTC, Zentoo
Details
emerge --info app-crypt/tinyca (emerge-info-tinyca.txt,18.57 KB, text/plain)
2014-03-31 23:35 UTC, Zentoo
Details
Fix qw usage for >=perl-5.18 (tinyca-perl-5.18.patch,1.70 KB, patch)
2014-08-18 20:00 UTC, Kevin Bryan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zentoo 2014-03-31 15:32:39 UTC
Created attachment 373970 [details]
emerge --info

After updating perl from 5.16.3 to 5.18.2 on a ~amd64 system, tinyca doesn't work anymore and produce the following output:

"my" variable $store masks earlier declaration in same statement at /usr/share/tinyca/lib/GUI.pm line 986.
"my" variable $citer masks earlier declaration in same statement at /usr/share/tinyca/lib/GUI.pm line 986.
"my" variable $ou masks earlier declaration in same statement at /usr/share/tinyca/lib/GUI.pm line 988.
syntax error at /usr/share/tinyca/lib/GUI.pm line 981, near "$l qw(CN EMAIL O OU C ST L)"
Global symbol "$l" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 982.
Global symbol "$l" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 983.
syntax error at /usr/share/tinyca/lib/GUI.pm line 989, near "}"
syntax error at /usr/share/tinyca/lib/GUI.pm line 995, near "}"
Global symbol "$mode" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 999.
Global symbol "$t" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 1001.
Global symbol "$root" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 1003.
Global symbol "$t" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 1004.
syntax error at /usr/share/tinyca/lib/GUI.pm line 1006, near "$l qw(CN EMAIL O OU C ST L)"
/usr/share/tinyca/lib/GUI.pm has too many errors.
Compilation failed in require at /usr/bin/tinyca line 35.
BEGIN failed--compilation aborted at /usr/bin/tinyca line 35.

[I] app-crypt/tinyca
     Available versions:  (~)2.0.7.3 2.0.7.5 2.0.7.5-r1{tbz2} {LINGUAS="cs de en es sv"}
     Installed versions:  2.0.7.5-r1{tbz2}(16:39:37 03/25/14)(LINGUAS="en -cs -de -es -sv")
     Homepage:            http://tinyca.sm-zone.net/
     Description:         Simple Perl/Tk GUI to manage a small certification authority

[I] dev-lang/perl
     Available versions:  5.12.3-r1 (~)5.12.4 5.12.4-r1 (~)5.12.4-r2 (~)5.12.5(0/5.12) [M](~)5.14.1 [M](~)5.14.1-r1 [M](~)5.14.2 (~)5.16.0 (~)5.16.1 (~)5.16.2 (~)5.16.2-r1(0/5.16) 5.16.3(0/5.16){tbz2} (~)5.18.2(0/5.18){tbz2} {berkdb build debug doc gdbm ithreads}
     Installed versions:  5.18.2{tbz2}(18:48:07 03/23/14)(berkdb -debug -doc -gdbm -ithreads)
     Homepage:            http://www.perl.org/
     Description:         Larry Wall's Practical Extraction and Report Language
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-31 20:32:11 UTC
1) Please attach your `emerge --info app-crypt/tinyca' output in a comment.
2) Please post the entire command + output in a comment
Comment 2 Zentoo 2014-03-31 23:35:07 UTC
Created attachment 373996 [details]
emerge --info app-crypt/tinyca
Comment 3 Zentoo 2014-03-31 23:35:48 UTC
Ouput of tinyca lauched from a shell:

$ tinyca 
"my" variable $store masks earlier declaration in same statement at /usr/share/tinyca/lib/GUI.pm line 986.
"my" variable $citer masks earlier declaration in same statement at /usr/share/tinyca/lib/GUI.pm line 986.
"my" variable $ou masks earlier declaration in same statement at /usr/share/tinyca/lib/GUI.pm line 988.
syntax error at /usr/share/tinyca/lib/GUI.pm line 981, near "$l qw(CN EMAIL O OU C ST L)"
Global symbol "$l" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 982.
Global symbol "$l" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 983.
syntax error at /usr/share/tinyca/lib/GUI.pm line 989, near "}"
syntax error at /usr/share/tinyca/lib/GUI.pm line 995, near "}"
Global symbol "$mode" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 999.
Global symbol "$t" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 1001.
Global symbol "$root" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 1003.
Global symbol "$t" requires explicit package name at /usr/share/tinyca/lib/GUI.pm line 1004.
syntax error at /usr/share/tinyca/lib/GUI.pm line 1006, near "$l qw(CN EMAIL O OU C ST L)"
/usr/share/tinyca/lib/GUI.pm has too many errors.
Compilation failed in require at /usr/bin/tinyca line 35.
BEGIN failed--compilation aborted at /usr/bin/tinyca line 35.
Comment 4 Timo Eissler 2014-08-14 14:50:49 UTC
I have exactly the same issue.

# emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo_20140806-1 x86_64)
=================================================================
System uname: Linux-3.14.14-gentoo_20140806-1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-2.2
KiB Mem:     8184596 total,     67396 free
KiB Swap:    8388604 total,   8308644 free
Timestamp of tree: Thu, 14 Aug 2014 01:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.2.5-r3, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo morlix-gentoo-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/gnupg/qualified.txt /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/a
pache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ rsync://de-mirror.org/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 caps clamav cli cracklib crypt cryptsetup cxx device-mapper dri fam fortran gdbm gnutls gzip iconv ipv6 ldap lm_sensors lzma maildir mmx mmxext modules multilib mysql ncurses nls nptl openmp pam pcre posix quota readline session sse sse2 ssl ssse3 syslog tcpd udev unicode vim-syntax 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="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 auth_digest" 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" 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" INPUT_DEVICES="keyboard mouse evdev" 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 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 Kevin Bryan 2014-08-18 20:00:30 UTC
Created attachment 383092 [details, diff]
Fix qw usage for >=perl-5.18

This is from a change in perl syntax ( http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod#qw(...)_can_no_longer_be_used_as_parentheses ).  Attached patch seems to fix it for me.
Comment 6 Zentoo 2014-08-19 22:21:00 UTC
I confirm your patch fix it for me too.

Thanks a lot Kevin !


(In reply to Kevin Bryan from comment #5)
> Created attachment 383092 [details, diff] [details, diff]
> Fix qw usage for >=perl-5.18
> 
> This is from a change in perl syntax (
> http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod#qw(...
> )_can_no_longer_be_used_as_parentheses ).  Attached patch seems to fix it
> for me.
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2014-08-20 03:41:40 UTC
Thanks!

Added to tinyca-2.0.7.5-r2