Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
world update. Einige Grundsatzfragen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
michel7
Guru
Guru


Joined: 04 May 2006
Posts: 461
Location: localhost

PostPosted: Fri Oct 10, 2008 7:05 am    Post subject: world update. Einige Grundsatzfragen Reply with quote

Habe etwas komisches am Portage festgestellt.

Wenn ich

Code:
tux michel # emerge -avuND world

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

Nothing to merge; would you like to auto-clean packages? [Yes/No]


zeigt er mir 0 Pakete zum Updaten an.

wenn ich

Code:
tux michel # emerge -avuND system

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-devel/gnuconfig-20080928 [20080123] 41 kB

Total: 1 package (1 upgrade), Size of downloads: 41 kB

Would you like to merge these packages? [Yes/No]


zeigt mir mein portage, dass 1 Paket geupdatet wird. Aber eigentlich sollte es bereits bei world angezeigt werden, weil world ja system beinhaltet?!

und wenn ich emerge -epv world mache dann zeigt er mir insgesamt 2 Pakete an die geupdatet werden. der rest wird rebuilded

Code:

[ebuild     U ] dev-util/intltool-0.40.5 [0.40.4] 138 kB [0]
[ebuild     U ] sys-devel/gnuconfig-20080928 [20080123] 41 kB [0]

Total: 585 packages (2 upgrades, 583 reinstalls), Size of downloads: 1,108,377 kB
Fetch Restriction: 3 packages (3 unsatisfied)


Müsste das intltool und gnuconfig nicht bereits bei emerge -avuND world angezeigt werden?

Kann mich jemand aufklären?

P.S: hier noch mein emerge --info
Quote:

tux michel # emerge --info
Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.0
Timestamp of tree: Fri, 10 Oct 2008 06:35:01 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python: 2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.3.0-r1
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa audacious berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli cracklib crypt css cups curl dbus dga divx djvu dts dvd dvdr dvdread eds emboss encode evo exif fam fbcon fbcondecor ffmpeg firefox flac fortran ftp gdbm gif glut gpm gps gstreamer gtk gtk2 hal hddtemp iconv icq ieee1394 imlib ipw4965 java javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility laptop lesstif libnotify lzo mad md5sum midi mikmod mmx mmxext mng motif mp3 mpeg mplayer msn mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp pam pcre pdf perl png pppd python qt-static qt3 qt3support quicktime rar readline real realmedia recode reflection reiserfs samba sdl session slang smp sox spell spl sse sse-filters sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb userlocales v4l v4l2 vcd vorbis wifi win32codecs wma wmf wxwindows x264 x86 x86emu xanim xcomposite xml xorg xpm xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="sa300" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
Software is like sex. It's better when it's free
Back to top
View user's profile Send private message
Polynomial-C
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 1432
Location: Germany

PostPosted: Fri Oct 10, 2008 1:14 pm    Post subject: Reply with quote

Du hast portage-2.2 installiert, bei dem das "world" set nicht mehr automatisch das "system" set beinhaltet. Du kannst aber beide sets angeben beim Updaten:
Code:
emerge -uDaNv @system @world
(man beachte das @-Zeichen vor jedem set, eine Neuerung bei portage-2.2 um sich von normalen Paketnamen abzugrenzen (es könnte ja auch mal ein Paket geben, daß "world" heißt))
Wenn du jetzt noch ein --with-bdeps=y dranhängst, werden noch mehr Pakete auftauchen, von denen Updates installiert werden können (vermutlich die, die auch bei einem --emptytree mit erscheinen würden):
Code:
emerge --with-bdeps=y -uDaNv @system @world

_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
michel7
Guru
Guru


Joined: 04 May 2006
Posts: 461
Location: localhost

PostPosted: Fri Oct 10, 2008 3:28 pm    Post subject: Reply with quote

Gut möglich, nur so etwas ist mir noch vor einem halben Jahr aufgefallen, wo es das portage-2.2 noch nicht gab. Also kann es eigentlich nicht am neuen portage liegen
_________________
Software is like sex. It's better when it's free
Back to top
View user's profile Send private message
Polynomial-C
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 1432
Location: Germany

PostPosted: Fri Oct 10, 2008 3:48 pm    Post subject: Reply with quote

Logo, aber damals gab es auch schon den --with-bdeps=[y|n] Schalter, der allerdings bei normalen emerge-Operationen immer auf "n" steht, außer man hat ihn in der EMERGE_DEFAULT_OPTS Variable in der /etc/make.conf mit "y" eingetragen oder gibt ihn bei jedem emerge Befehl in der Konsole mit an.
man emerge wrote:
Code:
       --with-bdeps < y | n >
              In dependency calculations, pull in build time dependencies that
              are not strictly required. This defaults to 'n' for installation
              actions, meaning they will not be installed,  and  'y'  for  the
              --depclean  action, meaning they will not be removed.  This set-
              ting can be added to EMERGE_DEFAULT_OPTS (see make.conf(5))  and
              later overridden via the command line.


--emptytree verhält sich demnach gezwungenermaßen ähnlich wie --with-bdeps=y -uDav, weil portage ja annimmt, daß sämtliche Abhängigkeiten ebenfalls erst installiert werden müssen, auch die sog. "build time dependencies".
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
michel7
Guru
Guru


Joined: 04 May 2006
Posts: 461
Location: localhost

PostPosted: Fri Oct 10, 2008 4:31 pm    Post subject: Reply with quote

Ok, jetzt stellt sich noch die Frage - was sind build time dependencies genau?
_________________
Software is like sex. It's better when it's free
Back to top
View user's profile Send private message
Polynomial-C
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 1432
Location: Germany

PostPosted: Fri Oct 10, 2008 4:48 pm    Post subject: Reply with quote

In vielen ebuilds werden die Abhängigkeiten über zwei Variablen definiert. Einmal die runtime-dependencies (RDEPEND - werden zum Betrieb des Programms benötigt) und die build-time dependencies (DEPEND - werden nur zum Kompilieren/Installieren des Pakets benötigt). Schau einfach in die ebuilds rein. :D
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
revilootneg
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2007
Posts: 102
Location: /germany/hannover

PostPosted: Sat Oct 11, 2008 9:47 am    Post subject: Reply with quote

Wow, da habe ich heute morgen mal wieder was neues gelernt, vielen Dank!
Die --with-bdeps Option habe ich mal gleich zum default gemacht.

Wichtig in Bezug auf den aktuellen glsa zu ed:
Zumindest auf einem System gilt der offenbar als build-dependency und wird entsprechend unter "normalen" Umständen nicht mit ins world-update hineingezogen. Evtl. muss das als bug gemeldet werden!? (Ich kann das selbst nicht weiter testen, weil ich auf allen anderen Systemen auf paludis setze.)

Und noch 'ne Frage um mein Ego zu beruhigen:
Gibts die --with-bdeps schon ewig und ich habe die man-page immer zu ungenau gelesen, oder ist die in jüngerer Zeit (>portage-2.0.52) dazugekommen?
Und wo finde ich das changelog zu portage um diese Frage selbst beantworten zu können? Google spuckt mir viele Seiten von Sabayon aus :roll:
Back to top
View user's profile Send private message
michel7
Guru
Guru


Joined: 04 May 2006
Posts: 461
Location: localhost

PostPosted: Sat Oct 11, 2008 9:53 am    Post subject: Reply with quote

revilootneg wrote:

Und wo finde ich das changelog zu portage um diese Frage selbst beantworten zu können? Google spuckt mir viele Seiten von Sabayon aus :roll:


/usr/portage/sys-apps/portage/ChangeLog
_________________
Software is like sex. It's better when it's free
Back to top
View user's profile Send private message
revilootneg
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2007
Posts: 102
Location: /germany/hannover

PostPosted: Sat Oct 11, 2008 11:17 am    Post subject: Reply with quote

michel7 wrote:
/usr/portage/sys-apps/portage/ChangeLog


Danke, soweit war ich auch schon. Hast du in ChangeLog mal nach bdeps gegrept? Es gibt diesen einen Eintrag:
Code:
*portage-2.2_rc3 (23 Jul 2008)

  23 Jul 2008; Zac Medico <zmedico@gentoo.org> +portage-2.2_rc3.ebuild:
  2.2_rc3 bump. This fixes a regression in rc2 which caused --with-bdeps
  to default to 'n' instead of 'y' for --depclean and --prune actions.


Das das nicht meine Frage beantwortet, sollte wohl klar sein, zudem ist der älteste Eintrag im ChangeLog vom 12. Februar diesen Jahres.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sat Oct 11, 2008 11:31 am    Post subject: Reply with quote

revilootneg wrote:
Und wo finde ich das changelog zu portage um diese Frage selbst beantworten zu können? Google spuckt mir viele Seiten von Sabayon aus :roll:

Hier solltest du eigentlich alles finden: http://sources.gentoo.org/viewcvs.py/portage/main/
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Polynomial-C
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 1432
Location: Germany

PostPosted: Sat Oct 11, 2008 12:33 pm    Post subject: Reply with quote

Der --with-bdeps Schalter entstand aufgrund dieses bugs: some emerge dependency calculations include unnecessary build time dependencies
Das Changelog von portage kann man übrigens jederzeit in /usr/share/doc/portage-[Version]/ChangeLog.bz2 finden ;)
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
revilootneg
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2007
Posts: 102
Location: /germany/hannover

PostPosted: Thu Oct 16, 2008 3:17 pm    Post subject: Reply with quote

Danke euch beiden, mein ChangeLog.bz2 reicht zwar auch bloß bis 2007-07-27 zurück, aber wer will seine Platte schon mit Changelogs zumüllen.
Und der Bug beschreibt ja auch alles wissenswerte.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum