Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662102 - app-text/podofo-0.9.6_pre20171027 fails to build with =dev-util/cmake-3.12*
Summary: app-text/podofo-0.9.6_pre20171027 fails to build with =dev-util/cmake-3.12*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on: 685124
Blocks:
  Show dependency tree
 
Reported: 2018-07-25 13:27 UTC by Michelangelo Scopelliti
Modified: 2019-06-28 21:02 UTC (History)
0 users

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


Attachments
build log (build.log.gz,13.25 KB, application/gzip)
2018-07-25 13:27 UTC, Michelangelo Scopelliti
Details
diff between current ebuild and my proposed 0.9.6 ebuild (ebuild-patch.diff,1.28 KB, patch)
2018-07-25 13:30 UTC, Michelangelo Scopelliti
Details | Diff
proposed ebuild (podofo-0.9.6.ebuild,4.40 KB, text/plain)
2018-07-25 13:30 UTC, Michelangelo Scopelliti
Details
proposed patch (podofo-0.9.6-copy_directory.patch,1.69 KB, patch)
2018-07-25 13:31 UTC, Michelangelo Scopelliti
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michelangelo Scopelliti 2018-07-25 13:27:54 UTC
Created attachment 540998 [details]
build log

Building of app-text/podofo-0.9.6_pre20171027 fails to build with cmake-3.12 with error

Error copying directory from "/var/tmp/portage/app-text/podofo-0.9.6_pre20171027/work/podofo-0.9.6_pre20171027/test/TokenizerTest/objects" to "/var/tmp/portage/app-text/podofo-0.9.6_pre20171027/work/podofo-0.9.6_pre20171027_build/test/TokenizerTest/objects".


This is due to the change, in version 3.12, of "copy_directory" tool (see cmake release note https://cmake.org/cmake/help/v3.12/release/3.12.html#other ).


On the other hand, podofo 0.9.6 has been released a few days ago ( http://podofo.sourceforge.net/ ).

The new version does not require "my" patch any more (bug #635890).

Patches will follow.

emerge --info
Portage 2.3.43 (python 3.6.6-final-0, default/linux/amd64/17.1, gcc-7.3.0, glibc-2.27-r5, 4.17.9 x86_64)
=================================================================
System uname: Linux-4.17.9-x86_64-Intel-R-_Core-TM-_i7-7700_CPU_@_3.60GHz-with-gentoo-2.6
KiB Mem:    32660384 total,    224472 free
KiB Swap:   33554428 total,  33554428 free
Head commit of repository gentoo: 9836fe82c3c937c037bdc3f0d6947892a5dc1d77

sh bash 4.4_p23
ld GNU ld (Gentoo 2.30 p3) 2.30.0
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/cmake:           3.12.0::gentoo
sys-apps/baselayout:      2.6::gentoo
sys-apps/openrc:          0.38.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r3::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo.git
    priority: -1000

kernelpanic
    location: /usr/local/portage/kernelpanic
    masters: gentoo
    priority: 0

libressl
    location: /var/lib/layman/libressl
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/libressl.git
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
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="/var/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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="-march=native -mtune=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup clean-logs compress-build-logs config-protect-if-modified distlocks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -mtune=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="   activity-stream@mozilla.org.xpi   aushelper@mozilla.org.xpi   firefox@getpocket.com.xpi   followonsearch@mozilla.com.xpi   onboarding@mozilla.org.xpi   shield-recipe-client@mozilla.org.xpi   webcompat@mozilla.org.xpi"
LANG="C"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
MAKEOPTS="-j9"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl alsa amd64 ao berkdb blas branding bzip2 cairo cdda cdparanoia cdr cjk cli crypt cups curl cxx dbus djvu dri dts dv dvb dvd encode exif ffmpeg fftw flac fontconfig fortran gdbm gif gimp gmp gpm gsm gstreamer gtk iconv icu imlib inotify ipv6 jbig jpeg jpeg2k lame lapack latex lcms libass libnotify libressl libtirpc lzma lzo mad matroska mms mng modules mp3 mpeg mtp multilib musepack musicbrainz ncurses nls nptl offensive ogg openal openexr opengl openmp pam pcre pdf png postscript qt5 raw readline scanner seccomp smp sndfile sound sox speex spell sqlite ssl startup-notification svg taglib theora threads tiff truetype udev unicode usb v4l vaapi vim-syntax vorbis wavpack webp wmf wxwidgets x264 xattr xcb xml xmp xpm xv xvid zlib" ABI_X86="64 32" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="libressl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm" QEMU_USER_TARGETS="x86_64 i386 arm" RUBY_TARGETS="ruby25" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michelangelo Scopelliti 2018-07-25 13:30:07 UTC
Created attachment 541000 [details, diff]
diff between current ebuild and my proposed 0.9.6 ebuild
Comment 2 Michelangelo Scopelliti 2018-07-25 13:30:52 UTC
Created attachment 541002 [details]
proposed ebuild
Comment 3 Michelangelo Scopelliti 2018-07-25 13:31:13 UTC
Created attachment 541004 [details, diff]
proposed patch
Comment 4 Michelangelo Scopelliti 2018-07-25 13:32:31 UTC
Obviously, podofo-build should be changed accordingly.

A question: is podofo-build still necessary?
Comment 5 Michelangelo Scopelliti 2018-07-25 15:17:40 UTC
ERRATUM:
the above mentioned patch (bug #635890) is not needed with libressl-2.7*; is still needed with libressl-2.6*
Comment 6 Rolf Eike Beer archtester 2019-05-21 17:29:35 UTC
the if() in the first hunk of the patch is wrong: it checks for "object" directory, but copies "resources". Also the arguments in the endif() can entirely be dropped, just use "endif()".