Re: [gentoo-user] 'make install' hijacked by installkernel ?
Adam Carter schrieb am 26.01.24 um 10:55: I just tried to install a new kernel using 'make install' only to find that the behaviour has changed and it appears to be running a bunch on installkernel stuff. 'make help' says install - Install kernel using (your) ~/bin/installkernel or (distribution) /sbin/installkernel or install to $(INSTALL_PATH) and run lilo So I guess that I want the 'install to $(INSTALL_PATH) and run lilo' behaviour that i'm used to. How to i get 'make install' to ignore /sbin/installkernel ? There is a news item related to installkernel [1]. Probably worth reading it! [1] https://www.gentoo.org/support/news-items/2024-01-18-installkernel-merge.html -- Regards Daniel
Re: [gentoo-user] Genlop wonky again
Am 5. Januar 2024 23:51:39 UTC schrieb Peter Humphrey : >Hello list, > >I've just had some strange output from genlop on my 16-thread i5 box, thus: > ># genlop -t libreoffice | /bin/grep minute > merge time: 37 minutes and 38 seconds. > merge time: 52 minutes and 59 seconds. > merge time: 46 minutes and 17 seconds. > ># genlop -c > > Currently merging 11 out of 11 > > * app-office/libreoffice-7.5.9.2 > > current merge time: 4 minutes and 3 seconds. > ETA: 1 hour, 4 minutes and 24 seconds. > >### Then, once the update finished: > ># genlop -t libreoffice | /bin/grep minute > merge time: 37 minutes and 38 seconds. > merge time: 52 minutes and 59 seconds. > merge time: 46 minutes and 17 seconds. > merge time: 38 minutes and 40 seconds. > >I know genlop is, shall we say, not perfect, but how can it be so grossly >wrong as that? > >I have this in make.conf, and it hasn't changed since I built the machine: > >grep '\-j' /etc/portage/make.conf >EMERGE_DEFAULT_OPTS="--jobs --load-average=12 >MAKEOPTS="-j12 -l12" > There are not by chance binary merges which took less than a minute? That might explain the differences. What is the output wihout the grep or filtering by merge time instead. -- Best regards Daniel
Re: [gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict
Dale schrieb am 05.12.23 um 18:27: This is where I'm putting the patch and the patch. root@fireball / # cat /etc/portage/patches/media-video/mplayer.diff Maybe you should try: /etc/portage/patches/media-video/mplayer/mplayer.diff as written in the Wiki. The directory requires the category then e.g. the package name. Within you have to place the patch file. -- Best Daniel
Re: [gentoo-user] Firefox fails to compile. crc32 error??
Am 23. November 2023 08:08:47 UTC schrieb Dale : >Daniel Pielmeier wrote: >> Looks like it is related to -march=native. >> >> See bug https://bugs.gentoo.org/838373 >> > >I'm not sure how you figured that out either. I pasted the error message into the search engine of my choice. I think there were some results from the Gentoo forums which lead to the bug report. -- Best regards Daniel
Re: [gentoo-user] Firefox fails to compile. crc32 error??
Looks like it is related to -march=native. See bug https://bugs.gentoo.org/838373 -- Regards Daniel
Re: [gentoo-user] rsync options after backup restore. Transfer speed again.
Am 21. Oktober 2023 07:07:18 UTC schrieb Dale : >Actually, I was looking at the man page again and that option appeared >to me just a little bit ago. I tried it and it did several updates. >Question tho. It finished that update just a minute ago. I tried again >with my usual command, it wants to update everything again. I seem to >recall that rsync goes by file size and modify time stamps. Is there a >way to make the NAS box files newer or something so that it will not try >to copy the same files over again? I'd like to use the default >detection options of rsync if I can just in case something changes. > We are creatures of habit eh :-) Of course you have to specify this option every time as the timestamps remain the same in this case. Why not? First of all it's just video files. What are the odds that the contents of change and the file size will be exactly the same? Using the defaults is fine but you should use the options which serve the purpose. If you want you can use find on the backup drive in combination with exec to run the touch command on each file in order to update the timestamps. Then the -u option you use with rsync wont update the file on the destination because it is newer then the source. However in the end the result is the same as if using "--size-only". Don't nail me on this but the command could look like the following: find pathtobackup -type f -exec touch '{}' + -- Best regards Daniel
Re: [gentoo-user] rsync options after backup restore. Transfer speed again.
>I looked at the man page and the options there. I don't see anything >that I think will help. Is there a way around this? Then you didn't read properly, the man page is really exhaustive. You can try "--size-only". It is also possible to negate the options by prefixing them with no like e.g. "--no-times --no-owner --no-group etc." I also had this issue when transferring between different file systems which didn't have same concept of file properties. Anyway using "-a" as you tried doesn't make sense as it tries to preserve almost everything. >Second problem. The transfer speed is back to the old slower speed. >I'm pretty sure I am using the same old options on both ends. Still, >it's back to being slow again. But the new disk is different compared to the old one? Then it needs to be treated differently. There multiple factors which can affect performance. Had the same issue with a new SSD drive. Unfortunately I currently don't have access to the machine and I don't remember what needed changing but it could well be possible that you need different mount options, format the drive using other options, using different schedulers, etc. -- Best regards Daniel
Re: [gentoo-user] Can't upgrade portage or update/install ebuilds
Nikolay Pulev schrieb am 10.06.23 um 11:47: Thank you Daniel. You suggestion got me going. You are welcome! I hope it was the only problem. If yes then installing from scratch would have been a waste of time. It is never wrong to get to know your system better. Then in most cases you can solve such things within minutes and you don't need the sledgehammer. -- Regards Daniel
Re: [gentoo-user] Can't upgrade portage or update/install ebuilds
Nikolay Pulev schrieb am 09.06.23 um 21:40: Hi community, This is my first reach out to you. I have not update my machine for a long time and have no reached a point where I can't install or upgrade packages. My first concern is to update portage, however I get the error below error. Does anybody have any suggestions how I could progress with my machine update? # emerge --oneshot sys-apps/portage * IMPORTANT: 15 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. Calculating dependencies... done! !!! All ebuilds that could satisfy ">=app-portage/gemato-14.5[python_targets_pypy3(-)?,python_targets_python3_10(-)?,python_targets_python3_11(-)?]" have been masked. !!! One of the following masked packages is required to complete your request: - app-portage/gemato-::gentoo (masked by: EAPI 8) - app-portage/gemato-20.4::gentoo (masked by: EAPI 8) - app-portage/gemato-20.2::gentoo (masked by: EAPI 8) - app-portage/gemato-20.1::gentoo (masked by: EAPI 8) The current version of portage supports EAPI '7'. You must upgrade to a newer version of portage before EAPI masked packages can be installed. (dependency required by "sys-apps/portage-3.0.45.3-r2::gentoo" [ebuild]) (dependency required by "sys-apps/portage" [argument]) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. If it is only about gemato then temporary disable the rsync-verify flag which pulls it in. # USE="-rsync-verify" emerge sys-apps/portage -- Regards Daniel
[gentoo-user] Announcement: PFL is looking for a new maintainer
Hello All! I am posting this here (gentoo-dev, gentoo-user) at the request of the upstream maintainer to reach a larger audience. PFL upstream will stop working on the project and is looking for a new maintainer. For those who don't know what PFL is. It is basically a database that allows users to search for packages that provide a file. Say you want to run a command/program, but you don't know which package provides it. This is where PFL can help. The database itself is populated by users. When you install app-app-portage/pfl [1], there's a script that sends a list of installed packages and their contents to the server. A second script is used to query for packages that owe a file. There is also a web interface [2] which provides similar functionality. I believe a similar feature is also available for Ubuntu (maybe other distributions too, not sure if this is Ubuntu specific). If you type a command on the command line that is not available, you get suggestions for packages that contain the program. I now see two possibilities. Either another user takes over the project or Gentoo itself takes over the maintenance. But someone has to do the work and further maintenance. Otherwise the project will be terminated. If you are interested or have something to share, please join the discussion in the forum [3] to keep everything in one central place. Thanks! [1] https://packages.gentoo.org/packages/app-portage/pfl [2] https://portagefilelist.de/ [3] https://forums.gentoo.org/viewtopic-t-1163382.html -- Best Regards Daniel
Re: [gentoo-user] mpv no longer compiles
Am 17. März 2023 11:57:41 UTC schrieb John Covici : >On Fri, 17 Mar 2023 07:07:49 -0400, >Daniel Pielmeier wrote: >> >> Am 17. März 2023 08:52:53 UTC schrieb John Covici : >> > >> >On Fri, 17 Mar 2023 03:03:37 -0400, >> >Daniel Pielmeier wrote: >> >> >> >> Am 17. März 2023 06:42:11 UTC schrieb John Covici : >> >> >media-video/mpv-0.35.1-r1 will not compile -- here is a portion of the >> >> >build log. >> >> >[19/438] /usr/bin/rst2man.py --strip-elements-with-class=contents >> >> >../mpv-0.35.1/DOCS/man/mpv.rst mpv.1 >> >> >[20/438] /usr/bin/rst2html ../mpv-0.35.1/DOCS/man/mpv.rst mpv.html >> >> >^[[31mFAILED: ^[[0mmpv.html >> >> >/usr/bin/rst2html ../mpv-0.35.1/DOCS/man/mpv.rst mpv.html >> >> >/bin/sh: line 1: /usr/bin/rst2html: cannot execute: required file not >> >> >found >> >> >ninja: build stopped: subcommand failed. >> >> > >> >> >I looked on bgo, but found nothing -- anyone seen this or should I >> >> >file a bug? >> >> >> >> Do you have dev-python/docutils installed and if not does it compile if >> >> you install it? >> > >> >Thanks for your quick response. I have 0.19 of that package. >> > >> >> I am asking because I think rst2html is shipped with the docutils package. >> Does /usr/bin/rst2html exist on your system? Maybe also search for anything >> on the system containing rst2html. > >I did have /usr/bin/rst2html, but it was old and when I tried to >execute it said bad interpreter python3.8, so I linked the name to >/usr/bin/rst2html.py and that made everything work. > >Thanks a lot for the hint. > I don't think this should be necessary. The docutils ebuild should take care of this. If it doesn't there is a bug in docutils or maybe the mpv ebuild should call the py script directly. -- Best regards Daniel
Re: [gentoo-user] mpv no longer compiles
Am 17. März 2023 08:52:53 UTC schrieb John Covici : > >On Fri, 17 Mar 2023 03:03:37 -0400, >Daniel Pielmeier wrote: >> >> Am 17. März 2023 06:42:11 UTC schrieb John Covici : >> >media-video/mpv-0.35.1-r1 will not compile -- here is a portion of the >> >build log. >> >[19/438] /usr/bin/rst2man.py --strip-elements-with-class=contents >> >../mpv-0.35.1/DOCS/man/mpv.rst mpv.1 >> >[20/438] /usr/bin/rst2html ../mpv-0.35.1/DOCS/man/mpv.rst mpv.html >> >^[[31mFAILED: ^[[0mmpv.html >> >/usr/bin/rst2html ../mpv-0.35.1/DOCS/man/mpv.rst mpv.html >> >/bin/sh: line 1: /usr/bin/rst2html: cannot execute: required file not >> >found >> >ninja: build stopped: subcommand failed. >> > >> >I looked on bgo, but found nothing -- anyone seen this or should I >> >file a bug? >> >> Do you have dev-python/docutils installed and if not does it compile if you >> install it? > >Thanks for your quick response. I have 0.19 of that package. > I am asking because I think rst2html is shipped with the docutils package. Does /usr/bin/rst2html exist on your system? Maybe also search for anything on the system containing rst2html. -- Best regards Daniel
Re: [gentoo-user] mpv no longer compiles
Am 17. März 2023 06:42:11 UTC schrieb John Covici : >media-video/mpv-0.35.1-r1 will not compile -- here is a portion of the >build log. >[19/438] /usr/bin/rst2man.py --strip-elements-with-class=contents >../mpv-0.35.1/DOCS/man/mpv.rst mpv.1 >[20/438] /usr/bin/rst2html ../mpv-0.35.1/DOCS/man/mpv.rst mpv.html >^[[31mFAILED: ^[[0mmpv.html >/usr/bin/rst2html ../mpv-0.35.1/DOCS/man/mpv.rst mpv.html >/bin/sh: line 1: /usr/bin/rst2html: cannot execute: required file not >found >ninja: build stopped: subcommand failed. > >I looked on bgo, but found nothing -- anyone seen this or should I >file a bug? Do you have dev-python/docutils installed and if not does it compile if you install it? -- Best regards Daniel
Re: [gentoo-user] Re: Google pop3 authentication failure
Am 1. Juli 2022 00:33:52 UTC schrieb Walter Dnes : >On Thu, Jun 30, 2022 at 02:29:03PM -, Grant Edwards wrote >> >> OAUTH is pretty complicated. >> >> However, setting up an app password is very simple. It only takes a >> few clicks. Quoting from the google support page (first link above): >> >> 1. Log in to your Google Account. >> 2. Click "Security". > > This doesn't do anything. It leaves me at the same page. I do not >see "App Passwords". I've tried this with both Pale Moon and >Google-Chrome. Now what? > It is only available if Two Factor Authentication is also enabled. Everything is documented on the support pages. https://support.google.com/accounts/answer/185839?hl=en https://support.google.com/accounts/answer/185833?hl=en -- Best regards Daniel
Re: [gentoo-user] Removing or stopping binary emerges from being in emerge.log
Dale schrieb am 06.03.22 um 06:53: I have a chroot environment that I do updates in. Once the updates are done, I copy the binaries and distfiles over to my running system and use the -k option to update everything in my real system. It comes in real handy when libreoffice, Firefox, qtwebengine and other large time consuming packages are being updated. The bad thing is, I have the full length of build time in the chroot but the binary install on my running system. Is there a way to either stop it from logging binary updates or removing them after it is done? I'd rather it not keep those times in either place really. I can't find a emerge option. It seems to record everything regardless. My reason for this, the binary install times throws off genlop -c and its estimates. Anybody have ideas? There is a long-standing bug [1] regrading this issue but given genlop currently is not actively developed I don't think there will be a solution soon. It should be possible to exclude binary merges as they can be identified in emerge.log which is read by genlop to generate the output. Also I don't think there is an option in portage to not log binary merges. [1] https://bugs.gentoo.org/120899 -- Best Daniel
Re: [gentoo-user] libreoffice fails to build, cannot download non-existant ~scarabeus/lpsolve-5.5.2.0.tar.xz ???
Am 21. Februar 2022 19:58:00 UTC schrieb Steven Lembark : >On Mon, 21 Feb 2022 20:35:23 +0100 >Daniel Pielmeier wrote: > >> https://bugs.gentoo.org/614866 > >Bug doesn't address it, but shouldn't using the alternate >lp library via "coinmp" sidestep the issue? > If you read through the bug you will find that it is addressed, at least indirectly. See comment #4. If you take a look at the libreoffice ebuild you will find that the sci-mathematics/lpsolve dependency is not controlled by the nlpsolver USE flag. This means it depends on it unconditionally. Only coimp is controllable via flag. Whether this is correct or not is another issue. -- Best regards Daniel
Re: [gentoo-user] libreoffice fails to build, cannot download non-existant ~scarabeus/lpsolve-5.5.2.0.tar.xz ???
https://bugs.gentoo.org/614866
Re: [gentoo-user] Re: Movie editing softeware
Wol schrieb am 22.12.21 um 19:45: What is an i-frame? As I understood it, typically when you had a scene change, a frame was written in full, then subsequent frames were stored as diffs. Is that what an i-frame is? Wikipedia [1] to the help. In which case, surely it can't be that tricky to delete a block without having to decode/encode more than a few frames? Encoding only the affected region is tricky because you need to use the same codec parameters (encoding profile, resolution, colour space, FPS, bit depth, bitrate, and possibly more parameters which are also codec dependent) like the rest of the unaffected portion of the video to be able to concatenate it again afterwards with the rest of the video. Also it is tricky to keep video an audio in sync when having a lot of cut points. Probably there are other issues depending on the required codecs. So making it work for every codec even only for the popular ones might be a lot of work. TTCut can do "smart cutting" by encoding only the affected GOP [2]. However it only works for Mpeg2 Video and Mpeg2 Audio or Dolby AC-3 Audio. I have not tested it but VidCutter [3] should also be capable of doing so and as I see there is no restriction on the codecs. They are the only ones I am aware of supporting this feature and they are packaged for Gentoo. [1] https://en.wikipedia.org/wiki/Video_compression_picture_types [2] https://en.wikipedia.org/wiki/Group_of_pictures [3] https://github.com/ozmartian/vidcutter -- Regards Daniel
Re: [gentoo-user] compton got masked?
caveman رَجُلُ الْكَهْفِ 穴居人 schrieb am 12.10.21 um 21:32: why? ty, cm. Portage should tell you why in the mask message! https://archives.gentoo.org/gentoo-dev-announce/message/d9f2e6c5b001239852b1c686bbab026b -- Regards Daniel
Re: [gentoo-user] askterisk 11.25.3-r1 masked
Am December 6, 2020 10:08:45 PM UTC schrieb the...@sys-concept.com: >On 12/06/2020 03:00 PM, Daniel Pielmeier wrote: >> Am December 6, 2020 9:23:07 PM UTC schrieb the...@sys-concept.com: >>> I'm looking at the output of "equery y asterisk" >>> and it shows asterisk-11.25.3-r1 is masked >>> and https://packages.gentoo.org/packages/net-misc/asterisk show as >>> stable (amd64) >>> >>> Why is it masked on my system? >> >> It is masked on every system! As the mask says users should upgrade >to newer versions! >> >> I guess https://packages.gentoo.org does not consider packages masked >by profiles. You can give your feedback about it here: >https://packages.gentoo.org/about/feedback > >Upgrade is not a problem, re-writing / debugging the extconfig.conf >(dial plan) is; it takes time. Which comes with every software update, you always have to adapt. This however was not your question! -- Best regards Daniel
Re: [gentoo-user] askterisk 11.25.3-r1 masked
Am December 6, 2020 9:23:07 PM UTC schrieb the...@sys-concept.com: >I'm looking at the output of "equery y asterisk" >and it shows asterisk-11.25.3-r1 is masked >and https://packages.gentoo.org/packages/net-misc/asterisk show as >stable (amd64) > >Why is it masked on my system? It is masked on every system! As the mask says users should upgrade to newer versions! I guess https://packages.gentoo.org does not consider packages masked by profiles. You can give your feedback about it here: https://packages.gentoo.org/about/feedback -- Best regards Daniel
Re: [gentoo-user] [SOLVED] glabels not showing GNU Barcode
Daniel Pielmeier schrieb am 06.12.20 um 16:39: k...@aspodata.se schrieb am 06.12.20 um 13:22: Thelma: ... IT WORKED! Great! Regards, /Karl Hammar Things like this should be handled in a bug report! Actually there is one [1] already. Don't know who opened it and if it was independent of this discussion. Times of this thread and the bug opening suggest a relation ;-) [1] https://bugs.gentoo.org/758491 Okay now I know who opened the bug :-) thelma=joseph? Next time just add this information here. This way everybody interested can also track the progress at the bug tracker! -- Best Regards Daniel
Re: [gentoo-user] [SOLVED] glabels not showing GNU Barcode
k...@aspodata.se schrieb am 06.12.20 um 13:22: Thelma: ... IT WORKED! Great! Regards, /Karl Hammar Things like this should be handled in a bug report! Actually there is one [1] already. Don't know who opened it and if it was independent of this discussion. Times of this thread and the bug opening suggest a relation ;-) [1] https://bugs.gentoo.org/758491 -- Regards Daniel
Re: [gentoo-user] No sound from audacity...
Am June 26, 2020 3:37:03 PM UTC schrieb "Matt Connell (Gmail)" : >On 2020-06-26 06:00, Daniel Pielmeier wrote: >> Also I only every see you asking questions but >> never trying to answer questions of others. > >To play devil's advocate, and at the risk of going off-topic straight >away, a person who has a lot of issues/questions is going to be less >likely to be confident and knowledgeable enough to answer someone >else's >question. They'll be more likely to defer to more experienced readers. > >I have about 7 years of daily Gentoo use under my belt and I'm still >not >confident enough to answer a lot of the questions on this list without >some research and testing on my own, which time does not always permit. > >You make good, valid points otherwise. Just wanted to share that >internet stage-fright and imposter syndrome are both alive and well. All true! And it is no problem if the help is one sided, but on the other hand there are always low hanging fruits! -- Best regards Daniel
Re: [gentoo-user] No sound from audacity...
tu...@posteo.de schrieb am 26.06.20 um 12:06: > Hi, > > got a strange problem with audacity: > I did: > Load a *.wav file into audacity (it contains sound as visible in audacity > Menu->Select->Select all > Press play bottom > > Nothing > > This is printed on the console: > > Expression 'framesAvail' failed in > '/var/tmp/portage/media-libs/portaudio-19.06.00-r3/work/portaudio/src/hostapi/alsa/pa_linux_alsa.c', > line: 3625 > Expression 'PaAlsaStreamComponent_GetAvailableFrames( self, , > xrun )' failed in > '/var/tmp/portage/media-libs/portaudio-19.06.00-r3/work/portaudio/src/hostapi/alsa/pa_linux_alsa.c', > line: 3974 > Expression 'PaAlsaStreamComponent_RegisterChannels( >playback, > >bufferProcessor, , )' failed in > '/var/tmp/portage/media-libs/portaudio-19.06.00-r3/work/portaudio/src/hostapi/alsa/pa_linux_alsa.c', > line: 4103 > Expression 'PaAlsaStream_SetUpBuffers( stream, , )' failed in > '/var/tmp/portage/media-libs/portaudio-19.06.00-r3/work/portaudio/src/hostapi/alsa/pa_linux_alsa.c', > line: 4344 > > My installation is: > > > [I] media-sound/audacity > Available versions: 2.2.2^t (~)2.3.2^t (~)2.3.3^t {alsa doc ffmpeg > +flac id3tag jack +ladspa +lame +lv2 mad (+)midi nls +portmixer sbsms > +soundtouch twolame vamp +vorbis +vst CPU_FLAGS_X86="sse"} > Installed versions: 2.3.3^t(11:30:03 AM 06/26/2020)(alsa ffmpeg flac > ladspa lame lv2 mad nls portmixer soundtouch vorbis vst -doc -id3tag -jack > -midi -sbsms -twolame -vamp CPU_FLAGS_X86="sse") > Homepage:https://web.audacityteam.org/ > Description: Free crossplatform audio editor > > > Playback works fine using mpv, Firefox, etc...only audacity has a > problem. > > Is it hardwired to pulseaudio? First I thought about not responding here but decided otherwise. May I ask you first if you did a basic search about this issue before posting here? If I look for "'PaAlsaStreamComponent_GetAvailableFrames( self, , xrun )' failed" the first result is a link to the Gentoo forum [1] which suggests the installation of alsa-oss to fix this issue. So did you look for the issue and put some effort into it before posting here? No offense but you post a lot of questions about problems you have here which in my opinion are often solved with little effort you could have done yourself. So the thought pops up that you are just lazy and let others do the work. Also I only every see you asking questions but never trying to answer questions of others. Explaining your problem and also stating what you already tried or where you have looked for a solution will avoid that people get that impressions and they may be more helpful. Or the post is completely unnecessary because you solved it yourself after 5 minutes of investigation which saves the time of all the other list participants. Just a friendly recommendation from me as over time this annoys me a little and probably I am not the only one here. If people are annoyed it is unlikely for them to help. So help yourself to make others help you. [1] https://forums.gentoo.org/viewtopic-t-1109266-start-0.html -- Best Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: firefox 68
Mick schrieb am 18.09.19 um 11:47: > On Monday, 16 September 2019 17:55:45 BST Daniel Pielmeier wrote: > >> What fixed the issue for me was deleting the files addons.json and >> addonStartup.json.lz4. As well as addons.sqlite which is superseded by >> addons.json anyway. >> >> After this firefox started fine. Having had problems with addons before >> I knew deleting this files is somewhat safe. At least there weren't any >> apparent problems afterwards. Bonus is you keep all your settings for >> firefox and the addons. >> >> However I can't guarantee this works for everybody so create a backup of >> your firefox profile before. > > I haven't found any addons.sqlite on two systems so far. Deleting only > addonStartup.json.lz4 allowed Firefox to launch, without losing any settings, > bookmarks, addons, extensions, etc. > > The addonStartup.json.lz4 file (as well as addons.json if re/moved), are > recreated next time FF is launched. Perhaps something in the FF json engine > changed and the old json script syntax is not liked much. > > Thanks again Daniel for your suggestion. :-) > You're welcome. As I mentioned, addons.sqlite was superseded by addons.json. This happened with firefox version 25.0. So it only exists on systems which had older versions of firefox installed. The installation here is around 6.5 years old and at this time there was firefox 22. However I rescued the profile from previous hardware so it might as well be more than 12 years. But at this time I probably still used SeaMonkey or even the Mozilla Suite. -- Regards Daniel
Re: [gentoo-user] Re: firefox 68
Peter Humphrey schrieb am 16.09.19 um 09:47: > > In my case, building with all those system libraries causes firefox to fail > on > startup: it complains thus: > > $ firefox > 1568619005920 addons.manager ERROR Exception calling provider > GMPProvider.startup: [Exception... "Component returned failure code: > 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIStringBundle.GetStringFromName]" > nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: > resource://gre/modules/addons/GMPProvider.jsm :: buildPluginList :: line 844" > > data: no] Stack trace: buildPluginList()@resource://gre/modules/addons/ > GMPProvider.jsm:844 > startup()@resource://gre/modules/addons/GMPProvider.jsm:721 > callProvider()@resource://gre/modules/AddonManager.jsm:213 > _startProvider()@resource://gre/modules/AddonManager.jsm:649 > startup()@resource://gre/modules/AddonManager.jsm:873 > startup()@resource://gre/modules/AddonManager.jsm:3469 > observe()@resource://gre/modules/addonManager.js:70 > 1568619006132 Marionette FATAL^ > JavaScript error: resource://gre/modules/AutoCompletePopup.jsm, line 113: > NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 > (NS_ERROR_ILLEGAL_VALUE) [nsIObserverService.removeObserver] > > Pro tem I've negated all the system-* flags in package.use. > I am not really sure this has anything to do with using the system libraries or the ones shipped with firefox. On my system firefox started fine for the first time after the update but I was only able to get it running in safe mode for subsequent starts. As the error message indicates as well as the fact that firefox is starting fine in safe mode it is highly likely a problem with one or more addons. In this case there is the option to refresh firefox but here you loose all settings for firefox and the addons. What fixed the issue for me was deleting the files addons.json and addonStartup.json.lz4. As well as addons.sqlite which is superseded by addons.json anyway. After this firefox started fine. Having had problems with addons before I knew deleting this files is somewhat safe. At least there weren't any apparent problems afterwards. Bonus is you keep all your settings for firefox and the addons. However I can't guarantee this works for everybody so create a backup of your firefox profile before. -- Best Regards Daniel
Re: [gentoo-user] PSA: openrc-0.41 system borkage & ro root fs on next boot
Daniel Pielmeier schrieb am 23.02.19 um 16:37: > Daniel Pielmeier schrieb am 23.02.19 um 16:25: >> Holger Hoffstätte schrieb am 23.02.19 um 15:15: >>> >>> Last night openrc was updated to ~0.41, supposedly fixing [1]. >>> >>> Unfortunately it seems it had the opposite effect and made things worse >>> compared to the previous 0.42.3 - the deptree is broken, rc-status >>> remains confused and a reboot results in a read-only root fs because >>> (I think) the runlevels are all mixed up, esp. /etc/runlevels/boot. >>> >>> Restoring /etc/runlevels from backup & downgrade to 0.40.3 fixed it. >>> >>> If someone can reproduce this in a VM (I cannot do so right now) please >>> file a bug with more information. >>> >>> hth, >>> Holger >>> >>> [1] https://bugs.gentoo.org/659906 >>> >>> >>> >> >> Same here! However I am still on sys-apps/openrc-0.38.3-r1. I think the >> culprit is sys-fs/udev-init-scripts-33 which got an upgrade from version >> 32 on the day before this started happening! >> > > What's to add is that restarting from the semi booted state always > resulted in the same partial boot with the rootfs mounted read-only. > After fixing this by manually starting all services everything was fine > after the next boot. Today when booting again the same happened. I am > writing this now from the manually started system. I will try restarting > over and check if I can reproduce this issue reliable. > Rebooting a few times always resulted in a failed boot! Maybe the other time I was just lucky. Downgrading to sys-fs/udev-init-scripts-32 seems to fix the issue. I opened bug 678638 [1] about this issue. [1] https://bugs.gentoo.org/678638 -- Regards Daniel
Re: [gentoo-user] PSA: openrc-0.41 system borkage & ro root fs on next boot
Daniel Pielmeier schrieb am 23.02.19 um 16:25: > Holger Hoffstätte schrieb am 23.02.19 um 15:15: >> >> Last night openrc was updated to ~0.41, supposedly fixing [1]. >> >> Unfortunately it seems it had the opposite effect and made things worse >> compared to the previous 0.42.3 - the deptree is broken, rc-status >> remains confused and a reboot results in a read-only root fs because >> (I think) the runlevels are all mixed up, esp. /etc/runlevels/boot. >> >> Restoring /etc/runlevels from backup & downgrade to 0.40.3 fixed it. >> >> If someone can reproduce this in a VM (I cannot do so right now) please >> file a bug with more information. >> >> hth, >> Holger >> >> [1] https://bugs.gentoo.org/659906 >> >> >> > > Same here! However I am still on sys-apps/openrc-0.38.3-r1. I think the > culprit is sys-fs/udev-init-scripts-33 which got an upgrade from version > 32 on the day before this started happening! > What's to add is that restarting from the semi booted state always resulted in the same partial boot with the rootfs mounted read-only. After fixing this by manually starting all services everything was fine after the next boot. Today when booting again the same happened. I am writing this now from the manually started system. I will try restarting over and check if I can reproduce this issue reliable. -- Regards Daniel
Re: [gentoo-user] PSA: openrc-0.41 system borkage & ro root fs on next boot
Holger Hoffstätte schrieb am 23.02.19 um 15:15: > > Last night openrc was updated to ~0.41, supposedly fixing [1]. > > Unfortunately it seems it had the opposite effect and made things worse > compared to the previous 0.42.3 - the deptree is broken, rc-status > remains confused and a reboot results in a read-only root fs because > (I think) the runlevels are all mixed up, esp. /etc/runlevels/boot. > > Restoring /etc/runlevels from backup & downgrade to 0.40.3 fixed it. > > If someone can reproduce this in a VM (I cannot do so right now) please > file a bug with more information. > > hth, > Holger > > [1] https://bugs.gentoo.org/659906 > > > Same here! However I am still on sys-apps/openrc-0.38.3-r1. I think the culprit is sys-fs/udev-init-scripts-33 which got an upgrade from version 32 on the day before this started happening! -- Regards Daniel
Re: [gentoo-user] ncurses / tinfo problem
Am March 30, 2018 10:07:41 AM UTC schrieb Helmut Jarausch: >Hi, >there are several packages which fail to link since they are missing >'-ltinfo' - recently >app-antivirus/clamav-0.99.4-r1 > >For a temporary fix I have edited the config.status file by changing > >S["CURSES_LIBS"]="-lncurses" >to >S["CURSES_LIBS"]="-lncurses -ltinfo" > >and using > >ebuild /usr/portage/app-antivirus/clamav/clamav-0.99.4-r1.ebuild merge > >But I think that this is a more general problem. > >Has anybody found a fix which works for several such packages? > >Many thanks for a hint, >Helmut https://bugs.gentoo.org/457530 tracks all packages having the same problem. -- Regards Daniel
Re: [gentoo-user] ncurses / tinfo problem
Am March 30, 2018 10:07:41 AM UTC schrieb Helmut Jarausch: >Hi, >there are several packages which fail to link since they are missing >'-ltinfo' - recently >app-antivirus/clamav-0.99.4-r1 > >For a temporary fix I have edited the config.status file by changing > >S["CURSES_LIBS"]="-lncurses" >to >S["CURSES_LIBS"]="-lncurses -ltinfo" > >and using > >ebuild /usr/portage/app-antivirus/clamav/clamav-0.99.4-r1.ebuild merge > >But I think that this is a more general problem. > >Has anybody found a fix which works for several such packages? > >Many thanks for a hint, >Helmut This are bugs in the build system of the package which is not detecting the separate library. You should file a bug about it. Is there a special requirement for building ncurses with tinfo? If not the easy fix is disabling the tinfo USE flag for ncurses. -- Best Regards Daniel
Re: [gentoo-user] conky failed to build: Missing unknown library/application/whatever
Am 3. Januar 2017 10:23:05 MEZ schrieb lee <l...@yagibdah.de>: >Daniel Pielmeier <bil...@gentoo.org> writes: > >> Afaik nvidia-settings is on it's way out of portage thus considered >> deprecated. > >What's is replacing it? I mentioned it my the previous mail but I should have been more clear. nvidia-drivers with USE="tools" should provide nvidia-settings [1] and USE="static-libs" should provide XNVCtrl. [1] https://bugs.gentoo.org/show_bug.cgi?id=562910 -- Regards Daniel
Re: [gentoo-user] conky failed to build: Missing unknown library/application/whatever
meino.cra...@gmx.de schrieb am 01.01.2017 um 07:29: [snip] > CMake Error at cmake/ConkyPlatformChecks.cmake:353 (message): > Unable to find XNVCtrl library > Call Stack (most recent call first): > CMakeLists.txt:37 (include) > [snip] > > I searched for XNVCtrl with eix and didn't found anything related. > The internet says, it is part of nvidia-settings, but my > nvidia-settings are uptodate and no USE-flag seems to be guilty for > not builing that library. > > How can I cirumvent that problem ? [snip] Afaik nvidia-settings is on it's way out of portage thus considered deprecated. Unmerge it and conky should pull in nvidia-drivers with USE="tools,static-libs" automatically. -- Regards Daniel 0xC5E80123.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] off topic: rotating a video
gottl...@nyu.edu schrieb am 16.02.2015 um 21:51: I apologize in advance for this off topic query. I took a video with my phone (galaxy note 4) and via google+ uploaded it to my mail laptop. It is an mp4 and plays fine on both the phone and the labtop except that it is sideways. I was surprised that neither the player on the phone nor the player on the laptop (totem, I run gnome) seems to offer a rotation option. Am I missing a slightly hidden option or do I need another program. I do not do video editing and do no plan to in the near future. thanks, allan Funny, I did search for this just a few minutes ago. Rotate when playing back with VLC [1] Re-encode the video and rotate it with ffmpeg [2] [1] http://www.howtogeek.com/howto/14751/rotate-a-video-90-degrees-with-vlc-or-windows-live-movie-maker/?PageSpeed=noscript [2] http://stackoverflow.com/questions/3937387/rotating-videos-with-ffmpeg -- Regards, Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] HP printing query
Philip Webb schrieb am 16.04.2014 01:07: I ran into a problem trying to print yesterday -- solved for now -- , but would like to simplify things for the next occasion. What appears to have happened is that when I updated Hplip + Cups, one of them created a new printer, so that the list now appears as : Deskjet_2510Automatically setup by HPLIP HP Deskjet 2510 Series hpijs, 3.13.9 Paused - Filter failed Deskjet_2510_2 Deskjet_2510_2 HP Deskjet 2510 Series hpijs, 3.13.9Idle I had the Vim plug-in 'prtdialog' + Kwrite + LO set to use the former, but needed to change them all to the latter to get the printer to respond. Is this something I have to allow for whenever I update those pkgs ? I can delete the old one as root, but can I rename the new one ? Just for your information I have removed the auto-configuration [1] of hplip printers done by udev rules. There was as well an upgrade and an uninstall tool which I have removed as well. This are things which should be done by the user/admin. As mentioned on the wiki page for hplip [2] at every upgrade the recommended action is to delete all print queues and recreate them again, either with hp-setup or the cups web interface. [1] *hplip-3.14.3 (07 Mar 2014) 07 Mar 2014; Daniel Pielmeier bil...@gentoo.org +hplip-3.14.3.ebuild: Version bump. This version adds a patch which removes the update and uninstall python scripts as well as the auto-configuration/plug-in installation related stuff from the udev rules. This should fix Gentoo bug #434830 (Upstream bug https://bugs.launchpad.net/hplip/+bug/1080353). [2] https://wiki.gentoo.org/wiki/HPLIP -- Regards Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] sci-mathematics/glpk-4.45 patch fails
This is a bug. Please file one at bugs.gentoo.org. The patch which is missing got removed with the latest version bump of glpk but it is still referred to from the ebuild of version 4.45. -- Regards Daniel
Re: [gentoo-user] eix target per dir
James schrieb am 20.03.2014 21:58: Hello, I often go to /usr/portage/target-dir and browse the packages under a given category; for example /usr/portage/media-sound Rather that looking at the packages one at a time, It be nice to use (perhaps gentoolkit options therein) syntax/options to list all the packages in a (dir) group and the single line description, it batches? Thus allowing quickbrowsing by category to decide which packages to install and test, based on quickly looking at the descriptions. The output should look something like this? media-sound/SmarTagger Description: Perl script for renaming and tagging mp3s snip media-sound/zynaddsubf Description: ZynAddSubFX is an opensource software synthesizer. Suggestions and ideas, that already exist, are welcome; or do I need to hack something (ugly)? eix -cC category -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Setting up shorewall
Peter Humphrey schrieb am 03.02.2014 17:56: Hello list, I'm in the process of setting up shorewall on my LAN server, and shorewall.conf asks for the location of the tc utility. Can anyone tell me what this program is? Google results suggest it's a traffic control program, but what package is it in? /sbin/tc in sys-apps/iproute2 found by e-file tc /usr/bin/e-file in app-portage/pfl -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] new printer : any thoughts ?
2013/12/11 Philip Webb purs...@ca.inter.net My ancient printer's ink cartridge has finally dried up the mobo in my regular computer accepts only USB. I don't do much printing, but occasionally need a few pages. The local store has an HP Deskjet 2510 on sale this week. Does anyone have thoughts or suggestions ? Regarding HP printers and hplip, I recommend buying a printer which does not require a binary plugin [1]. First they are a source of trouble and second the binary plugins are not supported by Gentoo which means there is no maintainer for a plugin ebuild [2]. Plugin installation currently is not under contol of the package manager and hplip tries to automagically download and install the plugin which often fails. [1] http://hplipopensource.com/hplip-web/plugin.html [2] https://bugs.gentoo.org/show_bug.cgi?id=352439 -- Regards Daniel
Re: [gentoo-user] Do I require static nodes?
2013/11/27 Chris Stankevitz chrisstankev...@gmail.com Hello, Portage recently told me this: * You need to add kmod-static-nodes to the sysinit runlevel for * kernel modules to have required static nodes! * Run this command: * rc-update add kmod-static-nodes sysinit Will you please help me parse this statement? Interpretation A: * You need to add kmod-static-nodes to the sysinit runlevel Interpretation B: * If your kernel modules require static nodes, then you need to add * kmod-static-nodes to the sysinit runlevel Q1: Is it A or B (or C...)? Q2: If it's B, then how do I determine whether or not my kernel modules require static nodes? I also had trouble to interpret the message and because I was lazy I just added the kmod-static-nodes to the sysinit runlevel. After searching a bit I found that this was added due to bug #477856, but reading this as well as the release notes for kmod I am still not sure if this is needed in any case or just if there is a modular kernel etc. I am cc'ing one of the kmod maintainers maybe he can explain what is meant exactly. @Samuli: You have added the elog message to kmod-14-r1. Can you please give some more information about when kmod-static-nodes is required to be in the sysinit runlevel? Thanks in advance. -- Regards Daniel Pielmeier
Re: [gentoo-user] USE ruby_targets_ruby20
2013/11/15 Adam Carter adamcart...@gmail.com Not an answer to your question, but yesterday ruby got pulled in by an update to thin-provisioning-tools, which was required by lvm2. It looks like ruby is only required for the tests of sys-block/thin-provisioning-tools [1]. The new ebuild thin-provisioning-tools-0.2.8-r1 reflects this. So if you update to this version and don't use FEATURES=test it should not pull in ruby anymore. [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-block/thin-provisioning-tools/ChangeLog?r1=1.26r2=1.27 -- Regards Daniel Pielmeier
Re: [gentoo-user] USE ruby_targets_ruby20
2013/11/15 Tanstaafl tansta...@libertytrek.org On 2013-11-15 5:56 AM, Daniel Pielmeier bil...@gentoo.org wrote: The new ebuild thin-provisioning-tools-0.2.8-r1 reflects this. So if you update to this version and don't use FEATURES=test it should not pull in ruby anymore. I don't have FEATURES=test and it still wants to pull all the ruby crap in... I too would appreciate a resolution to this too... unless, of course, there is a very good reason to have ruby installed for ongoing maintenance. Well the ebuild I did mention above only requires ruby if the test use flag is enabled. Maybe anything else is pulling it in. -- Regards Daniel Pielmeier
Re: [gentoo-user] USE ruby_targets_ruby20
Chris Stankevitz schrieb am 15.11.2013 16:29: On Fri, Nov 15, 2013 at 5:33 AM, Tanstaafl tansta...@libertytrek.org wrote: The new ebuild thin-provisioning-tools-0.2.8-r1 reflects this. So if you update to this version and don't use FEATURES=test it should not pull in ruby anymore. I don't have FEATURES=test and it still wants to pull all the ruby crap in... Me too. I do not specify FEATURES=test and thin-provisioning-tools-0.2.8 still wants dev-lang/ruby-2.0.0_p247-r1: Guys, please read what I have written! _thin-provisioning-tools-0.2.8-r1_ -- -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] grub2: need the output of vbeinfo to be able to read the output of vbeinfo
meino.cra...@gmx.de schrieb am 20.10.2013 19:17: Hi, I just migrated to grub2 which works fine thanks to the good Gentoo docs! :) But... I need to increase the resolution of the boot screen to see what is going on there. The docs say, that with the command vbeinfo from the grub console I can see the valid modes of my grpahics card. Now...the current resolution of the grub console compbined with the unfortunate sorting of the output of vbeinfo I am currently only able to read the last entries of this realy long list. Therefore...I need the whole output of vbeinfo to set the console resulotion that way, so I will be able to read the output of vbeinfo deadlock? Nice things like 'less' or such are not available What can I do? Try this: set pager=1 http://www.gnu.org/software/grub/manual/grub.html#pager -- Regards Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] eix settings for searching all layman overlays
2013/7/7 Neil Bothwick n...@digimed.co.uk: On Sun, 07 Jul 2013 19:52:31 +0300, Thanasis wrote: I would like to use eix and (updating it via cron job) be able to search locally *all* layman overlays. What commands and settings should I use? LOCAL_LAYMAN=/path/to/layman/storage eix-remote -q update A good explaination on how to use eix-remote can be found here [1] and as usual in the man pages. [1] http://klaig.blogspot.de/2013/04/how-to-search-super-quickly-in-all.html -- Regards Daniel
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013/6/19 Tamer Higazi th9...@googlemail.com: Hi people! I am trying to build pycrypto, by it fails to merge. Always I get ACCESS VIOLATION. I didn't make the merge as user (with sudo), I am doing it as root from a shell. Which version of setuptools do you have installed? You can try to rebuild it. If this does not work this is probably a bug as the compile process tries to access the python site-packages outside of the sandbox. -- Regards Daniel Pielmeier
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013/6/19 Helmut Jarausch jarau...@igpm.rwth-aachen.de: On 06/19/2013 02:59:15 AM, Tamer Higazi wrote: Hi people! I am trying to build pycrypto, by it fails to merge. Always I get ACCESS VIOLATION. I didn't make the merge as user (with sudo), I am doing it as root from a shell. Not even a shell opened in gnome. Just in a plain terminal session. If anybody of you could tell me where the error might be, I would kindly thank you. Tamer The complete build error is here: http://pastebin.com/raw.php?i=wJsrm2ZH In there, there is the message Permission denied: '/usr/lib64/python2.7/site-packages/test-easy-install-666.write-test' I don't have this file here. Could you please check if you have this file, check it permissions and delete it in case you have it. Helmut I don't think the file exists, also why should he delete it? It is setuptools/pycrypto which tries to write files outside the sandbox which is not allowed. Tamer you can try if pycrypto installs fine with setuptools 0.7.3. If yes you should open a bug about the pycrypto-2.6-r2 sandbox issue with setuptools 0.6.30-r1 -- Regards Daniel
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013/6/19 Helmut Jarausch jarau...@igpm.rwth-aachen.de: On 06/19/2013 12:57:14 PM, Daniel Pielmeier wrote: 2013/6/19 Helmut Jarausch jarau...@igpm.rwth-aachen.de: The complete build error is here: http://pastebin.com/raw.php?i=wJsrm2ZH In there, there is the message Permission denied: '/usr/lib64/python2.7/site-packages/test-easy-install-666.write-test' I don't have this file here. Could you please check if you have this file, check it permissions and delete it in case you have it. Helmut I don't think the file exists, also why should he delete it? It is setuptools/pycrypto which tries to write files outside the sandbox which is not allowed. Because it could be that something first checks the existence of that file and only if it exists, tries to remove or use it. Helmut No ebuild should mess with the live system!!! The problem is probably with the doc use flag. Tamer you can also try to install pycrypto without this use flag. If it works you should open a bug about pycypto failing to build with the doc use flag. -- Daniel Pielmeier
Re: [gentoo-user] mesa 9.1.2.r1 fails to build
Bug 458550 -- Regards Daniel
Re: [gentoo-user] java-config, flaggie
2013/6/14 Silvio Siefke siefke_lis...@web.de: Hello, On Thu, 13 Jun 2013 20:29:00 +0200 Daniel Pielmeier bil...@gentoo.org wrote: pkg_resources is provided by setuptools. Maybe there is something wrong with it. Yes i think so, now is the problem that they need python package in version which is not in portage: siefke@gentoo-mobile ~ $ flaggie Traceback (most recent call last): File /usr/bin/flaggie, line 5, in module from pkg_resources import load_entry_point File /usr/lib64/python3.2/site-packages/pkg_resources.py, line 2852, in module working_set.require(__requires__) File /usr/lib64/python3.2/site-packages/pkg_resources.py, line 697, in require needed = self.resolve(parse_requirements(requirements)) File /usr/lib64/python3.2/site-packages/pkg_resources.py, line 595, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: setuptools==0.7.2 siefke@gentoo-mobile ~ $ java-config -help Traceback (most recent call last): File /usr/bin/java-config-2, line 5, in module from pkg_resources import load_entry_point File /usr/lib64/python3.2/site-packages/pkg_resources.py, line 2852, in module working_set.require(__requires__) File /usr/lib64/python3.2/site-packages/pkg_resources.py, line 697, in require needed = self.resolve(parse_requirements(requirements)) File /usr/lib64/python3.2/site-packages/pkg_resources.py, line 595, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: setuptools==0.7.2 Can i install manual the tool in this version? Thank you Greetings Silvio setuptools has been bumped recently to 0.7.2. However I don't know why the packages should require a version which is not even available! I think your problem must lie deeper. It looks like you have set python3 as main python interpreter. I recommend switching back to python2. -- Regards Daniel
Re: [gentoo-user] java-config, flaggie
Silvio Siefke schrieb am 14.06.2013 23:11: so i have install this setuptools from the website. Flaggie and Java Config work, i think but now trouble with the ant-core and i need the SWT Package. First of all you should not need to install setuptools-0.7.2 manual as it is already in the portage tree. I strongly advise you to use the in tree version. Second if java-config works, have you been able to properly set your system virtual machine? The output of ant-core suggests otherwise. PS: I think your attempt of installing onboard or some other software out side of the portage tree broke something. Maybe you should try to investigate when this problems did start and what you did before to find out possible causes. -- Regards Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] java-config, flaggie
Silvio Siefke schrieb am 13.06.2013 20:19: Hello, i have problems when i start java-config --help or flaggie to set USE Variables, i become the follow msg as error: siefke@gentoo-mobile ~ $ flaggie Traceback (most recent call last): File /usr/bin/flaggie, line 5, in module from pkg_resources import load_entry_point ImportError: No module named pkg_resources siefke@gentoo-mobile ~ $ java-config --help Traceback (most recent call last): File /usr/bin/java-config-2, line 5, in module from pkg_resources import load_entry_point ImportError: No module named pkg_resources Can it be that the Python Installation is broke? I have try to install Onboard (http://launchpad.net/onboard), since then is this problem. Has someone an idea? Thank you for help Greetings Silvio pkg_resources is provided by setuptools. Maybe there is something wrong with it. -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: Cdrtools installation without suid root
Joerg Schilling schrieb am 29.04.2013 18:36: Daniel Pielmeier bil...@gentoo.org wrote: 2013/4/29 Joerg Schilling joerg.schill...@fokus.fraunhofer.de Do you like people to be able to open security holes? Adding an option to enable/disable linkage to libcap does not hurt anybody it just eases maintaining the package. You can enable it by default if you wish. As long as it is possible to remove libcap from the system the security hole you are talking about is still there. The option does not change anything. Currently one could still compile cdrtools without libcap and afterwards install libcap and use setcap on cdrecord et al. which leads to the same problem. OK, I could create such an option. I just don't like people to be able to do this without knowing that there is a potential security problem if the cdrecord binary has been assigned file caps but cdrecord doesn't understand that it is running with enhanced privileges. So I hope that from this discussion people here will remember the problem in case that somebody later runs into it. Jörg Thank you very much. I'd appreciate that. I think on Gentoo I can take the measures that such things do not happen. From the distro perspective everything should be okay. Cdrtools is either installed suid root without capabilities and not linked against libcap or it is installed with capabilities and linked against libcap. If users are messing with setcap they should know what they are doing or they are on their own. Thank you for your support. -- Regards Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: Cdrtools installation without suid root
2013/4/29 Joerg Schilling joerg.schill...@fokus.fraunhofer.de Nikos Chantziaras rea...@gmail.com wrote: This may be an option for things that really are optional. Libcap however is not something optional but needed to support a basic security feature. I thought it is optional, since it was mentioned that cdrtools can be built and ran without it? If you call something that is needed in order to prevent security holes optional, you may call it optional. Unless you mean recommended instead of required. Recommended means it's still optional. Is something to grant security optional or required? As mentioned above, we are talking about a library to support basic security features, so the code from that library would really belong into libc. Since Linux now by default supports fcaps in the filesystems, cdrecord would open a security hole if the library was not used - without that library, cdrecord cannot even see that is has been called with additional privileges that need to be removed before the main code is executed. Do you really like to go into a security risk with your eyes open? You don't know what my intentions are. I might be doing testing, debugging, who knows what. It's the trying to be smarter than the user thing. The defaults of course would be to built the software in a sane, secure way. Only users who know what they're doing would disable that, and they'd have their reasons. Would you call someone who shoots himself into the foot smart? Recent Linux kernels support fcaps in the filesystems and somebody evil, who knows what he does may even set up fcaps on executable files when the related support-software is not installed, just because the unstable kernel interfaces are accessible from libc. Do you like people to be able to open security holes? Adding an option to enable/disable linkage to libcap does not hurt anybody it just eases maintaining the package. You can enable it by default if you wish. As long as it is possible to remove libcap from the system the security hole you are talking about is still there. The option does not change anything. Currently one could still compile cdrtools without libcap and afterwards install libcap and use setcap on cdrecord et al. which leads to the same problem. -- Regards Daniel Pielmeier
Re: [gentoo-user] Re: Cdrtools installation without suid root
Nikos Chantziaras schrieb am 27.04.2013 08:07: On 26/04/13 23:20, Joerg Schilling wrote: The only problem I see is that you are able to remove important software on a Linux installation while the kernel still supports the feature by default. You are not able to remove it if something actually uses it. If you remove the automagic dependency in cdrtools, you'll be giving the package manager the chance to do the right thing. Automagic deps are a bad thing: http://www.gentoo.org/proj/en/qa/automagic.xml Nikos thanks, this explains the problem better than I did. Jörg just tell me if you consider adding such an option or not. I am neither in the position to discuss decisions of the linux kernel team and other software developers nor am I am willing to. I have to deal with the situation I have here. In my opinion it is a good idea to add such an option. If you think otherwise I am fine with it and I have to use other means to make cdrtools compatible with Gentoo. -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Cdrtools installation without suid root
Joerg Schilling schrieb am 26.04.2013 18:18: Hi all, since Linux-2.6.24, fcaps support is part of the vanilla kernel. If you also add libcap user and developer support and the commands getcap and setcap, you will be able to install working versions for: cdrecord, cdda2wav, readcd without making them suid-root. This works with cdrtools-3.01a14 or later. Check ftp://ftp.berlios.de/pub/cdrecord/alpha/ for the sources. Happy hacking! Jörg Thanks Jörg, I have read the release notes for alpha14 and prepared an ebuild which automatically applies the required capabilities if the filecaps USE flag is set. Is there any chance to make this a configurable option, so it is possible to disable file capabilities even if libcap is installed? -- Regards Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Cdrtools installation without suid root
Joerg Schilling schrieb am 26.04.2013 19:07: Daniel Pielmeier bil...@gentoo.org wrote: without making them suid-root. This works with cdrtools-3.01a14 or later. Check ftp://ftp.berlios.de/pub/cdrecord/alpha/ Thanks Jörg, I have read the release notes for alpha14 and prepared an ebuild which automatically applies the required capabilities if the filecaps USE flag is set. Is there any chance to make this a configurable option, so it is possible to disable file capabilities even if libcap is installed? If you install cdrecord/cdda2wav/readcd suid-root instead of applying the facps privileges, cdrtools will automatically behave as before. Is this sufficient? Note that if cdrtools was compiled on a machine with libcap installed, it needs libcap to run. Jörg Actually it is the linkage against libcap what I am concerned of. Imagine the following scenario. Libcap is not present on the system. Then package X which requires libcap is installed and the package manager who knows this installs libcap as a dependency. Then package Y is installed which unconditionally links against libcap. The package manager is unaware of this and does not know about the dependency. Now package X is uninstalled and the package manager removes libcap because he thinks nothing on the system needs it anymore. Now package Y will stop working because libcap is not there anymore. If it is possible to conditionally link against libcap such issues could be avoided. Libcap will not be uninstalled if the dependency is known. Additionally it is possible to have libcap installed and not link cdrtools against it. -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Cdrtools installation without suid root
Joerg Schilling schrieb am 26.04.2013 20:31: Daniel Pielmeier bil...@gentoo.org wrote: Actually it is the linkage against libcap what I am concerned of. This is what I call a security risk with the current concepts of some linux systems. See Announcement file for more Imagine the following scenario. Libcap is not present on the system. Then package X which requires libcap is installed and the package manager who knows this installs libcap as a dependency. Then package Y is installed which unconditionally links against libcap. The package manager is unaware of this and does not know about the dependency. Now package X is uninstalled and the package manager removes libcap because he thinks nothing on the system needs it anymore. Now package Y will stop working because libcap is not there anymore. If it is possible to conditionally link against libcap such issues could be avoided. Libcap will not be uninstalled if the dependency is known. Additionally it is possible to have libcap installed and not link cdrtools against it. On Solaris, you cannot remove files that are part of the basic kernel features. Privileges on Solaris are a basic kernel feature and part of the basic security concept, so you cannot remove this on most Linux distros, it seems that you can. I am concerned about a different scenario: Imagine, you compile cdrtools without libcap and later install the support for the OS. Now you decide to use setcap to make cdrecord work. Cdrecord will really work this way, but you opened a security hole as this cdrecord now is not privileges aware and thus cannot even detect that it is running with more than basic privileges. Such a cdrecord installation will happyly write any local file for any local user to CD. Jörg If you add an option to make conditional linkage against libcap possible there are only two possible scenarios. cdrtools links against libcap and the capabilities are set or it doesn't link against libcap and cdrtools are installed suid root without capabilities. Everything is done in the ebuild and the user does not need to mess with setcap. It is controlled by the package manager and the linkage and capability setting are tied together at installation time. Just adding an option similar to the one for the ACLs would make my live a lot easier. Just enable it by default and make it possible to switch it off. -- Regards Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] emerge --depclean -p long list of packages
Joseph schrieb am 20.04.2013 03:09: On 04/19/13 21:34, Neil Bothwick wrote: On Fri, 19 Apr 2013 14:27:25 -0600, Joseph wrote: Can someone explain me why am I getting long list of packages when I run: emerge --depclean Please post the exact command you used and the complete output. I always use: emerge --depclean -p double check everything and then run: emerge --depclean The reason, I'm asking as sometimes I see normal output SNIP and on other system I have a list of all my packages scrolling by as I listed earlier. Pretty much sure there is a -v somewhere. I mean emerge --depclean -p vs. emerge --depclean -pv. As with -v the output looks like the one you described. -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] List of base system packages
Nilesh Govindrajan schrieb am 02.02.2013 14:42: On Sat, Feb 2, 2013 at 4:59 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sat, 2 Feb 2013 16:20:19 +0530 Nilesh Govindrajan m...@nileshgr.com wrote: I'm getting a weird error while trying to compile pam: * ERROR: sys-libs/pam-1.1.6-r2 failed (configure phase): * USE Flag 'hppa' not in IUSE for sys-libs/pam-1.1.6-r2 * * Call stack: * ebuild.sh, line 93: Called src_configure *environment, line 3550: Called use 'hppa' * phase-helpers.sh, line 219: Called die * The specific snippet of code: * die USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF} How to fix this? You should report that as a bug. hppa is not a USE flag, it is an arch keyword. Apart from modifying the ebuild there's not much you as a user can do - the thing the error is complaining about is done in the ebuild. Quite interestingly, the ebuild for pam 1.1.5 also checks for 'use hppa', so is it really a bug? :S pam-1.1.5.ebuild uses EAPI=4 and pam-1.1.6 uses EAPI=5. IIRC there were some changes in IUSE calculation between those EAPI's. So I think this warrants a bug just to clarify this. Strange thing is pam-1-1-6 compiles fine here and I think it should fail anywhere if the above mentioned eapi changes are the reason for this failure. Maybe there is something wrong with your configuration. -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: udev-197 moves from /usr/lib to /lib
James Cloos schrieb am 11.01.2013 21:30: Or, just: :; find /var/db/pkg -name CONTENTS | xargs -0 grep -l /usr/lib/udev/ | awk -F/ '{print = $5 / $6}' | xargs emerge -pv which should be fastest. -JimC Or emerge -av /usr/lib/udev. See man emerge 1 -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] HP PSC 1410 USB
2012/3/21 G. Sebastián Pedersen sebas...@gmail.com: I have a problem with my printer, wich is a HP psc 1410. It is USB, so I plugged in and follow the Gentoo howto: http://www.gentoo.org/doc/en/printing-howto.xml But I seems that no thing is detected :( This is my output os lsusb with the printer attached and on: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub I do use other things usb hot plug, like an mp3 and a cell phone, and work fine. So I don't think it is a Kernel misconfiguration. The printer I'm sure it's works, but I don't know if it's was ever installer on a Linux. Any ideas? anybody has expirienced with this printer? Did you take a look at the hplip section from the printing guide? Is CONFIG_USB_PRINTER enabled in the kernel configuration? -- Regards Daniel
Re: [gentoo-user] what is /usr/lib64/debug ?
2011/8/18 Allan Gottlieb gottl...@nyu.edu: /usr/lib64/debug seems to have in it a duplicate (at least as far as directory names are concerned) of much of /usr/lib64. For example ajglap lib64 # /bin/pwd /usr/lib64/debug/usr/lib64 ajglap lib64 # du -s * | sort -n | tail -10 34020 mesa 53148 gstreamer-0.10 155992 icedtea6 161360 llvm 208932 qt4 304016 xulrunner-devel-2.0 308880 xulrunner-2.0 618408 firefox 669000 libwebkitgtk-1.0.so.0.7.2.debug 1087848 libreoffice ajglap lib64 # Is this correct? My system is ~amd64 Do you have the splitdebug [1] FEATURE enabled? [1] http://www.gentoo.org/proj/en/qa/backtraces.xml -- Daniel Pielmeier
Re: [gentoo-user] Update of live ebuilds
Natanael Olaiz schrieb am 07.08.2011 14:46: Hi all, Someone knows a way to check for live ebuilds updates availability? When upgrading my system, if I just do an 'emerge -u' that doesn't include possible updates in live ebuilds. Then I need to force a reinstallation of live ebuilds, that probably have no updates, resulting a waste of time, or either do the repositories updates by hand (for instance 'svn up') in the src dir, to decide if I need to reinstall the ebuild.. I'd just found this thread about it: http://forums.gentoo.org/viewtopic-t-518701-postdays-0-postorder-asc-start-0.html But I was wondering: there is no other way/tool included in gentoo to do this? Maybe this one?!? https://github.com/mgorny/smart-live-rebuild/ -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] /usr/share/applications/mimeinfo.cache - how to manange it?
2011/7/5 Helmut Jarausch jarau...@igpm.rwth-aachen.de: Hi, I don't know how the /usr/share/applications/mimeinfo.cache is built. update-desktop-database But I don't like some ``priorities'' in there, e.g. I'd like to change the sequence of applications for html. Currently I have text/html=seamonkey.desktop;opera- browser.desktop;firefox.desktop;bluefish.desktop;midori.desktop;epiphany kfmclient_html.desktop;kde4-kimagemapeditor.desktop; and I'd like to see midori.desktop first in that list. Editing mimeinfo.cache only helps for a short since it gets rebuilt by nearly? each emerge. There is $HOME/.local/share/applications/mimeinfo.cache -- Regards Daniel
Re: [gentoo-user] Re: What's up with the hardened USE flag?
Neil Bothwick schrieb am 05.07.2011 00:36: On Tue, 05 Jul 2011 00:47:07 +0300, Nikos Chantziaras wrote: Why not? I see no downside to it but I'm willing to be educated. Imagine this: A package is built by default with Gtk as well as with Qt support. There is no USE flag which would omit building with one of those. Then, the ebuild developer introduces those USE flags. --changed-use will not catch this, so you will continue having both Gtk and Qt support in the package, even though you're interested only in one of them (Gnome vs KDE user, for example). Or, imagine another scenario. A package offers multithreading support, resulting in a huge speed-up on machines with more than one core or CPU. But the ebuild configures and builds the package without multithreading, and there's no USE flag. When the ebuild dev puts a USE flag in there (and probably turns it on by default), --changed-use will also not catch this, because it's not a USE flag that changed, but instead a new one that wasn't there before. So you will continue running the package in its slow built, missing out on the big performance gain. changed-use also acts on added/removed flags, it just doesn't recompile when the added/removed flag is not in use. So if my KDE system has -gtk to use your first example, you are right in that adding a gtk USE flag will not rebuild it until the next update and my program will continue to work as it did. However, adding an enabled multithreading USE flag as your second example will force a rebuild. It seems that the trade off here is that I have may have cruft that was previously compulsory but is now optional for a couple of weeks, but I won't have to rebuild libreoffice or xulrunner every time a dev tweaks a USE flag that doesn't affect me. That seems a reasonable trade to me, but I still have an open mind. The first scenario from Nikos seems valid but the second one with the per default enabled USE flag will trigger a rebuild as --changed-use only avoid rebuilds for disabled USE flags which are added or removed. I personally can only think of another issue. There may be a completely new use flag which you might want to enable. With --changed-use the changes wont show up in the depgraph and you are not aware of the new feature. You will only get them later when there is a version/revision bump. These are all minor things and as you said it is a reasonable trade for you to avoid useless rebuilds. Using --newuse instead of --changed-use is just my personal preference. Many systems are idling around most of the time, with --newuse they have to do something :) -- Regards, Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] What's up with the hardened USE flag?
2011/7/4 Nikos Chantziaras rea...@arcor.de: After syncing, some heavy packages wanted to rebuild because of the hardened USE flag. (I don't use the hardened profile, but they wanted to rebuild anyway.) Really heavy stuff including libreoffice and firefox-5. It took a few hours. Then, next resync, and the same packages want to rebuild again because of the hardened USE flag :-/ Anyone else getting this? These are big packages needing hours to get built. Everyone will get this. The culprit is a change in the pax-utils.eclass [1]. Which adds USE=hardened to every consumer of the eclass. It changes nothing for non hardened users but forces a rebuild of the affected packages. This unfortunate change was reverted [2] shortly afterwards, so everybody who did the recompile including me :) has to do it again. [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/pax-utils.eclass?r1=1.11r2=1.12 [2] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/pax-utils.eclass?r1=1.12r2=1.13 -- Regards, Daniel
Re: [gentoo-user] What's up with the hardened USE flag?
2011/7/4 Andrea Conti a...@alyf.net: Hello, Everyone will get this. The culprit is a change in the pax-utils.eclass [1]. Which adds USE=hardened to every consumer of the eclass. That's IUSE, not USE. USE flags are not touched (at least on non-hardened systems), so the change is only picked up by emerge if you use the --new-use option. IUSE~=USE [1] It changes nothing for non hardened users but forces a rebuild of the affected packages. If you're positively sure that a package's USE flags did not change since when it was last compiled, you can avoid recompiling by adding (or removing) the hardened flag in /var/db/pkg/category/package/IUSE. Please do not use such hacks, use --changed-use to avoid a rebuild instead of --new-use like Neil suggested. Anyway the change in the eclass was reverted, so everything is fine again. [1] http://devmanual.gentoo.org/ebuild-writing/variables/index.html -- Regards, Daniel
Re: [gentoo-user] What's up with the hardened USE flag?
2011/7/4 Andrea Conti a...@alyf.net: That's IUSE, not USE. IUSE~=USE [1] Um, yes. It's what I wrote. Just wanted to state that the use flags _have changed_ because of the IUSE=hardened injection in the eclass. The whole changeset itself has not effect for non hardened users but forcing a rebuild because of changed flags. I translate That's IUSE, not USE to IUSE!=USE With IUSE~=USE I wanted to say that it is somewhat the same. IUSE is a list of all USE flags including USE_EXPAND flags like video_cards_smth but not arch flags like x86 or amd64. Anyway if I do IUSE=FLAG in an eclass this flag will show up in any consumer of the eclass because it is cumulative and this forces a rebuild with --new-use. use --changed-use to avoid a rebuild instead of --new-use like Neil suggested. This only works if you *permanently* switch to --changed-use, otherwise you'll just postpone things to next time you use --new-use. I know I am not a fan of --changed-use myself thus I accepted the rebuild of openoffice,icedtea,thunderbird etc. and today I rebuild it again :) -- Regards, Daniel
Re: [gentoo-user] portage getting mixed up with USE?
2011/6/22 Sebastian Beßler sebast...@darkmetatron.de: Am 22.06.2011 17:31, schrieb Alan McKinnon: On Wednesday 22 June 2011 15:44:40 Neil Bothwick did opine thusly: On Wed, 22 Jun 2011 14:41:57 +0200, Alan McKinnon wrote: It is unset here (well, it's not set, actually - same thing) autounmask is set by default, you need to explicitly set it to off. So, is it invisibly on then? I don't have it in make.conf and it's not in FEATURES: It is not a FEATURE its a default option NOTE: This --autounmask behavior can be disabled by setting EMERGE_DEFAULT_OPTS=--autounmask=n in make.conf. Sorry for the confusion by mixing up FEATURES with EMERGE_DEFAULT_OPTS. I did not have a Gentoo machine at hand when writing this. -- Regards, Daniel
Re: [gentoo-user] portage getting mixed up with USE?
2011/6/22 Alan McKinnon alan.mckin...@gmail.com: # emerge -av claws-mail These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] net-libs/libetpan-1.0 USE=berkdb gnutls sasl ssl - debug -ipv6 -liblockfile 1,631 kB [ebuild N ] x11-libs/fltk-2.0_pre6970-r1 USE=jpeg opengl png xft xinerama zlib -cairo -debug -doc 2,470 kB [ebuild N ] www-client/dillo-2.2 USE=gif jpeg png ssl -doc - ipv6 616 kB [ebuild N ] mail-client/claws-mail-3.7.9-r1 USE=crypt dbus dillo gnutls imap ldap session spell ssl startup-notification - bogofilter -doc -ipv6 -nntp -pda -smime -spamassassin -xface 6,921 kB Total: 4 packages (4 new), Size of downloads: 11,637 kB The following USE changes are necessary to proceed: #required by www-client/dillo-2.2, required by mail-client/claws- mail-3.7.9-r1[dillo], required by claws-mail (argument) =x11-libs/fltk-2.0_pre6970-r1 -cairo Any reason why portage is telling me to set a USE that is already there per portage's own output? It will build fltk with USE=-cairo, so why the need to tell me to set it explicitly? I guess it displays the USE settings how they should be and afterwards prints the required changes. Or does it build fltk with USE=-cairo if you just type emerge -av fltk? -- Regards, Daniel
Re: [gentoo-user] portage getting mixed up with USE?
2011/6/22 Alan McKinnon alan.mckin...@gmail.com: On Wednesday 22 June 2011 10:49:04 Daniel Pielmeier did opine thusly: I guess it displays the USE settings how they should be and afterwards prints the required changes. Or does it build fltk with USE=-cairo if you just type emerge -av fltk? emerge -av fltk gives exactly the same output as above. The dillo ebuild doesn't seem to be causing this change in behaviour: RDEPEND=x11-libs/fltk:2[-cairo,jpeg=,png=] What it looks like is portage is insisting the package.use explicitly states the USE flags needed. This is wrong and I am not about to bloat package.use to cater for every built with use occurrence. Or perhaps it's now only looking at installed deps and not it's own dep graph when emerge runs. Portage should only care about whether the package is already built with use, or will be according to the dep graph So you get the same recommendation about the use flag change? If you have USE=cairo in make.conf or it is enabled via some profile (desktop?) you have to add =x11-libs/fltk-2.0_pre6970-r1 -cairo to package.use to override this on a per package basis. I think there is no way around this. -- Regards, Daniel
Re: [gentoo-user] portage getting mixed up with USE?
2011/6/22 Neil Bothwick n...@digimed.co.uk: On Wed, 22 Jun 2011 10:18:05 +0200, Alan McKinnon wrote: The following USE changes are necessary to proceed: #required by www-client/dillo-2.2, required by mail-client/claws- mail-3.7.9-r1[dillo], required by claws-mail (argument) =x11-libs/fltk-2.0_pre6970-r1 -cairo Any reason why portage is telling me to set a USE that is already there per portage's own output? As Daniel said, this is what portage needs, it's been that way since the autounmask stuff was introduced. Or you could emerge Claws with -dillo and use the fancy plugin for HTML rendering. I stopped using the dillo renderer years ago. Actually it is like that since the introduction of use-dependencies like cat/pkg-ver[use] and _before_. Autounmask ist just for the users convenience to copy paste the needed changes to package.use. I guess the reason for this coming up more often is that develpopers start to use use-dependencies more often. Before the introduction of use dependencies the only possible way was to stop emerge at build time and tell the user he needs USE=X for package Y. With use dependencies it is now possible to inform the user about it when resolving the dependencies. So nothing has changed. If a package requires use settings which are different from the defaults you have to override this on a per package basis via package.use. -- Regards, Daniel
Re: [gentoo-user] portage getting mixed up with USE?
2011/6/22 Alan McKinnon alan.mckin...@gmail.com: Ah, hang on a sec. It's not quite what I thought. The original emerge command done again, plus just fltk on it's own: # USE=dillo emerge -pv claws-mail ... Calculating dependencies... done! [ebuild N ] net-libs/libetpan-1.0 USE=berkdb gnutls sasl ssl - debug -ipv6 -liblockfile 0 kB [ebuild N ] x11-libs/fltk-2.0_pre6970-r1 USE=jpeg opengl png xft xinerama zlib -cairo -debug -doc 0 kB [ebuild N ] www-client/dillo-2.2 USE=gif jpeg png ssl -doc - ipv6 0 kB [ebuild R ] mail-client/claws-mail-3.7.9-r1 USE=crypt dbus dillo* gnutls imap ldap session spell ssl startup-notification - bogofilter -doc -ipv6 -nntp -pda -smime -spamassassin -xface 0 kB # emerge -pv fltk ... Calculating dependencies... done! [ebuild N ] x11-libs/fltk-2.0_pre6970-r1 USE=cairo jpeg opengl png xft xinerama zlib -debug -doc 0 kB The first and second are very different. I was under the impression portage only did this if the USE flags for a package needed to be changed from the current settings. Now it appears that emerge output (at least in the case of an unsatisfied emerge) is what portage *needs* to do instead of what it *will* do This is what I mentioned before. Portage has always displayed the latter right? That makes sense - you can see what the emerge command would do as entered and compare it to the error to see what the problem is. In this case it's a tweak to package.use which I'm perfectly happy to do. I think it's bug time, portage is displaying the wrong output for failures. You can try if you get the desired output if FEATURES=-autounmask. If you enable autounmask portage automatically enableds the required changes and tells you the changes required to your configuration. -- Regards, Daniel
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
2011/6/20 Dale rdalek1...@gmail.com: This is what I got just a few minutes ago. Failed to emerge net-print/hplip-3.11.5, Log file: 3.11.5 != 3.11.5-r1 The patch is in 3.11.5-r1 as I mentioned before. I did not add it to 3.11.5 because this version is about to become stable. Please test if hplip-3-11-5-r1 build with cups-1.5_rc1. -- Regards Daniel
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Willie Wong schrieb am 20.06.2011 15:44: On Sun, Jun 19, 2011 at 01:40:06PM +0200, Daniel Pielmeier wrote: Well now that I am aware of it, the issue is known. One of the many reasons I love gentoo. Thanks Daniel. You're welcome! -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Dale schrieb am 19.06.2011 01:35: Hi, Did my sync and upgraded some stuff then ran into this hiccup. I posted the console output only this time. If someone else has ran into this and has a fix, then we are good to go. If this is a first timer, I'll post the rest of the info if needed. I looked on bgo and the forums with no luck. I don't recall seeing this on this list either. Ideas? Oh, I did run etc-update and then did env-update and source /etc/profile just in case some other update changed something. No joy there either. Did you by any chance unmask cups-1.5? -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Dale schrieb am 19.06.2011 01:35: Hi, Did my sync and upgraded some stuff then ran into this hiccup. I posted the console output only this time. If someone else has ran into this and has a fix, then we are good to go. If this is a first timer, I'll post the rest of the info if needed. I looked on bgo and the forums with no luck. I don't recall seeing this on this list either. Ideas? Oh, I did run etc-update and then did env-update and source /etc/profile just in case some other update changed something. No joy there either. Looks like this is an issue with cups-1.5. If you really need it, you can try the attached patch. I have not tested it but it should do the trick. -- Daniel Pielmeier diff -up hplip-3.11.5/prnt/hpps/hppsfilter.c.cups15 hplip-3.11.5/prnt/hpps/hppsfilter.c --- hplip-3.11.5/prnt/hpps/hppsfilter.c.cups15 2011-06-10 11:44:25.933781345 +0100 +++ hplip-3.11.5/prnt/hpps/hppsfilter.c 2011-06-10 11:46:24.474510996 +0100 @@ -38,6 +38,7 @@ #include unistd.h #include fcntl.h #include cups/cups.h +#include cups/ppd.h #include sys/types.h #include sys/stat.h signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Dale schrieb am 19.06.2011 11:12: It appears so. I have net-print/cups-1.5_rc1 installed. cups-1.5 is hard masked so there must be something in your package.unmask to allow portage installing it. Should I go down one version? It seems portage is trying to upgrade to the latest on both. I'm pretty sure it just upgraded cups but hplip failed. If you ask like this, I guess you have no specific reason to use 1.5 so I recommend you to go down to 1.4.x. -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Dale schrieb am 19.06.2011 11:13: Daniel Pielmeier wrote: Looks like this is an issue with cups-1.5. If you really need it, you can try the attached patch. I have not tested it but it should do the trick. Should I report it as a bug or is it already a known issue? +*hplip-3.11.5-r1 (19 Jun 2011) + + 19 Jun 2011; Daniel Pielmeier bil...@gentoo.org +hplip-3.11.5-r1.ebuild, + +files/hplip-3.11.5-cups-1.5.patch: + Fix build with cups-1.5, thanks to Dale for the report on the gentoo-user + mailing list. Well now that I am aware of it, the issue is known. I have added the patch to hplip-3.11.5-r1. Please sync in a few hours and test if hplip builds correct now. -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] udisks wants to downgrade udev and parted - but why?
Helmut Jarausch schrieb am 07.06.2011 17:36: When trying to emerge sys-fs/udisks-1.0.2-r4 it wants to downgrade sys-fs/udev from 171 to 168-r2 The udisks' ebuild contains =sys-fs/udev-147[extras] sys-fs/udev hasn't an 'extra' use flag But sys-fs/udev-168-r2 has an extra use flag thus the dependency is satisfied and portage wants to downgrade udev. See bug http://bugs.gentoo.org/348472 for more information. -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] system rescue usb stick
2011/5/19 Valmor de Almeida val.gen...@gmail.com: Hello, Is SystemRescueCd still a good system rescue tool? The web site has not been updated for over 1 year. Thanks for other suggestions. The latest release for SystemRescueCd 2.1.1 is dated 2011-05-07! Just looking at the This page was last modified on is not enough. -- Regards, Daniel Pielmeier
Re: [gentoo-user] LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed
Carlos Sura schrieb am 14.04.2011 21:47: Yes, I'm using ~amd64 version of glib, I tried to downgrade glib, but it show me this error: *downgrading glibc is not supported and a sure way to destruction.* sys-libs/glibc != dev-libs/glib It should be safe to downgrade dev-libs/glib. -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed
2011/4/12 Carlos Sura carlos.su...@googlemail.com: It might be GLIB? (I've reciently updated) Do you also use the ~amd64 version of glib? What about downgradeing it to the version you had before, should be worth a try and quicker than rebuiding libreoffice on and on. -- Daniel Pielmeier
Re: [gentoo-user] New bugzilla has broken search?
2011/3/29 Nikos Chantziaras rea...@arcor.de: Either I'm doing something wrong, or the new bugzilla version at bugs.gentoo.org really sucks at searching. Let's for example go here: http://bugs.gentoo.org/query.cgi?format=specific and select All for Status. Then search for kde-base/kdelibs. It takes a *lot* of time to complete, and worse, it returns a hell of a lot of results that have nothing whatsoever to do with the search query. Did no one else notice? AFAIK, this is because the search defaults to not only query summaries but also comments, so you get a lot of unrelated results. I think there is a bug open about it. In the meantime you can use the advanced search. -- Daniel Pielmeier
Re: [gentoo-user] Thunderbird problem
dhk schrieb am 05.03.2011 19:53: However, now I can't do a fresh install thunderbird or enigmail. I get the same errors as above about python. https://bugs.gentoo.org/357525 -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Thunderbird problem
dhk schrieb am 05.03.2011 22:42: Yes, that's the problem. I guess it means it will be in the next version. In the meantime I added =mail-client/thunderbird-3.1.7 to /etc/portage/package.mask and everything seems to be fine. Just sync your portage tree and you should be able to install thunderbird again. -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: For net-print/hplip users
2011/2/14 Allan Gottlieb gottl...@nyu.edu: On Mon, Feb 14 2011, Daniel Pielmeier wrote: I wrote an update to the hplip section of the Gentoo Printing Guide [1], removed the elog messages from the ebuild and referred to the guide instead. I hope this helps everyone who is installing/upgrading hplip. [1] http://www.gentoo.org/doc/en/printing-howto.xml#hplip This is very nice. I would add that to use the scanner you need the scanner USE flag (I know that sounds obvious, but I would included it). Thanks for your input but I think this is too obvious to mention. If you own a scanner and see the scanner flag when you install a package, what will you do? Disable it? I guess not. -- Daniel Pielmeier
Re: [gentoo-user] Re: For net-print/hplip users
Daniel Pielmeier schrieb am 12.02.2011 20:16: walt schrieb am 12.02.2011 19:47: On 02/11/2011 06:47 PM, Daniel Pielmeier wrote: From the hplip ebuild: elog You should run hp-setup as root if you are installing hplip for the first time, elog and may also need to run it if you are upgrading from an earlier version. Yes, I saw that, and I *did* re-run hp-setup. But I didn't delete the existing cups printers, thinking it wouldn't be necessary. But it was :/ Well this is the purpose of hp-setup, adding or deleting printers. Run hp-setup -r then you can select the printer you want to delete. Afterwards run hp-setup without options to add them again. But you are right the message should be more verbose. I wrote an update to the hplip section of the Gentoo Printing Guide [1], removed the elog messages from the ebuild and referred to the guide instead. I hope this helps everyone who is installing/upgrading hplip. [1] http://www.gentoo.org/doc/en/printing-howto.xml#hplip -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: For net-print/hplip users
walt schrieb am 12.02.2011 19:47: On 02/11/2011 06:47 PM, Daniel Pielmeier wrote: From the hplip ebuild: elog You should run hp-setup as root if you are installing hplip for the first time, elog and may also need to run it if you are upgrading from an earlier version. Yes, I saw that, and I *did* re-run hp-setup. But I didn't delete the existing cups printers, thinking it wouldn't be necessary. But it was :/ Well this is the purpose of hp-setup, adding or deleting printers. Run hp-setup -r then you can select the printer you want to delete. Afterwards run hp-setup without options to add them again. But you are right the message should be more verbose. -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] For net-print/hplip users
walt schrieb am 12.02.2011 00:15: I've just spent an annoying two days trying to un-break my HP multifunction printer/fax/scanner, and I hope I can spare some of you the same trouble. My symptoms were that I couldn't send a fax using hp-sendfax, which has been working very well for years -- until now. After much floundering I finally tried deleting my existing cups printers and allowing hp-setup to create new ones. All better now :) There may be more than one way to delete cups printers, I dunno, but I used the cups http interface by typing 'http://localhost:631' in my firefox URL bar (cupsd must be running for this to work). From the hplip ebuild: elog You should run hp-setup as root if you are installing hplip for the first time, elog and may also need to run it if you are upgrading from an earlier version. This message is there for a reason! -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] cups hplib - how to divorce
2011/2/9 Helmut Jarausch jarau...@igpm.rwth-aachen.de: Hi, I think cups-1.4.6 and my HP printer via USB can't live in harmony. Often, it gets stuck. Then it tries to use feed 1 (manual feed) although I have configured cups to use feed 2. Can I just remove hlip from my system, delete and add my printer again in cups. Has anybody made similar experience? Does it work with stable cups? Do you use in kernel USB printer support or libusb? -- Daniel Pielmeier
Re: [gentoo-user] cups hplib - how to divorce
2011/2/9 Helmut Jarausch jarau...@igpm.rwth-aachen.de: AFAIR it worked just fine with CUPS-1.3.x Then why don't you use stable cups? I do have CONFIG_USB_PRINTER=y in my kernel configuration. New cups 1.4 can make use of the libusb package via the usb use flag. Without it uses the kernel USB support CONFIG_USB_PRINTER. If you want to use cups-1.4, I recommend to compile kernel USB support as module CONFIG_USB_PRINTER=m instead of built-in. This way you can test both methods without conflicts. Compile cups-1.4 with usb use flag and blacklist the usblp module to test if it works with libusb. To test if it works with the kernel module remove the blacklist entry and compile cups without usb use flag. Btw: cups-1.4 is not stable because of issues with usb support ([1] see also the depending bugs), so if both methods do not work for you I recommend using cups-1.3 for the time being. [1] http://bugs.gentoo.org/show_bug.cgi?id=333781 PS: You can only get rid of hplip if your printer is directly supported by cups and cups only supports a few HP printer. So in general you are better of with hplip. -- Daniel Pielmeier
Re: [gentoo-user] Mounting the rootfs by UUID?
Nils Larsson nisselars...@home.se: On Friday 21 January 2011 04:09:12 walt wrote: Has anyone managed to use that UUID feature to tell the kernel where to find the rootfs? You have to use a initramfs, see: http://en.gentoo-wiki.com/wiki/Initramfs#UUID.2FLABEL_Root_Mounting Starting from kernel-2.6.37 [1,2] this is possible without an intramfs [1] http://kernelnewbies.org/Linux_2_6_37#head-da4cb5f727d0f3b8fac1b23c097e15c3b49ff793 [2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b5af921ec02333e943efb59aca4f56b78fc0e100 -- Daniel Pielmeier
Re: [gentoo-user] Keymap used for bttv (dvbt) ???
2011/1/20 meino.cra...@gmx.de: bttv: driver version 0.9.18 loaded bttv: using 8 buffers with 2080k (520 pages) each for capture bttv: Bt8xx card found (0). bttv :01:06.0: PCI INT A - GSI 21 (level, low) - IRQ 21 bttv0: Bt878 (rev 17) at :01:06.0, irq: 21, latency: 64, mmio: 0xd5fff000 bttv0: detected: AVermedia AverTV DVB-T 771 [card=123], PCI subsystem ID is 1461:0771 bttv0: using: AVerMedia AVerTV DVB-T 771 [card=123,autodetected] bttv0: gpio: en=, out= in=00d7710f [init] bttv0: tuner absent bttv0: registered device video0 bttv0: registered device vbi0 bttv0: PLL: 28636363 = 35468950 . serial :03:00.1: PCI INT A - GSI 40 (level, low) - IRQ 40 Couldn't register serial port :03:00.1: -28 . ok bttv0: add subdevice dvb0 *** IR keymap rc-avermedia-dvbt not found *** Registered IR keymap rc-empty input: bttv IR (card=123) as /devices/pci:00/:00:14.4/:01:06.0/rc/rc0/input6 rc0: bttv IR (card=123) as /devices/pci:00/:00:14.4/:01:06.0/rc/rc0 bt878: AUDIO driver version 0.0.0 loaded bt878: Bt878 AUDIO function found (0). bt878 :01:06.1: PCI INT A - GSI 21 (level, low) - IRQ 21 bt878_probe: card id=[0x7711461],[ AVermedia AverTV DVB-T 771 ] has DVB functions. bt878(0): Bt878 (rev 17) at 01:06.1, irq: 21, latency: 64, memory: 0xd5ffe000 Take a look in the kernel configuration. I think there should be something like this Drivers - Media - IR. -- Daniel Pielmeier
Re: [gentoo-user] Keymap used for bttv (dvbt) ???
meino.cra...@gmx.de schrieb am 20.01.2011 18:03: I did this before posting and found nothing... Anything else ? What about: - Device Drivers - Multimedia support - Infrared remote controller adapters Compile Remote Controller keymap modules You can also try the dst module. It is not directly related as you do not use a remote control, but maybe it has some influence and you loose nothing by trying it. -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Firmware loading problem
meino.cra...@gmx.de schrieb am 17.01.2011 17:12: The problem is, that the channel selection does not work in a proper way: Suppose you have the channels: A B C D E F G * * = currently selected channel Now (in vlc) you press N for next. B gets selected. N...nothing happens. N D gets selected. P (previous) ... C gets selected. Sometimes you have to go even three steps forward and two backward to get a certain channel selected. A few channel sometime are not selectable at all Same with mplayer...so it is not the player itsself... Do you have all needed modules loaded? According to [1] you need bttv, bt878, mt352, dvb_bt8xx and dst (this one is probably responsible for the remote control). If the problem is not about missing modules I am out here as I do not have any experience with this type of card. http://www.vdr-wiki.de/wiki/index.php/Diskussion:DVB-T_Budget-PCI-Karten -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Firmware loading problem
2011/1/17 meino.cra...@gmx.de: I am running a vanilla linux kernel version 2.6.37 . Furthermore in /lib/firmware there is a folder called av7110 which I think contains the firmware for that card. I don't think this card needs a firmware. You just enabled to much dvb related stuff in your kernel configuration which results in the creation of this folder. I need the av7110 stuff here for my FF DVB-S card. What problem do you have with this card, normally dmesg should spit something out if there is firmware missing. I read, that I need hotplug to load this firmware while booting. I did a emerge hotplug which runs fine but gave me warning that I should emerge coldplug. Ok, so I did an additional emerge coldplug which fails with solfire:/home/mccramersudo emerge coldplug Calculating dependencies... done! [ebuild N ] sys-apps/coldplug-20040920-r1 [blocks B ] sys-apps/coldplug (sys-apps/coldplug is blocking sys-fs/udev-151-r4) [blocks B ] =sys-fs/udev-089 (=sys-fs/udev-089 is blocking sys-apps/coldplug-20040920-r1) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (sys-apps/coldplug-20040920-r1, ebuild scheduled for merge) pulled in by coldplug If I understand this correctly, I have to downgrade udev from udev-151 down to udev-089 to be able to install coldplug. Is this really needed? How can I install the firmware? I think the functionality from hot- and coldplug is now provided by udev thus the blocker. -- Daniel Pielmeier
Re: [gentoo-user] Strange problem with audio CDs
wick n...@digimed.co.uk: On Thu, 13 Jan 2011 13:37:04 +0100, Joerg Schilling wrote: cdda2wav gives inferior quality compared to cdparanoia and is still actively maintained. Did you really mean to write that? Probably s/inferior/superior/ -- Daniel Pielmeier