Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580146 - app-emulation/wine-1.9.7: fd.o: In function `get_device': fd.c:(.text+0x771): undefined reference to `major'
Summary: app-emulation/wine-1.9.7: fd.o: In function `get_device': fd.c:(.text+0x771):...
Status: RESOLVED DUPLICATE of bug 580046
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-15 21:43 UTC by manwe
Modified: 2016-04-19 21:21 UTC (History)
0 users

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


Attachments
build log (app-emulation:wine-1.9.7:20160415-213857.log.bz2,22.82 KB, application/x-bzip)
2016-04-15 21:43 UTC, manwe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description manwe 2016-04-15 21:43:59 UTC
Created attachment 430700 [details]
build log

x86_64-pc-linux-gnu-gcc -m32 -o wineserver-installed async.o atom.o change.o class.o clipboard.o completion.o console.o debugger.o device.o \
  directory.o event.o fd.o file.o handle.o hook.o mach.o mailslot.o main.o mapping.o mutex.o \
  named_pipe.o object.o process.o procfs.o ptrace.o queue.o region.o registry.o request.o \
  semaphore.o serial.o signal.o snapshot.o sock.o symlink.o thread.o timer.o token.o trace.o \
  unicode.o user.o window.o winstation.o \
  -Wl,--rpath,\$ORIGIN/`../tools/makedep -R /usr/bin /usr/lib32` -Wl,--enable-new-dtags \
  ../libs/port/libwine_port.a -lwine -L../libs/wine -Wl,--as-needed -Wl,-O1
ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
fd.o: In function `get_device':
fd.c:(.text+0x771): undefined reference to `major'
collect2: error: ld returned 1 exit status
Makefile:1708: recipe for target 'wineserver-installed' failed
make[1]: *** [wineserver-installed] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-emulation/wine-1.9.7/work/wine-1.9.7-abi_x86_32.x86/server'
Makefile:17629: recipe for target 'server' failed
make: *** [server] Error 2
make: *** Waiting for unfinished jobs....


USE="X alsa cups fontconfig gecko jpeg lcms mono mp3 ncurses nls opengl perl png pulseaudio realtime run-exes ssl threads truetype udisks xcomposite xinerama xml -capi -custom-cflags -dos -gphoto2 -gsm -gstreamer -ldap -netapi -odbc -openal -opencl -osmesa -oss -pcap -pipelight -prelink -s3tc -samba -scanner (-selinux) -staging {-test} -v4l -vaapi" ABI_X86="32 64 (-x32)" LINGUAS="pl -ar -bg -ca -cs -da -de -el -en -en_US -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW"



# emerge --ignore-default-opts --info 
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.23-r1, 4.5.0-gentoo-r1-dtop-v1 x86_64)
=================================================================
System uname: Linux-4.5.0-gentoo-r1-dtop-v1-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.2
KiB Mem:    16177056 total,  12509360 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Fri, 15 Apr 2016 19:00:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.5.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

manwe
    location: /usr/portages/layman/manwe
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7 -mtune=generic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/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="-O2 -pipe -march=corei7 -mtune=generic"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--verbose --ask --tree --keep-going --usepkg --with-bdeps y --buildpkg --jobs 2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
MAKEOPTS="-j5"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi aiglx alsa amd64 apm bash-completion bcmath berkdb bluetooth bmp branding browserplugin bzip2 calendar cdinstall cdr cleartype cli cracklib crypt cups cxx dbus directfb dri dvd dvdr dvdread encode fbcon ffmpeg flac fortran ftp gd-exteral gdbm gif glut gpm gtk2 gtk3 http2 iconv ieee1394 jabber javascript jpeg libnotify libwww mmx mmxext modules mozilla mp3 mpd mpeg3 multilib mysql ncurses newspr nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl php png pulseaudio readline seccomp session smp soap spell sse sse2 sse3 sse4_1 ssl ssse3 svg tcpd threads tiff truetype truetype-fonts unicode usb userlocales vdpau vhosts vim wifi win32codecs with-x wmf xattr xcomposite xinerama xml xmpp xorg xosd xv xvid zlib" ABI_X86="64" ALSA_CARDS="usb-audio 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" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" 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="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="g15" LINGUAS="pl" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_conn map memcached gzip_static proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi addition fancyindex geoip upload upload_progress stub_status headers_more echo sub spdy metrics auth_request enmemcache tcpproxy v2 set_misc ndk gunzip lua lua_upstream redis upstream_hash upstream_keepalive upstream_least_conn upstream_zone" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-5 php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby20 ruby21 ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 dolphinling 2016-04-17 09:46:04 UTC
Are you sure the sandbox thing is making the compile fail? Looks like it could be the "undefined reference to `major'" which would make this the same as bug 580046.
Comment 2 manwe 2016-04-17 19:37:10 UTC
I have no idea. Just paste'd first error-like line in title.
Comment 3 Alex Xu (Hello71) 2016-04-19 20:29:14 UTC

*** This bug has been marked as a duplicate of bug 580046 ***