Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263227 - sys-devel/dev86-0.16.17-r6 fails to build
Summary: sys-devel/dev86-0.16.17-r6 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-21 10:33 UTC by 白川間瀬流
Modified: 2009-11-09 16:18 UTC (History)
3 users (show)

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


Attachments
The Build.log (build.log,259.35 KB, text/plain)
2009-03-21 10:33 UTC, 白川間瀬流
Details
english build.log (build.log,21.26 KB, text/plain)
2009-04-07 09:47 UTC, Robyn Dawn Hannigan
Details
Build environment (environment,81.65 KB, text/plain)
2009-04-07 09:47 UTC, Robyn Dawn Hannigan
Details
Emerge.info from my x86-32 system (emerge_info.txt,4.17 KB, text/plain)
2009-04-07 09:49 UTC, Robyn Dawn Hannigan
Details
build log on hardened amd64 and gcc-4.3.3 (build.log,18.82 KB, text/plain)
2009-05-29 11:52 UTC, Dmitry
Details
emerge --info on hardened amd64 and gcc-4.3.3 (emergeinfo,4.56 KB, text/plain)
2009-05-29 12:01 UTC, Dmitry
Details
build log (build.log,34.13 KB, text/plain)
2009-11-09 09:23 UTC, Lebedev Roman
Details
emerge --info (emerge.info,8.49 KB, text/plain)
2009-11-09 09:23 UTC, Lebedev Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 白川間瀬流 2009-03-21 10:33:08 UTC
Try to Emerge VirtualBox-OSE and this happend

Reproducible: Always

Steps to Reproduce:
1. Emerge VirtualBox
Actual Results:  
sys-devel/dev86-0.16.17-r6 did not compiled

Expected Results:  
Compiling

Portage 2.1.6.9 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Fri, 20 Mar 2009 22:30:01 +0000
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus directfb dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac fortran fuse gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg jpeg2k kde ldap libnotify libv4l lzma mad midi mikmod mmx mono mp3 mpeg mudflap multilib nautilus ncurses network networkmanager nls nptl nptlonly nsplugin ntp ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl sdl-image sensord session shout smp spell spl sse sse2 ssh ssl startup-notification stream svg sysfs tcpd theora tiff truetype twolame unicode usb v4l v4l2 vboxwebsrv vim-syntax vorbis x264 xine xml xorg xulrunner xv xvid 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 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="synaptics keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 白川間瀬流 2009-03-21 10:33:58 UTC
Created attachment 185720 [details]
The Build.log
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-21 16:11:00 UTC
Could you please provide the build.log file completely in english language?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-03-21 17:00:07 UTC
Comment on attachment 185720 [details]
The Build.log

Please attach a build log made with `LANG=C LC_ALL=C emerge ...'
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-03-21 17:00:38 UTC
It's not a blocker at all.
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-21 23:26:09 UTC
Re-open when appropriate
Comment 6 Robyn Dawn Hannigan 2009-04-07 08:50:07 UTC
(In reply to comment #5)
> Re-open when appropriate
> 
i am in the process of verifying this bug on a Gentoo x86 32-bit system
i am attaching full english build logs and a series of tests, as i can get the makefile to run if i do it manually, but the ebuild fails, therefore i think this is an  ebuild problem, and i am going to try and patch it, in the meantime, if i can get this to work by performing parts of the merge manually using the ebuild(5) utility and running the Makefile, i will post this procedure as a workaround. Please reopen this bug
Comment 7 Robyn Dawn Hannigan 2009-04-07 09:47:06 UTC
Created attachment 187542 [details]
english build.log
Comment 8 Robyn Dawn Hannigan 2009-04-07 09:47:46 UTC
Created attachment 187544 [details]
Build environment
Comment 9 Robyn Dawn Hannigan 2009-04-07 09:49:13 UTC
Created attachment 187545 [details]
Emerge.info from my x86-32 system
Comment 10 Robyn Dawn Hannigan 2009-04-07 10:07:15 UTC
(In reply to comment #0)
> Try to Emerge VirtualBox-OSE and this happend
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Emerge VirtualBox
> Actual Results:  
> sys-devel/dev86-0.16.17-r6 did not compiled
> 
> Expected Results:  
> Compiling
> 

Alright here is the more information i can get for You all to reopen this bug.

First of all this has 0 to do with VirtualBox. In the meantime use virtualbox-bin as a workaround.

To reproduce this bug, you can in fact do 

emerge =sys-devel/dev86-0.16.17-r6

This is much as suggested by the original reporter. On doing this, the build dies with a string of make error during the src_compile execution. The kernel of this is below.

make[4]: Entering directory `/var/tmp/portage/portage/sys-devel/dev86-0.16.17-r6/work/dev86-0.16.17/libc/bcc'
ncc -Mn -O -D__LIBC__ -march=pentium4 -O2 -pipe -fforce-addr  -c -o __ldivmod.o __ldivmod.c
Usage: ncc [-ansi] [-options] [-o output] file [files].

Which suggests that the utility ncc, which is being used to compile other parts of the package, is choking on the command shown. However this utility is compiled as part od dev86 and as far as i can tell has no man pages built with it.

However there is an online manual here

http://linux.die.net/man/1/bcc

CAN we get someone who knows the dev86 source to help fix this, as this does stop VirtualBox-OSE building, which is annoying if not critical.
Comment 11 Robyn Dawn Hannigan 2009-04-07 10:17:33 UTC
Can someone update the homepage location for sys-devel/dev86 as it seems to be DEAD.

i found a homepage of sorts updated on Thu Jun 5 2008 at http://homepage.ntlworld.com/robert.debath/ which was offering a link to what appears to be the current source. This guy also claims to be one of the principal authors.
Comment 12 白川間瀬流 2009-04-12 19:46:14 UTC
The ebuild just needs the -j1 option
Comment 13 Dmitry 2009-05-29 11:52:00 UTC
Created attachment 192869 [details]
build log on hardened amd64 and gcc-4.3.3

Most interesting part:
*** buffer overflow detected ***: ncc terminated

builded without distcc and ccache.
And it happens every time.
Comment 14 Dmitry 2009-05-29 12:01:42 UTC
Created attachment 192877 [details]
emerge --info on hardened amd64 and gcc-4.3.3

I think that bug need to be reopened.
Comment 15 Alexander Koryushkin 2009-09-04 12:11:40 UTC
(In reply to comment #12)
> The ebuild just needs the -j1 option
> 

still can not build with "-j1"
Comment 16 Lebedev Roman 2009-11-09 09:23:23 UTC
Created attachment 209713 [details]
build log
Comment 17 Lebedev Roman 2009-11-09 09:23:45 UTC
Created attachment 209714 [details]
emerge --info
Comment 18 Lebedev Roman 2009-11-09 09:25:30 UTC
Still not working!
Please reopen bug because of new logs
Comment 19 Christian Faulhammer (RETIRED) gentoo-dev 2009-11-09 11:58:14 UTC
Will reassign, but this ebuild is maintainer-needed...so don't expect a quick fix.
Comment 20 Víctor Ostorga (RETIRED) gentoo-dev 2009-11-09 16:12:24 UTC
(In reply to comment #17)
> Created an attachment (id=209714) [details]
> emerge --info
> 

This happens because of your aggresive CPPFLAGS="-march=native -O3 -mmmx -msse -msse2 -msse3 -m3dnow -ftree-vectorize -mfpmath=sse -pipe"

Comment 21 Víctor Ostorga (RETIRED) gentoo-dev 2009-11-09 16:18:51 UTC
(In reply to comment #20)
> (In reply to comment #17)
> > Created an attachment (id=209714) [details] [details]
> > emerge --info
> > 
> 
> This happens because of your aggresive CPPFLAGS="-march=native -O3 -mmmx -msse
> -msse2 -msse3 -m3dnow -ftree-vectorize -mfpmath=sse -pipe"
> 

In fact, they are terribly wrong, CPPFLAGS are flags for the C preprocessor , your system will be happy if you remove it from /etc/make.conf unless you know what you are doing