Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
world file is bigger than world atom
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ayvango
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 118

PostPosted: Sat Nov 22, 2014 10:46 am    Post subject: world file is bigger than world atom Reply with quote

I discovered strange behaviour.

I always use world atom to perform world update. And how it works:
Code:

# emerge -avuDN world
...
Total: 0 packages, Size of downloads: 0 KiB


Suddenly I stumbled upon an idea to test another method.
Code:

cat world | xargs emerge -pvuDN
...
Total: 12 packages (4 upgrades, 8 reinstalls), Size of downloads: 218 218 KiB


I just redirect all content of world file to emerge an it found more work to do. Is that is how emerge supposed to work?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Nov 22, 2014 2:52 pm    Post subject: Reply with quote

Strangely enough, the contents of the world file is not equivalent to the @world set but instead the @selected set. @world includes @selected and @system. That said, I would've expected your first example to show more updates than the second. Could you share the full output so we can see what's triggering the updates?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
ayvango
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2012
Posts: 118

PostPosted: Sat Nov 22, 2014 6:44 pm    Post subject: Reply with quote

Code:

xubuntu / # emerge -pvuDN world
!!! Repository 'ayvango' is missing masters attribute in '/var/paludis/repositories/local/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'miramir' is missing masters attribute in '/var/paludis/repositories/miramir/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'rubenqba' is missing masters attribute in '/var/paludis/repositories/rubenqba/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'pure-funtoo' is missing masters attribute in '/var/paludis/repositories/pure-funtoo/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility

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

Calculating dependencies                                             9 * ERROR: dev-vcs/git-1.7.1-r2::rubenqba failed (depend phase):
 *   EAPI=2 is not supported by perl-module.eclass
 *
 * Call stack:
 *             ebuild.sh, line 550:  Called source '/var/paludis/repositories/rubenqba/dev-vcs/git/git-1.7.1-r2.ebuild'
 *   git-1.7.1-r2.ebuild, line   7:  Called inherit 'toolchain-funcs' 'eutils' 'elisp-common' 'perl-module' 'bash-completion'
 *             ebuild.sh, line 280:  Called __qa_source '/var/paludis/repositories/gentoo/eclass/perl-module.eclass'
 *             ebuild.sh, line  80:  Called source '/var/paludis/repositories/gentoo/eclass/perl-module.eclass'
 *    perl-module.eclass, line  48:  Called die
 * The specific snippet of code:
 *              die "EAPI=${EAPI} is not supported by perl-module.eclass"
 *
 * If you need support, post the output of `emerge --info '=dev-vcs/git-1.7.1-r2::rubenqba'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/git-1.7.1-r2::rubenqba'`.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/tmp/portage/dev-vcs/git-1.7.1-r2/work/git-1.7.1'                                                                                                                                    4 * ERROR: app-office/scribus-1.3.3.12-r1::kde-sunset failed (depend phase):
 *   EAPI=1 is not supported
 *
 * Call stack:
 *                    ebuild.sh, line 550:  Called source '/var/paludis/repositories/kde-sunset/app-office/scribus/scribus-1.3.3.12-r1.ebuild'
 *   scribus-1.3.3.12-r1.ebuild, line   7:  Called inherit 'qt3' 'eutils' 'cmake-utils'
 *                    ebuild.sh, line 280:  Called __qa_source '/var/paludis/repositories/gentoo/eclass/cmake-utils.eclass'
 *                    ebuild.sh, line  80:  Called source '/var/paludis/repositories/gentoo/eclass/cmake-utils.eclass'
 *           cmake-utils.eclass, line 128:  Called die
 * The specific snippet of code:
 *      *) die "EAPI=${EAPI:-0} is not supported" ;;
 *
 * If you need support, post the output of `emerge --info '=app-office/scribus-1.3.3.12-r1::kde-sunset'`,
 * the complete build log and the output of `emerge -pqv '=app-office/scribus-1.3.3.12-r1::kde-sunset'`.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/tmp/portage/app-office/scribus-1.3.3.12-r1/work/scribus-1.3.3.12'                                                                                              ... done!

Total: 0 packages, Size of downloads: 0 KiB

!!! The following installed packages are masked:
- sci-mathematics/maxima-5.18.1::gentoo (masked by: package.mask)
/etc/portage/package.mask/80disable:
#maxima is not compatible with new asdf

- media-libs/opencore-amr-0.1.3-r1::gentoo (masked by: package.mask)
/etc/portage/package.mask/70fixes:
#multilib become buggy

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Code:

xubuntu / # cat /var/lib/portage/world | xargs emerge -pvuDN
!!! Repository 'ayvango' is missing masters attribute in '/var/paludis/repositories/local/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'miramir' is missing masters attribute in '/var/paludis/repositories/miramir/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'rubenqba' is missing masters attribute in '/var/paludis/repositories/rubenqba/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'pure-funtoo' is missing masters attribute in '/var/paludis/repositories/pure-funtoo/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility

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

Calculating dependencies                  a * ERROR: dev-vcs/git-1.7.1-r2::rubenqba failed (depend phase):
 *   EAPI=2 is not supported by perl-module.eclass
 *
 * Call stack:
 *             ebuild.sh, line 550:  Called source '/var/paludis/repositories/rubenqba/dev-vcs/git/git-1.7.1-r2.ebuild'
 *   git-1.7.1-r2.ebuild, line   7:  Called inherit 'toolchain-funcs' 'eutils' 'elisp-common' 'perl-module' 'bash-completion'
 *             ebuild.sh, line 280:  Called __qa_source '/var/paludis/repositories/gentoo/eclass/perl-module.eclass'
 *             ebuild.sh, line  80:  Called source '/var/paludis/repositories/gentoo/eclass/perl-module.eclass'
 *    perl-module.eclass, line  48:  Called die
 * The specific snippet of code:
 *              die "EAPI=${EAPI} is not supported by perl-module.eclass"
 *
 * If you need support, post the output of `emerge --info '=dev-vcs/git-1.7.1-r2::rubenqba'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/git-1.7.1-r2::rubenqba'`.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/tmp/portage/dev-vcs/git-1.7.1-r2/work/git-1.7.1'                                                                                                                                  r * ERROR: app-office/scribus-1.3.3.12-r1::kde-sunset failed (depend phase):
 *   EAPI=1 is not supported
 *
 * Call stack:
 *                    ebuild.sh, line 550:  Called source '/var/paludis/repositories/kde-sunset/app-office/scribus/scribus-1.3.3.12-r1.ebuild'
 *   scribus-1.3.3.12-r1.ebuild, line   7:  Called inherit 'qt3' 'eutils' 'cmake-utils'
 *                    ebuild.sh, line 280:  Called __qa_source '/var/paludis/repositories/gentoo/eclass/cmake-utils.eclass'
 *                    ebuild.sh, line  80:  Called source '/var/paludis/repositories/gentoo/eclass/cmake-utils.eclass'
 *           cmake-utils.eclass, line 128:  Called die
 * The specific snippet of code:
 *      *) die "EAPI=${EAPI:-0} is not supported" ;;
 *
 * If you need support, post the output of `emerge --info '=app-office/scribus-1.3.3.12-r1::kde-sunset'`,
 * the complete build log and the output of `emerge -pqv '=app-office/scribus-1.3.3.12-r1::kde-sunset'`.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/tmp/portage/app-office/scribus-1.3.3.12-r1/work/scribus-1.3.3.12'                                                                                                   ... done!
[ebuild   R    ] dev-lang/python-exec-0.3.1-r1  PYTHON_TARGETS="(jython2_5) (jython2_7) (pypy) (pypy3%*) (python2_7) (python3_2) (python3_3) (python3_4*)" 0 KiB
[ebuild   R    ] media-libs/libmp4v2-1.9.1-r1:1  USE="(-abiwrapper%) (-multilib_abi_amd64%*) (-multilib_abi_x86%*)" 423 KiB
[ebuild     U ~] media-video/ffmpeg-0.10.15:0.10::gentoo [0.10.8:0.10::ayvango] USE="3dnow 3dnowext X aac alsa amr bzip2 dirac encode faac gnutls* gsm hardcoded-tables ieee1394 jack jpeg2k libass* mmx mmxext modplug mp3 network openal* rtmp* schroedinger sdl* speex ssse3 theora threads truetype vaapi* vdpau vorbis vpx x264 xvid zlib -aacplus (-altivec) -avx -bindist -cdio (-celt) -cpudetection -debug -doc (-frei0r) -libv4l (-neon) -openssl -oss -pic -pulseaudio -static-libs {-test} -v4l (-vis)" ABI_X86="32 (64) (-x32)" 5,651 KiB
[ebuild   R    ] sys-devel/gcc-4.5.4:4.5  USE="cxx fortran gcj (multilib) nls nptl openmp (-altivec) -awt% -doc (-fixed-point) (-hardened) (-libssp) -mudflap* (-multislot) -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla (-gtk%*)" 64,870 KiB
[ebuild   R    ] app-text/docbook-sgml-dtd-4.1-r3:4.1  USE="(-abiwrapper%) (-multilib_abi_amd64%*) (-multilib_abi_x86%*)" 56 KiB
[ebuild   R    ] app-text/docbook-sgml-dtd-4.0-r3:4.0  USE="(-abiwrapper%) (-multilib_abi_amd64%*) (-multilib_abi_x86%*)" 55 KiB
[ebuild   R    ] app-text/docbook-sgml-dtd-3.1-r3:3.1  USE="(-abiwrapper%) (-multilib_abi_amd64%*) (-multilib_abi_x86%*)" 55 KiB
[ebuild    FU ~] dev-java/oracle-jdk-bin-1.7.0.72:1.7 [1.7.0.65:1.7] USE="X alsa fontconfig jce nsplugin (-aqua) -derby -doc -examples -pax_kernel (-selinux) -source" 138,893 KiB
[ebuild   R    ] dev-java/swt-3.5.2:3.5  USE="cairo opengl -gnome (-xulrunner%)" 4,950 KiB
[ebuild     U  ] sys-devel/automake-1.10.3-r1:1.10 [1.10.3:1.10] 0 KiB
[ebuild     U  ] sys-devel/automake-1.9.6-r4:1.9 [1.9.6-r3:1.9] 0 KiB
[ebuild   R    ] dev-java/saxon-6.5.5:6.5  USE="-doc -examples -source (-abiwrapper%) (-multilib_abi_amd64%*) (-multilib_abi_x86%)" 3,268 KiB

Total: 12 packages (4 upgrades, 8 reinstalls), Size of downloads: 218,218 KiB
Fetch Restriction: 1 package (1 unsatisfied)

Fetch instructions for dev-java/oracle-jdk-bin-1.7.0.72:
openpty failed: 'out of pty devices'
 *
 * Oracle requires you to download the needed files manually after
 * accepting their license through a javascript capable web browser.
 *
 * Download the following files:
 *   jdk-7u72-linux-x64.tar.gz
 * at 'http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html'
 * and move them to '/var/paludis/distfiles'
 *
 * If the above mentioned urls do not point to the correct version anymore,
 * please download the files from Oracle's java download archive:
 *
 *    http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u72-oth-JPR
 *

!!! The following installed packages are masked:
- sci-mathematics/maxima-5.18.1::gentoo (masked by: package.mask)
/etc/portage/package.mask/80disable:
#maxima is not compatible with new asdf

- media-libs/opencore-amr-0.1.3-r1::gentoo (masked by: package.mask)
/etc/portage/package.mask/70fixes:
#multilib become buggy

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Code:

xubuntu / # cat /var/lib/portage/world | curl -F 'sprunge=<-' http://sprunge.us
http://sprunge.us/SdOA


If it is possible to hide long output or upload files to the forum, please let me know.
Back to top
View user's profile Send private message
lexflex
Guru
Guru


Joined: 05 Mar 2006
Posts: 363
Location: the Netherlands

PostPosted: Wed Nov 26, 2014 1:39 pm    Post subject: Reply with quote

ayvango wrote:

Code:

xubuntu / # cat /var/lib/portage/world | curl -F 'sprunge=<-' http://sprunge.us
http://sprunge.us/SdOA

If it is possible to hide long output or upload files to the forum, please let me know.



Your world-file seems rather huge (1500 entries) and seems to contain many packages that depend on other explicitly installed packages (i would assume).

Although I would also think that both methods should give the same result in the end, I can imagine that the order of builds can vary.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Wed Nov 26, 2014 7:16 pm    Post subject: Reply with quote

lexflex wrote:
Your world-file seems rather huge (1500 entries)

Sounds like someone's been using emerge when they mean emerge -1

Incidentally that's why update requires an explicit -i to install to world (only place where it differs from emerge as a command-line util, in terms of wrapping.)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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