Проблема со сборкой nspluginwrapper и emul-linux-x86-gtklibs [SOLVED]
Добрый день!
не собирается сабж.
Сперва пробовал emerge nspluginwrapper, сбой на сборке emul-linux-x86-gtklibs:
# emerge nspluginwrapper
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 2) app-emulation/emul-linux-x86-gtklibs-20071214
* emul-linux-x86-gtklibs-20071214.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking emul-linux-x86-gtklibs-20071214.tar.bz2 to /var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20071214/work
xargs: xargs.c:447: main: Assertion `bc_ctl.arg_max <= (131072-2048)' failed.
/usr/lib64/portage/bin/ebuild.sh: line 349: 9597 Done find . -mindepth 1 -maxdepth 1 ! -type l -print0
9598 Aborted | ${XARGS} -0 chmod -fR a+rX,u+w,g-w,o-w
xargs: xargs.c:447: main: Assertion `bc_ctl.arg_max <= (131072-2048)' failed.
/var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20071214/temp/environment: line 126: 9599 Done find "${S}" ! -type d ! -name '*.so*'
9600 Broken pipe | egrep -v "${ALLOWED}"
9601 Aborted | xargs -d '
' rm -f
*
* ERROR: app-emulation/emul-linux-x86-gtklibs-20071214 failed.
* Call stack:
* ebuild.sh, line 48: Called src_unpack
* environment, line 226: Called emul-linux-x86_src_unpack
* environment, line 131: Called die
* The specific snippet of code:
* ' rm -f || die 'failed to remove everything but *.so*'
* The die message:
* failed to remove everything but *.so*
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20071214/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/emul-linux-x86-gtklibs-20071214/temp/environment'.
*
Затем решил попробовать собрать исключительно нсплагинвраппер, но и там нет пути:
# emerge --nodeps nspluginwrapper
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) www-plugins/nspluginwrapper-1.0.0
* nspluginwrapper-1.0.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking nspluginwrapper-1.0.0.tar.bz2 to /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work
xargs: xargs.c:447: main: Assertion `bc_ctl.arg_max <= (131072-2048)' failed.
/usr/lib64/portage/bin/ebuild.sh: line 349: 9890 Done find . -mindepth 1 -maxdepth 1 ! -type l -print0
9891 Aborted | ${XARGS} -0 chmod -fR a+rX,u+w,g-w,o-w
>>> Source unpacked in /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work
>>> Compiling source in /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-biarch --with-lib32=lib32 --with-lib64=lib64 --pkglibdir=/usr/lib64/nspluginwrapper
Install prefix /usr
nspluginwrapper root dir /usr/lib64/nspluginwrapper
Strip binaries no
Bi-arch build yes
Build viewer yes
Build for Linux only yes
32-bit library dir name lib32
64-bit library dir name lib64
Source path /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0
C compiler gcc -std=c99
C++ compiler g++
host OS linux
host CPU x86_64
host big endian no
target OS linux
target CPU i386
make
gcc -std=c99 -o npconfig-npw-config.o -c /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/npw-config.c -I. -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0 -O2 -pipe -Wall
gcc -std=c99 -o npconfig npconfig-npw-config.o -ldl
sed -e "s|%NPW_LIBDIR%|/usr/lib64/nspluginwrapper|" /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/npw-viewer.sh > npviewer
chmod 755 npviewer
gcc -std=c99 -o npwrapper-npw-wrapper.os -c /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/npw-wrapper.c -fPIC -I. -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0 -O2 -pipe -Wall -I/usr/include -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi/nspr -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBUILD_WRAPPER
gcc -std=c99 -o npwrapper-npw-rpc.os -c /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/npw-rpc.c -fPIC -I. -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0 -O2 -pipe -Wall -I/usr/include -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi/nspr -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBUILD_WRAPPER
gcc -std=c99 -o npwrapper-rpc.os -c /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/rpc.c -fPIC -I. -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0 -O2 -pipe -Wall -I/usr/include -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi/nspr -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBUILD_WRAPPER
/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/rpc.c:1235: warning: ‘rpc_message_skip_arg’ defined but not used
gcc -std=c99 -o npwrapper-debug.os -c /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/debug.c -fPIC -I. -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0 -O2 -pipe -Wall -I/usr/include -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi/nspr -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBUILD_WRAPPER
gcc -std=c99 -o npwrapper-utils.os -c /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/utils.c -fPIC -I. -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0 -O2 -pipe -Wall -I/usr/include -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi/nspr -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBUILD_WRAPPER
gcc -std=c99 -o npwrapper-npruntime.os -c /var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/src/npruntime.c -fPIC -I. -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0 -O2 -pipe -Wall -I/usr/include -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi -I/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/work/nspluginwrapper-1.0.0/npapi/nspr -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBUILD_WRAPPER
gcc -std=c99 -o npwrapper.so -shared npwrapper-npw-wrapper.os npwrapper-npw-rpc.os npwrapper-rpc.os npwrapper-debug.os npwrapper-utils.os npwrapper-npruntime.os -L/usr/lib64 -lX11 -lXt -lpthread -lglib-2.0
npwrapper-utils.os: In function `g_bit_nth_lsf':
utils.c:(.text+0x0): multiple definition of `g_bit_nth_lsf'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0x0): first defined here
npwrapper-utils.os: In function `g_bit_nth_msf':
utils.c:(.text+0x40): multiple definition of `g_bit_nth_msf'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0x40): first defined here
npwrapper-utils.os: In function `g_trash_stack_push':
utils.c:(.text+0x90): multiple definition of `g_trash_stack_push'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0x90): first defined here
npwrapper-utils.os: In function `g_trash_stack_pop':
utils.c:(.text+0xa0): multiple definition of `g_trash_stack_pop'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0xa0): first defined here
npwrapper-utils.os: In function `g_trash_stack_peek':
utils.c:(.text+0xc0): multiple definition of `g_trash_stack_peek'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0xc0): first defined here
npwrapper-utils.os: In function `g_trash_stack_height':
utils.c:(.text+0xd0): multiple definition of `g_trash_stack_height'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0xd0): first defined here
npwrapper-utils.os: In function `g_bit_storage':
utils.c:(.text+0x440): multiple definition of `g_bit_storage'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0x44a0): first defined here
npwrapper-npruntime.os: In function `g_bit_nth_lsf':
npruntime.c:(.text+0x0): multiple definition of `g_bit_nth_lsf'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0x0): first defined here
npwrapper-npruntime.os: In function `g_bit_nth_msf':
npruntime.c:(.text+0x40): multiple definition of `g_bit_nth_msf'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0x40): first defined here
npwrapper-npruntime.os: In function `g_trash_stack_push':
npruntime.c:(.text+0x90): multiple definition of `g_trash_stack_push'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0x90): first defined here
npwrapper-npruntime.os: In function `g_trash_stack_pop':
npruntime.c:(.text+0xa0): multiple definition of `g_trash_stack_pop'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0xa0): first defined here
npwrapper-npruntime.os: In function `g_trash_stack_peek':
npruntime.c:(.text+0xc0): multiple definition of `g_trash_stack_peek'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0xc0): first defined here
npwrapper-npruntime.os: In function `g_trash_stack_height':
npruntime.c:(.text+0xd0): multiple definition of `g_trash_stack_height'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0xd0): first defined here
npwrapper-npruntime.os: In function `g_bit_storage':
npruntime.c:(.text+0x1050): multiple definition of `g_bit_storage'
npwrapper-npw-wrapper.os:npw-wrapper.c:(.text+0x44a0): first defined here
collect2: ld returned 1 exit status
make: *** [npwrapper.so] Error 1
*
* ERROR: www-plugins/nspluginwrapper-1.0.0 failed.
* Call stack:
* ebuild.sh, line 48: Called src_compile
* environment, line 2549: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/temp/environment'.
*
>>> Failed to emerge www-plugins/nspluginwrapper-1.0.0, Log file:
>>> '/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/temp/build.log'
* Messages for package www-plugins/nspluginwrapper-1.0.0:
*
* ERROR: www-plugins/nspluginwrapper-1.0.0 failed.
* Call stack:
* ebuild.sh, line 48: Called src_compile
* environment, line 2549: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-plugins/nspluginwrapper-1.0.0/temp/environment'.
*
# emerge --info
Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Pentium-R-_D_CPU_3.00GHz-with-gentoo-2.0.0
Timestamp of tree: Tue, 28 Apr 2009 12:30:01 +0000
app-shells/bash: 4.0_p17-r1
dev-lang/python: 2.4.3-r4, 2.6.2
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.3-r1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.28-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /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="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
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 aac acl acpi alsa amd64 amr automount berkdb bzip2 cli cracklib crypt cups dri exif ffmpeg flac fortran gdbm gnutls gpm iconv ipv6 isdnlog jabber jpeg jpeg2k kde midi mmx mmx2 mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl symlink sysfs tcpd threads unicode usb vorbis xine xinerama xorg xulrunner xvid zlib" ALSA_CARDS="intel8x0" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nv vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Кто-нибудь уже лечил подобное?
- Для комментирования войдите или зарегистрируйтесь
а для чего он нужен? вроде
а для чего он нужен?
вроде все плагины уже есть в 64-битных версиях?
огнелис ослеп
огнелис просто не видит 64битный плагин для флэша. вот и решил по-старинке плагин подцепить
Каждой твари -- по витой паре!
не видит потому что сам
не видит потому что сам огнелись 32-битный? =))
я далеко не эксперт
но если я собирал mozila-firefox под систему х86_64 (я использую ветку ~amd64) то он должен быть 64-битным. или я ошибаюсь?
Каждой твари -- по витой паре!
Да, так что удостоверьтесь,
Да, так что удостоверьтесь, что всё установлено 64-хбитным, и начинайте копать. ndispluginwrapper всё только усложнит и запутает
Текстовый редактор vi имеет два режима работы: в первом он пищит, а во втором — всё портит.
собирал именно
собирал именно mozila-firefox?
или mozila-firefox-bin?
запуск мурзилки в отладке показывает причину "невидимости" плагина?
плагин через враппер это костыль - лечить нужно не следствие, а причину
я же написал - ставил лиса из
я же написал - ставил лиса из сырцов, а не бинарей.
всем спасибо, погуглил ещё немного и пролечил это - я по привычке иил по глупости плагины засовывал в $HOME/.mozilla/firefox/plugins (так у меня в старой дженту, собранной два года назад, было) а надо было-то создать директорию в $HOME/.mozilla/plugins и туда плагин засунуть :)всё, проблема не решена, но цель достигнута
Каждой твари -- по витой паре!
Я вообще не трогал ничего в
Я вообще не трогал ничего в $HOME, у меня всё в общесистемных каталогах лежит.
Текстовый редактор vi имеет два режима работы: в первом он пищит, а во втором — всё портит.
emerge -av adobe-flash
emerge -av adobe-flash
пусть даже emerge adobe-flash
emerge -pv adobe-flash
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] app-emulation/emul-linux-x86-gtklibs-20080316 USE="-qt3" 0 kB
[ebuild N ] app-emulation/emul-linux-x86-medialibs-20080316 2,006 kB
[ebuild N ] app-emulation/emul-linux-x86-soundlibs-20080810 USE="alsa arts -esd" 4,992 kB
[ebuild N ] app-emulation/emul-linux-x86-sdl-20080316 1,262 kB
[ebuild N ] www-plugins/adobe-flash-10.0.22.87 USE="32bit (multilib)" 8,748
тогда всё равно возникает проблема с emul-linux-x86-gtklibs, из-за которых в том числе я и поднял тему
Каждой твари -- по витой паре!
USE="-32bit" emerge
USE="-32bit" emerge adobe-flash