Re: [gentoo-user] newuse vs changed-use (and python3_6)

2018-07-18 Thread allan gottlieb
On Thu, Jul 19 2018, Roger J. H. Welsh wrote:

>> emerge --pretend --newuse ... @world
>> shows 15 rebuilds while --changed-use shows none.
> --changed-use prevents your system from remerging packages
> due to USE flag changes upstream (not made by you).
>
>>eselect python show
>> indicates python3.4, which I realize has end of life next year.
>>
>> Any advice would be appreciated.
> Note that, portage will want to use the new python targets immediately.
>
> Set for portage, for your next upgrade:
> PYTHON_TARGETS="python2_7 python3_4 python3_6"
> PYTHON_SINGLE_TARGET="python3_4"
>
> Set for portage, for your next upgrade after that:
> PYTHON_TARGETS="python2_7 python3_6"
> PYTHON_SINGLE_TARGET="python3_6"
>
> Migrate via,
> `emerge --ask --depclean && emerge -1vUD @world && emerge --ask --depclean`
>
> And you should be good to go.
>
> NOTES:
> `man emerge`
>   `/changed-use`
>
> "Unlike --newuse, the --changed-use option does not trigger
> reinstallation when flags that the user has not enabled are added or
> removed."
> `emerge --newuse @world` should fix you up here.
>
> From the news item,
> `eselect news read`
> `2018-05-22-python3-6`
> On *2018-06-22*, Python 3.6 will replace Python 3.5 in the default Python
> targets for Gentoo systems.  The new default targets will be:
> PYTHON_TARGETS="python2_7 python3_6"
> PYTHON_SINGLE_TARGET="python3_6"
>
> Hope this helps.
> --
>
> Roger Welsh
> fpr: 2FCB 9E31 EA77 CDEC A3AE  5DD7 D54C C777 553A 180D

Thank you.
allan



Re: [gentoo-user] newuse vs changed-use (and python3_6)

2018-07-18 Thread Roger J. H. Welsh
> emerge --pretend --newuse ... @world
> shows 15 rebuilds while --changed-use shows none.
--changed-use prevents your system from remerging packages
due to USE flag changes upstream (not made by you).

>eselect python show
> indicates python3.4, which I realize has end of life next year.
>
> Any advice would be appreciated.
Note that, portage will want to use the new python targets immediately.

Set for portage, for your next upgrade:
PYTHON_TARGETS="python2_7 python3_4 python3_6"
PYTHON_SINGLE_TARGET="python3_4"

Set for portage, for your next upgrade after that:
PYTHON_TARGETS="python2_7 python3_6"
PYTHON_SINGLE_TARGET="python3_6"

Migrate via,
`emerge --ask --depclean && emerge -1vUD @world && emerge --ask --depclean`

And you should be good to go.

NOTES:
`man emerge`
  `/changed-use`

"Unlike --newuse, the --changed-use option does not trigger
reinstallation when flags that the user has not enabled are added or
removed."
`emerge --newuse @world` should fix you up here.

From the news item,
`eselect news read`
`2018-05-22-python3-6`
On *2018-06-22*, Python 3.6 will replace Python 3.5 in the default Python
targets for Gentoo systems.  The new default targets will be:
PYTHON_TARGETS="python2_7 python3_6"
PYTHON_SINGLE_TARGET="python3_6"

Hope this helps.
--

Roger Welsh
fpr: 2FCB 9E31 EA77 CDEC A3AE  5DD7 D54C C777 553A 180D


signature.asc
Description: PGP signature


[gentoo-user] newuse vs changed-use (and python3_6)

2018-07-18 Thread allan gottlieb
I realize just now that one of my machines uses
emerge ... --newuse ...
and the other uses
emerge ... --changed-use ...
Both run gentoo stable.

I imagine this discrepancy has been there for a long while and to date
has caused no particular difficulty.  However, today the --changed-use
machine can't --depclean and running
emerge --pretend --newuse ... @world
shows 15 rebuilds while --changed-use shows none.

It looks like all the rebuilds are caused by "negative" uses,
especially PYTHON_TARGETS="-python3_6%"

My first thought was to run an
   emerge --newuse ... @world
and then proceed with --depclean'ing

but am cautious about changing settings involving python (I have no
personal python scripts).

   eselect python show
indicates python3.4, which I realize has end of life next year.

Any advice would be appreciated.

Thanks in advance,
allan





Re: [gentoo-user] scanner problem

2018-07-18 Thread Andrew Udvare



> On 2018-07-18, at 04:16, Philip Webb  wrote:
> 
> (3) I can scan without problems using Mint Xfce (on another partition),
> so it's not a hardware problem.
> 
> (4) 'lsusb' lists "Bus 001 Device 004: ID 0418: 013b Seiko Epson Corp".
> 
> (5) the 'epkowa' driver is the latest version : a download from
> 'support.epson.net/linux/en/iscan.php?model=perfection-v550=1.0.1'
> gets the same compressed files as are already installed (same sizes).
> 
> (6) the output from 'strace' is at
> http://chass.utoronto.ca/~purslow/test/xsane-trace.d1 .

I think you should look at the /etc/sane.d/epkowa.conf file and make 
modifications if necessary. You should compare it to the Mint partition. And 
you should do the same for other configuration files like /etc/sane.d/dll.conf.

> 
> (9) Vuescan is a possible alternative : does anyone have experience ?

You want this to work with SANE because major apps like GIMP only support SANE 
IIRC.

Andrew




Re: [gentoo-user] scanner problem

2018-07-18 Thread Philip Webb
Thanks for the replies so far, which I've followed up with ideas of my own.

(1) In  /etc/sane.d/dll.conf  (at the end) it lists

  # Add support for the Epson-specific backend. Needs media-gfx/iscan installed
  epkowa
  
I've installed 'iscan', but it makes no difference.

(2) The  2  pkgs which mb relevant & which have been updated > 180626
are the kernel & 'gtk+:2' : syslog reports use of 'ehci-pci',
but that is enabled in my kernel 4.14.52 ; might 'gtk' be the problem ?

(3) I can scan without problems using Mint Xfce (on another partition),
so it's not a hardware problem.

(4) 'lsusb' lists "Bus 001 Device 004: ID 0418: 013b Seiko Epson Corp".

(5) the 'epkowa' driver is the latest version : a download from
'support.epson.net/linux/en/iscan.php?model=perfection-v550=1.0.1'
gets the same compressed files as are already installed (same sizes).

(6) the output from 'strace' is at
http://chass.utoronto.ca/~purslow/test/xsane-trace.d1 .

(7) When the scanner is switched on (already connected), syslog says :

  usb1-3: new high-speed USB device number 3 using ehci-pci
  New USB device found, idVendor 04b8, idProduct 013b
 strings: MFr=1, Product=2, SerNo=0
  Product: EPSON Scanner; Manufacturer: EPSON

(8) Users at Ubuntu have been having problems starting Autumn 2017 :
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug1728012 :
see esp  # 20  &  # 144 .

(9) Vuescan is a possible alternative : does anyone have experience ?

Further thoughts from anyone are very welcome.

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