Re: [gentoo-user] New profiles 23.0

2024-03-25 Thread Jacques Montier
Le lun. 25 mars 2024, 18:44, Michael  a écrit :

> On Monday, 25 March 2024 17:37:40 GMT Jacques Montier wrote:
> > Le lun. 25 mars 2024 à 18:18, Michael  a
> écrit :
>
> > > Therefore, you can fetch binaries from the mirrors when these have the
> > > same
> > > configuration as your locally compiled software to make the whole
> upgrade
> > > complete faster, but it remains a personal choice.
> >
> > Thanks Michael for your response,
> > but how could i know if one package has the same configuration as my
> > locally compiled software and if this one is as much tested as the
> > source-based package ?
> >
> > --
> > Jacques Montier
>
> When the packages on the Gentoo binhost mirror have been compiled with
> different USE flags to your choices, these packages will not be fetched
> from
> the mirror but compiled locally.  Have a look here for more details:
>
> https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart
>
>
>
> Thanks a lot, Michael


Regards

--
Jacques


Re: [gentoo-user] New profiles 23.0

2024-03-25 Thread Jacques Montier
Le lun. 25 mars 2024 à 18:18, Michael  a écrit :

> On Monday, 25 March 2024 17:00:18 GMT Jacques Montier wrote:
> > Le lun. 25 mars 2024 à 15:41, Peter Humphrey  a
> >
> > écrit :
> > > On Saturday, 23 March 2024 17:42:29 GMT Michael wrote:
> > > > I suggest it would be best to take heed of the devs hard work and
> read
> > >
> > > the
> > >
> > > > instructions they have provided instead of winging it:
> > > >
> > > >
> https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_update_instructions
> > >
> > > Of course I was doing that, but from the news item. My problem was
> that I
> > > wasn't reading straight.
> > >
> > > (I think I had a form of covid last month, and it's left a few loose
> ends
> > > -
> > > mostly in my brain!)
> > >
> > > --
> > > Regards,
> > > Peter.
> >
> > Hello all,
> >
> > I updated my profile from amd64/17.1/desktop/systemd/merged-usr to
> > amd64/23.0/desktop/systemd.
> > I followed the quite clear instructions without any issue.
> > With emerge --ask --emptytree @world, i had to recompile 1400 packages,
> so
> > it took all night long !!!
> > Some scare when the package 1201 failed and everything stopped (i forgot
> > the keep-going option).
> > Nevertheless, I rebooted and everything works fine ! Whew !!!
> >
> > What i understand is that Gentoo is now mostly based on binary packages.
> > The sources are now the exception.
> > It's the opposite of what Gentoo was before... Right ?
> >
> > Regards,
> >
> > --
> > Jacques
>
> Not really, Gentoo is still based on compiling from source - for those who
> want to optimise/customise their systems.
>
> More recently pre-compiled binary packages which suit generic hardware and
> software configurations are also made available for those who want to get
> something up and running quickly.  This makes Gentoo similar to other
> binary
> distributions.
>
> The command syntax in the instructions included "--getbinpkg" to download
> pre-
> built binaries, but with this note:
>
> "In case you are already familiar with binary packages, you should be
> able to add '--getbinpkg' to the emerge calls to speed things up.
> The use of binary packages is completely optional though, and also not
> as much tested as the source-based upgrade path yet."
>
> Therefore, you can fetch binaries from the mirrors when these have the
> same
> configuration as your locally compiled software to make the whole upgrade
> complete faster, but it remains a personal choice.



Thanks Michael for your response,
but how could i know if one package has the same configuration as my
locally compiled software and if this one is as much tested as the
source-based package ?

--
Jacques Montier


Re: [gentoo-user] New profiles 23.0

2024-03-25 Thread Jacques Montier
Le lun. 25 mars 2024 à 15:41, Peter Humphrey  a
écrit :

> On Saturday, 23 March 2024 17:42:29 GMT Michael wrote:
>
> > I suggest it would be best to take heed of the devs hard work and read
> the
> > instructions they have provided instead of winging it:
> >
> > https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_update_instructions
>
> Of course I was doing that, but from the news item. My problem was that I
> wasn't reading straight.
>
> (I think I had a form of covid last month, and it's left a few loose ends
> -
> mostly in my brain!)
>
> --
> Regards,
> Peter.
>
>
>
Hello all,

I updated my profile from amd64/17.1/desktop/systemd/merged-usr to
amd64/23.0/desktop/systemd.
I followed the quite clear instructions without any issue.
With emerge --ask --emptytree @world, i had to recompile 1400 packages, so
it took all night long !!!
Some scare when the package 1201 failed and everything stopped (i forgot
the keep-going option).
Nevertheless, I rebooted and everything works fine ! Whew !!!

What i understand is that Gentoo is now mostly based on binary packages.
The sources are now the exception.
It's the opposite of what Gentoo was before... Right ?

Regards,

--
Jacques


Re: [gentoo-user] long compiles

2023-09-12 Thread Jacques Montier
Le mar. 12 sept. 2023, 12:14, Peter Humphrey  a
écrit :

> On Monday, 11 September 2023 22:22:28 BST Michael wrote:
>
> > There's also the option of using bin alternatives where available, e.g.
> > google-chrome, firefox-bin, libreoffice-bin.
>
> ...and rust-bin, which is now the default in at least some desktop
> profiles.
>
> --
> Regards,
> Peter.
>
>
>
>
> Hello,


I could get rid of webkit-gtk with pleasure and i use rust-bin.
I tried libreoffice-bin but encountered some issues with pdf import, so i
went back to libreoffice.

Cheers,

Jacques



>
>


Re: [gentoo-user] Python 3.10 and python 3.11

2023-05-29 Thread Jacques Montier
Le lun. 29 mai 2023 à 05:49, Yixun Lan  a écrit :

> Hi Jacques:
>
> On 18:46 Sun 28 May , Jacques Montier wrote:
> > Hello all,
> >
> > I have upgraded python from 3.10 to 3.11 without any issues.
> > I thought i could get rid of python-3.10 by unmerging it, but Gentoo
> wants
> > to re-emerge 3.10.
> > I think some package still needs 3.10, but how could i know which one
> needs
> > it ?
> > I tried equery without success...
> I'm not expert of python, but as I see python3.10 has been use.force
> enabled, which
> might be cause you the problem?
>   ${portage}/profiles/base/package.use.force:210:dev-lang/python-exec
> python_targets_python3_10
>
> Anyway, why bother to drop python3.10? it merely take a few disk space
> >
> > Thanks for your response.
> >
> > Cheers,
> >
> > --
> > Jacques.
>
>
Hi Yixun,

Thanks for your response.
I usually like to unmerge unused packages even if they take few disk
space. 
I had llvm (14 and 15) in two slots and llvm-14.0.6-r2 needed python-3.10.
So i unmerged the 14 one and could unmerge python-3.10.
Next reboot, Gentoo wanted to re-emerge llvm-14 and python-3.10.
May be this was because of python-3.10 in package.use.force ?
I masked llvm-14 and everything works fine.
No issue with emerge -auvDN world, emerge --depclean and revdep-rebuild.

Cheers,

--
Jacques





> --
> Yixun Lan (dlan)
> Gentoo Linux Developer
> GPG Key ID AABEFD55
>
>


Re: [gentoo-user] Python3.10 python 3.11

2023-05-28 Thread Jacques Montier
>
>
> You can check what packages depend on it, after you make sure you have not
> specified manually version 3.10 anywhere in /etc/portage:
>
> grep python -r /etc/portage/
>
> emerge --depclean -v -p dev-lang/python



Hi Michael,

That's it ! i had two lvm packages installed (14.0.6-r2 and 15.0.7)
The 14.0.6-r2 needed python-3.10.
So unmerging llvm-14.06-r2 solved the problem.
emerge --depclean uninstalled python-3.10 !

Thanks a lot, Michael !

Cheers,

--
Jacques


[gentoo-user] Python 3.10 and python 3.11

2023-05-28 Thread Jacques Montier
Hello all,

I have upgraded python from 3.10 to 3.11 without any issues.
I thought i could get rid of python-3.10 by unmerging it, but Gentoo wants
to re-emerge 3.10.
I think some package still needs 3.10, but how could i know which one needs
it ?
I tried equery without success...

Thanks for your response.

Cheers,

--
Jacques.


[gentoo-user] Python3.10 python 3.11

2023-05-28 Thread Jacques Montier
Hello all,

I have upgraded python from 3.10 to 3.11 without any issues.
I can't get rid of pyton-3.10


*Mr Montier Jacques*
*30 rue de la Boulais, 35000 Rennes*
*06 74 37 69 60*


[gentoo-user] [Solved] Re: Systemd Fonts problem

2023-05-18 Thread Jacques Montier
Hello again,

Finally, i resolved my fonts problem.

1- In /etc/defautl/grub I commented the two lines
#GRUB_TERMINAL=console
#GRUB_GFXPAYLOAD_LINUX=text

Now Grub is launched in graphic mode with the DejaVuSansMono.pf2 font size
20.

2- I set the keymap : localectl set-keymap fr-latin9

My /etc/vconsole.conf

KEYMAP=fr-latin9
XKBLAYOUT=fr
XKBMODEL=pc105
XKBOPTIONS=terminate:ctrl_alt_bksp
XKBVARIANT=latin9

3- systemctl start systemd-vconsole-setup works fine.

Sorry for the noise !

Have a nice week end

Cheers,

--
Jacques

Le jeu. 18 mai 2023 à 15:42, Jacques Montier  a écrit :

> Hello all,
>
> I encounter three problems:
>
> 1- Grub2 does not display accentuated French letters (? instead of é)
> In /etc/default/grub i have the line
> : GRUB_FONT="/boot/grub/fonts/DejaVuSansMono.pf2"
> #ls /boot/grub/fonts/DejaVuSansMono.pf2
>
> 2- systemctl start systemd-vconsole-setup gives an error.
> It does not find the DejaVuSansMono file.
>
> vconsole.conf :
> KEYMAP=fr
> XKBLAYOUT=fr
> FONT=DejaVuSansMono
>
> 3- Without the line FONT=DejaVuSansMono, systemd-vconsole-setup starts
> without error, but is inactive after reboot.
>
> My locales :
>
> locale -a :
> C
> C.utf8
> fr_FR
> fr_FR.utf8
> POSIX
>
> Thanks a lot for your responses and help.
>
>
>
>  *--*
>
> *Jacques*
>


[gentoo-user] Systemd Fonts problem

2023-05-18 Thread Jacques Montier
Hello all,

I encounter three problems:

1- Grub2 does not display accentuated French letters (? instead of é)
In /etc/default/grub i have the line
: GRUB_FONT="/boot/grub/fonts/DejaVuSansMono.pf2"
#ls /boot/grub/fonts/DejaVuSansMono.pf2

2- systemctl start systemd-vconsole-setup gives an error.
It does not find the DejaVuSansMono file.

vconsole.conf :
KEYMAP=fr
XKBLAYOUT=fr
FONT=DejaVuSansMono

3- Without the line FONT=DejaVuSansMono, systemd-vconsole-setup starts
without error, but is inactive after reboot.

My locales :

locale -a :
C
C.utf8
fr_FR
fr_FR.utf8
POSIX

Thanks a lot for your responses and help.



 *--*

*Jacques*


Re: [gentoo-user] Systemd query ...

2023-05-17 Thread Jacques Montier
Le mer. 17 mai 2023 à 11:30, Rich Freeman  a écrit :

> On Wed, May 17, 2023 at 4:43 AM Jacques Montier 
> wrote:
> >
> > As I didn't mask anything, I don't understand why this file was not
> installed as it was declared in the apache ebuild...
>
> You don't have anything set in INSTALL_MASK?  Check "emerge --info
> www-servers/apache"
>
> You might want to check the build log for anything.  I don't think
> there is anything conditional about systemd_newunit, and it is
> supposed to generate a fatal error if it fails.
>
> --
> Rich
>
>
Well, well, Rich, you are completely right, you've found the key ! 
I have that line in make.conf
INSTALL_MASK="/lib/systemd/system /usr/lib/systemd/system"
I now see where it comes from.
On the same machine, I have another OpenRC Gentoo with systemd masqued.
I just copîed the make.conf without uncommenting that line... How silly i
am !!!
So I delete that bl...y line !

Thanks a lot,

Cheers

--
Jacques


Re: [gentoo-user] Systemd query ...

2023-05-17 Thread Jacques Montier
Hi all,

Thanks to Neil and Rich.

I Effectively found the file
www-servers/apache/files/apache2.4-hardened.service.
I renamed it as apache2.service in /lib/systemd/system.
Now it works !!! 

BUT,

As I didn't mask anything, I don't understand why this file was not
installed as it was declared in the apache ebuild...

 # Note: wait for mod_systemd to be included in some forthcoming release,
# Then apache2.4.service can be used and systemd support controlled
# through --enable-systemd
systemd_newunit "${FILESDIR}/apache2.4-hardened.service"
"apache2.service"
dotmpfiles "${FILESDIR}/apache.conf"
#insinto /etc/apache2/modules.d
#doins "${FILESDIR}/00_systemd.conf"

My use flags and modules :

Installed versions:  2.4.55-r1(2)(11:11:07 12/05/2023)(gdbm ssl suexec-caps
systemd -debug -doc -ldap -selinux -split-usr -static -suexec
-suexec-syslog -threads APACHE2_MODULES="actions alias auth_basic
authn_anon authn_core authn_dbm authn_file authz_core authz_dbm
authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid
dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter
headers http2 include info log_config logio mime mime_magic negotiation
rewrite setenvif socache_shmcb speling status unique_id unixd userdir
usertrack vhost_alias -access_compat -asis -auth_digest -auth_form
-authn_dbd -authn_socache -authz_dbd -brotli -cache_disk -cache_socache
-cern_meta -charset_lite -dbd -dumpio -ident -imagemap -lbmethod_bybusyness
-lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic
-lua -macro -md -proxy -proxy_ajp -proxy_balancer -proxy_connect
-proxy_fcgi -proxy_ftp -proxy_hcheck -proxy_html -proxy_http -proxy_http2
-proxy_scgi -proxy_uwsgi -proxy_wstunnel -ratelimit -remoteip -reqtimeout
-session -session_cookie -session_crypto -session_dbd -slotmem_shm
-socache_memcache -substitute -version -watchdog -xml2enc"
APACHE2_MPMS="-event -prefork -worker" LUA_SINGLE_TARGET="lua5-1 -lua5-3
-lua5-4")


However, it works fine and thanks again to all of you !

Cheers,

--
Jacques




Le mar. 16 mai 2023 à 21:43, Rich Freeman  a écrit :

> On Tue, May 16, 2023 at 3:32 PM Jacques Montier 
> wrote:
> >
> > After install, apache2.service not found...
>
> Have you done something to mask service file installs/etc?
>
> The unit file is in the gentoo repo:
> www-servers/apache/files/apache2.4-hardened.service
>
> --
> Rich
>
>


Re: [gentoo-user] Systemd query ...

2023-05-16 Thread Jacques Montier
Le mar. 16 mai 2023, 20:58, Neil Bothwick  a écrit :

> On Tue, 16 May 2023 20:03:36 +0200, Jacques Montier wrote:
>
> > It was very difficult to get Apache working with systemd Gentoo.
> > No apache2.service found with apache installation.
>
> Really?
>
> % qfile apache2.service
> www-servers/apache: /lib/systemd/system/apache2.service
>
> Yes.
>
After install, apache2.service not found...

>
>
> > so i looked at the Linux Mint OS to copy the apache2.service.
> > These commands
> >
> > ExecStart=/usr/sbin/apachectl start
> > ExecStop=/usr/sbin/apachectl graceful-stop
> > ExecReload=/usr/sbin/apachectl graceful
> >
> > did not work at all...
>
> % systemctl cat apache2.service
> # /lib/systemd/system/apache2.service
> [Unit]
> Description=The Apache HTTP Server
> After=network.target remote-fs.target nss-lookup.target
>
> [Service]
> EnvironmentFile=/etc/conf.d/apache2
> ExecStart=/usr/sbin/apache2 $APACHE2_OPTS -DFOREGROUND
> ExecReload=/usr/sbin/apache2 $APACHE2_OPTS -k graceful
> ExecStop=/usr/sbin/apache2 $APACHE2_OPTS -k graceful-stop
> # We want systemd to give httpd some time to finish gracefully, but still
> want # it to kill httpd after TimeoutStopSec if something went wrong
> during the # graceful stop. Normally, Systemd sends SIGTERM signal right
> after the # ExecStop, which would kill httpd. We are sending useless
> SIGCONT here to give # httpd time to finish.
> KillSignal=SIGCONT
> PrivateTmp=true
> #Hardening
> CapabilityBoundingSet=CAP_CHOWN CAP_SETGID CAP_SETUID CAP_DAC_OVERRIDE
> CAP_KILL CAP_NET_BIND_SERVICE CAP_IPC_LOCK
> SecureBits=noroot-locked
> ProtectSystem=full
> PrivateDevices=true
> MemoryDenyWriteExecute=true
>
> [Install]
> WantedBy=multi-user.target
>
>
> --
> Neil Bothwick
>
> K: (n., adj.) a binary thousand, which isn't a decimal thousand or even
> really a binary thousand (which is eight), but is the binary number
> closest to a decimal thousand. This has proven so completely confusing
> that it has become a standard.
>


Thanks Neil, i'll have a try.

--
Jacques

>


Re: [gentoo-user] Systemd query ...

2023-05-16 Thread Jacques Montier
Le lun. 15 mai 2023 à 11:58, Wols Lists  a écrit :

> Nothing to do with but sparked by the Apache problem ...
>
> One of the emails mentioned that the "ExecStop" section didn't appear to
> be working ... That's caused me considerable grief in a systemd config
> file I've written ...
>
> Basically, somebody else added an ExecStop section - and all hell broke
> loose. It seemed to be firing on boot :-( And the service in question -
> ScarletDME - seemed to be killing processes at random, like DoveCot ...
>
> Okay, accidentally killing processes it shouldn't is probably down the
> fork/exec code in ScarletDME, I haven't dug into it to know, but systemd
> should not be triggering the stop in the first place. Has anybody else
> encountered anything like this?
>
> Sorry I'm not likely to respond quickly to say "solved", as I need to
> get "in the mood" to get back to debugging, but if anybody has any hints
> and tips, they'd be appreciated, and it might shed some light on that
> Apache problem :-)
>
> Cheers,
> Wol
>
>
Hi Wol,

It was very difficult to get Apache working with systemd Gentoo.
No apache2.service found with apache installation.
so i looked at the Linux Mint OS to copy the apache2.service.
These commands

ExecStart=/usr/sbin/apachectl start
ExecStop=/usr/sbin/apachectl graceful-stop
ExecReload=/usr/sbin/apachectl graceful

did not work at all...
BUT,
By manually launching /usr/bin/apache2ctl, it  worked.

So i wrote a little simple bash script /usr/bin/op_apache

#!/bin/bash

case ${1} in
"start")
apache2ctl
;;
"stop")
killall apache2
;;
"restart")
killall apache2
sleep 1
apache2ctl
;;
esac

And in apache2.service, i put :

ExecStart=/usr/bin/op_apache start
ExecStop=/usr/bin/op_apache stop
ExecReload=/usr/sbin/op_apache restart

Now it works fine, but what a headache !

Cheers,

--
Jacques


Re: [gentoo-user] Apache and systemd problem

2023-05-13 Thread Jacques Montier
Le ven. 12 mai 2023 à 16:22, Jacques Montier  a écrit :

>
>
>> Yes, you need to configure the apache files to specify IP address to
>> listen
>> to, webroot, etc. for each host you want to serve files from.
>>
>> Ok, it's done
>
>>
>>
>> Fix this by adding the "start" subcommand:
>>
>> ExecStart=/usr/sbin/apache2ctl start
>>
>>
>>  ExecStart=/usr/sbin/apache2ctl start does not work.
>
> Nothing happens and system's waiting for something indefinitely ... (file
> attached)
>
> The same with ExecStart=/usr/sbin/apache2ctl stop.
>
> So, i found a very very ugly way to make it working.
>
> I wrote a micro bash shell script : /usr/bin/op_apache
>
> !/bin/bash
> case ${1} in
> "start")
> apache2ctl
> ;;
> "stop")
> #the ugly way... Don't repeat !
> killall apache2
> ;;
> esac
>
> And i launch the script in apache2.service
>
> #Description=The Apache HTTP Server
> After=network.target remote-fs.target nss-lookup.target
> #Documentation=https://httpd.apache.org/docs/2.4/
>
> [Service]
> Type=forking
> ExecStart=/usr/bin/op_apache start
> ExecStop=/usr/bin/op_apache stop
>
> [Install]
> WantedBy=multi-user.target
>
> So, waiting for better, it works !
>
> --
> Jacques
>
>


Hi Michael, Alexandru and all gentoo users,
Thanks a lot for having helped me !

Cheers !

Jacques


Re: [gentoo-user] Apache and systemd problem

2023-05-12 Thread Jacques Montier
>
> Yes, you need to configure the apache files to specify IP address to
> listen
> to, webroot, etc. for each host you want to serve files from.
>
> Ok, it's done

>
>
> Fix this by adding the "start" subcommand:
>
> ExecStart=/usr/sbin/apache2ctl start
>
>
>  ExecStart=/usr/sbin/apache2ctl start does not work.

Nothing happens and system's waiting for something indefinitely ... (file
attached)

The same with ExecStart=/usr/sbin/apache2ctl stop.

So, i found a very very ugly way to make it working.

I wrote a micro bash shell script : /usr/bin/op_apache

!/bin/bash
case ${1} in
"start")
apache2ctl
;;
"stop")
#the ugly way... Don't repeat !
killall apache2
;;
esac

And i launch the script in apache2.service

#Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
#Documentation=https://httpd.apache.org/docs/2.4/

[Service]
Type=forking
ExecStart=/usr/bin/op_apache start
ExecStop=/usr/bin/op_apache stop

[Install]
WantedBy=multi-user.target

So, waiting for better, it works !

--
Jacques


Re: [gentoo-user] Apache and systemd problem

2023-05-12 Thread Jacques Montier
>
> After you are able to start it manually, you can edit your systemd service
> file accordingly.


GOOD NEWS ! i can start apache2ctl manually by #/usr/bin/apache2ctl
I get the warning message :
AH00558: apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.0.1. Set the 'ServerName' directive globally to
suppress this message
But, apache2 is working as i stay localhost.

So, by editing minimal apache2.service :

[Unit]
#Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
#Documentation=https://httpd.apache.org/docs/2.4/

[Service]
#Type=forking
#Environment=APACHE_STARTED_BY_SYSTEMD=true
ExecStart=/usr/sbin/apache2ctl
ExecStop=/usr/sbin/apache2ctl graceful-stop
ExecReload=/usr/sbin/apache2ctl graceful
KillMode=mixed
#PrivateTmp=true
Restart=on-abort
TimeoutStartSec=5
[Install]
WantedBy=multi-user.target

#systemctl start apache2 works,
but #systemctl stop apache2 fails and is waiting for something
So i can't reboot as apache2 is not stopped... :-(

Not perfect, but it is going...

--
Jacques


Re: [gentoo-user] Apache and systemd problem

2023-05-12 Thread Jacques Montier
Le ven. 12 mai 2023 à 10:40, Alexandru N. Barloiu  a écrit :

> How can you not miss it when it's specified in the ebuild?
>
> [root@ruja:~]# grep service
> /usr/portage/www-servers/apache/apache-2.4.55-r1.ebuild
> # Then apache2.4.service can be used and systemd support controlled
> systemd_newunit "${FILESDIR}/apache2.4-hardened.service"
> "apache2.service"
>
> I have the line in the ebuild, but no apache2.service is installed when
emerging apache.
No 00_systemd.conf in /etc/apache2/modules.d

A problem about missing uses flags ?

Here are mine

www-servers/apache-2.4.55-r1:2::gentoo  USE="gdbm ssl suexec-caps systemd
-debug -doc -ldap (-selinux) (-split-usr) -static -suexec -suexec-syslog
-threads" APACHE2_MODULES="actions alias auth_basic authn_anon authn_core
authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate
dir env expires ext_filter file_cache filter headers http2 include info
log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb
speling status unique_id unixd userdir usertrack vhost_alias -access_compat
-asis -auth_digest -auth_form -authn_dbd -authn_socache -authz_dbd -brotli
-cache_disk -cache_socache -cern_meta -charset_lite -dbd -dumpio -ident
-imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic
-lbmethod_heartbeat -log_forensic (-lua) -macro -md -proxy -proxy_ajp
-proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_hcheck
-proxy_html -proxy_http -proxy_http2 -proxy_scgi -proxy_uwsgi
-proxy_wstunnel -ratelimit -remoteip -reqtimeout -session -session_cookie
-session_crypto -session_dbd -slotmem_shm -socache_memcache -substitute
-version -watchdog -xml2enc" APACHE2_MPMS="-event -prefork -worker"
LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4"

Jacques

>
>
> thanks in advance.
>
> Jacques
>
>>
>>


Re: [gentoo-user] Apache and systemd problem

2023-05-12 Thread Jacques Montier
Le ven. 12 mai 2023 à 02:54, Alexandru N. Barloiu  a écrit :

> first of all, gentoo does install with a service file:
>
> [root@noela:~]# equery f apache | grep systemd | grep service
> /lib/systemd/system/apache2.service
>
> Hi Alexandru,

Gentoo did not install any apache2.service.
I had to manually edit one and those found on the net don't work.
Have you got one i could use ?

thanks in advance.

Jacques

>
>


Re: [gentoo-user] Apache and systemd problem

2023-05-11 Thread Jacques Montier
>
> > - /var/log/apache2 and /etc/apache2/httpd.conf are in the right place
>
> Check ownership of files in /var/log/apache2/
>
> Apache will need to be able to write to them.
>
> Apache ownership of apache:apache


Inside apache2, root:root and the files are empty.

I changed the ownership of the files into apache2 to apache:apache
 No change. apache2 still fails.


> > - /usr/bin/apache2ctl configtest returns nothing
>
> Hmm ... it should return Status OK, or 0.
>
>  I get absolutely nothing.

>
> > - when trying to start apache2.service, i get this :
> > apache2.service: start operation timed out. Terminating.
>
> It is missing something, can't connect to the IP/port it needs, or there's
> a
> file missing.  What is the output of:
>
> 'systemctl -l status apache2'
>
>
apache2.service - The Apache HTTP Server
 Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled;
preset: disabled)
 Active: failed (Result: timeout) since Thu 2023-05-11 17:46:29 CEST;
5min ago
   Docs: https://httpd.apache.org/docs/2.4/
Process: 1967 ExecStart=/usr/sbin/apache2ctl start (code=killed,
signal=TERM)
CPU: 22ms

mai 11 17:41:29 bureau systemd[1]: Starting apache2.service...
mai 11 17:46:29 bureau systemd[1]: apache2.service: start operation timed
out. Terminating.
mai 11 17:46:29 bureau systemd[1]: apache2.service: Killing process 1970
(systemctl) with signal SIGKILL.
mai 11 17:46:29 bureau systemd[1]: apache2.service: Failed with result
'timeout'.
mai 11 17:46:29 bureau systemd[1]: Failed to start apache2.service.



Also set "LogLevel info" (or debug) in its config file and restart it to
> see
> what the apache error log reveals.
>

I don't find any "LogLevel info" in /etc/apache2/httpd.conf
/var/log/apache2/error_log is empty.

Jacques


Re: [gentoo-user] Apache and systemd problem

2023-05-11 Thread Jacques Montier
Thank you Michael for your response.

- no error during compilation and installation
- /var/log/apache2 and /etc/apache2/httpd.conf are in the right place
- by default in httpd.conf:
User apache
Group apache
- User and group for /var/www  -> apache:apache
- /usr/bin/apache2ctl configtest returns nothing
- when trying to start apache2.service, i get this :
apache2.service: start operation timed out. Terminating.

Cheers,

--
Jacques


Le jeu. 11 mai 2023 à 11:42, Michael  a écrit :

> On Wednesday, 10 May 2023 19:58:50 BST Jacques Montier wrote:
> > Hello all,
> >
> > To learn a little bit about systemd, I recently installed  a gentoo with
> > systemd profile.
> > After some fights, the OS is working, but it was a real mess !!!
> > Now I am struggling for launching apache2 daemon.
> > When apache is compiled and installed, no apache2.service appears !
> > It was the same problem with the mysql database...
> > I copied the apache2.service from Linux Mint (attached file).
>
> Have you also check the necessary apache directories in /etc and /var/log/
> were installed as they should and something did not go wrong with the
> installation of the package?
>
>
> > systemctl enable apache2.service works but failed when starting...
> > (journalctl attached)
> >
> > Have you any solution to resolve that issue ?
> >
> > Thanks in advance.
> >
> >
> > --
> > Jacques
>
> I wonder if some configuration files are missing, or the IP address/port
> apache is configured to bind to is already taken by another process.
>
> Try 'systemctl -l status apache2' and also check your '/var/logs/apache2/
> error.log'.
>
> Also run '/usr/sbin/apache2ctl configtest' and check it returns "Syntax
> OK",
> otherwise follow any configuration errors it reports.


[gentoo-user] [SOLVED] Long booting time

2021-12-29 Thread Jacques Montier
Hello all,

Unfortunately, i've lost my last posts, sorry. :-((
So, i have cleaned up all my sata drives and cables as the mobo was really
dusty.
Now, no more errors and everything works fine ! :-)

Thanks again to all of you for having helped me and given some useful clues
!

Regards,

--
Jacques


Re: [gentoo-user] Long boot time after kernel update

2021-12-28 Thread Jacques Montier
Le mar. 28 déc. 2021 à 14:03, Jacques Montier  a écrit :

>
>
>
> Le mar. 28 déc. 2021 à 13:32, Dale  a écrit :
>
>> William Kenworthy wrote:
>> > A point to keep in mind - if you can feel the drive moving it may be
>> > generating errors!  Depending on the drive, the errors may just be
>> > handled internally and I can see it slowing things down though
>> > probably would be barely noticeable.  I have seen it myself with
>> > random errors from a WD green drive disappearing when properly
>> > immobilised.  When investigating I ran across articles discussing the
>> > problem, one of which fastened the drives to a granite slab for
>> > tests!  Also see discussions on NAS seups and vibrations affecting co
>> > located drives.
>> >
>> > BillK
>> >
>> > ** Interesting read
>> > https://www.ept.ca/features/everything-need-know-hard-drive-vibration/
>> >
>>
>> This is just because it is a SMR drive.  It's done this ever since I
>> bought the drive and it has passed all tests.  There's a whole thread on
>> this dating back several years.  I managed to buy a SMR drive before I
>> even knew they existed.  Once it fills up that PMR section, it gets
>> really slow.
>>
>> Dale
>>
>> :-)  :-)
>>
>>
> Hello all,
>
> Thanks a lot for all your responses !
> I think this issue is kernel related.
> No problem with 5.10.76-gentoo-r1, but the issue appears
> with 5.15.11-gentoo.
>
> I read on the net that it could be possible to desactivate the sata
> protocol NCQ (Native Command Queuing)
> So, in the grub file, i added the
> ligne GRUB_CMDLINE_LINUX=libata.force=noncq
> Now, all the errors messages are gone and the booting time gets down to
> 24s with the two kernel versions.
> BUT : do you think it could damage or slow down my SSD and HDD disks ?
>
> Thanks again,
>
> Regards,
>
> --
> Jacques
>
>
>
> Me again !

Well, il cleaned my dusty mobo, unplugged and plugged again the sata cables.
Now, with or without NCQ, boot time is rather short (~28s).
So it seems it was a connection problem.

I still have some errors as :


[   24.708377] ata6.00: exception Emask 0x10 SAct 0x5041 SErr 0x401
action 0xe frozen
[   24.708385] ata6.00: irq_stat 0x00400040, connection status changed
[   24.708387] ata6: SError: { PHYRdyChg DevExch }
[   24.708390] ata6.00: failed command: READ FPDMA QUEUED
[   24.708391] ata6.00: cmd 60/08:00:78:08:c0/00:00:31:00:00/40 tag 0 ncq
dma 4096 in
res 40/00:00:78:08:c0/00:00:31:00:00/40 Emask 0x10
(ATA bus error)
[   24.708397] ata6.00: status: { DRDY }
..

To be sure, i'll buy some news sata cables.

Sorry for the noise and thanks again for having helped me.

Regards,

--
Jacques





>
>


Re: [gentoo-user] Long boot time after kernel update

2021-12-28 Thread Jacques Montier
Le mar. 28 déc. 2021 à 13:32, Dale  a écrit :

> William Kenworthy wrote:
> > A point to keep in mind - if you can feel the drive moving it may be
> > generating errors!  Depending on the drive, the errors may just be
> > handled internally and I can see it slowing things down though
> > probably would be barely noticeable.  I have seen it myself with
> > random errors from a WD green drive disappearing when properly
> > immobilised.  When investigating I ran across articles discussing the
> > problem, one of which fastened the drives to a granite slab for
> > tests!  Also see discussions on NAS seups and vibrations affecting co
> > located drives.
> >
> > BillK
> >
> > ** Interesting read
> > https://www.ept.ca/features/everything-need-know-hard-drive-vibration/
> >
>
> This is just because it is a SMR drive.  It's done this ever since I
> bought the drive and it has passed all tests.  There's a whole thread on
> this dating back several years.  I managed to buy a SMR drive before I
> even knew they existed.  Once it fills up that PMR section, it gets
> really slow.
>
> Dale
>
> :-)  :-)
>
>
Hello all,

Thanks a lot for all your responses !
I think this issue is kernel related.
No problem with 5.10.76-gentoo-r1, but the issue appears
with 5.15.11-gentoo.

I read on the net that it could be possible to desactivate the sata
protocol NCQ (Native Command Queuing)
So, in the grub file, i added the
ligne GRUB_CMDLINE_LINUX=libata.force=noncq
Now, all the errors messages are gone and the booting time gets down to 24s
with the two kernel versions.
BUT : do you think it could damage or slow down my SSD and HDD disks ?

Thanks again,

Regards,

--
Jacques


Re: [gentoo-user] Long boot time after kernel update

2021-12-27 Thread Jacques Montier
Le lun. 27 déc. 2021 à 01:44, Wols Lists  a
écrit :

> On 26/12/2021 18:50, Jacques Montier wrote:
> > Hello all,
> >
> > I update to the last stable kernel 5.15.11-gentoo with the same
> > configuration as the old kernel and now, the boot time is quite long.
> >
> > Test :
> > 5.10.76-gentoo-r1 kernel : boot time 30s
> > 5.15.11-gentoo kernel : boot time 70s
> >
> > My setup (non EFI) :
> > - SSD 250 Go :  /dev/sdd1 ext2 for boot and /dev/sdd2 ext4 for /
> > - SSD 250 Go /dev/sdc1 ext4 for home
> > - Two 2T sata disks Seagate BarraCuda 3.5 /dev/sda1 ext4 for data and
> > /dev/sdb1 ext4 for data backup (Not Raid)
> >
> > With the new kernel, the two Seagate disks seem to make the boot time
> > quite longer.
> >
> > Test :
> > booting without mounting the disks : 20s
> > booting with mounting only one disk : 25s
> > booting with both disks : more than 60s
> >
> > Testing the disks :
> > - smartctl -s on -a /dev/sda and smartctl -s on -a /dev/sdb : No error
> > reported.
> > - fsck -a /dev/sda1 and fsck -a /dev/sdb1 : clean
> > - e2fsck -cfpv /dev/sda1 : clean
> >
> > Nevertheless, dmesg shows a lot of errors (attached image) with the new
> > kernel.
> > Those errors do not appear with 5.10.76-gentoo-r1 kernel.
> >
> > I'm rather confused...
> > Have you any idea ?
> >
> What does fdisk print say? Are your partitions mis-aligned?
>
> Unlikely, but it depends how long ago they were partitioned. There's all
> this stuff about switching from 512B to 4K sectors and that *could* be
> the problem.
>
> Cheers,
> Wol
>
>
Thanks Wol,

The output of fdisk for my two 2T disks :

...
Disque /dev/sda : 1,82 TiB, 2000398934016 octets, 3907029168 secteurs
Modèle de disque : ST2000DM008-2FR1
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0xe0e26837

Périphérique Amorçage DébutFin   Secteurs Taille Id Type
/dev/sda1  2048 3907028991 3907026944   1,8T 83 Linux

Disque /dev/sdb : 1,82 TiB, 2000398934016 octets, 3907029168 secteurs
Modèle de disque : ST2000DM008-2FR1
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0x7c91a79a

Périphérique Amorçage DébutFin   Secteurs Taille Id Type
/dev/sdb1  2048 3907028991 3907026944   1,8T 83 Linux

...

Well, i don't know if my partitions are aligned or mis-aligned... How could
i get it ?

Cheers,

--
Jacques


[SOLVED] Re: [gentoo-user] opencv problem

2021-11-25 Thread Jacques Montier
Le jeu. 25 nov. 2021 à 12:06, Arve Barsnes  a
écrit :

> On Thu, 25 Nov 2021 at 11:10, Jacques Montier  wrote:
> > media-libs/opencv-4.5.2-r3::gentoo (Change USE: +contribdnn, this change
> violates use flag constraints defined by media-libs/opencv-4.5.2-r3:
> 'cpu_flags_x86_avx2? ( cpu_flags_x86_f16c ) cpu_flags_x86_f16c? (
> cpu_flags_x86_avx ) cuda? ( contrib tesseract? ( opencl ) ) dnnsamples? (
> examples ) gflags? ( contrib ) glog? ( contrib ) contribcvv? ( contrib qt5
> ) contribdnn? ( contrib ) contribfreetype? ( contrib ) contribhdf? (
> contrib ) contribovis? ( contrib ) contribsfm? ( contrib eigen gflags glog
> ) contribxfeatures2d? ( contrib download ) examples? ( contribdnn ) java? (
> python ) opengl? ( qt5 ) python? ( any-of ( python_targets_python3_8
> python_targets_python3_9 ) ) tesseract? ( contrib ) at-most-one-of ( gtk3
> qt5 )')
> >
> > Changing the contribdnn use flag does not solve the problem.
>
> This says that activating the contribdnn flag also needs the contrib
> flag to be activated. Hard to give any direct advice without knowing
> what you are trying to do. On my computers I don't install opencv, so
> the easiest solution if you don't need it is to remove the opencv flag
> from any packages you have installed.
>
> Regards,
> Arve
>
>
Thank you Arve, with the two use flags contribdnn and contrib, it works
fine.
I admit that i've been confused with "this change violates use flag
constraints" and all the stuff "cpu_flags_x86_avx2? ( cpu_flags_x86_f16c )
cpu_flags_x86_f16c? ( cpu_flags_x86_avx )..."
Now, i understand the meaning of use_flag1 (use_flag2).

I have to emerge opencv as kdenlive is installed and needs mlt which needs
opencv... so...

Thanks again,

Regards,

--
Jacques


[gentoo-user] opencv problem

2021-11-25 Thread Jacques Montier
Hello all,

I encounter a problem with emerging opencv-4.5.2-r3 so i can't do any
emerge world anymore.
I get this :

media-libs/opencv-4.5.2-r3::gentoo (Change USE: +contribdnn, this change
violates use flag constraints defined by media-libs/opencv-4.5.2-r3:
'cpu_flags_x86_avx2? ( cpu_flags_x86_f16c ) cpu_flags_x86_f16c? (
cpu_flags_x86_avx ) cuda? ( contrib tesseract? ( opencl ) ) dnnsamples? (
examples ) gflags? ( contrib ) glog? ( contrib ) contribcvv? ( contrib qt5
) contribdnn? ( contrib ) contribfreetype? ( contrib ) contribhdf? (
contrib ) contribovis? ( contrib ) contribsfm? ( contrib eigen gflags glog
) contribxfeatures2d? ( contrib download ) examples? ( contribdnn ) java? (
python ) opengl? ( qt5 ) python? ( any-of ( python_targets_python3_8
python_targets_python3_9 ) ) tesseract? ( contrib ) at-most-one-of ( gtk3
qt5 )')

Changing the contribdnn use flag does not solve the problem.

emerge --info in attached file.

Any idea ?

Thanks in advance,

Cheers,

--
Jacques
Portage 3.0.28 (python 3.9.8-final-0, default/linux/amd64/17.1/desktop, 
gcc-11.2.0, glibc-2.33-r7, 5.10.76-gentoo-r1 x86_64)
=
System uname: 
Linux-5.10.76-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-glibc2.33
KiB Mem:18428440 total,  11769428 free
KiB Swap:   18874364 total,  18874364 free
Timestamp of repository gentoo: Thu, 25 Nov 2021 09:00:01 +
Head commit of repository gentoo: 0e8a6e39c113e3d42d454d7af557a71354a96afc
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:  5.1_p8::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl:5.34.0-r3::gentoo
dev-lang/python:  3.9.8::gentoo
dev-lang/rust-bin:1.56.1::gentoo
dev-util/cmake:   3.20.5::gentoo
sys-apps/baselayout:  2.7-r3::gentoo
sys-apps/openrc:  0.44.8::gentoo
sys-apps/sandbox: 2.25::gentoo
sys-devel/autoconf:   2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:   1.16.4::gentoo
sys-devel/binutils:   2.37_p1::gentoo
sys-devel/gcc:11.2.0::gentoo
sys-devel/gcc-config: 2.4::gentoo
sys-devel/libtool:2.4.6-r6::gentoo
sys-devel/make:   4.3::gentoo
sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers)
sys-libs/glibc:   2.33-r7::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts: 
sync-rsync-verify-max-age: 24

overlay_local
location: /var/db/repos/gentoo/local
masters: gentoo
priority: 0

Installed sets: @kernels
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config 
/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-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ 
/etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d 
/etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB 
PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME 
XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy 
config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox 
merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 
preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict 
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv 
usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/;
INSTALL_MASK="/lib/systemd/system /usr/lib/systemd/system"
LANG="fr_FR.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
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 acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli 
crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm 
gif gpm gtk gtk+extra gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc 
linguas_fr mad mmx mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp 
pam pango pcre pdf png policykit ppds pulseaudio python qt5 readline sdl 
seccomp spell split-usr sse sse2 ssl 

Re: [gentoo-user] Python-3.9 and emerge problems

2021-06-19 Thread Jacques Montier
Le ven. 18 juin 2021 à 17:55, John Covici  a écrit :

> On Fri, 18 Jun 2021 10:00:17 -0400,
> Neil Bothwick wrote:
> >
> > [1  ]
> > On Fri, 18 Jun 2021 09:54:09 -0400, John Covici wrote:
> >
> > > > Same problem with 3.0.20-r3 but then I found
> > > > https://bugs.gentoo.org/796584, changing sets.conf got rid of the
> > > > issue.
> > >
> > > hmmm, I don't have a file like that at all, what should be in that
> > > file -- I don't even have a /usr/portage at all.
> > >
> > The system sets are in /usr/share/portage/config/sets, but they all had
> > exclude-files where needed. The culprits were my user-defined sets in
> > /etc/sets.conf. For example:
> >
> > [kernels]
> > class = portage.sets.dbapi.OwnerSet
> > world-candidate = False
> > files = /usr/src
> > exclude-files = ''
> >
> > Adding that last line stopped the breakage. This sort of change should
> > have been accompanied by an einfo message at the very least, preferable a
> > news item.
>
> Thanks much -- that seems to have fixed it.
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>  John Covici wb2una
>  cov...@ccs.covici.com
>
>

Hello all,

New portage, this morning.
I commented the line exclude-files = '' in /etc/portage/sets.conf as it was
before.
Then emerge world.
Everything works fine.

Cheers,

--
Jacques


Re: [gentoo-user] Python-3.9 and emerge problems

2021-06-18 Thread Jacques Montier
* *


Le ven. 18 juin 2021 à 16:00, Neil Bothwick  a écrit :

> On Fri, 18 Jun 2021 09:54:09 -0400, John Covici wrote:
>
> > > Same problem with 3.0.20-r3 but then I found
> > > https://bugs.gentoo.org/796584, changing sets.conf got rid of the
> > > issue.
> >
> > hmmm, I don't have a file like that at all, what should be in that
> > file -- I don't even have a /usr/portage at all.
> >
> The system sets are in /usr/share/portage/config/sets, but they all had
> exclude-files where needed. The culprits were my user-defined sets in
> /etc/sets.conf. For example:
>
> [kernels]
> class = portage.sets.dbapi.OwnerSet
> world-candidate = False
> files = /usr/src
> exclude-files = ''
>
> Adding that last line stopped the breakage. This sort of change should
> have been accompanied by an einfo message at the very least, preferable a
> news item.
>
>
> --
> Neil Bothwick
>
> Top Oxymorons Number 43: Genuine imitation
>


Hello again,

Yes Neil, that did the trick ! 
Thanks a lot to all of you !

--
Jacques


[gentoo-user] Python-3.9 and emerge problems

2021-06-18 Thread Jacques Montier
Hello all,

This morning :

#emerge --sync
#emerge --oneshot sys-apps/portage
#emerge -auvDN --with-bdeps=y --keep-going world

I get these errors :

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/emerge", line 51, in 
retval = emerge_main()
  File "/usr/lib/python3.9/site-packages/_emerge/main.py", line 1319, in
emerge_main
return run_action(emerge_config)
  File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line 3392, in
run_action
retval = action_build(emerge_config, spinner=spinner)
  File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line 354, in
action_build
success, mydepgraph, favorites = backtrack_depgraph(
  File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line 10005,
in backtrack_depgraph
return _backtrack_depgraph(settings, trees, myopts, myparams,
  File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line 10043,
in _backtrack_depgraph
success, favorites = mydepgraph.select_files(myfiles)
  File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line 4055,
in select_files
return self._select_files(args)
  File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line 4189,
in _select_files
set_atoms = root_config.setconfig.getSetAtoms(s)
  File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py", line
271, in getSetAtoms
myatoms.update(self.getSetAtoms(s,
  File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py", line
271, in getSetAtoms
myatoms.update(self.getSetAtoms(s,
  File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py", line
260, in getSetAtoms
myatoms = myset.getAtoms()
  File "/usr/lib/python3.9/site-packages/portage/_sets/base.py", line 58,
in getAtoms
self._load()
  File "/usr/lib/python3.9/site-packages/portage/_sets/base.py", line 53,
in _load
self.load()
  File "/usr/lib/python3.9/site-packages/portage/_sets/dbapi.py", line 111,
in load
self._setAtoms(self.mapPathsToAtoms(self._files,
  File "/usr/lib/python3.9/site-packages/portage/_sets/dbapi.py", line 83,
in mapPathsToAtoms
for p in exclude_paths:
TypeError: 'NoneType' object is not iterable

And i can't do anything else...

I see that python-3.8 has gone away
# eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.9

emerge --info file attached

I don't really know what to do.
Any idea ?

Thanks a lot in advance,

Regards,

*--*
*Jacques*
Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop, 
gcc-10.3.0, glibc-2.33, 5.10.27-gentoo x86_64)
=
System uname: 
Linux-5.10.27-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-glibc2.33
KiB Mem:18428432 total,  12898428 free
KiB Swap:   18874364 total,  18874364 free
Timestamp of repository gentoo: Fri, 18 Jun 2021 09:00:01 +
Head commit of repository gentoo: e760f88d937bcf1db534f3294831835e9e45203e
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:  5.1_p8::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl:5.32.1::gentoo
dev-lang/python:  3.9.5_p2::gentoo
dev-lang/rust-bin:1.52.1::gentoo
dev-util/cmake:   3.18.5::gentoo
dev-util/pkgconfig:   0.29.2::gentoo
sys-apps/baselayout:  2.7::gentoo
sys-apps/openrc:  0.42.1-r1::gentoo
sys-apps/sandbox: 2.24::gentoo
sys-devel/autoconf:   2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:   1.11.6-r3::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:   2.35.2::gentoo
sys-devel/gcc:10.3.0::gentoo
sys-devel/gcc-config: 2.4::gentoo
sys-devel/libtool:2.4.6-r6::gentoo
sys-devel/make:   4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:   2.33::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts: 
sync-rsync-verify-metamanifest: yes

overlay_local
location: /var/db/repos/gentoo/local
masters: gentoo
priority: 0

Installed sets: @kernels
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config 
/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-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ 
/etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d 
/etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB 
PERL5OPT PERLPREFIX PERL_CORE 

Re: [gentoo-user] lightdm - can not login

2021-06-11 Thread Jacques Montier
Le ven. 11 juin 2021 à 11:12, Dr Rainer Woitok  a
écrit :

> Thelma,
>
> On Thursday, 2021-06-10 18:24:34 -0600, you wrote:
>
> > ...
> > It seems to me lightdm defaults to "twm" which file controls it?
> > I want to change it to xfce4
>
> Not quite.   Either in  configuration file  "/etc/conf.d/xdm"  (when you
> have package "x11-apps/xdm" installed)  or "/etc/conf.d/display-manager"
> (when you have  the more  up-to-date package  "gui-libs/display-manager-
> init" installed) you want to set
>
>DISPLAYMANAGER="lightdm"
>
> Sincerely,
>   Rainer
>
>

Hello all,

My configuration :

1- numlockx is installed.

2- /etc/conf.d/display-manager
DISPLAYMANAGER="lightdm"

3- /etc/lightdm/lightdm.conf
greeter-setup-script=/usr/bin/numlockx on

Everything works fine.

I hope this will help,

Regards,

--
Jacques


Re: [gentoo-user] lightdm - can not login

2021-06-11 Thread Jacques Montier
* *


Le ven. 11 juin 2021 à 11:12, Dr Rainer Woitok  a
écrit :

> Thelma,
>
> On Thursday, 2021-06-10 18:24:34 -0600, you wrote:
>
> > ...
> > It seems to me lightdm defaults to "twm" which file controls it?
> > I want to change it to xfce4
>
> Not quite.   Either in  configuration file  "/etc/conf.d/xdm"  (when you
> have package "x11-apps/xdm" installed)  or "/etc/conf.d/display-manager"
> (when you have  the more  up-to-date package  "gui-libs/display-manager-
> init" installed) you want to set
>
>DISPLAYMANAGER="lightdm"
>
> Sincerely,
>   Rainer
>
>

Hello all,

My configuration :

1- numlockx is installed.

2- /etc/conf.d/display-manager
DISPLAYMANAGER="lightdm"

3- /etc/lightdm/lightdm.conf
greeter-setup-script=/usr/bin/numlockx on

Everything works fine.

I hope this will help,

Regards,

--
Jacques


Re: [gentoo-user] news 2021-01-30-display-manager-init -- blocked package

2021-01-31 Thread Jacques Montier
Le dim. 31 janv. 2021 à 11:45, Neil Bothwick  a écrit :

> On Sat, 30 Jan 2021 23:01:42 -0500, Kusoneko wrote:
>
> > Following my daily syncing today, 2 news items appeared,
> > the important one for this being the following:
> >
> > 2021-01-30-display-manager-init
> >
> > It states that starting the next xorg-server version,
> > the xdm init script will be removed and that one
> > install gui-libs/display-manager-init to replace it.
> > Following the instructions to install said package
> > leads to a wonderful error stating that the package
> > is blocked by the following packages:
> >
> > x11-apps/xinit-1.4.1
> > sys-apps/sysvinit-2.98
> > x11-base/xorg-server-1.20.10
> >
> > Removing xorg-server is not gonna happen, so
> > looking at what emerge says, there's a bit of an
> > issue here:
> >
> > https://zifb.in/GUtgto4VcX
> >
> > Doing the required update is currently impossible.
> >
> > I am definitely not gonna remember about this
> > in a week or 2 so I'd like to deal with whatever
> > this issue is asap. Is there any way to do this?
>
> You could use eselect to mark the news unread.To get
>
> You cannot use display-manager-init with the current stable xorg-server,
> because of this depend
>
> !<=x11-base/xorg-server-1.20.10
>
> However, you can use it with the -r1 version, which is currently ~arch.
> The differences between the ebuilds relate to the init handling, they
> install the same server code, so you have two choices: add -r1 to
> package.accept_keywords or wait a couple of weeks and hope you remember.
>
> The worst that is likely to happen is you forget and boot to a console
> one day, at which point you will almost certainly remember :)
>
>
> --
> Neil Bothwick
>
> Normal people believe that if it ain't broke, don't fix it. Engineers
> believe that if it ain't broke, it doesn't have enough features yet."
>



Hello all,

To get display-manager-init built and installed, i had to accept_keywords :
xinit, sysvinit and xorg-server.
As  specified in the news :
- changing the DISPLAYMANAGER variable in /etc/conf.d/display-manager
(lightdm for me)
- rc-update del xdm default
- rc-update add display-manager
- reboot

Everything works fine.

Cheers,

Jacques


Re: [gentoo-user] blender 2.80 or 2.81?

2019-12-07 Thread Jacques Montier
Le ven. 6 déc. 2019 23:57, Caveman Al Toraboran <
toraboracave...@protonmail.com> a écrit :

> any idea when?
>
> rgrds,
> cm.
>


Hello all,

I use Blender 2.81 and it works quite fine. Eevee render is fine.
Nevertheless, be careful if using old blend file with 2.81 Blender, you may
lose your data.
Make à copy before opening old data.

Cheers


Jacques



>


[gentoo-user] Migration from 17.0 to 17.1

2019-06-24 Thread Jacques Montier
Hello all,

Here is my own experience about migrating from 17.0 to 17.1 profile.

I followed the steps 1, 3, 4, 5, 6, 7, 8, 9 and 10 (emerge -1v
sys-devel/gcc:8.3.0, emerge -1v sys-devel/gcc:8.2.0-r6) without any issue.
Everything works fine but the step 11 (emerge -1v --deep /lib32 /usr/lib32
/usr/lib/llvm/*/lib32) has been pretty painful.

Many config phase failed.
- dev-libs/glib-2.58.3
Solved by emerging util-linux and libpcre
 - many x11-libs stuff
Solved by emerging some x11-base packages (especially xorg-x11)
- dev-libs/libgudev, media-libs/libv4l, x11-misc/colord
and media-libs/libcanberra.
Solved by emerging virtual/libudev

Finally, i could delete the /lib32 (/usr/lib32 was already deleted) and the
/usr/local/lib32 symlinks.

Now everything seems to work properly.

Cheers,

--
Jacques


Re: [gentoo-user] Re: libreoffice-6.1.5.2 compile fails with 'MEMORY_ALLOC_OPERATORS(SQLException)'

2019-02-18 Thread Jacques Montier
Le lun. 18 févr. 2019 à 11:56, Mick  a écrit :

> On Monday, 18 February 2019 09:23:08 GMT Mick wrote:
> > Hi All,
> >
> > I've come across this 'MEMORY_ALLOC_OPERATORS(SQLException)' and don't
> know
> > how to proceed.  I couldn't find a bug report:
> >
> > ==
> > [CXX] mysqlc/source/mysqlc_connection.cxx
> >
> S=/var/tmp/portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2
> > && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/mysqlc/source/
> > $W/Dep/ CxxObject/mysqlc/source/ && cd /var
> > /tmp/portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2 &&
> > x86_64-pc-linux-gnu-g++ -DBOOST_ERROR_CODE_HEADER_ONLY -
> > DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBU
> > G -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT   -
> > DSYSTEM_MYSQL_CPPCONN  -DCPPDBC_EXPORTS -DCPPCONN_LIB_BUILD -
> > DMARIADBC_VERSION_MAJOR=1 -DMARIADBC_VERSION_MINOR=0 -DMA
> > RIADBC_VERSION_MICRO=2 -fvisibility=hidden-Wall
> -Wno-missing-braces
> > - Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code
> > -Wunused- macros -finput-charset=UTF-8 -fmessa
> > ge-length=0 -fno-common -pipe  -Wduplicated-cond -Wlogical-op -Wshift-
> > overflow=2 -Wunused-const-variable=1 -fvisibility-inlines-hidden -fstack-
> > protector-strong -fPIC -Wshadow -Woverloaded-vi
> > rtual -std=gnu++17   -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -
> > march=native -O2 -pipe   -Wno-undef -c
> > $S/mysqlc/source/mysqlc_connection.cxx -o
> > $W/CxxObject/mysqlc/source/mysqlc_co
> > nnection.o  -I$S/include   -I$S/config_host  -I/usr/include  -I$W/
> > UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal
> > [CXX] mysqlc/source/mysqlc_resultset.cxx
> > In file included from /usr/include/cppconn/variant.h:38:0,
> >  from /usr/include/cppconn/connection.h:35,
> >  from /usr/include/cppconn/driver.h:30,
> >  from
> /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
> > libreoffice-6.1.5.2/mysqlc/source/mysqlc_connection.hxx:39,
> >  from
> /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
> > libreoffice-6.1.5.2/mysqlc/source/mysqlc_driver.hxx:32,
> >  from
> /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
> > libreoffice-6.1.5.2/mysqlc/source/mysqlc_driver.cxx:26:
> > /usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow
> > dynamic exception specifications
> >   MEMORY_ALLOC_OPERATORS(SQLException)
> >   ^
> > /usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow
> > dynamic exception specifications
> >   MEMORY_ALLOC_OPERATORS(SQLException)
> >   ^
> > In file included from /usr/include/cppconn/variant.h:38:0,
> >  from /usr/include/cppconn/connection.h:35,
> >  from /usr/include/cppconn/driver.h:30,
> >  from
> /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
> > libreoffice-6.1.5.2/mysqlc/source/mysqlc_connection.hxx:39,
> >  from
> /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
> > libreoffice-6.1.5.2/mysqlc/source/mysqlc_driver.hxx:32,
> >  from
> /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
> > libreoffice-6.1.5.2/mysqlc/source/mysqlc_services.cxx:20:
> > /usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow
> > dynamic exception specifications
> >   MEMORY_ALLOC_OPERATORS(SQLException)
> >   ^
> > /usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow
> > dynamic exception specifications
> >   MEMORY_ALLOC_OPERATORS(SQLException)
> >   ^
> > make[1]: *** [/var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
> > libreoffice-6.1.5.2/solenv/gbuild/LinkTarget.mk:293:
> /var/tmp/portage/app-
> > office/libreoffice-6.1.5.2/work/libreoffice-6.1.5
> > .2/workdir/CxxObject/mysqlc/source/mysqlc_driver.o] Error 1
> > make[1]: *** Waiting for unfinished jobs
> > In file included from /usr/include/cppconn/variant.h:38:0,
> >  from /usr/include/cppconn/connection.h:35,
> >  from /usr/include/cppconn/driver.h:30,
> > [49/1994]
> >  from
> /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
> > libreoffice-6.1.5.2/mysqlc/source/mysqlc_connection.hxx:39,
> >  from
> /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
> > libreoffice-6.1.5.2/mysqlc/source/mysqlc_connection.cxx:21:
> > /usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow
> > dynamic exception specifications
> >   MEMORY_ALLOC_OPERATORS(SQLException)
> >   ^
> > /usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow
> > dynamic exception specifications
> >   MEMORY_ALLOC_OPERATORS(SQLException)
> >   ^
>
> --
> Regards,
> Mick



Hello,

Same issue,

Cheers

--
Jacques


[Solved] Re: [gentoo-user] Re: bash upgrading problem

2019-01-22 Thread Jacques Montier
Le lun. 21 janv. 2019 à 21:38, Nikos Chantziaras  a
écrit :

> On 21/01/2019 20:25, Jacques Montier wrote:
> > Le lun. 21 janv. 2019 à 19:04, Nikos Chantziaras  > <mailto:rea...@gmail.com>> a écrit :
> >
> > I can't see why "emerge -uv bash" would ever invoke sudo. So I'd say
> > that you should first find out what command is being executed with
> > sudo.
> > To do that, try to emerge bash, and when the sudo prompt pops up,
> > switch
> > to another terminal window and do:
> >
> > ps aux | grep sudo
> >
> > What's the output of that?
> >
> > ps aux | grep sudo
> > 267:root 19845  0.0  0.0  54260  4304 pts/0S+   19:23   0:00
> > sudo eix-update
>
> Well, something is trying to execute a "sudo eix-update". The bash
> ebuild certainly doesn't, so you should check your installation for any
> weird scripts or aliases you might be using. A grep on /etc for
> "eix-update" might also reveal something:
>
>grep -r eix-update /etc
>
> And also check your env and aliases:
>
>which emerge
>alias | grep emerge
>env | grep eix
>
> These are general hints on where to look, since I have no clue myself as
> to why an "emerge -uv bash" would ever try and execute "sudo
> eix-update", so it seems you have digging to do.
>
>
>
Hello all,

I finally found what was wrong !
To save time, i had written a small bash script to run eix-update,
eix-test-obsolete and emerge --depclean.
This script was written just for test and was unfortunately calledtest.
So, when emerging bash, i think the configure phase launched that script
Well, of course it was my fault. Shame on me !
Sorry for all that noise, but you have been very helpful to me and i thank
you very much.

Cheers,

--
Jacques


Re: [gentoo-user] Re: bash upgrading problem

2019-01-21 Thread Jacques Montier
Le lun. 21 janv. 2019 à 19:19, Jack  a
écrit :

>
> I have a suspicion that this really might be sandbox related.
> /dev/fd/whatever are all in the live system, and if I understand
> correctly, emerge works within the sandbox, so you should not be able
> to get at those files (certainly not write to them, but it isn't clear
> what the ebuild is trying to do there.)
>
> However, if you are running the emerge (please do clarify that your are
> trying to emerge bash, not just manually build it) as root, I don't see
> any reason it should try to use sudo for anything.
>
> Just for a change, try logging in as root, not doing su, and see if the
> emerge works.
>
> Jack
>

Jack,
- I don't manually build bash. Just : #emerge bash
- CTRL+Alt+F1 to get out of X and go to TTY1
- logged as root with the root password
- emerge bash stops at password required.

--
Jacques


Re: [gentoo-user] Re: bash upgrading problem

2019-01-21 Thread Jacques Montier
Le lun. 21 janv. 2019 à 19:04, Nikos Chantziaras  a
écrit :

>
> I can't see why "emerge -uv bash" would ever invoke sudo. So I'd say
> that you should first find out what command is being executed with sudo.
> To do that, try to emerge bash, and when the sudo prompt pops up, switch
> to another terminal window and do:
>
>ps aux | grep sudo
>
> What's the output of that?
>
>
>
ps aux | grep sudo
267:root 19845  0.0  0.0  54260  4304 pts/0S+   19:23   0:00 sudo
eix-update
269:root 19857  0.0  0.0  10856   916 pts/1S+   19:24   0:00 grep
-n sudo

--
Jacques


Re: [gentoo-user] Re: bash upgrading problem

2019-01-21 Thread Jacques Montier
Le lun. 21 janv. 2019 à 14:16, Alexander Kapshuk <
alexander.kaps...@gmail.com> a écrit :

>
>
> What is the output of:
> env | grep libsandbox.so
>
>
There is no output of env | grep libsandbox.so, but with env | grep
sandbox, i get this :

$ env | grep sandbox
13:CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/php/cli-php7.2/ext-active/
/etc/php/cgi-php7.2/ext-active/ /etc/php/apache2-php7.2/ext-active/
/etc/fonts/fonts.conf /etc/gentoo-release /etc/gconf /etc/terminfo
/etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild

--
Jacques


Re: [gentoo-user] Re: bash upgrading problem

2019-01-21 Thread Jacques Montier
Le lun. 21 janv. 2019 à 13:04, Alexander Kapshuk <
alexander.kaps...@gmail.com> a écrit :

>
>
> What is the output of:
> echo $LD_PRELOAD
> echo $LD_LIBRARY_PATH
>
>
No output.

--
Jacques


Re: [gentoo-user] Re: bash upgrading problem

2019-01-21 Thread Jacques Montier
Le lun. 21 janv. 2019 à 12:11, Alexander Kapshuk <
alexander.kaps...@gmail.com> a écrit :


> The /proc/PID directory listed by the ls command is the directory for
> the process that executed the ls command. See below.
>
> % ls -ld /proc/self &
> [1] 27318
> % lrwxrwxrwx 1 root root 0 Sep 24 14:06 /proc/self -> 27318
> [1] +  Done
>
> As for the user/group owning the files in /proc/self, they are owned
> by the user who initiated the process that created those entries in
> the proc file system.
>
>
Thanks Alexander for your explanation.
Nevertheless, the bash rejected password remains a mystery to me. :-(

Regards,


Re: [gentoo-user] Re: bash upgrading problem

2019-01-21 Thread Jacques Montier
Le lun. 21 janv. 2019 à 11:21, Raffaele Belardi  a
écrit :

>
> Well, they are owned by jacques instead of root. Could it be the reason
> why you're asked
> for a password? Maybe some strange interaction with the sandbox?
>
> raffaele
>


Yes, i noticed that, but how to explain my root password rejected when
emerging bash ?

I also noticed something strange :
$ ls -al /proc/self/fd
total 0
dr-x-- 2 jacques jacques  0 21 janv. 11:49 ./
dr-xr-xr-x 9 jacques jacques  0 21 janv. 11:49 ../
lrwx-- 1 jacques jacques 64 21 janv. 11:49 0 -> /dev/pts/1
lrwx-- 1 jacques jacques 64 21 janv. 11:49 1 -> /dev/pts/1
lrwx-- 1 jacques jacques 64 21 janv. 11:49 2 -> /dev/pts/1
lr-x-- 1 jacques jacques 64 21 janv. 11:49 3 -> /proc/4461/fd/

The /proc/4461 directory does not exist !

--
Jacques


Re: [gentoo-user] Re: bash upgrading problem

2019-01-21 Thread Jacques Montier
Le lun. 21 janv. 2019 à 07:52, Raffaele Belardi  a
écrit :

> Jacques Montier wrote:
> > checking whether /dev/fd is available... ERROR: ld.so: object
> 'libsandbox.so' from LD_PRELOAD cannot be preloaded (cannot open shared
> object file): ignored.
>
> Just a guess. configure here is trying to read /dev/fd which is a symlink
> to
> /proc/self/fd. Do you see anything strange with those two directories or
> directory entries?
>
> $ ll /dev/fd
> lrwxrwxrwx 1 root root 13 Jan 21 07:10 /dev/fd -> /proc/self/fd
>
>
> # ll /proc/self/fd
> total 0
> lrwx-- 1 root root 64 Jan 21 07:53 0 -> /dev/pts/3
> lrwx-- 1 root root 64 Jan 21 07:53 1 -> /dev/pts/3
> lrwx-- 1 root root 64 Jan 21 07:53 2 -> /dev/pts/3
> lr-x-- 1 root root 64 Jan 21 07:53 3 -> /proc/3744/fd
>
> # ll /proc/self/
> total 0
> dr-x-- 2 root root 0 Jan 21 07:54 fd
> (snip)
>
>
Thanks Raffaele,

No, i don't see anything strange with those two directories. Do you ?

$ ls -al /dev/fd
 lrwxrwxrwx 1 root root 13 21 janv. 10:28 /dev/fd -> /proc/self/fd/

$ ls -al /proc/self/fd
total 0
dr-x-- 2 jacques jacques  0 21 janv. 10:43 ./
dr-xr-xr-x 9 jacques jacques  0 21 janv. 10:43 ../
lrwx-- 1 jacques jacques 64 21 janv. 10:43 0 -> /dev/pts/0
lrwx-- 1 jacques jacques 64 21 janv. 10:43 1 -> /dev/pts/0
lrwx-- 1 jacques jacques 64 21 janv. 10:43 2 -> /dev/pts/0
lr-x-- 1 jacques jacques 64 21 janv. 10:43 3 -> /proc/5146/fd/

$ ls -al /proc/self/
dr-x--   2 jacques jacques 0 21 janv. 10:44 fd/

Regards,

--
Jacques


Re: [gentoo-user] Re: bash upgrading problem

2019-01-20 Thread Jacques Montier
Le sam. 19 janv. 2019 à 19:42, Jacques Montier  a
écrit :

>
> Thanks Jack,
>
> Le sam. 19 janv. 2019 à 19:03, Jack  a
> écrit :
>
>>
>> --quoted attachment
>> “app-shells:bash-4.4_p23-r1:20190119-102517.log”--
>> [snip much of emerge log]
>> So the problem occurs at the end of the ./configure stage.  You did not
>> include this in your original post.
>> > checking which library has the termcap functions... (cached) using
>> > libcurses
>> > checking whether /dev/fd is available...
>> > ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be
>> > preloaded (cannot open shared object file): ignored.
>> So this is the real error - portage can't (pre)load libsandbox.so.
>> 1) When is the last time you did a full upgrade?  I'm now wondering if
>> you have inconsistent versions of different packages installed.
>> 2) Try re-emerging sys-apps/sandbox.
>>
>
>  - I just did a full upgrade by : emerge -auvDN --with-bdeps=y
> --keep-going world => so i have to upgrade bash
> [ebuild U  ] app-shells/bash-4.4_p23-r1::gentoo [4.4_p12::gentoo]
> USE="net nls (readline) -afs -bashlogger -examples -mem-scramble -plugins"
> 0 KiB
> - Then emerge sandbox => OK
> - Then emerge bash => it stops asking for passwd. :-(
>
> 3) If that does not work, try running revdep-rebuild.  It should not
>> normally be necessary, but there are times.  Did an emerge world ever
>> get interrupted?
>>
>>
> - revdep-rebuild done without any error
>
>
> --
> Jacques
>


Hello all,

As i was backing up my gentoo system to an external USB drive via
SystemRescueCD, i tried one thing :

- i mounted all the partitions (/ , boot, home, etc.) and /dev, /sys, /proc
and chroot into the system

then
#emerge bash
and...it works ! No password asked !

After umounting all that stuff, reboot.

- I tried to re-emerge bash ; password : ? and it stops.

Anyone could explain that to me ? It would be great !

Thanks a lot !


*--*
*Jacques*

*https://sites.google.com/site/jacquesfr35/
<https://sites.google.com/site/jacquesfr35/>*


Re: [gentoo-user] Re: bash upgrading problem

2019-01-19 Thread Jacques Montier
Thanks Jack,

Le sam. 19 janv. 2019 à 19:03, Jack  a
écrit :

>
> --quoted attachment
> “app-shells:bash-4.4_p23-r1:20190119-102517.log”--
> [snip much of emerge log]
> So the problem occurs at the end of the ./configure stage.  You did not
> include this in your original post.
> > checking which library has the termcap functions... (cached) using
> > libcurses
> > checking whether /dev/fd is available...
> > ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be
> > preloaded (cannot open shared object file): ignored.
> So this is the real error - portage can't (pre)load libsandbox.so.
> 1) When is the last time you did a full upgrade?  I'm now wondering if
> you have inconsistent versions of different packages installed.
> 2) Try re-emerging sys-apps/sandbox.
>

 - I just did a full upgrade by : emerge -auvDN --with-bdeps=y --keep-going
world => so i have to upgrade bash
[ebuild U  ] app-shells/bash-4.4_p23-r1::gentoo [4.4_p12::gentoo]
USE="net nls (readline) -afs -bashlogger -examples -mem-scramble -plugins"
0 KiB
- Then emerge sandbox => OK
- Then emerge bash => it stops asking for passwd. :-(

3) If that does not work, try running revdep-rebuild.  It should not
> normally be necessary, but there are times.  Did an emerge world ever
> get interrupted?
>
>
- revdep-rebuild done without any error


--
Jacques


Re: [gentoo-user] Re: bash upgrading problem

2019-01-19 Thread Jacques Montier
*--*
*Jacques*

*https://sites.google.com/site/jacquesfr35/
<https://sites.google.com/site/jacquesfr35/>*


Le ven. 18 janv. 2019 à 21:36, Nikos Chantziaras  a
écrit :

> On 18/01/2019 13:29, Jacques Montier wrote:
> > Hello all,
> >
> > I encounter some problem about upgrading app-shells/bash from 4.4_p12
> > to 4.4_p23-r1.
> > After the checking phase, it stops asking for password (attached file).
> > All passwords (root, user) are rejected, so i can't go further.
> >
> > Any idea ?
>
> Log in as root with:
>
> su -
>
> and then try emerging from there. Reboot.
>
>
>
Thanks Jack and Nikos,

I did not have any problem with bash emerge so far.
Here is the attached log.
As usual, i successfully logged with my root password (su -) and then
#emerge -uv bash

The only thing i did some days ago, was to change my user jacques password.
In the sudoers file, i have the row : jacques ALL=(ALL) NOPASSWD: ALL
So with sudo, i don't have to write the root password.

It is not version bash related as i tried to re-emerge the
installed app-shells/bash and it fails.

Thanks again,

Regards,

--
Jacques
 * Package:app-shells/bash-4.4_p23-r1
 * Repository: gentoo
 * Maintainer: base-sys...@gentoo.org
 * USE:abi_x86_64 amd64 elibc_glibc kernel_linux net nls readline userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking bash-4.4.tar.gz to /var/tmp/portage/app-shells/bash-4.4_p23-r1/work
>>> Source unpacked in /var/tmp/portage/app-shells/bash-4.4_p23-r1/work
>>> Preparing source in /var/tmp/portage/app-shells/bash-4.4_p23-r1/work/bash-4.4 ...
 * Applying bash44-001 ...
 [ ok ]
 * Applying bash44-002 ...
 [ ok ]
 * Applying bash44-003 ...
 [ ok ]
 * Applying bash44-004 ...
 [ ok ]
 * Applying bash44-005 ...
 [ ok ]
 * Applying bash44-006 ...
 [ ok ]
 * Applying bash44-007 ...
 [ ok ]
 * Applying bash44-008 ...
 [ ok ]
 * Applying bash44-009 ...
 [ ok ]
 * Applying bash44-010 ...
 [ ok ]
 * Applying bash44-011 ...
 [ ok ]
 * Applying bash44-012 ...
 [ ok ]
 * Applying bash44-013 ...
 [ ok ]
 * Applying bash44-014 ...
 [ ok ]
 * Applying bash44-015 ...
 [ ok ]
 * Applying bash44-016 ...
 [ ok ]
 * Applying bash44-017 ...
 [ ok ]
 * Applying bash44-018 ...
 [ ok ]
 * Applying bash44-019 ...
 [ ok ]
 * Applying bash44-020 ...
 [ ok ]
 * Applying bash44-021 ...
 [ ok ]
 * Applying bash44-022 ...
 [ ok ]
 * Applying bash44-023 ...
 [ ok ]
 * Applying bash-4.4-jobs_overflow.patch ...
 [ ok ]
 * Applying bash-4.4-set-SHOBJ_STATUS.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-shells/bash-4.4_p23-r1/work/bash-4.4 ...
 * econf: updating bash-4.4/support/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating bash-4.4/support/config.guess with /usr/share/gnuconfig/config.guess
./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 --docdir=/usr/share/doc/bash-4.4_p23-r1 --htmldir=/usr/share/doc/bash-4.4_p23-r1/html --libdir=/usr/lib64 --disable-profiling --docdir=$(datarootdir)/doc/bash-4.4_p23-r1 --htmldir=$(docdir)/html --with-curses --disable-mem-scramble --enable-net-redirections --enable-readline --enable-bang-history --enable-history --without-afs --without-bash-malloc --with-installed-readline=.
configure: loading site script /usr/share/config.site
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-

[gentoo-user] bash upgrading problem

2019-01-18 Thread Jacques Montier
Hello all,

I encounter some problem about upgrading app-shells/bash from 4.4_p12
to 4.4_p23-r1.
After the checking phase, it stops asking for password (attached file).
All passwords (root, user) are rejected, so i can't go further.

Any idea ?

Thanks in advance,

*--*
*Jacques*

*https://sites.google.com/site/jacquesfr35/
*
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Password: 
Sorry, try again.

Re: [gentoo-user] backing up a partition

2018-08-31 Thread Jacques Montier
Le ven. 31 août 2018 04:48, Michael Jones  a écrit :

> try fsarchiver
>
> On Thu, Aug 30, 2018 at 11:53 AM, Philip Webb 
> wrote:
>
>> 180825 Philip Webb wrote:
>> > Thanks for the replies :
>> > it looks as if 'tar' mb adequate, but I'll think re it & make a test.
>>
>> I used 'tar -a' to copy the contents of the partition to a USB stick,
>> then copied them back to another partition, updated Lilo
>> & it booted successfully into the new partition, which works the same.
>>
>> --
>> ,,
>> SUPPORT ___//___,   Philip Webb
>> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
>> TRANSIT`-O--O---'   purslowatchassdotutorontodotca
>>
>>
>>

Hi all

I use fsarchiver and SystemRescueCD for years.
It works fine.

Regards

Jacques

>
>


Re: [gentoo-user] Is my SSD dying?

2017-09-02 Thread Jacques Montier
Hello,

I once encountered the problem with my Crucial SSD.
I found a procedure to make the SSD detected which worked for me.
http://forums.crucial.com/t5/Crucial-SSDs/Why-did-my-SSD-quot-disappear-quot-from-my-system/ta-p/65215
Hope this will help.

Cheers,



*--*
*Jacques*

2017-09-02 11:51 GMT+02:00 Peter Humphrey :

> On Saturday, 2 September 2017 10:32:23 BST I wrote:
>
> > ... Now smartmon appears to run ok - provided that I remove DEVICESCAN
> > from /etc/smartd.conf and give it a specific device to monitor ...
>
> Some months ago someone here mentioned a test suite for SSDs, but I can't
> remember what it was called and now I can't find it. Can someone point me
> in
> the right direction, please?
>
> --
> Regards,
> Peter.
>
>
>


[Solved] Re: [gentoo-user] Nvidia-drivers does not compile anymore

2016-04-30 Thread Jacques Montier
2016-04-30 17:41 GMT+02:00 Jacques Montier <jmont...@gmail.com>:

> 2016-04-30 15:25 GMT+02:00 Neil Bothwick <n...@digimed.co.uk>:
>
>> On Sat, 30 Apr 2016 14:01:12 +0200, Jacques Montier wrote:
>>
>> > You can get the complete log in the attached file
>> > x11-drivers:nvidia-drivers-340.76:20160430-104727.log
>>
>> Which ends with
>>
>>  !!! User patches were applied to this build!
>>
>> Are you applying your own patches? Do you have anything
>> in /etc/portage/patches/x11-drivers?
>>
>> I've been caught by this one before, adding a patch that was necessary
>> for the current version, which then causes newer versions to fail.
>>
>>
>> --
>> Neil Bothwick
>>
>> If I want your opinion, I'll ask you to fill out the necessary form.
>>
>
>
> Thank you Neil,
>
> Yes, i applied the nvidia-drivers-340-76-kernel-4.0.patch (attached file).
> So i tried compiling nvidia-drivers without any patch and it fails with
> the errors :
>
> make[3]: ***
> [/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-pat.o]
> Error 1
> /var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-procfs.o]
> Error 1
>
> Complete log in attached file.
>
> Best regards,
>
>
> *--*
> *Jacques*
>

Hello again,

I've found a working nvidia-drivers-340-96 (instead of 340-76) which
compiles fine with the 4.4.6 kernel and without any patch !
So it's solved !

Thanks a lot for your responses.

Best regards,

*--*
*Jacques*


[gentoo-user] Nvidia-drivers does not compile anymore

2016-04-30 Thread Jacques Montier
Hello all,

I need nvidia-drivers-340.76 for my Nvidia GeForce GT240 graphic card.
I use nvidia-drivers-340.76 from a local overlay with the
nvidia-drivers-340-76-kernel-4.0.patch which works fine with
gentoo-sources-4.1.15-r1.
I would like to upgrade to the 4.4.6 kernel.
Unfortunately, nvidia-drivers-340.76 does not compile anymore.
I get the errors :

3410:make[3]: ***
[/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-procfs.o]
Error 1
3651:make[2]: ***
[_module_/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel]
Error 2
3654:make[1]: *** [sub-make] Error 2
3659:make: *** [nvidia.ko] Error 1

Any idea ? New patch ?

Thanks a lot,

Regards,

*--*
*Jacques*


Re: [gentoo-user] Open-Channel SSD target support option

2016-04-26 Thread Jacques Montier
2016-04-26 3:20 GMT+02:00 Adam Carter <adamcart...@gmail.com>:

> On Mon, Apr 25, 2016 at 8:21 PM, Jacques Montier <jmont...@gmail.com>
> wrote:
>
>> Hello all,
>>
>> In the new stable kernel configuration (4.4.6-gentoo-sources) there is
>> the option :
>>
>> *Open-Channel SSD target support (NVM) [N/y/?] (NEW) ?*
>>
>> *CONFIG_NVM:*
>>
>
> Unless you have a NVMe motherboard and disk (which are quite new and you
> would likely know about it), leave it off as it wont/cant be used.
>
> Most SSDs are AHCI, so make sure the kernel is configured for that and
> controller is using that in the MB settings, otherwise you will be use an
> older, slower interface.
>
>
Thank you Adam,

Yes my mobo is rather old and my SSD is AHCI.
So i leave the option unchecked.

Regards,

*--*
*Jacques*


[gentoo-user] Open-Channel SSD target support option

2016-04-25 Thread Jacques Montier
Hello all,

In the new stable kernel configuration (4.4.6-gentoo-sources) there is the
option :

*Open-Channel SSD target support (NVM) [N/y/?] (NEW) ?*

*CONFIG_NVM:*

*Say Y here to get to enable Open-channel SSDs.*

*Open-Channel SSDs implement a set of extension to SSDs, that*
*exposes direct access to the underlying non-volatile memory.*

*If you say N, all options in this submenu will be skipped and disabled*
*only do this if you know what you are doing.*

*Symbol: NVM [=n]*
*Type  : boolean*
*Prompt: Open-Channel SSD target support*
*  Location:*
*-> Device Drivers*
*  Defined at drivers/lightnvm/Kconfig:5*
*  Depends on: BLOCK [=y]*


Gentoo is installed on a 256 Mo Crucial SSD and  i see the line "*only do
this if you know what you are doing"...*
So is it safe to select this option or not ?

Thank you in advance for your response,

Regards,


*--*
*Jacques*


[gentoo-user] [SOLVED] Re: nvidia-drivers-340.76 failed with gentoo-sources-4.0.5

2015-06-18 Thread Jacques Montier
2015-06-18 13:03 GMT+02:00 Jacques Montier jmont...@gmail.com:

 Hi all,

 Because of an old graphic card, i have to compile nvidia-drivers-340.76.
 nvidia-drivers-340.76 does not compile with the new 4.0.5 kernel.
 Here is the output error :
 /var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-pat.o]
 Error 1

 I saw a topic about that problem on Gentoo forum :
 https://forums.gentoo.org/viewtopic-p-7754020.html?sid=3b9fed3069c0b6644c1a41e839455b85
 I tried to apply the patch
 /etc/portage/patches/x11-drivers/nvidia-drivers/nvidia-drivers-340.76.patch

 *--- a/kernel/nv-pat.c.orig *
 *+++ b/kernel/nv-pat.c *
 *@@ -35,8 +35,13 @@ *
 * unsigned long cr0 = read_cr0(); *
 * write_cr0(((cr0  (0xdfff)) | 0x4000)); *
 * wbinvd(); *
 *+if LINUX_VERSION_CODE  KERNEL_VERSION(3, 20, 0) *
 * *cr4 = read_cr4(); *
 * if (*cr4  0x80) write_cr4(*cr4  ~0x80); *
 *+else *
 *+*cr4 = __read_cr4(); *
 *+if (*cr4  0x80) __write_cr4(*cr4  ~0x80); *
 *+endif *
 * __flush_tlb(); *
 * } *

 *@@ -46,7 +51,11 @@ *
 * wbinvd(); *
 * __flush_tlb(); *
 * write_cr0((cr0  0x9fff)); *
 *+if LINUX_VERSION_CODE  KERNEL_VERSION(3, 20, 0) *
 * if (cr4  0x80) write_cr4(cr4); *
 *+else *
 *+if (cr4  0x80) __write_cr4(cr4); *
 *+endif *
 * } *

 * static int nv_determine_pat_mode(void)*

 This patch does not work ; i get the error

 * Failed Patch: nvidia-drivers-340.76.patch !
  *  (
 /etc/portage/patches//x11-drivers/nvidia-drivers/nvidia-drivers-340.76.patch
 )


 Any idea ?

 Thanks a lot,


 Cheers,






 *--*
 *Jacques*




Hello again,

I think there were some typo in the patch line.
I downloaded a tar.gz patch archive from gentoo forum :
http://dev.gentoo.org/~gienah/unsupported/etc-portage-patches-x11-drivers-nvidia-drivers-340.76-for-kernel-gt-3.14.tar.gz
Now nvidia-drivers compiles fine and everything is ok.

Sorry for the noise,

Cheers,




*--*
*Jacques*


[gentoo-user] nvidia-drivers-340.76 failed with gentoo-sources-4.0.5

2015-06-18 Thread Jacques Montier
Hi all,

Because of an old graphic card, i have to compile nvidia-drivers-340.76.
nvidia-drivers-340.76 does not compile with the new 4.0.5 kernel.
Here is the output error :
/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-pat.o]
Error 1

I saw a topic about that problem on Gentoo forum :
https://forums.gentoo.org/viewtopic-p-7754020.html?sid=3b9fed3069c0b6644c1a41e839455b85
I tried to apply the patch
/etc/portage/patches/x11-drivers/nvidia-drivers/nvidia-drivers-340.76.patch

*--- a/kernel/nv-pat.c.orig *
*+++ b/kernel/nv-pat.c *
*@@ -35,8 +35,13 @@ *
* unsigned long cr0 = read_cr0(); *
* write_cr0(((cr0  (0xdfff)) | 0x4000)); *
* wbinvd(); *
*+if LINUX_VERSION_CODE  KERNEL_VERSION(3, 20, 0) *
* *cr4 = read_cr4(); *
* if (*cr4  0x80) write_cr4(*cr4  ~0x80); *
*+else *
*+*cr4 = __read_cr4(); *
*+if (*cr4  0x80) __write_cr4(*cr4  ~0x80); *
*+endif *
* __flush_tlb(); *
* } *

*@@ -46,7 +51,11 @@ *
* wbinvd(); *
* __flush_tlb(); *
* write_cr0((cr0  0x9fff)); *
*+if LINUX_VERSION_CODE  KERNEL_VERSION(3, 20, 0) *
* if (cr4  0x80) write_cr4(cr4); *
*+else *
*+if (cr4  0x80) __write_cr4(cr4); *
*+endif *
* } *

* static int nv_determine_pat_mode(void)*

This patch does not work ; i get the error

* Failed Patch: nvidia-drivers-340.76.patch !
 *  (
/etc/portage/patches//x11-drivers/nvidia-drivers/nvidia-drivers-340.76.patch
)


Any idea ?

Thanks a lot,


Cheers,






*--*
*Jacques*


Re: [gentoo-user] tip ou pulseaudio

2015-01-07 Thread Jacques Montier
Hello,

I had the same problem some months ago.
Adding the line
set-sink-port alsa_output.pci-_00_1b.0.analog-stereo
analog-output-lineout
to /etc/pulse/default.pa solved the problem.

Hope that will help,



*--*
*Jacques*

2015-01-07 11:41 GMT+01:00 Francisco Ares fra...@gmail.com:

 Hi All,

 I have been strugling with pulseaudio for a while now. The problem is that
 it selects as the only default output interface an HDMI (digital) port in
 the video card.

 How do I set it up to select the usual analog output as default (or even
 better, select both)?

 Thanks,
 Francisco



[gentoo-user] emerge world problem with one package

2014-10-26 Thread Jacques Montier
Hello all,

Since few, when i run emerge -auvDN world, i get hugin to re-emerge again
and again (with r to force re-install)...

[ebuild  rR   ~] media-gfx/hugin-2014.0.0-r1  USE=python -debug -lapack
-sift LINGUAS=fr -cs -da -de -en_GB -es -eu -fi -hu -it -ja -nl -pl
-pt_BR -ro -ru -sk -sv -zh_CN -zh_TW PYTHON_SINGLE_TARGET=python2_7
(-python3_2) -python3_3 -python3_4 PYTHON_TARGETS=python2_7 python3_3
(-python3_2) -python3_4 0 kB

I don't have any PYTHON_SINGLE_TARGET and PYTHON_TARGETS lines in make.conf.

How could i get rid of that ?

attached file emerge_info.txt

Thanks for your help,

Regards,

*--*
*Jacques*
Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 
3.16.5-gentoo x86_64)
=
System uname: 
Linux-3.16.5-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.2
KiB Mem:18491292 total,  14936804 free
KiB Swap:2097148 total,   2097148 free
Timestamp of tree: Sun, 26 Oct 2014 10:15:01 +
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:  4.2_p53
dev-java/java-config: 2.2.0
dev-lang/perl:5.18.2-r2
dev-lang/python:  2.7.7, 3.3.5-r1, 3.4.1
dev-util/cmake:   2.8.12.2-r1
dev-util/pkgconfig:   0.28-r1
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.9.6-r3, 1.10.3, 1.11.6, 1.13.4
sys-devel/binutils:   2.23.2
sys-devel/gcc:4.8.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool:2.4.2-r1
sys-devel/make:   4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:   2.19-r1
Repositories: gentoo jtriley overlay_local
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -@EULA
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=native -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/config /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/php/apache2-php5.5/ext-active/ 
/etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ 
/etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo
CXXFLAGS=-march=native -O2 -pipe
DISTDIR=/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=--autounmask=n
FCFLAGS=-O2 -pipe
FEATURES=assume-digests binpkg-logs candy 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
FFLAGS=-O2 -pipe
GENTOO_MIRRORS=http://distfiles.gentoo.org;
INSTALL_MASK=/lib/systemd/system /usr/lib/systemd/system
LANG=fr_FR.utf8
LC_ALL=
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j9 -l8
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=/var/lib/layman/jtriley /usr/portage/local
SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
USE=X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda 
cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode 
exif 
fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap 
libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl 
openmp 
pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell 
sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode 
upower 
usb vorbis wxwidgets x264 xcb xml xv xvid zlib ABI_X86=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=canon 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 

Re: [gentoo-user] emerge world problem with one package

2014-10-26 Thread Jacques Montier
2014-10-26 17:43 GMT+01:00 Daniel Frey djqf...@gmail.com:

 On 26/10/2014 8:58 AM, Jacques Montier wrote:

 Hello all,

 Since few, when i run emerge -auvDN world, i get hugin to re-emerge again
 and again (with r to force re-install)...

 [ebuild  rR   ~] media-gfx/hugin-2014.0.0-r1  USE=python -debug -lapack
 -sift LINGUAS=fr -cs -da -de -en_GB -es -eu -fi -hu -it -ja -nl -pl
 -pt_BR -ro -ru -sk -sv -zh_CN -zh_TW PYTHON_SINGLE_TARGET=python2_7
 (-python3_2) -python3_3 -python3_4 PYTHON_TARGETS=python2_7 python3_3
 (-python3_2) -python3_4 0 kB

 I don't have any PYTHON_SINGLE_TARGET and PYTHON_TARGETS lines in
 make.conf.


 This may be a python package problem elsewhere, have you tried running
 `python-updater`?

 Dan



Thanks Dan,

Yes, i tried python-updater, but each time, it compiled the two same
packages : sys-libs/libcap-ng-0.7.3 and net-misc/dropbox-2.10.2.
Then again
# emerge -uvDN world
#[ebuild  rR   ~] media-gfx/hugin-2014.0.0-r1


Re: [gentoo-user] emerge world problem with one package [solved]

2014-10-26 Thread Jacques Montier
2014-10-26 19:47 GMT+01:00 Alexander Kapshuk alexander.kaps...@gmail.com:

 On Sun, Oct 26, 2014 at 5:58 PM, Jacques Montier jmont...@gmail.com
 wrote:
  [ebuild  rR   ~] media-gfx/hugin-2014.0.0-r1  USE=python -debug -lapack
  -sift LINGUAS=fr -cs -da -de -en_GB -es -eu -fi -hu -it -ja -nl -pl
 -pt_BR
  -ro -ru -sk -sv -zh_CN -zh_TW PYTHON_SINGLE_TARGET=python2_7
 (-python3_2)
  -python3_3 -python3_4 PYTHON_TARGETS=python2_7 python3_3 (-python3_2)
  -python3_4 0 kB
 
  I don't have any PYTHON_SINGLE_TARGET and PYTHON_TARGETS lines in
 make.conf.

 Those are defined in your system profile:
 grep -i '^python_[st].*' /usr/portage/profiles/base/make.defaults
 PYTHON_TARGETS=python2_7 python3_3
 PYTHON_SINGLE_TARGET=python2_7

 See if this helps, http://forums.gentoo.org/viewtopic-t-949306.html.



Hello,

Yes Alexander your link helped me !
So i now understand what happened.
I upgraded hugin and his dependency  libpano13 from stable to ~ by setting
these two packages into package.keywords.
Then i (accidently) removed libpano13 from keywords... :-(
That's why i got the rR (force to be rebuilt Hugin) each time i ran
emerge -uvDN world.
Now everything is ok !

Thanks a lot to Alexander and Dan !

Regards,


Re: [gentoo-user] XFCE weather plugin does not work

2014-10-17 Thread Jacques Montier
Hello,

Same issue here...

Cheers,

*--*
*Jacques*

2014-10-17 13:37 GMT+02:00 Gevisz gev...@gmail.com:

 Already for a a few days my XFCE weather plugin
 (xfce-extra/xfce4-weather-plugin-0.8.3-r1) does
 not work (forecast data unavailable).

 Its website (
 http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin)
 says that You need to apply two patches on version 0.8.3 because Met.no
 API has changed.

 May be it is the cause.

 If so, may I ask supporters to make the corresponding changes to the
 ebuild.




Re: [gentoo-user] Python and man problems

2014-08-08 Thread Jacques Montier
Hello,

I use Terminator with XFCE and scroll works fine with mouse wheel.

Cheers,

*--*
*Jacques*


2014-08-08 11:52 GMT+02:00 Philip Webb purs...@ca.inter.net:

 140808 Helmut Jarausch wrote:
  does anybody know how to tell 'most' to scroll when I use my mouse wheel?

 IIRC it's KDE which does it for me : Most runs in a Konsole.

 --
 ,,
 SUPPORT ___//___,   Philip Webb
 ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
 TRANSIT`-O--O---'   purslowatchassdotutorontodotca





Re: [gentoo-user] dropbox on xfce

2013-05-12 Thread Jacques Montier
Hi Luis,

I don't se any thunar-dropbox in portage
You could install gnome-extra/nautilus-dropbox.
I work on xfce and dropbox is launched with xfce starting (dropbox.desktop
in ~/.config/autostart) ; everything works fine.

Cheers,

--
Jacques


2013/5/12 luis jure l...@internet.com.uy


 any hints how to make dropbox work on xfce? google returned many hits for
 other distributions, or for gentoo but on kde or gnome.

 i installed net-misc/dropbox and xfce-extra/thunar-dropbox but all i can
 do is upload files with a browser on the website (that is, it recognizes
 i have dropbox installed in my computer).

 if i run dropbox from the terminal an icon appears on the tray, but it
 doesn't do anything. a Dropbox directory was created in my home, but it is
 empty and doesn't show the files i uploaded. thunar-xfce doesn't do
 anything either.

 i installed dropbox on a netbook with xubuntu (also running xfce) and it
 just worked. the Dropbox folder shows my uploaded files, and the tray icon
 responds.

 unfortunately i need dropbox to work on a project with some colleagues
 that are using dropbox to share the files.

 any help would be very appreciated.




[gentoo-user] Kdelibs configure error

2013-05-01 Thread Jacques Montier
Hi all,

I get a configure error when upgrading from kdelibs-4.10.1-r1 to
kdelibs-4.10.2.
I get the error message :

CMake Error at
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
  Did not find automoc4 (Automoc4Config.cmake, install
  git://anongit.kde.org/automoc).  (missing: AUTOMOC4_EXECUTABLE)

So i run : export Automoc4_DIR=/usr/lib/automoc4

Then configure goes further on, but it stops with another error message :

--
-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-
   * Strigi (0.6.3 or higher)  http://strigi.sourceforge.net
 Desktop indexing and search support
 Required by some critical kioslaves

--

It does not find strigi which is however installed :

[I] app-misc/strigi
 Available versions:  0.7.7-r2 {{clucene +dbus debug exif fam ffmpeg
hyperestraier inotify log +qt4 test}}
 Installed versions:  0.7.7-r2(12:33:53 30/04/2013)(dbus exif fam qt4
-clucene -debug -ffmpeg -hyperestraier -inotify -log -test)

Have you an idea to help me ?

Thanks very much,


--
Jacques


--emerge --info =kde-base/kdelibs-4.10.1-r1
Portage 2.1.11.62 (default/linux/amd64/13.0/desktop, gcc-4.6.3,
glibc-2.15-r3, 3.7.10-gentoo-r1 x86_64)
=
System Settings
=
System uname: Linux-3.7.10-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@
_3.07GHz-with-gentoo-2.2
KiB Mem:18492564 total,  13226240 free
KiB Swap:2097148 total,   2097148 free
Timestamp of tree: Wed, 01 May 2013 07:45:01 +
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:  4.2_p37
dev-java/java-config: 2.1.12-r1
dev-lang/python:  2.7.3-r3, 3.2.3-r2
dev-util/cmake:   2.8.10.2-r2
dev-util/pkgconfig:   0.28
sys-apps/baselayout:  2.2
sys-apps/openrc:  0.11.8
sys-apps/sandbox: 2.5
sys-devel/autoconf:   2.13, 2.69
sys-devel/automake:   1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:   2.22-r1
sys-devel/gcc:4.4.7, 4.5.4, 4.6.3
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.15-r3
Repositories: gentoo overlay_local
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -@EULA
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=native -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt
/usr/share/polkit-1/actions
CONFIG_PROTECT_MASK=${EPREFIX}/etc/gconf /etc/ca-certificates.conf
/etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/
/etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
/etc/splash /etc/terminfo
CXXFLAGS=-march=native -O2 -pipe
DISTDIR=/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=--autounmask=n
FCFLAGS=-O2 -pipe
FEATURES=assume-digests binpkg-logs candy config-protect-if-modified
distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs
unmerge-orphans userfetch userpriv usersandbox
FFLAGS=-O2 -pipe
GENTOO_MIRRORS=http://distfiles.gentoo.org;
LANG=fr_FR.UTF-8
LC_ALL=
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j3
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --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=/usr/portage/local
SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
USE=X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo
cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr
emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6
jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib
ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds
qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification
svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264
xcb xml xv xvid zlib ABI_X86=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 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=authn_core authz_core socache_shmcb unixd actions alias
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file

[gentoo-user] Re: Kdelibs configure error

2013-05-01 Thread Jacques Montier
Me again,

I think this error is due to the /usr/local/lib symlink - /usr/lib64.
Some days ago, i upgraded to baselayout-2.2.
The compile logs said :
Your system profile has SYMLINK_LIB=yes, so that means you need to
 have these paths configured as follows:
 symlinks to 'lib64': /usr/local/lib

So, i symlinked /usr/local/lib - /usr/lib64.

What is wrong to do that ?

I deleted the symlink and now kdelibs configure works fine.

What's your advice ?

thanks a lot,

Cheers,

--
Jacques







2013/5/1 Jacques Montier jmont...@gmail.com

 Hi all,

 I get a configure error when upgrading from kdelibs-4.10.1-r1 to
 kdelibs-4.10.2.
 I get the error message :
 
 CMake Error at
 /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
   Did not find automoc4 (Automoc4Config.cmake, install
   git://anongit.kde.org/automoc).  (missing: AUTOMOC4_EXECUTABLE)
 
 So i run : export Automoc4_DIR=/usr/lib/automoc4

 Then configure goes further on, but it stops with another error message :

 --
 -- The following REQUIRED packages could NOT be located on your system.
 -- You must install these packages before continuing.

 -
* Strigi (0.6.3 or higher)  http://strigi.sourceforge.net
  Desktop indexing and search support
  Required by some critical kioslaves

 --

 It does not find strigi which is however installed :

 [I] app-misc/strigi
  Available versions:  0.7.7-r2 {{clucene +dbus debug exif fam ffmpeg
 hyperestraier inotify log +qt4 test}}
  Installed versions:  0.7.7-r2(12:33:53 30/04/2013)(dbus exif fam qt4
 -clucene -debug -ffmpeg -hyperestraier -inotify -log -test)

 Have you an idea to help me ?

 Thanks very much,


 --
 Jacques


 --emerge --info =kde-base/kdelibs-4.10.1-r1
 Portage 2.1.11.62 (default/linux/amd64/13.0/desktop, gcc-4.6.3,
 glibc-2.15-r3, 3.7.10-gentoo-r1 x86_64)
 =
 System Settings
 =
 System uname: Linux-3.7.10-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@
 _3.07GHz-with-gentoo-2.2
 KiB Mem:18492564 total,  13226240 free
 KiB Swap:2097148 total,   2097148 free
 Timestamp of tree: Wed, 01 May 2013 07:45:01 +
 ld GNU ld (GNU Binutils) 2.22
 app-shells/bash:  4.2_p37
 dev-java/java-config: 2.1.12-r1
 dev-lang/python:  2.7.3-r3, 3.2.3-r2
 dev-util/cmake:   2.8.10.2-r2
 dev-util/pkgconfig:   0.28
 sys-apps/baselayout:  2.2
 sys-apps/openrc:  0.11.8
 sys-apps/sandbox: 2.5
 sys-devel/autoconf:   2.13, 2.69
 sys-devel/automake:   1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
 sys-devel/binutils:   2.22-r1
 sys-devel/gcc:4.4.7, 4.5.4, 4.6.3
 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.15-r3
 Repositories: gentoo overlay_local
 ACCEPT_KEYWORDS=amd64
 ACCEPT_LICENSE=* -@EULA
 CBUILD=x86_64-pc-linux-gnu
 CFLAGS=-march=native -O2 -pipe
 CHOST=x86_64-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt
 /usr/share/polkit-1/actions
 CONFIG_PROTECT_MASK=${EPREFIX}/etc/gconf /etc/ca-certificates.conf
 /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
 /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/
 /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
 /etc/splash /etc/terminfo
 CXXFLAGS=-march=native -O2 -pipe
 DISTDIR=/usr/portage/distfiles
 EMERGE_DEFAULT_OPTS=--autounmask=n
 FCFLAGS=-O2 -pipe
 FEATURES=assume-digests binpkg-logs candy config-protect-if-modified
 distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs
 unmerge-orphans userfetch userpriv usersandbox
 FFLAGS=-O2 -pipe
 GENTOO_MIRRORS=http://distfiles.gentoo.org;
 LANG=fr_FR.UTF-8
 LC_ALL=
 LDFLAGS=-Wl,-O1 -Wl,--as-needed
 MAKEOPTS=-j3
 PKGDIR=/usr/portage/packages
 PORTAGE_CONFIGROOT=/
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --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=/usr/portage/local
 SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
 USE=X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo
 cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr
 emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6
 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib
 ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds
 qt3support qt4 readline sdl session spell sse sse2 ssl startup

[SOLVED]Re: [gentoo-user] Re: Kdelibs configure error

2013-05-01 Thread Jacques Montier
Thanks Marc,

It's all ok now.

Regards,

--
Jacques


2013/5/1 Marc Joliet mar...@gmx.de

 Am Wed, 1 May 2013 16:05:25 +0200
 schrieb Jacques Montier jmont...@gmail.com:

  Me again,
 
  I think this error is due to the /usr/local/lib symlink - /usr/lib64.
  Some days ago, i upgraded to baselayout-2.2.
  The compile logs said :
  Your system profile has SYMLINK_LIB=yes, so that means you need to
   have these paths configured as follows:
   symlinks to 'lib64': /usr/local/lib
 
  So, i symlinked /usr/local/lib - /usr/lib64.
 
  What is wrong to do that ?
 
  I deleted the symlink and now kdelibs configure works fine.

 It's good that you figured it out :) .

  What's your advice ?

 You were supposed to:

 1. move /usr/local/lib to /usr/local/lib64
 2. create a /usr/local/lib symlink that points to /usr/local/lib64

 This is exactly like how /usr/lib points to /usr/lib64 and /lib points
 to /lib64:

 $ ls -lhd {,/usr,/usr/local}/lib
 lrwxrwxrwx 1 root root 5 11. Jan 11:41 /lib - lib64
 lrwxrwxrwx 1 root root 6 10. Sep 2007  /usr/lib - lib64/
 lrwxrwxrwx 1 root root 5 22. Mai 2012  /usr/local/lib - lib64

  thanks a lot,
 
  Cheers,
 
  --
  Jacques

 HTH
 --
 Marc Joliet
 --
 People who think they know everything really annoy those of us who know we
 don't - Bjarne Stroustrup



Re: [gentoo-user] Re: Kdelibs configure error

2013-05-01 Thread Jacques Montier
2013/5/1 Marc Joliet mar...@gmx.de

 Am Wed, 1 May 2013 16:05:25 +0200
 schrieb Jacques Montier jmont...@gmail.com:

  Me again,
 
  I think this error is due to the /usr/local/lib symlink - /usr/lib64.
  Some days ago, i upgraded to baselayout-2.2.
  The compile logs said :
  Your system profile has SYMLINK_LIB=yes, so that means you need to
   have these paths configured as follows:
   symlinks to 'lib64': /usr/local/lib
 
  So, i symlinked /usr/local/lib - /usr/lib64.
 
  What is wrong to do that ?
 
  I deleted the symlink and now kdelibs configure works fine.

 It's good that you figured it out :) .

  What's your advice ?

 You were supposed to:

 1. move /usr/local/lib to /usr/local/lib64
 2. create a /usr/local/lib symlink that points to /usr/local/lib64

 This is exactly like how /usr/lib points to /usr/lib64 and /lib points
 to /lib64:

 $ ls -lhd {,/usr,/usr/local}/lib
 lrwxrwxrwx 1 root root 5 11. Jan 11:41 /lib - lib64
 lrwxrwxrwx 1 root root 6 10. Sep 2007  /usr/lib - lib64/
 lrwxrwxrwx 1 root root 5 22. Mai 2012  /usr/local/lib - lib64

  thanks a lot,
 
  Cheers,
 
  --
  Jacques

 HTH
 --
 Marc Joliet
 --
 People who think they know everything really annoy those of us who know we
 don't - Bjarne Stroustrup




Sorry for top-posting... :-(

--
Jacques


Re: [gentoo-user] Re: Boost version problem [solved but dirty]

2013-01-26 Thread Jacques Montier
2013/1/25 Florian Philipp li...@binarywings.net

 Am 25.01.2013 20:02, schrieb Nikos Chantziaras:
  On 24/01/13 21:15, Florian Philipp wrote:
  Am 24.01.2013 18:57, schrieb Jacques Montier:
  2013/1/24 microcai micro...@fedoraproject.org
  mailto:micro...@fedoraproject.org
  [...]
   
Libreoffice-4.0 needs boost  1.49 (so works with
   boost-1.52.0-r5) and
Nightshade LSS (for planetarium but not in portage) needs
  boost
1.5
(so works with 1.49.0-r2).
Is it possible to install both 1.49 and 1.52 (in new slot) ?
 
   update Nightshade to work with boost 1.52 is the only way to go.
  [...]
  I already tried that, but Nightshade doesn't compile with
  boost-1.52... :-((
 
 
  I could rant about the stupidity that is boost and/or packages that
  depend on it for some time but Flameeyes does a far better job at that.
 
  I wonder what the view on bundled boost headers is with Gentoo devs. I'm
  currently working on a project where I need boost, and now I'm thinking
  about using BCP (http://www.boost.org/doc/libs/1_52_0/tools/bcp) to
  bundle what I need within the project.  At least this would guarantee
  that the package wouldn't be affected by this issue.
 
 

 As I understand it, bundling the headers is exactly what you are
 supposed to do with boost.

 Regards,
 Florian Philipp


Hello everybody,

Finally i solved my problem, but in a dirty manner i don't like, but no
choice for me...
I noticed Nightshade needed 3 files :
/usr/lib64/libboost_filesystem-mt-1_46.so.1.46.1
/usr/lib64/libboost_system-mt-1_46.so.1.46.1
/usr/lib64/libboost_regex-mt-1_46.so.1.46.1

- I downloaded boost-1.46 (not in portage anymore) and some patches in an
overlay.
- Installed boost-1.46
- backup the 3 files.
- Uninstalled 1.46 and upgraded to boost-1.52 (needed by LibreOffice-4.0)
and symlinked the 3 files in /usr/lib64.

LibreOffice works, Nightshade does not see anything and works nice too.

Dirty as i said before, but i couldn't solve that issue otherwise.

Cheers,

--
Jacques


[gentoo-user] Boost version problem

2013-01-24 Thread Jacques Montier
Hi all,

Libreoffice-4.0 needs boost  1.49 (so works with boost-1.52.0-r5) and
Nightshade LSS (for planetarium but not in portage) needs boost  1.5 (so
works with 1.49.0-r2).
Is it possible to install both 1.49 and 1.52 (in new slot) ?
When i emerge boost-1.52, boots-1.49 in uninstalled and vice versa.

Thank you for your help,

Best regards,

--
Jacques


Re: [gentoo-user] Re: Boost version problem

2013-01-24 Thread Jacques Montier
2013/1/24 Nikos Chantziaras rea...@gmail.com

 On 24/01/13 17:05, Alan McKinnon wrote:

 On Thu, 24 Jan 2013 15:53:48 +0100
 Jacques Montier jmont...@gmail.com wrote:

  Hi all,

 Libreoffice-4.0 needs boost  1.49 (so works with boost-1.52.0-r5) and
 Nightshade LSS (for planetarium but not in portage) needs boost  1.5
 (so works with 1.49.0-r2).
 Is it possible to install both 1.49 and 1.52 (in new slot) ?


 No.

 Boost IIRC used to be slotted, but not anymore. Like any other package,
 you get one and only one version at a time.

  When i emerge boost-1.52, boots-1.49 in uninstalled and vice versa.


 So don't install boost-1.52 and take it out of world if you have it
 there.

 Portage will install boost-1.49.0-r2 for you and maintain the updates
 for you. You do not have to fiddle with it.


 What if I need boost-1.52 for my own software I build?



Libreoffice-4.0 needs app-text/libmspub and dev-libs/liborcus which need
boost-1.52.
So what can i do ?
Actually, i have boost-1.49.0-r2 and Libreoffice-3.6.4.3

--
Jacques


Re: [gentoo-user] Re: Boost version problem

2013-01-24 Thread Jacques Montier
2013/1/24 microcai micro...@fedoraproject.org

 2013/1/24 Jacques Montier jmont...@gmail.com:
 
 
  2013/1/24 Nikos Chantziaras rea...@gmail.com
 
  On 24/01/13 17:05, Alan McKinnon wrote:
 
  On Thu, 24 Jan 2013 15:53:48 +0100
  Jacques Montier jmont...@gmail.com wrote:
 
  Hi all,
 
  Libreoffice-4.0 needs boost  1.49 (so works with boost-1.52.0-r5) and
  Nightshade LSS (for planetarium but not in portage) needs boost  1.5
  (so works with 1.49.0-r2).
  Is it possible to install both 1.49 and 1.52 (in new slot) ?

 update Nightshade to work with boost 1.52 is the only way to go.

 
 
  No.
 
  Boost IIRC used to be slotted, but not anymore. Like any other package,
  you get one and only one version at a time.
 
  When i emerge boost-1.52, boots-1.49 in uninstalled and vice versa.
 
 
  So don't install boost-1.52 and take it out of world if you have it
  there.
 
  Portage will install boost-1.49.0-r2 for you and maintain the updates
  for you. You do not have to fiddle with it.
 
 
  What if I need boost-1.52 for my own software I build?
 
 
 
  Libreoffice-4.0 needs app-text/libmspub and dev-libs/liborcus which need
  boost-1.52.
  So what can i do ?
  Actually, i have boost-1.49.0-r2 and Libreoffice-3.6.4.3
 
  --
  Jacques
 
 


I already tried that, but Nightshade doesn't compile with boost-1.52... :-((

Thanks,

--
Jacques


[gentoo-user] Suspend to ram problems

2012-12-23 Thread Jacques Montier
Hi all,

I upgraded from 3.5.7 to 3.6.11 kernel gentoo-sources and everything works
fine except suspend to ram process.

My configuration : Two hard drives sda (HDD) and sdb (SSD)

Everything works fine with 3.5.7 kernel gentoo-sources

With pm-suspend, the system seems to suspend fine, but with the power on
again, i get :
- black screen, then XFCE desktop appears but nothing is working anymore.
for example : ls, /usr/bin/firefox, etc.. gives I/O error message.

- If i switch to a terminal with : CTRL + ALT + F1, i can't execute
/sbin/shutdown.

- So - reset.

- In /var/log/pm-powersave.log, i noticed some error lines :

Disabling hard drive power management for /dev/sda...Failed.
Disabling hard drive power management for /dev/sdb...Failed.

--

/usr/lib64/pm-utils/power.d/pcie_aspm: line 9: echo: write error: Operation
not permitted

/usr/sbin/pm-powersave: ligne72: /usr/bin/on_ac_power: Erreur
d'entrée/sortie

---

Enabling power management for /dev/sda...Done.
Enabling power management for /dev/sdb...Failed.



Setting journal commit time for / to
600.../usr/lib64/pm-utils/power.d/journal-commit : ligne 24 :  5024 Erreur
du bus   mount -o remount,$2 $1
Failed.


In pm-suspend.log, i get :

/usr/lib64/pm-utils/sleep.d/99video: ligne97: /usr/bin/deallocvt: Erreur
d'entrée/sortie


What's going on ?

Thank you for your help,

Merry Christmas to all of you !

Regards,

--
Jacques


Re: [gentoo-user] Ext4 problem and disk access

2012-12-09 Thread Jacques Montier
2012/12/9 Andre Goessel gentoo-u...@goessel.net

 Moin,

 On Sat, Dec 08, 2012 at 03:36:29PM +0100, Jacques Montier wrote:
  As soon as i mount an ext4 partition on my second 1To HDD, the hard drive
  is always working (read/write) every second (even when doing nothing).
 
  This problem appears only with /dev/sda5 and /dev/sda6 and stops when
  unmouting the two drives.

 I detected a similar behavior on fresh ext4 filesystems, after some
 searching I found the hint that it should be part of the ext4
 background initialisation and it should be finished after some
 time. In my case it finished after maybe 2 hours. :)


 Good luck ...
   Andre


Thank you Andre,

Solved !
Well, the problem disappeared as soon as i filled the two partitions with
data (data backed up before partitionning).
So, the initialisation seems to occur with a new empty ext4 partition only
filled with journal data.

Thanks to you two Nikos and Andre,

Regards,

--
Jacques


[gentoo-user] Ext4 problem and disk access

2012-12-08 Thread Jacques Montier
Hi,

As soon as i mount an ext4 partition on my second 1To HDD, the hard drive
is always working (read/write) every second (even when doing nothing).

Here is my fstab :
sdb is a SSD and sda HDD.

# SSD
/dev/sdb1  /bootext2noatime,discard
1 2
/dev/sdb2  /   ext4noatime,discard
0 1
/dev/sdb3  /home  ext4noatime,discard 0
0
#HDD
/dev/sda1   none   swapsw
 0 0
/dev/sda2   /var ext4noatime
  0 0
/dev/sda3   /usr/portageext4noatime
0 0
/dev/sda5   /mnt/sauvegardeext4 noatime 0 0
/dev/sda6   /mnt/disk_virt  ext4   noatime
  0 0
/dev/sda7   /mnt/donnees   ntfs-3g
auto,uid=jacques,gid=users,umask=0022   0 0

This problem appears only with /dev/sda5 and /dev/sda6 and stops when
unmouting the two drives.
The HDD partition (attached file partition).

I tried some options as commit=600, but no success.
Output of cat /proc/mounts  (attached file mounts).

Thank you for your help,

Regards,


--
Jacques


mounts
Description: Binary data


partition
Description: Binary data


Re: [gentoo-user] Re: Ext4 problem and disk access

2012-12-08 Thread Jacques Montier
I don't have Nepomuk, but maybe any other indexing service ? I don't know...
I tried to look at the processes with top and mounting /unmounting
/dev/sda5 ; i haven't seen any difference...

thank you Nikos,

--
Jacques


2012/12/8 Nikos Chantziaras rea...@gmail.com

 On 08/12/12 16:36, Jacques Montier wrote:

 As soon as i mount an ext4 partition on my second 1To HDD, the hard
 drive is always working (read/write) every second (even when doing
 nothing).


 Could it be a disk indexing service, like KDE's Nepomuk?





Re: [gentoo-user] Re: Ext4 problem and disk access

2012-12-08 Thread Jacques Montier
2012/12/8 Florian Philipp li...@binarywings.net

 
  2012/12/8 Nikos Chantziaras rea...@gmail.com mailto:rea...@gmail.com
 
  On 08/12/12 16:36, Jacques Montier wrote:
 
  As soon as i mount an ext4 partition on my second 1To HDD,
  the hard drive is always working (read/write) every second
  (even when doing nothing).
 
 
  Could it be a disk indexing service, like KDE's Nepomuk?
 
 
  Am 08.12.2012 18:30, schrieb Jacques Montier:
  I don't have Nepomuk, but maybe any other indexing service ? I don't
 know...
  I tried to look at the processes with top and mounting /unmounting
  /dev/sda5 ; i haven't seen any difference...
 
  thank you Nikos,
 
  --
  Jacques
 

 Try lsof instead to find processes accessing files. You can also try iotop.

 PS: Please don't top-post.

 Regards,
 Florian Philipp


Oh yes, sorry for top-posting :-(
I'll try lsof and iotop.

Regards,

--
Jacques


[gentoo-user] Grub and device name

2012-12-07 Thread Jacques Montier
Hi all,

I noticed a strange thing.
I have a 250 Go M4 Crucial SSD on the first drive and 1To SATA HDD on the
second one.
Then, i switched to AHCI BIOS mode, then my device names were inverted (SSD
as sdb and HDD as sda)
It was not a problem as i use UUIDs.
With a live CD as SysRescueCD, grub (LEGACY) sees the SSD as hd1 ; i write
to SSD mbr with setup (hd1). So it's ok.
Now, if i want to boot Gentoo Desktop, i have to put hd0 in
/boot/grub/grub.conf
Have you an explanation about this behaviour ?

Thanks in advance

Cheers,

--
Jacques


Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2012-12-04 Thread Jacques Montier
2012/12/4 Peter Weilbacher newss...@weilbacher.org

 On 2012-11-30 18:47, Mick wrote:

 On Friday 30 Nov 2012 09:01:35 Peter Weilbacher wrote:

 I have the same problem and this solution sucks. :-(
 Before this update I had such a nice console setup with framebuffer
 splash, a nice small font, and a Gentoo decoration around it. Really
 sad to see that go.


 KMS should provide framebuffer now, so have you set KMS and firmware
 correctly?


 I just didn't realize that this is the case, so maybe my setup is wrong.
 I'll study the documentation again.

 Cheers,
Peter.



Don't forget to disable all the drivers in Support for frame buffer
devices of your kernel configuration.

Regards,

--
Jacques


Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2012-11-28 Thread Jacques Montier
2012/11/28 Mick michaelkintz...@gmail.com

 On Tuesday 27 Nov 2012 17:18:43 design [depois das dez] wrote:
  Fellow Gentooers,
 
  although I am very happy running a Gentoo box, sometimes I bump into some
  difficulties, esp. when updating packages. This time I am having a hard
  time reconfiguring my video card, which was fine but is not anymore after
  the last system update I've made. Gnome session goes up as usual but the
  resolution is not fine and monitor complains about not being in the
  recommended mode.
 
  My video driver is an ATI Radeon 9600 (RV350) and somebody has already
  updated the section on the Gentoo wiki
  http://en.gentoo-wiki.com/wiki/Radeon#Kernels_.3E.3D3.0.0 informing that
  there might be incompatibilities concerning the RV350 firmware. I just
  don't have enough understanding of the video related parts of the system
 to
  tweak and fix this issue. How should I proceed when I have a problem of
  this sort?
 
  How do I know what is the video backend in my system? Is Xorg the only
 one
  possible? What can I do to fix this problem?

 The link you provided says that you should disable framebuffer in your
 kernel
 config.  Have you tried that?

 --
 Regards,
 Mick



Hi,

I have the same video card as yours (ATI 9600 RV350) on my old laptop and
tried the new driver by enabling modesetting on radeon by default.
Device Drivers - Graphic support - Direct Rendering Manager (y) - ATI
Radeon (y) - Enable Modesetting on radeon by default (y).
I installed the sys-kernel/linux-firmware package, and enabled  include
in-kernel firmware blobs in kernel binary
Device Drivers - Generic Driver Options - include in-kernel firmware
blobs in kernel binary (y)
I let empty External firmware blobs to build into the kernel binary.

It did not work until i disabled ALL the drivers in Support for frame
buffer devices.
Device Drivers - Graphic support - Support for frame buffer devices.

I hope that will help.

Regards,

--
Jacques


Re: [gentoo-user] SSD configuration

2012-11-26 Thread Jacques Montier
2012/11/26 Daniel Troeder dan...@admin-box.com

 On 25.11.2012 22:43, Jacques Montier wrote:
  Each time you sync the portage, you should write on the SSD...
  Is it a good thing ?
 It is the best thing since rsync! Really - it is amazing!

 And about portage: you write in your portage tree not nearly as often as
 in /home. SSDs don't die as quickly as you think. The most important
 thing about wear leveling is to keep 10% free disk space in all
 partitions and enable discard. You'll be fine then.


 --
 PGP key @
 http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x837FB8B5BB9D4887
 # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887

 Hi all,

Finally, i put :

/boot  ,  / and /home on SSD,
/var and /usr/portage on HDD
Big files on HDD and some symlinks pointing to HDD (.config, .local, etc...)
/tmp and /home/user/.cache to tmpfs.

Everything works perfectly and now it's fast and silent ;  a real pleasure !

Next time i'll have to go to 8Go RAM.

thanks to all of you !

Regards,

--
Jacques


Re: [gentoo-user] SSD configuration

2012-11-26 Thread Jacques Montier
2012/11/26 Alex Schuster wo...@wonkology.org

 Luis Gustavo Vilela de Oliveira writes:

  Well, with 8Gb RAM, i recommend use tmpfs on PORTAGE_TMPDIR, just while
 u are compiling anything.
 Or even with 6Gb too.


 I have 16 GB, with 8GB for $PORTAGE_TMPDIR on tmpfs. There were issues
 with some packages having not enough space, so I have this in
 /etc/portage/package.env:

 app-office/libreoffice  notmpfs.conf
 dev-java/icedteanotmpfs.conf
 games-fps/alienarenanotmpfs.conf
 games-fps/worldofpadman notmpfs.conf
 games-sports/vdrift notmpfs.conf
 mail-client/thunderbird notmpfs.conf
 www-client/firefox  notmpfs.conf

 /etc/portage/env.d/notmpfs.**conf has this entry, changing PORTAGE_TMPDIR
 to real HDD space:

 PORTAGE_TMPDIR=/var/portage/**tmp

 Most of these packages compile with 8 GB of space, but not with parallel
 merges, like when Thunderbird and Firefox are both being built at the same
 time.

 Alex



Ok Alex and Luis,

So i put :
PORTAGE_TMPDIR=tmpfs in /etc/make.conf
PORTAGE_TMPDIR=/var/tmp/portage (on HDD) in /etc/portage/env
in /etc/portage/package.env :
app-office/libreoffice notmpfs.conf
mail-client/thunderbird notmpfs.conf
www-client/firefox notmpfs.conf

Thanks to both of you :-)

Regards

--
Jacques


[gentoo-user] SSD configuration

2012-11-25 Thread Jacques Montier
Hi all,

I bought a 250Go SSD M4 Crucial , read (of course) Gentoo documentation and
installed the drive on my desktop pc (Asus MB, Intel ie7 and 6Go RAM).

1- Everything seems to work perfectly, but i would like to know if my
configuration is ok or could be optimized.

/tmp and /var/log are on tmpfs
/boot, / and /var are on SSD (sda),
swap, /home, /usr/portage, /var/tmp and /var/log on a 1To SATA HDD (sdb)
You can see my attached file fstab.txt

2- When booting, BIOS seems to detect the SSD as IDE not SATA ; anything
wrong ?

Thank you very much for your response,

Cheers,

--
Jacques
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't 
# needed; notail increases performance of ReiserFS (at the expense of storage 
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# fs  mountpointtype  opts  
dump/pass

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1   /boot   ext2
defaults,noatime,discard1 2
/dev/sda2   /   ext4
defaults,noatime,nodiratime,discard 0 1
/dev/sda3   /varext4
defaults,noatime,nodiratime,discard 0 0
/dev/sdb1   /mnt/donneesntfs-3g 
auto,uid=jacques,gid=users,umask=0022   0 0
/dev/sdb2   noneswapsw  
0 0
/dev/sdb5   /usr/portageext4
defaults,noatime,nodiratime 0 0
/dev/sdb6   /var/tmpext4
defaults,noatime,nodiratime 0 0
/dev/sdb7   /home   ext4
defaults,noatime,nodiratime 0 0
/dev/sdb8   /mnt/disk_virt  ext4
defaults,noatime,nodiratime 0 0

//192.168.0.12/NetHDD   /mnt/Iomega cifs
noauto,guest,soft,users,iocharset=utf8,rw 0 0
//192.168.0.11/keynux   /mnt/Keynux cifs
noauto,guest,soft,users,iocharset=utf8,rw 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
#shm/dev/shmtmpfs   nodev,nosuid,noexec 
0 0

tmpfs   /tmptmpfs   defaults,noatime,mode=1777  0 0
tmpfs   /var/logtmpfs   defaults,noatime,mode=1777  0 0



Re: [gentoo-user] SSD configuration

2012-11-25 Thread Jacques Montier
Thank you Luis,

In BIOS, i switched to AHCI instead of IDE Mode, but the system does not
boot.
I get kernel panic (No filesystem could mount root...)

My kernel configuration :
CONFIG_SATA_AHCI=y

--
Jacques


2012/11/25 Luis Gustavo Vilela de Oliveira luisgustavo.vil...@gmail.com

 You should look at the BIOS config, if AHCI is enable.


 2012/11/25 Jacques Montier jmont...@gmail.com

 Hi all,

 I bought a 250Go SSD M4 Crucial , read (of course) Gentoo documentation
 and installed the drive on my desktop pc (Asus MB, Intel ie7 and 6Go RAM).

 1- Everything seems to work perfectly, but i would like to know if my
 configuration is ok or could be optimized.

 /tmp and /var/log are on tmpfs
 /boot, / and /var are on SSD (sda),
 swap, /home, /usr/portage, /var/tmp and /var/log on a 1To SATA HDD (sdb)
 You can see my attached file fstab.txt

 2- When booting, BIOS seems to detect the SSD as IDE not SATA ; anything
 wrong ?

 Thank you very much for your response,

 Cheers,

 --
 Jacques









Re: [gentoo-user] SSD configuration

2012-11-25 Thread Jacques Montier
So i just kept noatime and discard options (for SSD).

Thank you Florian,


--
Jacques


2012/11/25 Florian Philipp li...@binarywings.net

 Am 25.11.2012 16:36, schrieb Jacques Montier:
  Hi all,
 
  I bought a 250Go SSD M4 Crucial , read (of course) Gentoo documentation
  and installed the drive on my desktop pc (Asus MB, Intel ie7 and 6Go
 RAM).
 
  1- Everything seems to work perfectly, but i would like to know if my
  configuration is ok or could be optimized.
 
  /dev/sda1 /boot   ext2
  defaults,noatime,discard1 2

 You don't need to specify defaults when there is any other option
 present. Defaults is just there so that the column is not empty if you
 do not specify any option.

  /dev/sda2 /   ext4
  defaults,noatime,nodiratime,discard 0 1

 noatime implies nodiratime. Specifying both is redundant.

  /dev/sda3 /varext4
  defaults,noatime,nodiratime,discard 0 0
  /dev/sdb1   /mnt/donneesntfs-3g
 auto,uid=jacques,gid=users,umask=0022   0 0
  /dev/sdb2 noneswapsw
  0 0

 Swap on SSD would be faster but I guess you want to avoid the additional
 writes.

  /dev/sdb5 /usr/portageext4
  defaults,noatime,nodiratime 0 0
  /dev/sdb6   /var/tmp  ext4
  defaults,noatime,nodiratime 0 0
  /dev/sdb7   /home   ext4
  defaults,noatime,nodiratime 0 0

 For home, auto_da_alloc trades a little performance for additional
 security against stupid applications that forget to fsync().

  /dev/sdb8   /mnt/disk_virt  ext4
  defaults,noatime,nodiratime 0 0


 Regards,
 Florian Philipp




Re: [gentoo-user] SSD configuration

2012-11-25 Thread Jacques Montier
2012/11/25 Florian Philipp li...@binarywings.net

 Am 25.11.2012 17:34, schrieb Jacques Montier:
  2012/11/25 Luis Gustavo Vilela de Oliveira luisgustavo.vil...@gmail.com
  mailto:luisgustavo.vil...@gmail.com
  2012/11/25 Jacques Montier jmont...@gmail.com
  mailto:jmont...@gmail.com
 [...]
  2- When booting, BIOS seems to detect the SSD as IDE not SATA ;
  anything wrong ?
 
 
  You should look at the BIOS config, if AHCI is enable.
 
 
  Thank you Luis,
 
  In BIOS, i switched to AHCI instead of IDE Mode, but the system does not
  boot.
  I get kernel panic (No filesystem could mount root...)
 
  My kernel configuration :
  CONFIG_SATA_AHCI=y
 

 It is possible that the change switched the device naming, making sda
 sdb and vice versa. Try to boot from a live-CD to verify that. You can
 also do this to check if you missed a module.

 BTW: Please don't top-post, both Luis and Jaques. Put your answers below
 the quoted messages (like I did).

 Regards,
 Florian Philipp



Sorry Florian for the top-post.

Well, you were right !
The live-cd SysRescueCd showed all the devices switched ; sdb instead of
sda.
Renaming all the devices and system was booting again.
Nevetheless, i felt that with AHCI BIOS Mode, the SSD was slightly less
reactive than the IDE Mode.
Do you think that could be possible ?
May be, i am completely wrong...

Best regards,

--
Jacques


Re: [gentoo-user] SSD configuration

2012-11-25 Thread Jacques Montier
2012/11/25 Alex Schuster wo...@wonkology.org

 Jacques Montier writes:

  I bought a 250Go SSD M4 Crucial , read (of course) Gentoo documentation
 and installed the drive on my desktop pc (Asus MB, Intel ie7 and 6Go RAM).

 1- Everything seems to work perfectly, but i would like to know if my
 configuration is ok or could be optimized.

 /tmp and /var/log are on tmpfs


 Like Volker said. Yikes! Or is that just a typo and you meant /var/tmp?
 Still, I would prefer to have that on the HDD.


  /boot, / and /var are on SSD (sda),
 swap, /home, /usr/portage, /var/tmp and /var/log on a 1To SATA HDD (sdb)


 I would put the portage tree on the SDD.

 Wonko



Alex,

Each time you sync the portage, you should write on the SSD...
Is it a good thing ?
As Volker said, i put  /var on the HDD, and it works fine.

Regards,

--
Jacques


Re: [gentoo-user] Nightshade compiling failed

2012-10-11 Thread Jacques Montier
Thanks Lukas,

Have a good work ! -:)

Cheers,

--
Jacques


2012/10/11 mindrunner ker...@ccube.de

 well, thats annoying.

 i war digging deeper for the last hours, but i cannot solve it for now.

 you should write a bug report here:

 http://www.nightshadesoftware.org/


 i will try again tomorrow. but now --- bachelor thesis ;)

 On 10/10/2012 12:31 PM, Jacques Montier wrote:
  Hi,
 
  I tried different versions of gcc and boost. gcc-4.5.4 and
  boost-1.49.0-r1 : failed gcc-4.5.4 and boost-1.46.1-r1 : failed
  gcc-4.4.7 in a new slot and boost-1.49.0-r1 : failed. gcc-4.4.7 in
  a new slot and boost-1.46.1-r1 : success !
 
  So compiling Nightshade needs gcc-4.4.7 AND boost-1.46.1-r1. Why
  the new versions don't work ? I really don't know.
 
  Cheers,
 
  -- Jacques
 
 
 
  2012/10/10 Jacques Montier jmont...@gmail.com
  mailto:jmont...@gmail.com
 
  Hi,
 
  Thank you Lukas for looking at my problem. The LSS-version of
  Nightshade is a clone of the official Nightsade version + keyboard
  shortcuts which can launch scripts, videos and music. Each key of
  the 105 keys has a special function and it is specially designed
  for a planetarium public show. With bluetooth modules, we can drive
  the show with a Nintendo Wii remote ; very useful.
 
 http://www.lss-planetariums.info/index.php?lang=enmenu=hardwarepage=keyboard
 
   I tried to compile Nightshade-LSS on Ubuntu-12, Linux Mint and
  Mageia2 via VirtualBox and i get exactly the same errors. So, i
  think it is not a Gentoo problem...but nevertheless very annoying
  :-(
 
  I looked at the Nightshade-LSS sources and it seems that the error
  occurs with the nshade_shared_memory.h and nshade_shared_memory.cpp
  in ~/nightshade-11.7.1/nscontrol/src I join the two files ; may be
  these files would help us.
 
  Thank you very much,
 
  -- Jacques
 
 
 
 
 
 
  2012/10/10 mindrunner ker...@ccube.de mailto:ker...@ccube.de
 
  Hi, i stepped little further in the last hours. I copied the
  ebuild to my layman overlay (luman) and tried to emerge. I got the
  same error you got compiling your special version! At the moment I
  am cloning the official bzr repository (1GB) which means waiting a
  long time at 1mbit DSL :( When cloned, I will dig some more into
  the sources.
 
  the error we get here points to some wrong usage of the boost
  container, but i cannot tell any more right now.
 
  what exactly is the difference to your ns-version compared to
  vanilla one?
 
  I think just replacing version number and url should provide you a
  working ebuild. we can try this after compiling vanilla sucesfull.
 
 
  lukas
 
  On 10/09/2012 10:53 PM, Jacques Montier wrote:
  Hi ,
 
  Thank you Lukas for your post. The Nighshade soft i use is a LSS
  version compiled for small planetariums by Yves Lhoumeau and
  Lionel Ruiz. I can only get the sources here :
 
 
 http://www.lss-planetariums.info/index.php?lang=enmenu=nightshadepage=nightshade
 
   The sabayon Nightshade ebuild is different .
  I agree with you, i very much prefer to install packages using
  ebuilds,
  but i am afraid i am not able to develop any ebuild... Sorry...
  :-( Some months ago i successfully compiled Nightshade with
  boost-1.46.1-r1
  ; but unfortunately it does not anymore compile even with the
  same boost
  version...
 
  Thank you again,
 
  Cheers,
 
  -- Jacques
 
 
  2012/10/9 mindrunner ker...@ccube.de mailto:ker...@ccube.de
  mailto:ker...@ccube.de mailto:ker...@ccube.de
 
  Hi, I always prefer to NOT install software this way into my
  gentoo. Instead
  of this I first check http://gpo.zugaina.org/ if there is
  already an
  ebuild or outdated ebuild for this piece of software. If
  not I begin to
  develop my own ebuild.
 
  In this case there is already one (sabayon-overlay).
  However, you should
  NOT add sabayon overlay into your gentoo box. I got some
  weird problems
  doing this some time ago. I think this shoul only be used
  in sabayon
  distro, but I dont know exactly.
 
  If you want to, I could copy it into my overlay (luman),
  which should be
  more safe not bricking your whole gentoo box.
 
  Yeah, I know... you asked sth. completely different, but
  in my opinion,
  you should better do this way...
 
  KLooking at you Problem tells me that you got a boost
  problem. Maybe
  wrong version you compile against?
 
  Since I am writing my bachelor thesis right now, I have
  only little
  spartetime, but if you want to we could try to make a
  working ebuild on
  base of the sabayon one.
 
 
  regards Lukas
 
 
  On 10/09/2012 07:06 PM, Jacques Montier wrote:
  Hi everybody,
 
  Since a few months i have a problem about compiling
  Nightshade soft.
  Nightshade is a full dome planetarium opensource software.
 
 
 
 http://www.lss-planetariums.info/index.php?lang=enmenu=nightshadepage=nightshade
 
 
  Nightshade is not in portage so i have to manually
  install it
  (./configure, make and make install). make fails with errors :
 
  - In file

Re: [gentoo-user] Nightshade compiling failed

2012-10-10 Thread Jacques Montier
Hi,

Thank you Lukas for looking at my problem.
The LSS-version of Nightshade is a clone of the official Nightsade version
+ keyboard shortcuts which can launch scripts, videos and music.
Each key of the 105 keys has a special function and it is specially
designed for a planetarium public show.
With bluetooth modules, we can drive the show with a Nintendo Wii remote ;
very useful.
http://www.lss-planetariums.info/index.php?lang=enmenu=hardwarepage=keyboard

I tried to compile Nightshade-LSS on Ubuntu-12, Linux Mint and Mageia2 via
VirtualBox and i get exactly the same errors.
So, i think it is not a Gentoo problem...but nevertheless very annoying :-(

I looked at the Nightshade-LSS sources and it seems that the error occurs
with the nshade_shared_memory.h and nshade_shared_memory.cpp in
 ~/nightshade-11.7.1/nscontrol/src
I join the two files ; may be these files would help us.

Thank you very much,

--
Jacques






2012/10/10 mindrunner ker...@ccube.de

 Hi,
 i stepped little further in the last hours. I copied the ebuild to my
 layman overlay (luman) and tried to emerge. I got the same error you got
 compiling your special version!
 At the moment I am cloning the official bzr repository (1GB) which
 means waiting a long time at 1mbit DSL :(
 When cloned, I will dig some more into the sources.

 the error we get here points to some wrong usage of the boost container,
 but i cannot tell any more right now.

 what exactly is the difference to your ns-version compared to vanilla one?

 I think just replacing version number and url should provide you a
 working ebuild.
 we can try this after compiling vanilla sucesfull.


 lukas

 On 10/09/2012 10:53 PM, Jacques Montier wrote:
  Hi ,
 
  Thank you Lukas for your post.
  The Nighshade soft i use is a LSS version compiled for small
  planetariums by Yves Lhoumeau and Lionel Ruiz.
  I can only get the sources here :
 
 http://www.lss-planetariums.info/index.php?lang=enmenu=nightshadepage=nightshade
  The sabayon Nightshade ebuild is different .
  I agree with you, i very much prefer to install packages using ebuilds,
  but i am afraid i am not able to develop any ebuild...
  Sorry... :-(
  Some months ago i successfully compiled Nightshade with boost-1.46.1-r1
  ; but unfortunately it does not anymore compile even with the same boost
  version...
 
  Thank you again,
 
  Cheers,
 
  --
  Jacques
 
 
  2012/10/9 mindrunner ker...@ccube.de mailto:ker...@ccube.de
 
  Hi,
  I always prefer to NOT install software this way into my gentoo.
 Instead
  of this I first check http://gpo.zugaina.org/ if there is already an
  ebuild or outdated ebuild for this piece of software. If not I begin
 to
  develop my own ebuild.
 
  In this case there is already one (sabayon-overlay). However, you
 should
  NOT add sabayon overlay into your gentoo box. I got some weird
 problems
  doing this some time ago. I think this shoul only be used in sabayon
  distro, but I dont know exactly.
 
  If you want to, I could copy it into my overlay (luman), which
 should be
  more safe not bricking your whole gentoo box.
 
  Yeah, I know... you asked sth. completely different, but in my
 opinion,
  you should better do this way...
 
  KLooking at you Problem tells me that you got a boost problem. Maybe
  wrong version you compile against?
 
  Since I am writing my bachelor thesis right now, I have only little
  spartetime, but if you want to we could try to make a working ebuild
 on
  base of the sabayon one.
 
 
  regards
  Lukas
 
 
  On 10/09/2012 07:06 PM, Jacques Montier wrote:
   Hi everybody,
  
   Since a few months i have a problem about compiling Nightshade
 soft.
   Nightshade is a full dome planetarium opensource software.
  
 
 http://www.lss-planetariums.info/index.php?lang=enmenu=nightshadepage=nightshade
   Nightshade is not in portage so i have to manually install it
   (./configure, make and make install).
   make fails with errors :
  
   -
   In file included from /usr/include/boost/container/map.hpp:26:0,
from
  /usr/include/boost/interprocess/containers/map.hpp:19,
from nshade_shared_memory.h:34,
from nshade_shared_memory.cpp:30:
   
   ---
   boost::interprocess::iset_index  , bool is_iterator = false, P0
 =
   std::lessboost::uuids::uuid, P1 =
  
 
 boost::interprocess::allocatorboost::container::container_detail::pairboost::uuids::uuid,
   boost::interprocess::offset_ptrNshadeSharedMemoryConnection ,
   boost::interprocess::segment_managerchar,
  
 
 boost::interprocess::rbtree_best_fitboost::interprocess::mutex_family,
   boost::interprocess::iset_index , size_t = long unsigned int]’
   nshade_shared_memory.cpp:251:1:   instantiated from here
   /usr/include

Re: [gentoo-user] Nightshade compiling failed

2012-10-10 Thread Jacques Montier
Hi,

I tried different versions of gcc and boost.
gcc-4.5.4 and boost-1.49.0-r1 : failed
gcc-4.5.4 and boost-1.46.1-r1 : failed
gcc-4.4.7 in a new slot and boost-1.49.0-r1 : failed.
gcc-4.4.7 in a new slot and boost-1.46.1-r1 : success !

So compiling Nightshade needs gcc-4.4.7 AND boost-1.46.1-r1.
Why the new versions don't work ? I really don't know.

Cheers,

--
Jacques



2012/10/10 Jacques Montier jmont...@gmail.com

 Hi,

 Thank you Lukas for looking at my problem.
 The LSS-version of Nightshade is a clone of the official Nightsade version
 + keyboard shortcuts which can launch scripts, videos and music.
  Each key of the 105 keys has a special function and it is specially
 designed for a planetarium public show.
 With bluetooth modules, we can drive the show with a Nintendo Wii remote ;
 very useful.

 http://www.lss-planetariums.info/index.php?lang=enmenu=hardwarepage=keyboard

 I tried to compile Nightshade-LSS on Ubuntu-12, Linux Mint and Mageia2 via
 VirtualBox and i get exactly the same errors.
 So, i think it is not a Gentoo problem...but nevertheless very annoying :-(

 I looked at the Nightshade-LSS sources and it seems that the error occurs
 with the nshade_shared_memory.h and nshade_shared_memory.cpp in
  ~/nightshade-11.7.1/nscontrol/src
 I join the two files ; may be these files would help us.

 Thank you very much,

 --
 Jacques






 2012/10/10 mindrunner ker...@ccube.de

 Hi,
 i stepped little further in the last hours. I copied the ebuild to my
 layman overlay (luman) and tried to emerge. I got the same error you got
 compiling your special version!
 At the moment I am cloning the official bzr repository (1GB) which
 means waiting a long time at 1mbit DSL :(
 When cloned, I will dig some more into the sources.

 the error we get here points to some wrong usage of the boost container,
 but i cannot tell any more right now.

 what exactly is the difference to your ns-version compared to vanilla one?

 I think just replacing version number and url should provide you a
 working ebuild.
 we can try this after compiling vanilla sucesfull.


 lukas

 On 10/09/2012 10:53 PM, Jacques Montier wrote:
  Hi ,
 
  Thank you Lukas for your post.
  The Nighshade soft i use is a LSS version compiled for small
  planetariums by Yves Lhoumeau and Lionel Ruiz.
  I can only get the sources here :
 
 http://www.lss-planetariums.info/index.php?lang=enmenu=nightshadepage=nightshade
  The sabayon Nightshade ebuild is different .
  I agree with you, i very much prefer to install packages using ebuilds,
  but i am afraid i am not able to develop any ebuild...
  Sorry... :-(
  Some months ago i successfully compiled Nightshade with boost-1.46.1-r1
  ; but unfortunately it does not anymore compile even with the same boost
  version...
 
  Thank you again,
 
  Cheers,
 
  --
  Jacques
 
 
  2012/10/9 mindrunner ker...@ccube.de mailto:ker...@ccube.de
 
  Hi,
  I always prefer to NOT install software this way into my gentoo.
 Instead
  of this I first check http://gpo.zugaina.org/ if there is already
 an
  ebuild or outdated ebuild for this piece of software. If not I
 begin to
  develop my own ebuild.
 
  In this case there is already one (sabayon-overlay). However, you
 should
  NOT add sabayon overlay into your gentoo box. I got some weird
 problems
  doing this some time ago. I think this shoul only be used in sabayon
  distro, but I dont know exactly.
 
  If you want to, I could copy it into my overlay (luman), which
 should be
  more safe not bricking your whole gentoo box.
 
  Yeah, I know... you asked sth. completely different, but in my
 opinion,
  you should better do this way...
 
  KLooking at you Problem tells me that you got a boost problem. Maybe
  wrong version you compile against?
 
  Since I am writing my bachelor thesis right now, I have only little
  spartetime, but if you want to we could try to make a working
 ebuild on
  base of the sabayon one.
 
 
  regards
  Lukas
 
 
  On 10/09/2012 07:06 PM, Jacques Montier wrote:
   Hi everybody,
  
   Since a few months i have a problem about compiling Nightshade
 soft.
   Nightshade is a full dome planetarium opensource software.
  
 
 http://www.lss-planetariums.info/index.php?lang=enmenu=nightshadepage=nightshade
   Nightshade is not in portage so i have to manually install it
   (./configure, make and make install).
   make fails with errors :
  
   -
   In file included from /usr/include/boost/container/map.hpp:26:0,
from
  /usr/include/boost/interprocess/containers/map.hpp:19,
from nshade_shared_memory.h:34,
from nshade_shared_memory.cpp:30:
   
   ---
   boost::interprocess::iset_index  , bool is_iterator = false,
 P0 =
   std::lessboost::uuids::uuid, P1

[gentoo-user] Nightshade compiling failed

2012-10-09 Thread Jacques Montier
Hi everybody,

Since a few months i have a problem about compiling Nightshade soft.
Nightshade is a full dome planetarium opensource software.
http://www.lss-planetariums.info/index.php?lang=enmenu=nightshadepage=nightshade
Nightshade is not in portage so i have to manually install it (./configure,
make and make install).
make fails with errors :

-
In file included from /usr/include/boost/container/map.hpp:26:0,
 from /usr/include/boost/interprocess/containers/map.hpp:19,
 from nshade_shared_memory.h:34,
 from nshade_shared_memory.cpp:30:

---
boost::interprocess::iset_index  , bool is_iterator = false, P0 =
std::lessboost::uuids::uuid, P1 =
boost::interprocess::allocatorboost::container::container_detail::pairboost::uuids::uuid,
boost::interprocess::offset_ptrNshadeSharedMemoryConnection ,
boost::interprocess::segment_managerchar,
boost::interprocess::rbtree_best_fitboost::interprocess::mutex_family,
boost::interprocess::iset_index , size_t = long unsigned int]’
nshade_shared_memory.cpp:251:1:   instantiated from here
/usr/include/boost/container/map.hpp:147:1: erreur: invalid application of
‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILUREfalse’
make[4]: *** [nshade_shared_memory.lo] Erreur 1

I don't know how to solve that problem.
Have you any idea about it ?
Thank you very much,

Cheers,

--
Jacques


Re: [gentoo-user] Nightshade compiling failed

2012-10-09 Thread Jacques Montier
Hi ,

Thank you Lukas for your post.
The Nighshade soft i use is a LSS version compiled for small planetariums
by Yves Lhoumeau and Lionel Ruiz.
I can only get the sources here :
http://www.lss-planetariums.info/index.php?lang=enmenu=nightshadepage=nightshade
The sabayon Nightshade ebuild is different .
I agree with you, i very much prefer to install packages using ebuilds, but
i am afraid i am not able to develop any ebuild...
Sorry... :-(
Some months ago i successfully compiled Nightshade with boost-1.46.1-r1 ;
but unfortunately it does not anymore compile even with the same boost
version...

Thank you again,

Cheers,

--
Jacques


2012/10/9 mindrunner ker...@ccube.de

 Hi,
 I always prefer to NOT install software this way into my gentoo. Instead
 of this I first check http://gpo.zugaina.org/ if there is already an
 ebuild or outdated ebuild for this piece of software. If not I begin to
 develop my own ebuild.

 In this case there is already one (sabayon-overlay). However, you should
 NOT add sabayon overlay into your gentoo box. I got some weird problems
 doing this some time ago. I think this shoul only be used in sabayon
 distro, but I dont know exactly.

 If you want to, I could copy it into my overlay (luman), which should be
 more safe not bricking your whole gentoo box.

 Yeah, I know... you asked sth. completely different, but in my opinion,
 you should better do this way...

 KLooking at you Problem tells me that you got a boost problem. Maybe
 wrong version you compile against?

 Since I am writing my bachelor thesis right now, I have only little
 spartetime, but if you want to we could try to make a working ebuild on
 base of the sabayon one.


 regards
 Lukas


 On 10/09/2012 07:06 PM, Jacques Montier wrote:
  Hi everybody,
 
  Since a few months i have a problem about compiling Nightshade soft.
  Nightshade is a full dome planetarium opensource software.
 
 http://www.lss-planetariums.info/index.php?lang=enmenu=nightshadepage=nightshade
  Nightshade is not in portage so i have to manually install it
  (./configure, make and make install).
  make fails with errors :
 
  -
  In file included from /usr/include/boost/container/map.hpp:26:0,
   from
 /usr/include/boost/interprocess/containers/map.hpp:19,
   from nshade_shared_memory.h:34,
   from nshade_shared_memory.cpp:30:
  
  ---
  boost::interprocess::iset_index  , bool is_iterator = false, P0 =
  std::lessboost::uuids::uuid, P1 =
 
 boost::interprocess::allocatorboost::container::container_detail::pairboost::uuids::uuid,
  boost::interprocess::offset_ptrNshadeSharedMemoryConnection ,
  boost::interprocess::segment_managerchar,
  boost::interprocess::rbtree_best_fitboost::interprocess::mutex_family,
  boost::interprocess::iset_index , size_t = long unsigned int]’
  nshade_shared_memory.cpp:251:1:   instantiated from here
  /usr/include/boost/container/map.hpp:147:1: erreur: invalid application
  of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILUREfalse’
  make[4]: *** [nshade_shared_memory.lo] Erreur 1
 
  I don't know how to solve that problem.
  Have you any idea about it ?
  Thank you very much,
 
  Cheers,
 
  --
  Jacques




Re: [gentoo-user] Anyone compiled libreoffice-3.6.0.4 yet?

2012-08-09 Thread Jacques Montier
2012/8/9 Stefan G. Weichinger li...@xunil.at

 Am 09.08.2012 22:36, schrieb Alex Schuster:

  No, I just built it today, in the usual time of about 2.5 hours.

 ~1 hr here :-P

 (I *had* to say that ;-) )




Hello,

No problem building libreoffice-3.6.0.4.
About 1h 38 min.

Best regards

--
Jacques


Re: [gentoo-user] new machine : (2) HDD or SSD ?

2012-07-22 Thread Jacques Montier
Hello,

I have just a (maybe silly) question...
I saw on some forums that partitionning SSDs could slow down read/write
access.
Is it true or simply intox ?
On my sata HD, i have boot, /, usr and home separated partitions.
What do you think of it ?

Thank you,

Cheers

--
Jacques

2012/7/20 Volker Armin Hemmann volkerar...@googlemail.com

 Am Freitag, 20. Juli 2012, 03:31:44 schrieb Philip Webb:
  My regular machine has a Seagate SATA 320 GB ( 3 Gb/s 16 MB ).
 
  Have SSDs reached the point where they are reliable  long-lasting ?
  Should I perhaps install an SSD for some uses + an HDD for others ?
  Is it viable to use an SSD for Portage ?
 
  Apart from Portage + a few everyday files,
  there isn't much churn among the stuff I have on my existing HDD (above).
 
  I saw a recent thread on this topic, but further thoughts are welcome.

 forget the i7. Buy something a lot cheaper and invest the money into a
 nice,
 fat SSD like Vertex3.

 Money well spent.

 --
 #163933




Re: [gentoo-user] new machine : (2) HDD or SSD ?

2012-07-22 Thread Jacques Montier
Thanks Michael

--
Jacques


2012/7/22 Michael Hampicke gentoo-u...@hadt.biz

  I have just a (maybe silly) question...
  I saw on some forums that partitionning SSDs could slow down read/write
  access.
  Is it true or simply intox ?
  On my sata HD, i have boot, /, usr and home separated partitions.
  What do you think of it ?

 This could happen of the partitions on the SSD are not properly aligned.
 The guides I know on this subject are german, but thats no problem, just
 do a google search for something like linux ssd partition alignment.
 There you will find all the ansers you need.

 If I remember correctly parted has a built-in alignment check.




[gentoo-user] udevd boot messages

2012-05-21 Thread Jacques Montier
Hi everybody,

I updated udev from 171-r5 to 171-r6 and now i get several udevd boot
message as :
udevd[1389]: can not find '/lib/udev/rules.d/90-network.rules': No such
file or directory
udevd[1389]: can not find '/lib/udev/rules.d/95-keymap.rules': No such
file or directory
..
and so on.

/lib is a symlink pointing to /lib64.
/lib64/udev/rules.d is ok with all the rules that udevd does not find at
boot.
Is it because /boot, / and /usr are on separate partitions ?

Thank you for your help.

Best regards,

--
Jacques





[solved] Re: [gentoo-user] udevd boot messages

2012-05-21 Thread Jacques Montier
Le 21/05/2012 16:27, Michael Hampicke a écrit :
 I updated udev from 171-r5 to 171-r6 and now i get several udevd boot
 message as :
 udevd[1389]: can not find '/lib/udev/rules.d/90-network.rules': No such
 file or directory
 udevd[1389]: can not find '/lib/udev/rules.d/95-keymap.rules': No such
 file or directory
 ..
 and so on.

 /lib is a symlink pointing to /lib64.
 /lib64/udev/rules.d is ok with all the rules that udevd does not find at
 boot.
 No I would guess it was because of the upgrade of sys-apps/baselayout to
 2.1-r1. Things got crazy here with that upgrade. I had to re-merge every
 package with files under /lib/
 In your case re-merging udev should to the trick.

I re-emerged udev, but i still got error messages.
So i deleted (backup) my old /lib64/udev/rules.d directory and
re-emerged udev.
Then no more messages with the new rules.d directory.
Thank you for your reply.

Best regards,

--
Jacques



[gentoo-user] libreoffice-bin-3.4.5.2 broken ?

2012-02-18 Thread Jacques Montier
Hi all,

I upgraded to libreoffice-bin-3.4.5.2 which is stable in portage, but it
does'nt work on intel ie7 amd64.
I get instruction not permitted.
So i masked 3.4.5.2 and downgraded to 3.3.4.

Any idea ?

Thank you,

Cheers,

--
Jacques



Re: [gentoo-user] libreoffice-bin-3.4.5.2 broken ?

2012-02-18 Thread Jacques Montier
Le 18/02/2012 13:54, Neil Bothwick a écrit :
 On Sat, 18 Feb 2012 10:39:32 +0100, Jacques Montier wrote:

 I upgraded to libreoffice-bin-3.4.5.2 which is stable in portage, but it
 does'nt work on intel ie7 amd64.
 I get instruction not permitted.
 So i masked 3.4.5.2 and downgraded to 3.3.4.
 It seems like it was compiled using CFLAGS unsuitable for an i7.

 Why not use the source package? What's the point of having an i7 if you
 can't brag about compiling LO in well under an hour? ;-)



Before ie7, i had an 10 year-old PC, and it was 5 or 6 hours compiling
Openoffice...
Let's try now...;-)

Thanks,

Cheers,

--
Jacques





Re: [gentoo-user] libreoffice-bin-3.4.5.2 broken ?

2012-02-18 Thread Jacques Montier
Le 18/02/2012 14:51, Dale a écrit :
 Jacques Montier wrote:
 Le 18/02/2012 13:54, Neil Bothwick a écrit :
 On Sat, 18 Feb 2012 10:39:32 +0100, Jacques Montier wrote:

 I upgraded to libreoffice-bin-3.4.5.2 which is stable in portage, but it
 does'nt work on intel ie7 amd64.
 I get instruction not permitted.
 So i masked 3.4.5.2 and downgraded to 3.3.4.
 It seems like it was compiled using CFLAGS unsuitable for an i7.

 Why not use the source package? What's the point of having an i7 if you
 can't brag about compiling LO in well under an hour? ;-)


 Before ie7, i had an 10 year-old PC, and it was 5 or 6 hours compiling
 Openoffice...
 Let's try now...;-)

 Thanks,

 Cheers,

 --
 Jacques

 Chew on this one.  This is for my old rig:

  Thu Dec 22 06:27:17 2011  app-office/libreoffice-3.4.3.2-r1
merge time: 18 hours, 46 minutes and 20 seconds.

 I just love updating that old thing.  lol

 Dale

 :-)  :-)


Yes,

It was worth changing a use flag then  :-)

--
Jacques





Re: [gentoo-user] libreoffice-bin-3.4.5.2 broken ?

2012-02-18 Thread Jacques Montier
Le 18/02/2012 15:42, Alan McKinnon a écrit :
 On Sat, 18 Feb 2012 12:54:14 +
 Neil Bothwick n...@digimed.co.uk wrote:

 On Sat, 18 Feb 2012 10:39:32 +0100, Jacques Montier wrote:

 I upgraded to libreoffice-bin-3.4.5.2 which is stable in portage,
 but it does'nt work on intel ie7 amd64.
 I get instruction not permitted.
 So i masked 3.4.5.2 and downgraded to 3.3.4.
 It seems like it was compiled using CFLAGS unsuitable for an i7.

 Why not use the source package? What's the point of having an i7 if
 you can't brag about compiling LO in well under an hour? ;-)


 Like this?

 # cat /proc/cpuinfo
 processor   : 0
 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 42
 model name  : Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz

 # genlop -t libreoffice
  * app-office/libreoffice

  Sun Jan 15 20:27:12 2012  app-office/libreoffice-3.4.99.3
merge time: 50 minutes and 42 seconds.

  Thu Jan 19 01:28:48 2012  app-office/libreoffice-3.5.0.1
merge time: 58 minutes and 38 seconds.

  Fri Feb 17 10:21:57 2012  app-office/libreoffice-3.5.0.3
merge time: 50 minutes and 8 seconds.

Here it is...


processor: 7
vendor_id: GenuineIntel
cpu family: 6
model: 26
model name: Intel(R) Core(TM) i7 CPU 950  @ 3.07GHz
stepping: 5
microcode: 0xf
cpu MHz: 3067.000
cache size: 8192 KB

genlop -t app-office/libreoffice

 Sat Feb 18 16:10:44 2012  app-office/libreoffice-3.4.5.2
   merge time: 1 hour, 22 minutes and 35 seconds.


And it works fine !
Neil, it was a very good idea ! :-)

Thanks,

--
Jacques










  1   2   3   >