Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408123 - Can't emerge -av world because emerge don't find crossdev packages
Summary: Can't emerge -av world because emerge don't find crossdev packages
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: Bug
Depends on:
Blocks:
 
Reported: 2012-03-14 07:03 UTC by Boris Vingradov
Modified: 2012-03-16 03:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My emerge -av world result (emerge -av world.info,21.10 KB, text/plain)
2012-03-14 07:08 UTC, Boris Vingradov
Details
My make conf (man.conf,4.52 KB, text/plain)
2012-03-14 14:08 UTC, Boris Vingradov
Details
My make conf (make.conf,2.86 KB, text/plain)
2012-03-14 17:27 UTC, Boris Vingradov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Vingradov 2012-03-14 07:03:25 UTC
I'm don't can update my world because portage don't find crossdev packages
Comment 1 Boris Vingradov 2012-03-14 07:04:32 UTC
Portage 2.1.10.44 (!../usr/portage/profiles/default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.1-gentoo-r2 i686)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-i686-Intel-R-_Core-TM-_i3-2100_CPU_@_3.10GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 14 Mar 2012 06:15:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -mfpmath=sse -msse4.1"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /var/lib/hsqldb"
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/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -mfpmath=sse -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ rsync://gentoo.lagis.at/gentoo-distfiles/ http://gentoo.lagis.at/ ftp://gentoo.lagis.at/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ http://gentoo.gossamerhost.com rsync://gentoo.gossamerhost.com/gentoo-distfiles/ rsync://mirror.the-best-hosting.net/gentoo-distfiles http://mirror.the-best-hosting.net ftp://mirrors.xmu.edu.cn/gentoo http://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/ http://gentoo.aditsu.net:8000/ ftp://gentoo.inf.elte.hu/ http://gentoo.inf.elte.hu/ ftp://ftp.rhnet.is/pub/gentoo/ http://ftp.iij.ad.jp/pub/linux/gentoo/ rsync://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ rsync://ftp.jaist.ac.jp/pub/Linux/Gentoo/ rsync://gentoo.bloodhost.ru/gentoo-distfiles ftp://gentoo.bloodhost.ru/ http://gentoo.bloodhost.ru/ http://mirror2.corbina.ru/gentoo-distfiles/ ftp://mirror2.corbina.ru/gentoo-distfiles/ rsync://mirror2.corbina.ru/gentoo-distfiles/ rsync://xeon.gentoo.ru/gentoo-distfiles ftp://xeon.gentoo.ru/mirrors/Gentoo/ http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ ftp://ftp.ds.karen.hj.se/gentoo/ http://ftp.ds.karen.hj.se/gentoo/ http://ftp.ing.umu.se/linux/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ rsync://mirror.mcs.anl.gov/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ rsync://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.cs.wmich.edu/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gnutls gpm gtk iconv ipv6 java jpeg jpeg2k kde lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd python qt qt3support qt4 readline sdl session spell sqlite ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis webinterface x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Boris Vingradov 2012-03-14 07:08:46 UTC
Created attachment 305273 [details]
My emerge -av world result
Comment 3 Boris Vingradov 2012-03-14 07:30:20 UTC
jane ~ # crossdev -t arm-softfloat-linux-gnueabi
 * You need to specify an output overlay.  Please use --ov-output or set
 * PORTDIR_OVERLAY in your make.conf.  A standard setting is: /usr/local/portage
Comment 4 Boris Vingradov 2012-03-14 07:31:40 UTC
But in my /etc/make.conf

INPUT_DEVICES="evdev"

VIDEO_CARDS="radeon"

ACCEPT_LICENSE="*"

LINGUAS="ru"

PORTDIR_OVERLAY="/usr/local/portage"

PORTAGE_REPO_DUPLICATE_WARN="0"


I don't understand.
Comment 5 Boris Vingradov 2012-03-14 07:34:21 UTC
If I comment PORTDIR_OVERLAY in my make.conf
in emerge --info
PORTDIR = '/usr/portage'
Comment 6 Sebastian Luther (few) 2012-03-14 12:17:12 UTC
Your emerge --info in comment 1 shows that PORTDIR_OVERLAY is empty. Maybe you have more than one entry for PORTDIR_OVERLAY in make.conf?

(In reply to comment #5)
> If I comment PORTDIR_OVERLAY in my make.conf
> in emerge --info
> PORTDIR = '/usr/portage'

PORTDIR and PORTDIR_OVERLAY are different things.
Comment 7 Boris Vingradov 2012-03-14 14:07:11 UTC
I know that PORTDIR and PORTDIR_OVERLAY are different things.

This bug appeared after last update.

I'm using new optimisation CFLAGS and rebuid system after rebuided system I can't rebuild world.

I'm exclude new flags from CFLAGS but this has't result.

And crossdev not found PORTDIR_OVERLAY in my make.conf. I think main configuration is damaged.
Comment 8 Boris Vingradov 2012-03-14 14:08:18 UTC
I double checked my /etc/make.conf

This in attachment.
Comment 9 Boris Vingradov 2012-03-14 14:08:59 UTC
Created attachment 305309 [details]
My make conf
Comment 10 Boris Vingradov 2012-03-14 14:15:12 UTC
On my homebrew pc I can't use emerge -av world also.
But env variables is PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage".

Gentoo's is analogye copies.
Comment 11 Zac Medico gentoo-dev 2012-03-14 16:57:03 UTC
(In reply to comment #9)
> Created attachment 305309 [details]
> My make conf

The file you have attached is man.conf rather than make.conf.
Comment 12 Boris Vingradov 2012-03-14 17:27:21 UTC
Created attachment 305325 [details]
My make conf
Comment 13 Boris Vingradov 2012-03-14 17:27:59 UTC
(In reply to comment #11)
> (In reply to comment #9)
> > Created attachment 305309 [details]
> > My make conf
> 
> The file you have attached is man.conf rather than make.conf.

Sorry. Fixed.
Comment 14 Zac Medico gentoo-dev 2012-03-14 17:43:17 UTC
Do you have more than one make.conf? You can have /etc/make.conf and /etc/portage/make.conf.
Comment 15 Boris Vingradov 2012-03-14 17:49:40 UTC
(In reply to comment #14)
> Do you have more than one make.conf? You can have /etc/make.conf and
> /etc/portage/make.conf.

No I have one make.conf - /etc/make.conf
Comment 16 Zac Medico gentoo-dev 2012-03-14 18:13:59 UTC
Maybe you have empty PORTDIR_OVERLAY in your shell environment. This will show it:

    env | grep PORTDIR_OVERLAY
Comment 17 Boris Vingradov 2012-03-15 01:47:33 UTC
(In reply to comment #16)
> Maybe you have empty PORTDIR_OVERLAY in your shell environment. This will
> show it:
> 
>     env | grep PORTDIR_OVERLAY

nis@jane ~ $ env | grep PORTDIR_OVERLAY
nis@jane ~ $ env | grep PORTDIR
nis@jane ~ $
Comment 18 Zac Medico gentoo-dev 2012-03-15 02:01:50 UTC
As a workaround, you might try exporting the correct PORTDIR_OVERLAY setting in your shell:

   export PORTDIR_OVERLAY="/usr/local/portage"

It would be interesting to see if that has any effect.
Comment 19 Boris Vingradov 2012-03-15 02:24:20 UTC
(In reply to comment #18)
> As a workaround, you might try exporting the correct PORTDIR_OVERLAY setting
> in your shell:
> 
>    export PORTDIR_OVERLAY="/usr/local/portage"
> 
> It would be interesting to see if that has any effect.

I'm exported PORTDIR_OVERLAY but this not effect.
Comment 20 Boris Vingradov 2012-03-15 02:25:11 UTC
If I run crossdev I view:

jane ~ # crossdev arm-softfloat-linux-gnueabi
 * You need to specify an output overlay.  Please use --ov-output or set
 * PORTDIR_OVERLAY in your make.conf.  A standard setting is: /usr/local/portage
Comment 21 Zac Medico gentoo-dev 2012-03-15 17:42:30 UTC
Does /usr/local/portage/cross-arm-softfloat-linux-gnueabi directory exist, and contain the linux-headers, glibc, binutils, and gcc subdirectories with ebuilds in them?
Comment 22 Boris Vingradov 2012-03-16 02:31:21 UTC
(In reply to comment #21)
> Does /usr/local/portage/cross-arm-softfloat-linux-gnueabi directory exist,
> and contain the linux-headers, glibc, binutils, and gcc subdirectories with
> ebuilds in them?

Yes sure.
Comment 23 Zac Medico gentoo-dev 2012-03-16 02:44:42 UTC
Maybe your portage installation is corrupt somehow. Have you tried to rebuild sys-apps/portage to see if that helps?

Also, you should try moving all of your config files where portage won't see them, and create an empty /etc/make.conf containing only the PORTDIR_OVERLAY setting. Then check if PORTDIR_OVERLAY is working. For example:

   mv /etc/make.conf /etc/make.conf.orig
   mv /etc/portage /etc/portage.orig
   echo PORTDIR_OVERLAY=/usr/local/portage > /etc/make.conf
   emerge --info | grep PORTDIR_OVERLAY
Comment 24 Boris Vingradov 2012-03-16 03:11:59 UTC
(In reply to comment #23)
> Maybe your portage installation is corrupt somehow. Have you tried to
> rebuild sys-apps/portage to see if that helps?
> 
> Also, you should try moving all of your config files where portage won't see
> them, and create an empty /etc/make.conf containing only the PORTDIR_OVERLAY
> setting. Then check if PORTDIR_OVERLAY is working. For example:
> 
>    mv /etc/make.conf /etc/make.conf.orig
>    mv /etc/portage /etc/portage.orig
>    echo PORTDIR_OVERLAY=/usr/local/portage > /etc/make.conf
>    emerge --info | grep PORTDIR_OVERLAY

jane ~ # mv /etc/make.conf /etc/make.conf.orig
jane ~ # mv /etc/portage /etc/portage.orig
jane ~ # echo PORTDIR_OVERLAY=/usr/local/portage > /etc/make.conf
jane ~ # emerge --info | grep PORTDIR_OVERLAY
WARNING: One or more repositories have been ignored due to duplicate
  profiles/repo_name entries:

  /, gentoo, /usr/local/portage overrides
    /usr/portage

  All profiles/repo_name entries must be unique in order to avoid having
  duplicates ignored. Set PORTAGE_REPO_DUPLICATE_WARN="0" in
  /etc/make.conf if you would like to disable this warning.


PORTDIR_OVERLAY=""
Comment 25 Zac Medico gentoo-dev 2012-03-16 03:19:45 UTC
> (In reply to comment #23)
> jane ~ # emerge --info | grep PORTDIR_OVERLAY
> WARNING: One or more repositories have been ignored due to duplicate
>   profiles/repo_name entries:
> 
>   /, gentoo, /usr/local/portage overrides
>     /usr/portage
> 
>   All profiles/repo_name entries must be unique in order to avoid having
>   duplicates ignored. Set PORTAGE_REPO_DUPLICATE_WARN="0" in
>   /etc/make.conf if you would like to disable this warning.
> 
> 
> PORTDIR_OVERLAY=""

Ok, so the problem is that you have a duplicate repo_name. If you had PORTAGE_REPO_DUPLICATE_WARN=1 set in make.conf, then that would have hidden the above warning message from you.

So, the solution is:

   echo "unique-name" > /usr/local/portage/profiles/repo_name
Comment 26 Boris Vingradov 2012-03-16 03:24:03 UTC
> So, the solution is:
> 
>    echo "unique-name" > /usr/local/portage/profiles/repo_name

Thanks. This works for me!
Comment 27 Zac Medico gentoo-dev 2012-03-16 03:24:50 UTC
Great! :)
Comment 28 Boris Vingradov 2012-03-16 03:29:42 UTC
I'm put emerge -av world to consle but

Total: 172 packages (172 reinstalls), Size of downloads: 257,847 kB
Fetch Restriction: 1 package
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage
 [?] indicates that the source repository could not be determined

The following mask changes are necessary to proceed:
#required by @selected, required by @world (argument)
# /usr/local/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (13 Feb 2012)
# Unmaintained, nobody willing to take it as also
# looks to have a poor quality (bug #400689).
# Removal in a month.
=app-arch/q7z-0.8.0

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).

emerge: there are no ebuilds to satisfy "cross-arm-softfloat-linux-gnueabi/linux-headers:arm-softfloat-linux-gnueabi".
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

 * IMPORTANT: 8 news items need reading for repository 'unique-name'.
 * Use eselect news to read news items
Comment 29 Boris Vingradov 2012-03-16 03:31:05 UTC
But crossdev can emerge:

jane ~ # crossdev arm-softfloat-linux-gnueabi
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 * crossdev version:      20111221
 * Host Portage ARCH:     x86
 * Target Portage ARCH:   arm
 * Target System:         arm-softfloat-linux-gnueabi
 * Stage:                 4 (C/C++ compiler)
 * ABIs:                  default

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * headers:               linux-headers-[latest]
 * libc:                  glibc-[latest]

 * CROSSDEV_OVERLAY:      /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
....
Comment 30 Zac Medico gentoo-dev 2012-03-16 03:33:20 UTC
Try this:

  emerge --deselect cross-arm-softfloat-linux-gnueabi/linux-headers:arm-softfloat-linux-gnueabi
  emerge --noreplace cross-arm-softfloat-linux-gnueabi/linux-headers
Comment 31 Boris Vingradov 2012-03-16 03:42:15 UTC
Ok. Thanks. But emerge -av world no question for me:

ebuild   R    ] dev-python/mysql-python-1.2.3  0 kB [0=>1]

Total: 172 packages (172 reinstalls), Size of downloads: 257,847 kB
Fetch Restriction: 1 package
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage
 [?] indicates that the source repository could not be determined

The following mask changes are necessary to proceed:
#required by @selected, required by @world (argument)
# /usr/local/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (13 Feb 2012)
# Unmaintained, nobody willing to take it as also
# looks to have a poor quality (bug #400689).
# Removal in a month.
=app-arch/q7z-0.8.0

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).

 * IMPORTANT: 7 news items need reading for repository 'unique-name'.
 * Use eselect news to read news items.

jane ~ #
Comment 32 Zac Medico gentoo-dev 2012-03-16 03:45:14 UTC
(In reply to comment #31)
> But emerge -av world no question for me:

I don't understand the question or problem. Something about mysql-python or q7z?
Comment 33 Boris Vingradov 2012-03-16 03:47:47 UTC
(In reply to comment #32)
> (In reply to comment #31)
> > But emerge -av world no question for me:
> 
> I don't understand the question or problem. Something about mysql-python or
> q7z?

emerge -av world not processed to compile - only print package list end exit.
Comment 34 Zac Medico gentoo-dev 2012-03-16 03:49:47 UTC
Try this:

   echo "=app-arch/q7z-0.8.0" >> /etc/portage/package.unmask

You can also use the emerge --autounmask-write option to do this automatically.
Comment 35 Boris Vingradov 2012-03-16 03:56:57 UTC
(In reply to comment #34)
> Try this:
> 
>    echo "=app-arch/q7z-0.8.0" >> /etc/portage/package.unmask
> 
> You can also use the emerge --autounmask-write option to do this
> automatically.

Thanks. This works for me!