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

Bug 433375

Summary: media-video/cinelerra fails to build with multilib-portage
Product: Gentoo Linux Reporter: thomasg <thomas>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED OBSOLETE    
Severity: normal CC: kripton, patrakov, tommy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pass bootstrap ldflags
build.log

Description thomasg 2012-08-29 22:20:20 UTC
media-video/cinelerra does not build on multilib systems.
LDFLAGS are not passed as guicast bootstrap flags.

Attached patch fixes this (trivial, can also be done by sed).

Reproducible: Always
Comment 1 thomasg 2012-08-29 22:21:26 UTC
Created attachment 322523 [details, diff]
pass bootstrap ldflags
Comment 2 Denis M. (Phr33d0m) 2012-11-20 12:23:36 UTC
Instead of opening a new bug for this, I thought commenting here would be the best thing to do.

There is a line of compilation where even CFLAGS are not respected:
>1451:x86_64-pc-linux-gnu-gcc  -c bootstrap.c
Comment 3 Alexis Ballier gentoo-dev 2013-06-19 02:49:11 UTC
not sure what to do with this: it is certainly wrong to pass LDFLAGS to gcc -c
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2014-07-10 17:52:55 UTC
(In reply to Alexis Ballier from comment #3)
> not sure what to do with this: it is certainly wrong to pass LDFLAGS to gcc
> -c

indeed. the patch is bogus.

and the bug is missing emerge --info -> whatkind of multilib systems? works fine on every multilib system i've got.
Comment 5 Alexander E. Patrakov 2014-07-10 18:08:28 UTC
According to the submission date, the bug was about the systems with the "multilib portage" overlay (by Thomas Sachau, see http://git.overlays.gentoo.org/gitweb/?p=proj/multilib-portage.git).
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2014-07-10 20:40:23 UTC
There is a problem with multilib-overlay (multilib-portage) because there is no point in building everything as both, 32bit and 64bit

As in, cinelerra is only required as native ABI

However, we could still look at the issue if complete build.log + emerge --info is attached here, and fix it
Comment 7 Thomas Sachau gentoo-dev 2014-07-11 19:34:20 UTC
Created attachment 380576 [details]
build.log

The build.log, when you try to build a 32bit version with a multilib 64bit toolchain
Comment 8 Thomas Sachau gentoo-dev 2014-07-11 19:34:59 UTC
and my emerge --info:

Portage 2.2.10-r1-multilib (hardened/linux/amd64, gcc-4.7.3, glibc-2.19, 3.4.91-gentoo x86_64)
=================================================================
System uname: Linux-3.4.91-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
KiB Mem:     8200276 total,     68592 free
KiB Swap:     987992 total,    960928 free
Timestamp of tree: Mon Apr 22 07:39:43 CEST 2013
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.9, 2.7.7
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.6.3, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo enlightenment sunrise multilib x11 local
Installed sets: @enlightenment-modules, @fonts
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /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 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-multilib merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j3 --load-average=8"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/portage/portage"
PORTDIR_OVERLAY="/var/lib/layman/enlightenment /var/lib/layman/sunrise /var/lib/layman/multilib-portage /var/lib/layman/x11 /usr/local/portage"
SYNC="cvs://tommy@cvs.gentoo.org:/var/cvsroot"
USE="3dnow X alsa amd64 berkdb cli cracklib crypt cups custom-cflags custom-cxxflags custom-optimization cxx dri gpm hardened java5 java6 justify mmx modules ncurses nls nptl nsplugin ogg openmp pam pax_kernel readline scanner session sse sse2 ssl tcpd unicode urandom v4l vorbis xtpax zlib" 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" 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" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" MULTILIB_ABI="amd64 x86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" 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="2.6 2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Pacho Ramos gentoo-dev 2016-02-26 11:30:08 UTC
this was obsoleted by the eclasses multilib approach