Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 350143

Summary: dev-ml/ocamlnet-3.2 - make[1]: *** [shell_fs.cmo] Error 2
Product: Gentoo Linux Reporter: thanasis <thanasis>
Component: New packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED FIXED    
Severity: normal CC: jakub, PishiSyda
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: entire build log
build log

Description thanasis 2010-12-30 11:24:28 UTC
dev-ml/ocamlnet-3.2 failes to build

Reproducible: Always

Steps to Reproduce:
emerge

Actual Results:  
ocamlfind ocamlc -g  -I ../../src/netsys -I ../../src/netstring -package "unix pcre" -c  uq_resolver.mli
ocamlfind ocamlc -g  -I ../../src/netsys -I ../../src/netstring -package "unix pcre"  -c  uq_resolver.ml
ocamlfind ocamlc -g  -I ../../src/netsys -I ../../src/netstring -package "unix pcre" -c  uq_engines.mli
ocamlfind ocamlc -g  -I ../../src/netsys -I ../../src/netstring -package "unix pcre"  -c  uq_engines.ml
ocamlfind ocamlc -g  -I ../../src/netsys -I ../../src/netstring -package "unix pcre" -c  uq_socks5.mli
ocamlfind ocamlc -g  -I ../../src/netsys -I ../../src/netstring -package "unix pcre"  -c  uq_socks5.ml
ocamlfind ocamlc -g  -I ../../src/netsys -I ../../src/netstring -package "unix pcre" -c  uq_io.mli
ocamlfind ocamlc -g  -I ../../src/netsys -I ../../src/netstring -package "unix pcre"  -c  uq_io.ml
if [ "X" = "X" ]; then \
        ocamlfind ocamlc -g  -I ../../src/netsys -I ../../src/netstring -package "unix pcre"  -a -o equeue.cma  equeue.cmo unixqueue_util.cmo unixqueue_pollset.cmo unixqueue_select.cmo unixqueue.cmo uq_resolver.cmo uq_engines.cmo uq_socks5.cmo uq_io.cmo; \
else \
        ../../tools/mkstublib -o equeue equeue.cmo unixqueue_util.cmo unixqueue_pollset.cmo unixqueue_select.cmo unixqueue.cmo uq_resolver.cmo uq_engines.cmo uq_socks5.cmo uq_io.cmo  ; \
fi
make[1]: Leaving directory `/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/work/ocamlnet-3.2/src/equeue'
make[1]: Entering directory `/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/work/ocamlnet-3.2/src/shell'
make[2]: Entering directory `/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/work/ocamlnet-3.2/src/shell'
sed -e 's/@VERSION@/3.2/' \
    -e 's/@AUTHDHREQS@//' \
    -e 's/@PREFERRED_CGI_PKG@//' \
        META.in >META
make[2]: Leaving directory `/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/work/ocamlnet-3.2/src/shell'
make[1]: Leaving directory `/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/work/ocamlnet-3.2/src/shell'
make[1]: Entering directory `/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/work/ocamlnet-3.2/src/shell'
ocamlfind ocamldep   *.ml *.mli >depend || { rm -f depend; exit 1; }
make[1]: Leaving directory `/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/work/ocamlnet-3.2/src/shell'
make[1]: Entering directory `/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/work/ocamlnet-3.2/src/shell'
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/netsys -I ../../src/netstring -package "unix pcre" -c  shell_sys.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/netsys -I ../../src/netstring -package "unix pcre"  -c  shell_sys.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/netsys -I ../../src/netstring -package "unix pcre" -c  shell.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/netsys -I ../../src/netstring -package "unix pcre"  -c  shell.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/netsys -I ../../src/netstring -package "unix pcre" -c  shell_uq.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/netsys -I ../../src/netstring -package "unix pcre"  -c  shell_uq.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/netsys -I ../../src/netstring -package "unix pcre" -c  shell_fs.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/netsys -I ../../src/netstring -package "unix pcre"  -c  shell_fs.ml
File "shell_fs.ml", line 1, characters 0-1:
Error: The implementation shell_fs.ml
       does not match the interface shell_fs.cmi:
       Class declarations do not match:
         class shell_fs :
           ?encoding:Netconversion.encoding ->
           ?root:string ->
           ?dd_has_excl:bool ->
           < exec : command_context -> 'a; interrupt : unit -> unit;
             run : unit -> unit; .. > ->
           shell_stream_fs
       does not match
         class shell_fs :
           ?encoding:Netconversion.encoding ->
           ?root:string ->
           ?dd_has_excl:bool -> command_interpreter -> shell_stream_fs
       A parameter has type
         < exec : command_context -> 'a; interrupt : unit -> unit;
           run : unit -> unit; .. >
       but is expected to have type command_interpreter
make[1]: *** [shell_fs.cmo] Error 2
make[1]: Leaving directory `/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/work/ocamlnet-3.2/src/shell'
make: *** [all] Error 2
emake failed
 * ERROR: dev-ml/ocamlnet-3.2 failed:
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2406:  Called die
 * The specific snippet of code:
 *       emake -j1 all || die "make failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-ml/ocamlnet-3.2',
 * the complete build log and the output of 'emerge -pqv =dev-ml/ocamlnet-3.2'.
 * The complete build log is located at '/mnt/RAID0/tmp-portage-logs/dev-ml:ocamlnet-3.2:20101230-111941.log'.
 * The ebuild environment file is located at '/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/temp/environment'.
 * S: '/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/work/ocamlnet-3.2'

>>> Failed to emerge dev-ml/ocamlnet-3.2, Log file:

>>>  '/mnt/RAID0/tmp-portage-logs/dev-ml:ocamlnet-3.2:20101230-111941.log'

 * Messages for package dev-ml/ocamlnet-3.2:

 * ERROR: dev-ml/ocamlnet-3.2 failed:
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2406:  Called die
 * The specific snippet of code:
 *       emake -j1 all || die "make failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-ml/ocamlnet-3.2',
 * the complete build log and the output of 'emerge -pqv =dev-ml/ocamlnet-3.2'.
 * The complete build log is located at '/mnt/RAID0/tmp-portage-logs/dev-ml:ocamlnet-3.2:20101230-111941.log'.
 * The ebuild environment file is located at '/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/temp/environment'.
 * S: '/mnt/RAID0/tmp-portage/portage/dev-ml/ocamlnet-3.2/work/ocamlnet-3.2'
 # 



emerge --info
Portage 2.1.9.26 (default/linux/amd64/10.0/no-multilib, gcc-4.5.2, glibc-2.12.1-r3, 2.6.36-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 30 Dec 2010 08:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
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/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/mnt/RAID0/usr-distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://viper/ ftp://dwarfy/ ftp://phenom/ http://gentoo.supp.name/ http://gentoo.mneisen.org/ http://gentoo.virginmedia.com/ http://mirrors.evolva.ro/gentoo/ ftp://ftp.udc.es/gentoo/ ftp://ftp.romnet.org/gentoo/ http://ftp.udc.es/gentoo/ http://mirrors.ludost.net/gentoo/"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en el"
MAKEOPTS="-j4"
PKGDIR="/mnt/RAID0/usr-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="/mnt/RAID0/tmp-portage"
PORTDIR="/mnt/RAID0/usr-portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/Spring"
SYNC="rsync://viper/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 audiofile avahi bash-completion branding bzip2 cairo cdparanoia cdr clamav cli cracklib crypt cscope cups curl curlwrappers cxx dbus dga djvu dri dv dvd dvdr eds encode esd evo exif expat fam fbcon ffmpeg flac foomaticdb fortran ftp gd gdbm gif gmp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gtkhtml iconv icu idn imagemagick imlib innodb ipv6 java javascript joystick jpeg jpeg2k kerberos lame lcms libgda libnotify lm_sensors mad mbox mikmod mime mmx mng modules mono motif mozilla mp3 mpeg msn mudflap mule musepack musicbrainz mysql mysqli ncurses networkmanager nls nptl nptlonly nsplugin nvidia odbc ogg openal opengl openmp oracle oss pam pcre pdf perl php pic png policykit posix postgres ppds pppd prelude python quicktime rdesktop readline samba sasl scanner sdl session sharedext slp smp sndfile snmp sockets sox spell sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd theora threads tiff truetype unicode usb v4l2 vcd vim-syntax vnc vorbis wavpack wifi wmf wxwindows x264 xine xinerama xinetd xml xorg xosd xpm xsl xulrunner xv xvid yahoo 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en el" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-30 16:05:26 UTC
Please attach the entire build log as a file.
Comment 2 thanasis 2010-12-30 18:15:08 UTC
Created attachment 258458 [details]
entire build log
Comment 3 mathias 2011-01-08 11:05:19 UTC
same pb => emerge --info :

Portage 2.1.9.30 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.12.1-r3, 2.6.36-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 08 Jan 2011 07:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.5-r3, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.4-r2, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j9"
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="/var/lib/layman/vmware /var/lib/layman/enlightenment /var/lib/layman/desktop-effects /var/lib/layman/roslin /var/lib/layman/games /var/lib/layman/gamerlay /var/lib/layman/Spring"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apache2 avahi berkdb branding bzip2 cairo cli cracklib crypt cups cxx dbus device-mapper dri embedded emerald extras fam fortran gd gdbm gdu gif gnome gpm gtk hal iconv icu ipv6 jpeg jpeg2k kde lock mikmod mmx mng modules mp3 mudflap multilib music ncurses nls nptl nptlonly ogg opengl openmp pam pcntl pcre perl png policykit pppd python qt3support qt4 readline sdl session sound sql sqlite sse sse2 ssl ssse3 startup-notification svg sysfs tcpd threadsafe thunar tordns truetype udev unicode unsupported vorbis webkit xattr xcomposite xfce xml xmp xorg xvmc zlib" 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" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" PHP_TARGETS="php5-3 php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 mathias 2011-01-08 11:09:40 UTC
Created attachment 259281 [details]
build log 

build log
Comment 5 mathias 2011-01-08 11:12:20 UTC
tried to re  emerge ocaml and fix all dependencies ...

(ocaml-rebuild.sh -f)..
Always same bug ...
Comment 6 jakub 2011-02-12 12:18:49 UTC
(In reply to comment #5)
> tried to re  emerge ocaml and fix all dependencies ...
> 
> (ocaml-rebuild.sh -f)..
> Always same bug ...
> 

same here - I followed your steps and came up with the same result - anybody out there following this up?
Comment 7 Christian 2011-02-17 18:19:16 UTC
Have this problem too for quite a while.
Any news on this?
Is this a gentoo or upstream problem? (have no clue of ocaml)
Comment 8 Alexis Ballier gentoo-dev 2011-02-22 14:00:47 UTC
should be fixed with 3.2.1, please reopen if not