Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Bug in portage? Changes written to wrong file.

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
52midnight
Apprentice
Apprentice
User avatar
Posts: 176
Joined: Tue Mar 20, 2012 9:56 pm
Location: Brisbane AU
Contact:
Contact 52midnight
Website

Bug in portage? Changes written to wrong file.

  • Quote

Post by 52midnight » Wed Jul 08, 2015 1:12 am

After emerging terminator and creating a file in /package.use/ I tried emerging calibre, to be met with a long list of changes. I accepted the default to write them to the USE file, but they got written to a config-change file 'cfg00001-terminator'.

I renamed this 'terminator-should-be-calibre' and then tried emerging sigil. Same thing - long list of changes, accepted the default, but this time they got written to 'terminator-should-be-calibre'.

Has anyone else struck this behaviour?
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Wed Jul 08, 2015 1:33 am

What file do you think they should be written to?
Top
52midnight
Apprentice
Apprentice
User avatar
Posts: 176
Joined: Tue Mar 20, 2012 9:56 pm
Location: Brisbane AU
Contact:
Contact 52midnight
Website

  • Quote

Post by 52midnight » Wed Jul 08, 2015 1:43 am

If I'm emerging sigil, either to /package.use/sigil or /package.use/_cfg0001-sigil
Top
Irre
Guru
Guru
Posts: 434
Joined: Sat Nov 09, 2013 10:03 am
Location: Stockholm

  • Quote

Post by Irre » Wed Jul 08, 2015 7:32 am

Did you run "etc-update" ?
Top
52midnight
Apprentice
Apprentice
User avatar
Posts: 176
Joined: Tue Mar 20, 2012 9:56 pm
Location: Brisbane AU
Contact:
Contact 52midnight
Website

  • Quote

Post by 52midnight » Wed Jul 08, 2015 7:52 am

No, wasn't aware the command existed. Machine busy, will post back tomorrow - +12hrs . Thanks.
Top
xaviermiller
Bodhisattva
Bodhisattva
User avatar
Posts: 8738
Joined: Fri Jul 23, 2004 6:49 pm
Location: ~Brussels - Belgique
Contact:
Contact xaviermiller
Website

  • Quote

Post by xaviermiller » Wed Jul 08, 2015 10:24 am

Hi!,

One auto-stuff features create package.use infos, writing the latest file in lexicographical order.
Try to create a zzzPleaseUpdateMe and watch :)
Kind regards,
Xavier Miller
Top
52midnight
Apprentice
Apprentice
User avatar
Posts: 176
Joined: Tue Mar 20, 2012 9:56 pm
Location: Brisbane AU
Contact:
Contact 52midnight
Website

  • Quote

Post by 52midnight » Wed Jul 08, 2015 11:15 pm

> writing the latest file in lexicographical order.

Yes, that's what appears to be happening. When it updates a file I created and named 'terminator-should-be-calibre' so that it wouldn't know about it, something's amiss!
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Jul 09, 2015 1:38 am

By design, it knows about all files in that directory. You can name them whatever you like, and they will be combined in lexicographic order.
Top
52midnight
Apprentice
Apprentice
User avatar
Posts: 176
Joined: Tue Mar 20, 2012 9:56 pm
Location: Brisbane AU
Contact:
Contact 52midnight
Website

  • Quote

Post by 52midnight » Thu Jul 09, 2015 2:02 am

It does seems to be selecting the latest in the lex order, as xaviermiller suggested.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic