Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331925 - dev-util/omake-0.9.8.5 w/ dev-lang/ocaml-3.12 - Error: Error-enabled warnings (3 occurrences)
Summary: dev-util/omake-0.9.8.5 w/ dev-lang/ocaml-3.12 - Error: Error-enabled warnings...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL: http://www.mail-archive.com/debian-bu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-09 19:31 UTC by Elias Gabriel Amaral da Silva
Modified: 2010-11-20 17:29 UTC (History)
0 users

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


Attachments
omake-0.9.8.5-disable-ocaml-3.12-warnings.patch (omake-0.9.8.5-disable-ocaml-3.12-warnings.patch,619 bytes, patch)
2010-08-09 19:33 UTC, Elias Gabriel Amaral da Silva
Details | Diff
omake-0.9.8.5-r1.ebuild (omake-0.9.8.5-r1.ebuild,1.94 KB, text/plain)
2010-08-09 19:35 UTC, Elias Gabriel Amaral da Silva
Details
buid log (build.log,29.61 KB, text/plain)
2010-08-09 19:36 UTC, Elias Gabriel Amaral da Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Gabriel Amaral da Silva 2010-08-09 19:31:05 UTC
When emerging omake 0.9.8.5, I get a warning, and the build fails.

I found a patch to disable warnings in a debian mailing list:
  http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg279179.html

(I actually downloaded omake source package from sid)

I'm currently using it. I will attach the ebuild, patch and build log.

Reproducible: Always

Steps to Reproduce:
emerge '>=ocaml-3.12.0'

emerge omake
Actual Results:  
(...)
+ ocamlopt.opt -warn-error A -w Aez -I . -c lm_debug.ml
File "lm_debug.ml", line 176, characters 6-45:
Warning 9: the following labels are not bound in this record pattern:1 / 01149
info_info
Either bind these labels explicitly or add `; _' to the pattern.
File "lm_debug.ml", line 192, characters 13-53:
Warning 9: the following labels are not bound in this record pattern:
info_info
Either bind these labels explicitly or add `; _' to the pattern.
File "lm_debug.ml", line 230, characters 16-61:
Warning 9: the following labels are not bound in this record pattern:
info_name
Either bind these labels explicitly or add `; _' to the pattern.
File "lm_debug.ml", line 1, characters 0-1:
Error: Error-enabled warnings (3 occurrences)
*** omake: 332/1149 targets are up to date                                     
*** omake: failed (11.19 sec, 21/21 scans, 75/76 rules, 208/939 digests)
*** omake: targets were not rebuilt because of errors:                         
   src/libmojave/lm_debug.cmx
   src/libmojave/lm_debug.o
make: *** [all] Error 2


emerge --info

Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.35-gentoo x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_N450_@_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 09 Aug 2010 15:30:22 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.5.4-r4, 2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=generic --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mssse3 -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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=core2 -mtune=generic --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mssse3 -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/custom /usr/local/portage/gentoo-haskell"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb branding bzip2 cairo cjk cli cracklib crypt cups curl cxx dbus dri emacs fortran gdbm gif gnutls gpm gtk iconv ipv6 java java6 jpeg laptop libnotify modules mudflap ncurses network-cron nls nptl nptlonly ocaml ocamlopt opengl openmp pam pcre pdf perl png pppd python readline reflection ruby rubygems session spl ssl startup-notification svg sysfs tcpd threads unicode vim-syntax wifi x86 xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Elias Gabriel Amaral da Silva 2010-08-09 19:33:54 UTC
Created attachment 242129 [details, diff]
omake-0.9.8.5-disable-ocaml-3.12-warnings.patch
Comment 2 Elias Gabriel Amaral da Silva 2010-08-09 19:35:20 UTC
Created attachment 242131 [details]
omake-0.9.8.5-r1.ebuild

just add a line to load the patch
Comment 3 Elias Gabriel Amaral da Silva 2010-08-09 19:36:33 UTC
Created attachment 242133 [details]
buid log
Comment 4 Elias Gabriel Amaral da Silva 2010-08-09 19:39:51 UTC
just to note, bug #206246 is unrelated.

(also, this is my first bug report, so i was unsure about to whom assign it)
Comment 5 Alexis Ballier gentoo-dev 2010-11-20 17:29:25 UTC
fixed in 0.9.8.6.0_rc1