Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!)

2014-08-27 Thread Nikita Tropin
Not so long ago I was mrpropered my /home. You situation is much
harder but... There is exist utility sys-fs/extundelete and if you
have ~500-600mb of unparted
disk space(and of course your /removed usr is ext fs), you can
create new /usr there, unpack stage3's /usr to /newusr, chroot,
emerge extundelete, and try to restore all your data. But for my
experience it restored ~20-30%, may be you'll be more lucky.

2014-08-25 18:45 GMT+03:00 hasufell hasuf...@gentoo.org:
 behrouz khosravi:
 On Mon, Aug 25, 2014 at 3:57 AM, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:

 and now you know why you should have added --buildpkg to your default
 emerge options.

 Yeah, I am happy that I did it. I really don't like to compile
 chromium or libreoffice again!


 Those methods are all not safe if you happen to randomly delete system
 folders by accident.

 The only relatively safe methods are rsync to a remote (or similar) or
 file system level backups like zfs has.




-- 
Regards,
Nikita



Re: [gentoo-user] why you've chosen your desktop environment? (no war !)

2014-08-18 Thread Nikita Tropin
May be DeadBeeF will suit your needs? I'm using it almost as is but it
can be well configured to look similarly to your screenshot. But you
will need to configure it yourself to look like screenshot. It has
lyrics plugin and can be used with both GTK2 and GTK3. About analog of
KRunner I don't know even what is this... Look DeadBeeF screens here
(offsite): http://deadbeef.sourceforge.net/screenshots/0.6/screenshots.html.
HTH

2014-08-18 7:54 GMT+03:00 Сергей protsero...@gmail.com:
 Guys, I'm looking for GTK-player, which looks like Amarok
 (http://i.imgur.com/Yjf80W7.png) and supports downloading and browsing
 Lyrics.

 And also for some analog of KRunner (launcher) which supports this
 player (searching it's collection, playing music).
 Thank you.




-- 
Regards,
Nikita



Re: [gentoo-user] Zsh completion

2014-07-04 Thread Nikita Tropin
Question is old enough but... Try to click Ctrl-/ to undo.

2014-06-08 11:41 GMT+03:00 Matti Nykyri matti.nyk...@iki.fi:
 Hi

 I use zsh and have quite perfect completion setup with it. There is just one 
 very annoying feature that I have failed to switch off. With paths when I 
 type this:

 cd /archives/NE tab

 zsh produces:

 cd /achieves2/NEW/

 The archives directory does not contain NEW directory and archives2 does. I 
 would want that zsh wouldn't modify anything but the current level path I'm 
 writing. So in this case it should of shown empty cuz there are no options to 
 choose from.

 This happens of course with any similar directory case. The annoyance is that 
 I know where I'm going and the right NEW directory in this case is under 
 /archives/movies/NEW and not the one under /archives2/. So I have to clear 
 some of the text which is slow :(

 Would anyone know how to correct this¿? I have tried various options of 
 approximation... Actually I don't like the approximation at all and have 
 tried to fully disable it...

 --
 Matti



-- 
Regards,
Nikita



Re: [gentoo-user] OpenSP build fails

2014-04-28 Thread Nikita Tropin
Ok, pambase/shadow problem solved. I called revdep-rebuild and it
found libcairo problem, reemerged it, second revdep-rebuild was clean.
There are still problems with compilation of packages mentioned above.

2014-04-27 22:10 GMT+03:00 Stroller strol...@stellar.eclipse.co.uk:

 On Sun, 27 April 2014, at 8:20 am, Nikita Tropin posixivis...@gmail.com 
 wrote:

 gcc-config -l:
 [1] x86_64-pc-linux-gnu-4.6.3
 [2] x86_64-pc-linux-gnu-4.7.3 *

 These are installed: gcc-4.7.3, gcc-4.6.3, clang-3.3. I'm using 4.7.3
 and not redefine CC or CXX in make.conf or elsewhere.

 That's good. gcc-4.7.3 is current, so you should be able to revdep-rebuild 
 and update glibc, paving your way to ncurses and your other failed compiles. 
 But IMO you should get the pam / shadow stuff done, and reboot, first.


 I found that getting out `pam' flag from `shadow' flags removes block.
 Is it suitable fix(add `-pam' for `shadow' in package.use)? Or ...

 As I can understand from
 bugtracker(https://bugs.gentoo.org/show_bug.cgi?id=412721) I need to:
 su # For doing administrative tasks while /etc/pam.d/{su,login,passwd} will 
 gone
 emerge shadow
 emerge pambase
 dispatch-conf  etc-update

 PS Thanks Edward, it helps.


 …  IMO you need to address the pambase/shadow block first.

 They're important packages and the transition is important.

 I intended to say here that they're important packages and the transition is 
 well documented.

 I've already linked you pages and pages of information on this update:
 http://www.google.com/search?q=pambase+shadow+gentoo

 I *think* that you unmerge one or both packages and then reemerge, but I 
 can't remember for sure.

 It's also hard to say how safe this will be on a system that's in such 
 disrepair as yours - you might be best to backup the whole system /or build 
 binary packages for everything that's presently installed. If you ignore 
 updates for a year at a time, you're really risking trouble.

 Stroller.






-- 
Regards,
Nikita



Re: [gentoo-user] OpenSP build fails

2014-04-27 Thread Nikita Tropin
gcc-config -l:
[1] x86_64-pc-linux-gnu-4.6.3
[2] x86_64-pc-linux-gnu-4.7.3 *

These are installed: gcc-4.7.3, gcc-4.6.3, clang-3.3. I'm using 4.7.3
and not redefine CC or CXX in make.conf or elsewhere.

I found that getting out `pam' flag from `shadow' flags removes block.
Is it suitable fix(add `-pam' for `shadow' in package.use)? Or ...

As I can understand from
bugtracker(https://bugs.gentoo.org/show_bug.cgi?id=412721) I need to:
su # For doing administrative tasks while /etc/pam.d/{su,login,passwd} will gone
emerge shadow
emerge pambase
dispatch-conf  etc-update

PS Thanks Edward, it helps.


2014-04-27 4:44 GMT+03:00 Stroller strol...@stellar.eclipse.co.uk:

 On Sat, 26 April 2014, at 10:07 pm, Nikita Tropin posixivis...@gmail.com 
 wrote:

 I didn't touch pambase/shadow block for a while, trying to simply `emerge 
 --update @world' and packages that you tell, which doesn't include this 
 pair. …

 No, IMO you need to address the pambase/shadow block first.

 They're important packages and the transition is important.

 There's no point in getting everything else updated, only to find you can't 
 boot the system because of these.

 Right now, I would only worry about anything else if it prevented me 
 addressing this matter.


 The only thing I'm noticed from above is weechat and conky depends from 
 ncurses but glibc is not and other packages that depends builds fine(zsh, 
 bash, mc).

 The glibc error looks to be related to gcc.

 What versions of gcc are installed, what does `gcc-config -l` say?

 Stroller.





-- 
Regards,
Nikita



Re: [gentoo-user] Re: OpenSP build fails

2014-04-23 Thread Nikita Tropin
Hmm, can you give your ebuild of opensp and openjade? Who knows, may be
ebuilds from my mirror differ from yours... I tried clang-3.3, gcc-4.6.3
and gcc-4.7.3 from stable branch and no success.

Also, I have this:
52) [1] nikita opensp  equery g opensp
 * Searching for opensp ...

 * dependency graph for app-text/opensp-1.5.2-r3
 `--  app-text/opensp-1.5.2-r3  amd64
   `--  sys-devel/gettext-0.18.3.2  (sys-devel/gettext) amd64
   `--  app-text/xmlto-0.0.25  (app-text/xmlto) amd64
   `--  app-text/docbook-xml-dtd-4.1.2-r6  (app-text/docbook-xml-dtd) amd64
   *`--  app-text/openjade-1.3.2-r6  (app-text/openjade) amd64 *
   `--  app-text/sgml-common-0.6.3-r5  (app-text/sgml-common) amd64
[ app-text/opensp-1.5.2-r3 stats: packages (6), max depth (1) ]

53) [0] nikita opensp  equery g openjade
 * Searching for openjade ...

 * dependency graph for app-text/openjade-1.3.2-r6
 `--  app-text/openjade-1.3.2-r6  amd64
   `--  dev-lang/perl-5.16.3  (dev-lang/perl) amd64
   `--  app-text/sgml-common-0.6.3-r5  (app-text/sgml-common) amd64
   *`--  app-text/opensp-1.5.2-r3  (=app-text/opensp-1.5.1) amd64 *
   `--  sys-devel/automake-1.13.4  (=sys-devel/automake-1.13) amd64
   `--  sys-devel/automake-1.14.1  (=sys-devel/automake-1.14) [~amd64
keyword]
   `--  sys-devel/autoconf-2.69  (=sys-devel/autoconf-2.68) amd64
   `--  sys-devel/libtool-2.4.2  (sys-devel/libtool) amd64
[ app-text/openjade-1.3.2-r6 stats: packages (8), max depth (1) ]

Is it a circular dependency? Emerge doesn't tell anything about this.
I have installed software exactly those versions mentioned above except
automake-1.14 which is unstable.



2014-04-23 4:06 GMT+03:00 walt w41...@gmail.com:

 On 04/22/2014 08:42 AM, Nikita Tropin wrote:
  Hi, I'm trying to update Gentoo with I_KNOW_WHAT_I_AM_DOING=1 emerge
  --deep --update --newuse --with-bdeps=y @world
 
  and process fails on OpenSP-1.5.2-r3. I am tried to compile it myself
  and find those lacking `new.h' mentioned in build.log. I found in
  include/xnew.h ifdef construction that responsible of choosing
  appropriate file (new or new.h), find utility not found any
  `new.h' on my /usr or build directory of OpenSP in my home dir,
  however `new' was found -
  /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/new

 Any time I see build errors in c++ programs I suspect libtool.
 (No, I can't explain why, I just do ;)

 For that reason I'd suggest running fix_libtool_files.sh, just
 in case your gcc ebuild didn't do it automatically.

 FWIW, opensp builds successfully for me and my configure logs
 look very much like yours (I'm using gcc-4.8.2/~amd64, though.)





-- 
Regards,
Nikita


[gentoo-user] Re: OpenSP build fails

2014-04-22 Thread Nikita Tropin
Sorry.


2014-04-22 18:40 GMT+03:00 Nikita Tropin posixivis...@gmail.com:

 Hi, I'm trying to update Gentoo with
 I_KNOW_WHAT_I_AM_DOING=1 emerge --deep --update --newuse --with-bdeps=y
 @world

 and process fails on OpenSP-1.5.2-r3. I am tried to compile it myself and
 find those lacking `new.h' mentioned in build.log. I found in
 include/xnew.h ifdef construction that responsible of choosing appropriate
 file (new or new.h), find utility not found any `new.h' on my /usr or
 build directory of OpenSP in my home dir, however `new' was found -
 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/new. Next, I'm
 calling configure with
 CXXFLAGS=-DSP_ANSI_LIB ./configure  make


 and new was chosen on compilation. However many new errors was occur
 (attached mybuild.log and mybuild_stderr.log). And I don't know how to fix
 them.

 Also I'm tried to avoid installation of this package by trying to find all
 and installed packages that depends on this one, tried to mask it but po4a,
 man-db(nls), openjade, virtual/man and man-pages-3.63 depends on OpenSP.
 The paradox is that I have installed man-db-2.6.5 with nls USE flag and
 update schedule man-db-2.6.6 to install but even if I mask it(2.6.6) there
 still error that man-db-2.6.5 need OpenSP. I am totally confused.

 PS I've compiled OpenSP downloaded from offsite (
 http://openjade.sourceforge.net/)
 PPS I'm using I_KNOW_WHAT_I_AM_DOING=1 because I have -ggdb in CFLAGS in
 make.conf but some packages like webkit-gtk probably need 18G for debug
 symbols on some system but not in my, so.
 PPPS With clang the same thing

 Thanks in advance.

 --
 Regards,
 Nikita




-- 
Regards,
Nikita


Re: [gentoo-user] Fwd: OpenSP build fails

2014-04-22 Thread Nikita Tropin
Problem is not in this environment variable(which influence on few packages
like webkit-gtk, libreoffice) but in OpenSP package which has no common
with it. I mentioned about I_KNOW_WHAT_I_AM_DOING=1 to not create
additional questions about why I'm use it. However, as we calling emerge
from terminal and using shell(most of all POSIX compliant), we can use both
syntax, your and my and it will be correct.

However, I tried your version, it doesn't work.


2014-04-22 19:23 GMT+03:00 Edward M edwardmarti...@openmailbox.org:

 On 4/22/2014 8:40 AM, Nikita Tropin wrote:

 Hi, I'm trying to update Gentoo with
 I_KNOW_WHAT_I_AM_DOING=1 emerge --deep --update --newuse --with-bdeps=y
 @world


Hello,

  I've seen that flag used  before where the one is in quotation
 marks, it may help:
   I_KNOW_WHAT_I_AM_DOING=1 emerge --deep --update --newuse
 --with-bdeps=y @world

  Best regards
  ed

 --
 Running: Gentoo w/ Systemd





-- 
Regards,
Nikita


Re: [gentoo-user]

2014-03-24 Thread Nikita Tropin
Yes, my system up to date and clean and I synced yesterday after a few
unsuccessful zsh builds with different USE flags(no changes after syncing).
Also, I rebuild ncurses 5.9 for sure.
PS: I have opened a bug #505500https://bugs.gentoo.org/show_bug.cgi?id=505500


2014-03-23 22:43 GMT+02:00 Dragostin Yanev gentoo+u...@netixen.com:

  No terminal handling library was found on your system.
  This is probably a library called 'curses' or 'ncurses'.  You may
  need to install a package called 'curses-devel' or 'ncurses-devel' on
 your
  system.
  See `config.log' for more details

 Hi Nikita Tropin,

 No terminal handling library was found on your system.
 This is probably a library called 'curses' or 'ncurses'.  You may
 need to install a package called 'curses-devel' or 'ncurses-devel' on
 your system.
 See `config.log' for more details

 the ebuild has =sys-libs/ncurses-5.1 RDEPEND that portage should have
 dealt with. Is your system up to date, clean and synced?




-- 
Regards,
Nikita


[gentoo-user]

2014-03-23 Thread Nikita Tropin
Hi there. I can't compile zsh-5.0.2-r3 with error on configure stage. It
says that I haven't any curser or ncurses library. However I have ncurses
5.9. Masked zsh 5.0.5 build fine. Additional info:

emerge -pqv =app-shells/zsh-5.0.2-r3
[ebuild  N] app-shells/zsh-5.0.2-r3  USE=caps doc examples gdbm pcre
unicode -debug -maildir
-static

emerge --info =app-shells/zsh-5.0.2-r3
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17,
3.10.7-gentoo x86_64)
=
 System Settings
=
System uname: Linux-3.10.7-gentoo-x86_64-Intel-R-_Core-TM-_i5-2310_CPU_@
_2.90GHz-with-gentoo-2.2
KiB Mem: 3933576 total,960652 free
KiB Swap:  0 total, 0 free
Timestamp of tree: Sun, 23 Mar 2014 11:15:01 +
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:  4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python:  2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:   2.8.10.2-r2
dev-util/pkgconfig:   0.28
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.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:   2.23.1
sys-devel/gcc:4.6.3, 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool:2.4-r1
sys-devel/make:   3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:   2.17
Repositories: gentoo
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=*
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-ggdb -O2 -pipe -march=native
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /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/revdep-rebuild
/etc/sandbox.d /etc/terminfo
CXXFLAGS=-ggdb -O2 -pipe -march=native
DISTDIR=/usr/portage/distfiles
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 splitdebug strict unknown-features-warn
unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync
FFLAGS=-O2 -pipe
GENTOO_MIRRORS=http://gentoo.iteam.net.ua/;
LANG=ru_RU.utf8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
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
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=
SYNC=rsync://rsync.ua.gentoo.org/gentoo-portage
USE=X aac acl acpi alsa amd64 apng autotools bash-completion berkdb
bindist bzip2 cairo cdr cli cracklib crypt cscope ctype cups curl cxx dbus
dga djvu doc dri dv dvb dvd dvdr encode enscript exif fbcon ffmpeg flac
fontconfig fortran ftp gdbm gif gimp git glut gpm gsm gstreamer gtk gtk2
gtk3 gzip iconv icu idn imlib introspection ipv6 jit jpeg jpeg2k lame lcms
libass libsamplerate lm_sensors lzma lzo mad matroska matrox mime mmx
modules mp3 mp4 mpeg mplayer multilib mysql mysqli nas ncurses nls nptl ogg
openal openexr opengl openmp optimization pam pch pcre pdf png posix
postgres postscript profile python qt3support qt4 quicktime raw readline
samba scanner session sharedmem smp sqlite sqlite3 sse sse2 sse3 ssl svg
sysvipc t1lib tcpd theora threads tiff truetype udev unicode vdpau
vim-syntax vorbis wavpack x264 xcb xcomposite xft xorg xpm xscreensaver
xvmc zlib zsh-completion ABI_X86=32 64 ALSA_CARDS=ali5451 als4000
atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938
es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio
via82xx via82xx-modem ymfpci 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=evdev KERNEL=linux
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text LIBREOFFICE_EXTENSIONS=presenter-console
presenter-minimizer LINGUAS=ru en NETBEANS_MODULES=mobility apisupport
profiler 

Re: [gentoo-user] shutdown for non-root users?

2014-03-10 Thread Nikita Tropin
If it's your home system and especial security is unimportant you can try
next:
chmod +s /sbin/halt
and use /sbin/halt to achieve the same effect.

You can use ACPI power button event (see /etc/acpi/events/default and
uncomment appropriate line).
Also there was method with dbus (searching the web will give suggestions).


2014-03-10 22:15 GMT+02:00 Jarry mr.ja...@gmail.com:

 Hi,
 how can I allow other (not-root) users to shut down system?

 I tried to add them to /etc/shutdown.allow but it works only
 for Ctrl-Alt-Del. When they try shutdown per command line
 (/sbin/shutdown -a -h now) they still get:

 shutdown: you must be root to do that!
 Usage: ...

 Is there any way to achieve this without installing sudo?

 Jarry
 --
 ___
 This mailbox accepts e-mails only from selected mailing-lists!
 Everything else is considered to be spam and therefore deleted.




-- 
Regards,
Nikita


Re: [gentoo-user] custom boost in /usr/local = problem with libkolabxml, libixion

2014-03-01 Thread Nikita Tropin
Hi!
Suppose, this is because different programs and libs by default use
different installation paths. And libixion uses /usr/local by default as I
can understand by it's configure script. I think this is depends on
developer of each particular lib/prog.
Best regards.


On Sat, Mar 1, 2014 at 1:23 PM, Kacper Kopczyński cap...@v-matrix.orgwrote:

  Hello list,



 I've installed newest boost into /usr/local - it's a custom installation
 and not via emerge/portage.



 Today, after upgrading system, I've found that I need to use



 emerge --update --newuse --deep --with-bdeps=y @world



 to rebuild some dependencies.



 In the process of recompiling I first noticed this strange thing:

 checking for Boost headers version = 1.36.0... yes

 checking for Boost's header version... 1_55



 Portage installed boost is 1.52, my custom installed one is 1.55.



 Then after a few seconds I saw this:

 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\libixion\
 -DPACKAGE_TARNAME=\libixion\ -DPACKAGE_VERSION=\0.5.0\
 -DPACKAGE_STRING=\libixion\ 0.5.0\ -DPACKAGE_BUGREPORT=\\
 -DPACKAGE_URL=\\ -DPACKAGE=\libixion\ -DVERSION=\0.5.0\
 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\.libs/\
 -DHAVE_STDLIB_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1
 -DHAVE_STDBOOL_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_BOOST=1
 -DHAVE_BOOST_UNORDERED_MAP_HPP=1 -DHAVE_MDDS_RECTANGLE_SET_HPP=1
 -DHAVE_MDDS_MIXED_TYPE_MATRIX_HPP=1
 -DHAVE_MDDS_MULTI_TYPE_VECTOR_TRAIT_HPP=1
 -DHAVE_BOOST_SYSTEM_ERROR_CODE_HPP=1 -DHAVE_BOOST_THREAD_HPP=1
 -DHAVE_BOOST_PROGRAM_OPTIONS_HPP=1 -I. -I../include -I../lib/libixion/
 libixion.la -D_REENTRANT -DMDDS_HASH_CONTAINER_BOOST
 -D__IXION_BUILDING_DLL -g -Os -fvisibility=hidden -O2 -pipe -march=native
 -c -o ixion_sorter-sort_input_parser.o `test -f 'sort_input_parser.cpp' ||
 echo './'`sort_input_parser.cpp

 /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe
 -march=native -Wl,-O1 -Wl,--as-needed -o ixion-parser
 ixion_parser-ixion_parser.o ixion_parser-model_parser.o libixion/
 libixion-0.6.la -lboost_thread-mt -lboost_system-mt -pthread
 -lboost_program_options-mt

 libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1
 -Wl,--as-needed -o .libs/ixion-parser ixion_parser-ixion_parser.o
 ixion_parser-model_parser.o -pthread 
 libixion/.libs/libixion-0.6.so-lboost_thread-mt -lboost_system-mt 
 -lboost_program_options-mt -pthread

 libixion/.libs/libixion-0.6.so: undefined reference to
 `boost::thread::start_thread_noexcept()'

 libixion/.libs/libixion-0.6.so: undefined reference to
 `boost::thread::join_noexcept()'

 collect2: error: ld returned 1 exit status

 make[2]: *** [ixion-parser] Error 1

 make[2]: *** Waiting for unfinished jobs

 make[2]: Leaving directory
 `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src'

 make[1]: *** [all-recursive] Error 1

 make[1]: Leaving directory
 `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src'

 make: *** [all-recursive] Error 1

 * ERROR: dev-libs/libixion-0.5.0::gentoo failed (compile phase):





 ...so it failed because it tried to use my custom boost... I think.



 To be sure that this is because of this I moved /usr/local/lib and
 /usr/local/include to /root and another compilation of this library went
 fine.

 After doing so I runned revdep-rebuild and it had to recompile libkolabxml
 because it was linked to boost in /usr/local/lib.



 So here is my question:

 If libreoffice does need boost to compile, and I compiled libreoffice
 after I installed boost to /usr/local, then why it was able to use correct
 version of boost (from /usr not /usr/local)?



 Libreoffice is just an example - there are many other programs that depend
 on boost, and the boost.thread library is very popular one.



 libkolabxml at version 1.0.1

 libixion at version 0.5.0



 Should I create a bug for these two libraries or this is expected
 behaviour?



 --

 Kacper Kopczyński