Summary: | app-text/poppler-0.30.0 with dev-util/pkgconfig-openbsd - CMake Error at cmake/modules/MacroEnsureVersion.cmake:76 (MATH): math cannot parse the expression: "Use of my $_ is experimental at /usr/lib64/perl55*10000 + Use of my $_ is experimental at ... | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | [OLD] Printing | Assignee: | Maciej Mrozowski <reavertm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, printing |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=545322 https://bugs.gentoo.org/show_bug.cgi?id=545962 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
cmake out
cmake err emerge log config cache config log |
Description
Toralf Förster
2015-01-27 21:33:46 UTC
Created attachment 395032 [details]
cmake err
this might help too : -- Looking for mkstemp - found -- Looking for mkstemps -- Looking for mkstemps - found -- Looking for rand_r -- Looking for rand_r - found -- Looking for strcpy_s -- Looking for strcpy_s - not found -- Looking for strcat_s -- Looking for strcat_s - not found -- Performing Test HAVE_DIRENT_H -- Performing Test HAVE_DIRENT_H - Success -- Performing Test HAVE_NDIR_H -- Performing Test HAVE_NDIR_H - Failed -- Performing Test HAVE_SYS_DIR_H -- Performing Test HAVE_SYS_DIR_H - Success -- Performing Test HAVE_SYS_NDIR_H -- Performing Test HAVE_SYS_NDIR_H - Failed -- Looking for nanosleep -- Looking for nanosleep - found CMake Error at cmake/modules/MacroEnsureVersion.cmake:76 (MATH): math cannot parse the expression: "Use of my $_ is experimental at /usr/lib64/perl55*10000 + Use of my $_ is experimental at /usr/lib64/perl520*100 + Use of my $_ is experimental at /usr/lib64/perl51": syntax error, unexpected exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (33) Call Stack (most recent call first): cmake/modules/MacroEnsureVersion.cmake:95 (NORMALIZE_VERSION) CMakeLists.txt:675 (macro_ensure_version) Please attach the entire build log to this bug report. ...attach also CMakeCache.txt - it seems odd, that a check for pkg-config version gets the result of a perl version check. Created attachment 395116 [details]
emerge log
Created attachment 395118 [details]
config cache
...so just that I got it right: virtual/pkgconfig resolves to dev-util/pkgconfig-openbsd on that setup ? If so, does the initial problem still occur with one of the alternatives ? (In reply to Rafał Mużyło from comment #7) > ...so just that I got it right: virtual/pkgconfig resolves to > dev-util/pkgconfig-openbsd on that setup ? > > If so, does the initial problem still occur with one of the alternatives ? # eix -I pkgconfig [I] dev-perl/extutils-pkgconfig Available versions: 1.140.0 1.150.0 Installed versions: 1.150.0(08:01:01 AM 02/28/2015) Homepage: http://search.cpan.org/dist/ExtUtils-PkgConfig/ Description: Simplistic perl interface to pkg-config [I] dev-util/pkgconfig Available versions: 0.28-r1 ~0.28-r2 **9999 {hardened internal-glib ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" ELIBC="FreeBSD glibc"} Installed versions: 0.28-r1(12:46:39 PM 02/26/2015)(hardened -internal-glib ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" ELIBC="glibc -FreeBSD") Homepage: http://pkgconfig.freedesktop.org/wiki/ Description: Package config system that manages compile/link flags [I] virtual/pkgconfig Available versions: 0-r1 {ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 0-r1(11:20:27 AM 02/26/2015)(ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") Description: Virtual for the pkg-config implementation Found 3 matches. similar error for 0.32 (In reply to Toralf Förster from comment #9) > similar error for 0.32 After that SDL_image series, would you mind checking if that x86_64-pc-linux-gnu-pkg-config isn't actually a symlink (or a script) ? Check also if root doesn't have a different pkg-config in $PATH. At this point, even that environment file might be interesting... What's the output of equery belongs /usr/lib64/perl5/vendor_perl/5.20.1/OpenBSD/PkgConfig.pm (In reply to Andreas K. Hüttel from comment #11) > What's the output of > equery belongs /usr/lib64/perl5/vendor_perl/5.20.1/OpenBSD/PkgConfig.pm The image is gone (wasn't aware that I should keep chroot images for 3 month or longer - will do that now) (In reply to Andreas K. Hüttel from comment #11) > What's the output of > equery belongs /usr/lib64/perl5/vendor_perl/5.20.1/OpenBSD/PkgConfig.pm I do now have again a chroot image where such a thing happens, and here 5.20.2 is installed: tor-relay / # qlop --gauge --human --list dev-lang/perl Sun Apr 12 04:54:51 2015 >>> dev-lang/perl-5.20.2 perl: Sun Apr 12 04:49:19 2015: 5 minutes, 32 seconds perl: 1 times tor-relay / # equery belongs /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm * Searching for /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm ... dev-util/pkgconfig-openbsd-20130507-r1 (/usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm) I stopped that chroot image for further investigation - if wanted Created attachment 401236 [details] config log FWIW here is the failure for package dev-dotnet/xsp-2.10.2-r2 : * Package: dev-dotnet/xsp-2.10.2-r2 * Repository: gentoo * Maintainer: dotnet@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux policykit userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking xsp-2.10.2.tar.bz2 to /var/tmp/portage/dev-dotnet/xsp-2.10.2-r2/work >>> Source unpacked in /var/tmp/portage/dev-dotnet/xsp-2.10.2-r2/work >>> Preparing source in /var/tmp/portage/dev-dotnet/xsp-2.10.2-r2/work/xsp-2.10.2 ... * Applying xsp-2.10.2-endrequest.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-dotnet/xsp-2.10.2-r2/work/xsp-2.10.2 ... * econf: updating xsp-2.10.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating xsp-2.10.2/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... (cached) gawk checking for a thread-safe mkdir -p... /bin/mkdir -p checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. yes checking for MONO_MODULE... yes checking for gmcs... /usr/bin/gmcs checking for dmcs... /usr/bin/dmcs checking for mono... /usr/bin/mono checking for gacutil... /usr/bin/gacutil checking for sn... /usr/bin/sn checking for Mono 2.0 GAC for System.Core.dll... Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. not found configure: error: missing required Mono 2.0 assembly: System.Core.dll (In reply to Toralf Förster from comment #14) > checking for Mono 2.0 GAC for System.Core.dll... Use of my $_ is > experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm > line 94. It looks like this (and a number of similar bugs) might actually be a bug in dev-util/pkgconfig-openbsd producing that warning. (In reply to Michael Palimaka (kensington) from comment #15) > (In reply to Toralf Förster from comment #14) > > checking for Mono 2.0 GAC for System.Core.dll... Use of my $_ is > > experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm > > line 94. > > It looks like this (and a number of similar bugs) might actually be a bug in > dev-util/pkgconfig-openbsd producing that warning. SO this falls under this issue too I do assume : These are the packages that would be merged, in reverse order: Calculating dependencies . .... done! [blocks b ] dev-util/mono-debugger ("dev-util/mono-debugger" is blocking dev-lang/mercury-13.05.2) [uninstall ] dev-lang/mercury-13.05.2 [ebuild N ] dev-util/mono-debugger-2.10 >>> Verifying ebuild manifests >>> Jobs: 0 of 1 complete, 1 running Load avg: 5.45, 5.47, 5.31 >>> Emerging (1 of 1) dev-util/mono-debugger-2.10::gentoo >>> Jobs: 0 of 1 complete, 1 running Load avg: 5.45, 5.47, 5.31 >>> Failed to emerge dev-util/mono-debugger-2.10, Log file: >>> Jobs: 0 of 1 complete, 1 running Load avg: 5.28, 5.43, 5.30 >>> '/var/log/portage/dev-util:mono-debugger-2.10:20150415-211832.log' >>> Jobs: 0 of 1 complete, 1 running Load avg: 5.28, 5.43, 5.30 >>> Jobs: 0 of 1 complete, 1 running, 1 failed Load avg: 5.28, 5.43, 5.30 >>> Jobs: 0 of 1 complete, 1 failed Load avg: 5.28, 5.43, 5.30 * Package: dev-util/mono-debugger-2.10 * Repository: gentoo * Maintainer: dotnet@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux policykit userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mono-debugger-2.10.tar.bz2 to /var/tmp/portage/dev-util/mono-debugger-2.10/work >>> Source unpacked in /var/tmp/portage/dev-util/mono-debugger-2.10/work >>> Preparing source in /var/tmp/portage/dev-util/mono-debugger-2.10/work/mono-debugger-2.10 ... * Applying mono-debugger-2.10-glib2.32.patch ... [ ok ] * Applying mono-debugger-2.8-system-bfd.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-util/mono-debugger-2.10/work/mono-debugger-2.10' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: mono-debugger-2.10/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/mono-debugger-2.10/work/mono-debugger-2.10 ... * econf: updating mono-debugger-2.10/config.sub with /usr/share/gnuconfig/config.sub * econf: updating mono-debugger-2.10/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --disable-dependency-tracking --disable-static --with-system-libbfd --disable-static configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking host platform characteristics... ok checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking bfd.h usability... yes checking bfd.h presence... yes checking for bfd.h... yes checking for bfd_init in -lbfd... yes checking for init_disassemble_info in -lopcodes... yes checking for asection.rawsize... yes checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for ANSI C header files... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking size of void *... 8 checking for pkg-config... /usr/bin/pkg-config checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. yes checking for BASE_DEPENDENCIES... yes checking Whether we're using Mono from trunk... Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. yes checking for SERVER_DEPENDENCIES... yes Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. "Found cecil.pc" Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. checking for WRAPPER... yes checking for gacutil... /usr/bin/gacutil Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. checking for mono... /usr/bin/mono checking for gmcs... /usr/bin/gmcs checking for monodis... /usr/bin/monodis checking for nunit-console2... /usr/bin/nunit-console2 Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. "Found mono-nunit.pc" Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. Use of my $_ is experimental at /usr/lib64/perl5/vendor_perl/5.20.2/OpenBSD/PkgConfig.pm line 94. checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/user.h usability... yes checking sys/user.h presence... yes checking for sys/user.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking termcap/termcap.h usability... no checking termcap/termcap.h presence... no checking for termcap/termcap.h... no checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl... yes checking for getpagesize... yes checking for setitimer... yes checking for sysconf... yes checking for fdopen... yes checking for getuid... yes checking for getgid... yes checking for strlcpy... no checking for strlcat... no checking for fgetln... no checking Whether your Mono is working... no configure: error: *** Your Mono is too old for this version of the debugger. Yep, looks like the same type of error. *** Bug 550552 has been marked as a duplicate of this bug. *** Thanks, fixed in git with updated pkgconfig-openbsd. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6229346e306f1a8cef07bcf6edbb9b761fa1ed8e |