From: Hihin Ruslan <ruslandh@gmail.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] Проблема при сборке newmon 27.0
Date: Sat, 3 Dec 2016 17:56:56 +0300
Message-ID: <201612031757.03328@ruslandh> (raw)
In-Reply-To: <alpine.LFD.2.20.1612021512410.13365@imap.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 6314 bytes --]
Здравствуйте Ivan Zakharyaschev
В сообщении от 2 декабря 2016 Ivan Zakharyaschev написал(a):
> >> Вот действительно, проблема в том, что verify-elf не
> >> учитывает RUNPATH (как Вы и предположили). В отличие от
> >> lib.req, например.
> >
> > Вот спасибо, а то я весь код palemoon уже перерыл ;-)
>
> Чтобы всё было хорошо и красиво, при моём поверхнстном взгляде
> на последнюю сборку 27.0.2-alt1 мне кажется, что не хватает
> аналогичного (как у всех других библиотек, которые он носит с
> собой) RUNPATH у libsoftokn3.so:
Вот это почему-то пока не получается. Пока получилось или собрать
без RUNPATH у libsoftokn3.so, или создать RUNPATH у
libsoftokn3.so, но на этапе то-ли сборки, то-ли инсталяции,
вылезают ошибки:
c++ -o
Unified_cpp_js_src9.o -c -I../../dist/system_wrappers -include /usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/config/gcc_hidden.h -DFFI_BUILDING -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX='"lib"' -DDLL_SUFFIX='".so"' -DMOZ_GLUE_IN_PROGRAM -DAB_CD= -DNO_NSPR_10_SUPPORT -I/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/js/src -I. -Ictypes/libffi/include -I/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/intl/icu/source/common -I/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/intl/icu/source/i18n -I../../dist/include -I/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/objdir/dist/include/nspr -fPIC -DMOZILLA_CLIENT -include ../../js/src/js-confdefs.h -MD -MP -MF .deps/Unified_cpp_js_src9.o.pp -Wall -Wsign-compare -Wtype-limits -Wno-invalid-offsetof -Wcast-align -pipe -g -O2 -fPIC -DPIC -D_GNUC_ -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -freorder-blocks -O3 -fomit-frame-pointer /usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/objdir/js/src/Unified_cpp_js_src9.cpp
libjs_static.a
rm -f libjs_static.a libjs_static.a.desc
libmozjs.so
rm -f libmozjs.so
/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/objdir/_virtualenv/bin/python /usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/config/expandlibs_exec.py --extract --
ar crs libjs_static.a RegExp.o CTypes.o Library.o Parser.o
ExecutableAllocatorPosix.o jsarray.o jsatom.o jsmath.o jsutil.o
pm_linux.o TraceLogging.o TraceLoggingGraph.o
TraceLoggingTypes.o Unified_cpp_js_src0.o Unified_cpp_js_src1.o
Unified_cpp_js_src10.o Unified_cpp_js_src11.o
Unified_cpp_js_src12.o Unified_cpp_js_src2.o
Unified_cpp_js_src3.o Unified_cpp_js_src4.o
Unified_cpp_js_src5.o Unified_cpp_js_src6.o
Unified_cpp_js_src7.o Unified_cpp_js_src8.o
Unified_cpp_js_src9.o ../../memory/fallible/libfallible.a ../../config/external/ffi/libffi.a ../../config/external/icu/libicu.a ../../config/external/nspr/libnspr.a ../../config/external/zlib/libzlib.a
/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/objdir/_virtualenv/bin/python /usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/config/expandlibs_exec.py --uselist --
c++ -Wall -Wsign-compare -Wtype-limits -Wno-invalid-offsetof -Wcast-align -pipe -g -O2 -fPIC -DPIC -D_GNUC_ -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -freorder-blocks -O3 -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,-h,libmozjs.so -o
libmozjs.so RegExp.o CTypes.o Library.o Parser.o
ExecutableAllocatorPosix.o jsarray.o jsatom.o jsmath.o jsutil.o
pm_linux.o TraceLogging.o TraceLoggingGraph.o
TraceLoggingTypes.o Unified_cpp_js_src0.o Unified_cpp_js_src1.o
Unified_cpp_js_src10.o Unified_cpp_js_src11.o
Unified_cpp_js_src12.o Unified_cpp_js_src2.o
Unified_cpp_js_src3.o Unified_cpp_js_src4.o
Unified_cpp_js_src5.o Unified_cpp_js_src6.o
Unified_cpp_js_src7.o Unified_cpp_js_src8.o
Unified_cpp_js_src9.o -lpthread -Wl,-rpath,/__________________ -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/objdir/js/src/build/unix/gold -Wl,-version-script,symverscript -Wl,-rpath-link,../../dist/bin -Wl,-rpath-link,/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/objdir/dist/lib ../../memory/fallible/libfallible.a ../../config/external/ffi/libffi.a ../../config/external/icu/libicu.a ../../config/external/nspr/libnspr.a ../../config/external/zlib/libzlib.a ../../intl/icu/target/lib/libicui18n.so ../../intl/icu/target/lib/libicuuc.so ../../intl/icu/target/lib/libicudata.so ../../nsprpub/lib/ds/libplds4.so ../../nsprpub/lib/libc/src/libplc4.so ../../nsprpub/pr/src/libnspr4.so -lm -lsocket -ldl -lm -ldl
../../config/nsinstall -R -m
644 'libjs_static.a' '../../dist/lib'
chmod +x libmozjs.so
strip libmozjs.so
../../config/nsinstall -R -m 644 'libmozjs.so' '../../dist/bin'
../../config/nsinstall -R -m 644 'libmozjs.so' '../../dist/lib'
../../config/nsinstall -R -m
644 'libmozjs.so' '../../dist/sdk/lib'
make[5]: Leaving directory
`/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/objdir/js/src'
make[4]: Leaving directory
`/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/objdir'
make[3]: *** [compile] Error 2
make[3]: Leaving directory
`/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/objdir'
make[2]: *** [default] Error 2
make[2]: Leaving directory
`/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon/objdir'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory
`/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon'
make: *** [build] Error 2
make: Leaving directory
`/usr/src/RPM/BUILD/palemoon-27.0.2/palemoon'
error: Bad exit status from /usr/src/tmp/rpm-tmp.25662 (%build)
RPM build errors:
Bad exit status from /usr/src/tmp/rpm-tmp.25662 (%build)
Command exited with non-zero status 1
274.49user 4518.29system 28:02.01elapsed 284%CPU
(0avgtext+0avgdata 1381484maxresident)k
23472inputs+0outputs (167major+80604010minor)pagefaults 0swaps
hsh-rebuild: rebuild of `pkg.tar' failed.
--
А ещё говорят так (fortune):
I have just had eighteen whiskeys in a row. I do believe that is
a record. -- Dylan Thomas, his last words
________________________________________________________________________
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2016-12-03 14:56 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-13 8:23 Hihin Ruslan
2016-11-13 12:11 ` Alexey Tourbin
2016-11-13 12:29 ` Hihin Ruslan
2016-11-14 22:22 ` Hihin Ruslan
2016-11-15 13:34 ` Ruslan Hihin
2016-11-25 18:02 ` Ivan Zakharyaschev
2016-11-26 9:05 ` Hihin Ruslan
2016-11-27 10:32 ` Ivan Zakharyaschev
2016-11-27 11:11 ` Hihin Ruslan
2016-11-27 11:54 ` Ivan Zakharyaschev
2016-12-02 12:20 ` Ivan Zakharyaschev
2016-12-02 12:34 ` Ivan Zakharyaschev
2016-12-02 13:09 ` Ivan Zakharyaschev
2016-12-03 14:56 ` Hihin Ruslan [this message]
2016-12-03 21:19 ` Ivan Zakharyaschev
2016-12-03 23:53 ` Ivan Zakharyaschev
2016-12-04 9:40 ` Hihin Ruslan
2016-12-04 10:11 ` Ivan Zakharyaschev
2016-11-27 11:12 ` [devel] [PATCH] verify-elf: honor RUNPATH, too ; was: " Ivan Zakharyaschev
2016-11-29 12:00 ` Ivan Zakharyaschev
2016-11-19 4:11 ` [devel] Что такое runpath ? Hihin Ruslan
2016-11-19 4:20 ` Hihin Ruslan
2016-11-19 4:39 ` Hihin Ruslan
2016-11-25 18:07 ` Ivan Zakharyaschev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201612031757.03328@ruslandh \
--to=ruslandh@gmail.com \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git