Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788823 - sci-geosciences/qmapshack-1.15.2-r2 w/ sci-libs/proj-8.0.1: CMake Error at FindPackageHandleStandardArgs.cmake:230: Could NOT find PROJ4
Summary: sci-geosciences/qmapshack-1.15.2-r2 w/ sci-libs/proj-8.0.1: CMake Error at Fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PROJ-8
  Show dependency tree
 
Reported: 2021-05-07 20:34 UTC by Kobboi
Modified: 2021-05-25 14:30 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,4.70 KB, text/plain)
2021-05-07 20:34 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2021-05-07 20:34:16 UTC
>>> Emerging (1 of 1) sci-geosciences/qmapshack-1.15.2-r2::gentoo
>>> Failed to emerge sci-geosciences/qmapshack-1.15.2-r2, Log file:
>>>  '/var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/temp/build.log'
 * Package:    sci-geosciences/qmapshack-1.15.2-r2
 * Repository: gentoo
 * Maintainer: grozin@gentoo.org sci@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   compressdebug installsources network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
 * Applying FindPROJ4.patch ...
 [ ok ]
 * Applying qmapshack-1.15.2-no-hacks-kthxbye.patch ...
 [ ok ]
 * Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/work/qmapshack-1.15.2_build"
 * Hardcoded definition(s) removed in src/qmt_map2jnx/CMakeLists.txt:
 *  SET(CMAKE_VERBOSE_MAKEFILE ON)
 * Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/work/qmapshack-1.15.2_build"
cmake -C /var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/work/qmapshack-1.15.2_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/work/qmapshack-1.15.2_build/gentoo_toolchain.cmake  /var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/work/qmapshack-V_1.15.2
loading initial cache file /var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/work/qmapshack-1.15.2_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at cmake/Modules/TranslateTs.cmake:65 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  CMakeLists.txt:44 (include)


-- Performing Test WITH_FPIC
-- Performing Test WITH_FPIC - Success
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for byteswap.h
-- Looking for byteswap.h - found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Performing Test Flag:-Wsuggest-override
-- Performing Test Flag:-Wsuggest-override - Success
-- Performing Test Flag:-Woverloaded-virtual
-- Performing Test Flag:-Woverloaded-virtual - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found GDAL: /usr/lib64/libgdal.so (found version "3.2.3") 
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find PROJ4 (missing: PROJ4_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindPROJ4.cmake:113 (find_package_handle_standard_args)
  CMakeLists.txt:151 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/work/qmapshack-1.15.2_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/work/qmapshack-1.15.2_build/CMakeFiles/CMakeError.log".
 * ERROR: sci-geosciences/qmapshack-1.15.2-r2::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2244:  Called cmake_src_configure
 *   environment, line  953:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=sci-geosciences/qmapshack-1.15.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-geosciences/qmapshack-1.15.2-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/work/qmapshack-1.15.2_build'
 * S: '/var/tmp/portage/sci-geosciences/qmapshack-1.15.2-r2/work/qmapshack-V_1.15.2'


Reproducible: Always
Comment 1 Kobboi 2021-05-07 20:34:48 UTC
Created attachment 706548 [details]
build.log
Comment 2 Kobboi 2021-05-07 20:35:08 UTC
Portage 3.0.18 (python 3.8.10-final-0, !../../var/db/repos/kobboi-linux/profiles/kobboi/tanagra, gcc-11.1.0, glibc-2.33, 5.11.18-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.11.18-gentoo-dist-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.2.5
KiB Mem:    32888768 total,  14988928 free
KiB Swap:   16777212 total,  13507404 free
Timestamp of repository gentoo: Fri, 07 May 2021 20:30:01 +0000
Head commit of repository gentoo: a18593f43ed1a44bdc9d21e40c19d48f7b989bf0
Timestamp of repository brother-overlay: Mon, 12 Apr 2021 01:22:45 +0000
Head commit of repository brother-overlay: 6811e245c3516c154f57e0dcf952fe0182394ae0

Head commit of repository kobboi-linux: 3648618a0b2f29ed941ec1dfa2cfda0c69ecb427

Timestamp of repository steam-overlay: Wed, 05 May 2021 20:20:25 +0000
Head commit of repository steam-overlay: 60a569b430b18257e092e620a873fdaa03679d8a

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p3) 2.36.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.2.1 [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p9::gentoo, 3.7.10_p3::gentoo, 3.8.10::gentoo, 3.9.5::gentoo
dev-lang/rust:            1.52.0::gentoo
dev-util/ccache:          4.2.1::gentoo
dev-util/cmake:           3.20.2::gentoo
sys-apps/baselayout:      2.7-r2::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.36.1-r1::gentoo
sys-devel/gcc:            11.1.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.12::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git
    masters: gentoo

kobboi-linux
    location: /var/db/repos/kobboi-linux
    sync-type: git
    sync-uri: https://github.com/kobboi/kobboi-linux
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

Installed sets: @kobboi-all-packages, @kobboi-machine-tanagra
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver3 -pipe -g -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
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="-O2 -march=znver3 -pipe -g -ggdb"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=znver3 -pipe -g -ggdb"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver3 -pipe -g -ggdb"
GENTOO_MIRRORS="ftp://kobboi-linux:*password*@10.8.0.1/2020.11"
INSTALL_MASK="/usr/src/debug /usr/lib/debug"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="ftp://kobboi-linux:*password*@10.8.0.1/2020.11/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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb bluetooth bzip2 cairo cdda cdr cli colord crypt cups dbus dist-kernel djvu dri dts dvd dvdr eds egl emboss encode evo exif facedetect ffmpeg flac fluidsynth fortran frei0r gdbm gif glade gles gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle gui iconv icu introspection ipv6 jpeg ladspa lcms libass libglvnd libnotify libsecret libtirpc lv2 lz4 lzma lzo mad midi mng modemmanager mono mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl ogg opencv opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt5 readline samba screencast sdl seccomp smartcard smp spell split-usr ssl startup-notification svg sysprof systemd tcpd tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse synaptics libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="vesa radeon nvidia intel amdgpu dummy fbdev nouveau radeonsi v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 3 Kobboi 2021-05-07 20:36:05 UTC
Probably related to upgrade of sci-libs/proj from 7.2.1 to 8.0.1
Comment 4 Andrey Grozin gentoo-dev 2021-05-08 03:05:46 UTC
The upstream des not support proj-8 yet

commit e49ac3859ed745c80ba5e31be5395de6508f226d (HEAD -> master, origin/master, origin/HEAD)
Author: Andrey Grozin <grozin@gentoo.org>
Date:   Sat May 8 10:03:37 2021 +0700

    sci-geosciences/qmapshack: depend on <proj-8
    
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Comment 5 Larry the Git Cow gentoo-dev 2021-05-25 14:30:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c549b31895f92b7317356fb1f5db97581a4a7c7e

commit c549b31895f92b7317356fb1f5db97581a4a7c7e
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2021-05-25 14:29:52 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2021-05-25 14:30:36 +0000

    sci-geosciences/qmapshack: bump to 1.16.0
    
    DEPENDs on >=sci-libs/proj-8
    Closes: https://bugs.gentoo.org/788823
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 sci-geosciences/qmapshack/Manifest                |  1 +
 sci-geosciences/qmapshack/qmapshack-1.16.0.ebuild | 46 +++++++++++++++++++++++
 2 files changed, 47 insertions(+)