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

Bug 363085

Summary: amd64-fbsd doesn't support multilib, but profile specifies multilib
Product: Gentoo/Alt Reporter: Yuta SATOH <nigoro.dev>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED INVALID    
Severity: enhancement CC: ryao, tibor.vago
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 363717    
Attachments: patch for profiles

Description Yuta SATOH 2011-04-11 11:58:01 UTC
I think that Gentoo/FreeBSD (AMD64) doesn't support multilib now. 
However, the profile specifies multilib. 

If you hope for a true multilib support, some packages will have to be changed. 
I don't think that it is easy.
Additionally, there are few packages where it is needed even if multilib is supported. 

so, I propose to change it to 64bit-native.

FYI, http://bugs.gentoo.org/show_bug.cgi?id=97162
It's bug by which I added the multilib support on ppc64. 


Reproducible: Always

Actual Results:  
# ls -lha /lib32
total 8
drwxr-xr-x   2 root  wheel   512B Apr 10 13:22 .
drwxr-xr-x  17 root  wheel   512B Apr 10 16:13 ..
-rw-r--r--   1 root  wheel     0B Apr 10 13:22 .keep

# ls -lha /usr/lib32
total 8
drwxr-xr-x   2 root  wheel   512B Apr 10 13:22 .
drwxr-xr-x  16 root  wheel   512B Apr 10 16:15 ..
-rw-r--r--   1 root  wheel     0B Apr 10 13:22 .keep



emerge --info
Portage 2.2.0_alpha29 (default/bsd/fbsd/amd64/8.0, gcc-4.5.2, freebsd-lib-8.0-r1, 8.2-Gentoo amd64)
=================================================================
System uname: FreeBSD-8.2-Gentoo-amd64-64bit-ELF
Timestamp of tree: Mon, 11 Apr 2011 11:30:01 +0000
app-shells/bash:     4.2_p8
dev-lang/python:     2.7.1-r1, 3.1.3-r1
sys-apps/baselayout: 2.0.2::amd64-fbsd
sys-apps/openrc:     0.8.0
sys-devel/autoconf:  2.68
sys-devel/automake:  1.11.1-r1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  8.0-r1::amd64-fbsd (sys-freebsd/freebsd-lib)
Repositories: gentoo
Installed sets:
ACCEPT_KEYWORDS="amd64-fbsd ~amd64-fbsd"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-gentoo-freebsd8.0"
CFLAGS="-O2 -pipe"
CHOST="x86_64-gentoo-freebsd8.0"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs chflags distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LC_ALL="C"
LDFLAGS=""
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64-fbsd berkdb cli cracklib crypt cups cxx dri gdbm iconv ipv6 java5 java6 mmx modules multilib ncurses nls nptlonly oss pam pcre perl python readline session sse sse2 ssl tcpd unicode xorg zlib" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="FreeBSD" 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" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="BSD" VIDEO_CARDS="apm ark chips cirrus cyrix dummy i128 intel mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis tga trident tseng vmware fbdev" 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, INSTALL_MASK, LANG, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Yuta SATOH 2011-04-11 12:01:56 UTC
Created attachment 269473 [details, diff]
patch for profiles

To use 64bit-native when this patch is applied, it is changed.
Comment 2 Tibor Vago 2011-11-11 21:55:07 UTC
It should be choosable like in amd64-linux-gnu "no-multilib" & default pair so the two development line don't disturb each other. I think most of people doesn't need multilib profile.
Comment 3 Richard Yao (RETIRED) gentoo-dev 2012-03-17 19:31:49 UTC
(In reply to comment #2)
> It should be choosable like in amd64-linux-gnu "no-multilib" & default pair
> so the two development line don't disturb each other. I think most of people
> doesn't need multilib profile.

Pursuing multilib support doesn't make sense until amd64 is in good shape.

It is also difficult to implement multilib support. Are you willing to do the work to support multilib?
Comment 4 Yuta SATOH 2012-06-15 15:12:11 UTC
multilib support has been added to sys-freebsd/freebsd-lib-9.0-r3.