Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603050 - kde-apps/kalzium-16.12.0[solver] fails to build with dev-lang/ocaml-4.04.0
Summary: kde-apps/kalzium-16.12.0[solver] fails to build with dev-lang/ocaml-4.04.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: tracking upstream
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-19 04:16 UTC by Viktor Yu. Kovalskii
Modified: 2017-08-03 17:10 UTC (History)
2 users (show)

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


Attachments
build.log of kalzium-16.12.0 with ocaml-4.04.0 (build.log,209.73 KB, text/x-log)
2016-12-19 04:16 UTC, Viktor Yu. Kovalskii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Yu. Kovalskii 2016-12-19 04:16:57 UTC
Created attachment 456648 [details]
build.log of kalzium-16.12.0 with ocaml-4.04.0

kalzium-16.12.0 fails to build with ocaml-4.04.0 with error:

[ 55%] Generating modwrap.o
cd /mnt/slag/portage/kde-apps/kalzium-16.12.0/work/kalzium-16.12.0_build/src && /usr/bin/ocamlopt -I /usr/lib/ocaml/facile -c /mnt/slag/portage/kde-apps/kalzium-16.12.0/work/kalzium-16.12.0/src/solver/modwrap.c -o /mnt/slag/portage/kde-apps/kalzium-16.12.0/work/kalzium-16.12.0_build/src/modwrap.o
Options -c and -o are incompatible when compiling C files
make[2]: *** [src/CMakeFiles/kalzium.dir/build.make:101: src/modwrap.o] Error 2
make[2]: Leaving directory '/mnt/slag/portage/kde-apps/kalzium-16.12.0/work/kalzium-16.12.0_build'
make[1]: *** [CMakeFiles/Makefile2:119: src/CMakeFiles/kalzium.dir/all] Error 2
make[1]: Leaving directory '/mnt/slag/portage/kde-apps/kalzium-16.12.0/work/kalzium-16.12.0_build'
make: *** [Makefile:128: all] Error 2
 * ERROR: kde-apps/kalzium-16.12.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=kde-apps/kalzium-16.12.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-apps/kalzium-16.12.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/kde-apps/kalzium-16.12.0:20161218-104855.log'.
 * For convenience, a symlink to the build log is located at '/mnt/slag/portage/kde-apps/kalzium-16.12.0/temp/build.log'.
 * The ebuild environment file is located at '/mnt/slag/portage/kde-apps/kalzium-16.12.0/temp/environment'.
 * Working directory: '/mnt/slag/portage/kde-apps/kalzium-16.12.0/work/kalzium-16.12.0_build'
 * S: '/mnt/slag/portage/kde-apps/kalzium-16.12.0/work/kalzium-16.12.0'

Compilation with ocaml-4.03.0-r1 is fine.
Comment 1 Viktor Yu. Kovalskii 2016-12-19 04:18:28 UTC
emerge --info '=kde-apps/kalzium-16.12.0::gentoo'
Portage 2.3.3 (python 3.5.2-final-0, default/linux/x86/13.0/desktop/plasma, gcc-4.9.4, glibc-2.22-r4, 4.4.39-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.39-gentoo-i686-Intel-R-_Core-TM-_Duo_CPU_T2350_@_1.86GHz-with-gentoo-2.3
KiB Mem:     3095804 total,    464236 free
KiB Swap:    2104508 total,   1657484 free
Timestamp of repository flying: Thu, 04 Aug 2016 02:09:25 +0000
Timestamp of repository oschtan: Fri, 02 Dec 2016 04:43:12 +0000
sh bash 4.4_p5-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.3.3 [enabled]
app-shells/bash:          4.4_p5-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.5.2::gentoo
dev-util/ccache:          3.3.3::gentoo
dev-util/cmake:           3.7.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /mnt/slag/gentoo-tree
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

flying
    location: /mnt/slag/layman/flying
    masters: gentoo

oschtan
    location: /mnt/slag/layman/oschtan
    sync-type: rsync
    sync-uri: rsync://85.118.229.194/overlay/
    masters: gentoo

kde
    location: /mnt/slag/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

mozilla
    location: /mnt/slag/layman/mozilla
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    masters: gentoo
    priority: 50

rion
    location: /mnt/slag/layman/rion
    sync-type: laymansync
    sync-uri: git://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

science
    location: /mnt/slag/layman/science
    sync-type: laymansync
    sync-uri: git://github.com/gentoo-science/sci.git
    masters: gentoo
    priority: 50

stuff
    location: /mnt/slag/layman/stuff
    sync-type: laymansync
    sync-uri: https://github.com/megabaks/stuff.git
    masters: gentoo
    priority: 50

Installed sets: @toolchain
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL skype-4.0.0.7-copyright intel-ucode"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/config /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPPFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
DISTDIR="/mnt/slag/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build --with-bdeps=y"
FCFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
GENTOO_MIRRORS="http://linux.nsu.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles http://trumpetti.atm.tut.fi/gentoo/ http://distfiles.gentoo.org"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/mnt/slag/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="/mnt/slag"
USE="X a52 aac acl acpi alsa amr apng archive aspell bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib curl cxx dbus declarative djvu dri dts dvd dvdnav dvdr emboss emf enca encode exceptions exif expat faac faad fam fbcondecor ffmpeg firefox flac fontconfig fortran ftp fuse gallium gif git glib gmp gnutls gpm harfbuzz http iconv icu idn imagemagick jbig jemalloc jpeg jpeg2k kde lame latex lcms libass libnotify libsamplerate lm_sensors lz4 lzma lzo mad man mime mng modules mp3 mp4 mpeg musepack natspec ncurses networkmanager nls nptl ogg opengl openmp orc osmesa pam pango pcre pdf phonon plasma png policykit postscript ppds pulseaudio qml qt3support qt4 qt5 rar readline rtc sdl seccomp session sndfile spell sqlite ssl startup-notification svg tcpd threads tiff truetype twolame udev udisks unicode upower usb utils vorbis wavpack widgets wifi wmf wxwidgets x264 x86 xattr xcb xcomposite xml xmp xorg xv xvid zlib" ABI_X86="32" ALSA_CARDS="hda-intel" 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="mmx mmxext sse sse2 sse3" CURL_SSL="gnutls" 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" L10N="ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python3_5 python2_7" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i915" 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"
USE_PYTHON="3.5 2.7"
Unset:  CC, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 David Kredba 2016-12-19 05:31:55 UTC
There is a upstream bug already: https://bugs.kde.org/show_bug.cgi?id=372671
Comment 3 David Kredba 2016-12-19 05:32:50 UTC
I am sorry, it is already part of URL.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2017-01-25 12:33:00 UTC
Due to security stabilization of dev-lang/ocaml-4.04.0, stable mask for kde-apps/kalzium[solver].

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b6d0de7f7a3840ba0e0683bae8280fcb75777d
Comment 5 Andreas Sturmlechner gentoo-dev 2017-08-03 17:10:34 UTC
Thanks, fixed in >=17.04.3 with git commit 014ae925f9faf8770ed787dc2246e71d61c5a509