Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Errore revdep-rebuild
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 525
Location: Italia

PostPosted: Sun Oct 27, 2019 7:45 am    Post subject: [RISOLTO] Errore revdep-rebuild Reply with quote

Ciao ragazzi,
ho un problema durante l'esecuzione di revdep-rebuild... dopo l'aggiornamento del sistema tale comando mi emerge 1218 pacchetti (penso tutti), solo che mi si blocca e mi da errore su un pacchetto: gcc 6.4.
L'errore è il seguente:

Quote:
...
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/build'
make: *** [Makefile:20556: bootstrap-lean] Error 2
* ERROR: sys-devel/gcc-6.4.0-r1::gentoo failed (compile phase):
...


Ho rilanciato ora revdep-rebuild per vedere se ricomincia ad emergere da gcc 6.4 ma invece ricomincia da zero, tutti i 1218 pacchetti.

Questo è il mio emerge --info:

Quote:
Portage 2.3.76 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-8.3.0, glibc-2.29-r2, 4.19.72-gentoo x86_64)
=================================================================
System uname: Linux-4.19.72-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-gentoo-2.6
KiB Mem: 16359468 total, 4229612 free
KiB Swap: 2271228 total, 2270452 free
Timestamp of repository gentoo: Sat, 26 Oct 2019 00:45:01 +0000
Head commit of repository gentoo: 05c4eb80fb4f6a00f9c0ed49b50edfcd5c3def68
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash: 4.4_p23-r1::gentoo
dev-java/java-config: 2.2.0-r4::gentoo
dev-lang/perl: 5.28.2-r1::gentoo
dev-lang/python: 2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake: 3.14.6::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.6-r1::gentoo
sys-apps/openrc: 0.41.2::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils: 2.32-r1::gentoo
sys-devel/gcc: 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.3.0-r3::gentoo, 8.2.0-r6::gentoo, 8.3.0-r1::gentoo
sys-devel/gcc-config: 2.0::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc: 2.29-r2::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.ISO-8859-1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative display-manager dri dri3 dts dvd dvdr emboss encode evdev exif fam flac fortran gbm gdbm gif glamor gpm gtk iconv icu ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio python3_6 qml qt qt5 readline sddm sdk sdl seccomp semantic-desktop spell split-usr ssl startup-notification static-ppds svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wallpapers widgets wxwidgets x264 xattr xcb xcomposite xml xorg xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="it" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="nvidia" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Last edited by Maxxx on Tue Oct 29, 2019 1:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 525
Location: Italia

PostPosted: Sun Oct 27, 2019 1:42 pm    Post subject: Reply with quote

L'ho rifatto con opzione di compilazione -J1 e l'errore più specifico è:

Quote:
...
limits_posix.cc -fPIC -DPIC -o .libs/sanitizer_platform_limits_posix.o
/var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/gcc-6.4.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:153:23: fatal error: sys/ustat.h: No such file or directory
...
Back to top
View user's profile Send private message
fturco
l33t
l33t


Joined: 08 Dec 2010
Posts: 706
Location: Italy

PostPosted: Sun Oct 27, 2019 2:51 pm    Post subject: Reply with quote

Maxxx wrote:
Code:
sys-devel/gcc: 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.3.0-r3::gentoo, 8.2.0-r6::gentoo, 8.3.0-r1::gentoo

Se non hai necessità specifiche potresti provare a disinstallare le versioni più vecchie di GCC, lasciando soltanto l'ultima. Sul mio sistema faccio sempre così.

Altrimenti potresti provare a disattivare la USE flag "sanitize".
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22457
Location: here

PostPosted: Sun Oct 27, 2019 5:06 pm    Post subject: Reply with quote

Maxxx wrote:
L'ho rifatto con opzione di compilazione -J1 e l'errore più specifico è:

Quote:
...
limits_posix.cc -fPIC -DPIC -o .libs/sanitizer_platform_limits_posix.o
/var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/gcc-6.4.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:153:23: fatal error: sys/ustat.h: No such file or directory
...

Questo errore e' stato risolto nella version 6.4.0-r5
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 525
Location: Italia

PostPosted: Sun Oct 27, 2019 5:23 pm    Post subject: Reply with quote

Grazie ragazzi per l'aiuto...
ora provo con la r5, altrimenti disinstallo gcc6.4.
Vi farò sapere.
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 525
Location: Italia

PostPosted: Mon Oct 28, 2019 9:55 am    Post subject: Reply with quote

Allora... con la 6.4.0-r5 non da più errori.
Però lo stesso problema l'ho incontrato con le altre versioni di gcc (4, 5 e 7) percui ho cancellato tali versioni tranne la 6.4.0-r5 che ormai funziona bene, e su package.mask ho messo che non deve installare dalla versione 8.2.0 incluso in giù (tanto io ho la 8.3.0).
Ancora sta compilando gli ultimi pacchetti.
Ma una cosa non capisco... io ho eseguito prima "revdep-rebuild" e dopo "revdep-rebuild.sh" e tale ultimo comando mi emerge tutti i pacchetti (passa 1200)... perchè?
E tra le altre cose mi dice anche di una libreria "broken", dopo vedrò come risolvere.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22457
Location: here

PostPosted: Mon Oct 28, 2019 10:10 am    Post subject: Reply with quote

Maxxx wrote:
Però lo stesso problema l'ho incontrato con le altre versioni di gcc (4, 5 e 7)

Anche per questi la soluzione era di smascherare le ultime versioni, comunque se non hai un bisogno particolare queste versioni non ti servono. I tengo solo l'ultima disponibile.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 525
Location: Italia

PostPosted: Tue Oct 29, 2019 1:40 pm    Post subject: Reply with quote

Ok, risolto...
dopo che "revdep-rebuild.sh" ha ricompilato tutti i pacchetti ora è tutto a posto.
Ho rilanciato "revdep-rebuild.sh" e non mi ricompila niente né mi da librerie in stato "broken"... mi da solo 2 file .rr che eliminerò.

Grazie a tutti per l'aiuto.
Back to top
View user's profile Send private message
sabayonino
l33t
l33t


Joined: 03 Jan 2012
Posts: 715

PostPosted: Tue Oct 29, 2019 5:53 pm    Post subject: Reply with quote

ti suggerisco di controllare quali pacchetti richiedono quei due files

Code:
# equery belongs <nome-file>.rr

_________________
BOINC ed il calcolo distribuito

My LiveRecoverySystem Repo
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 525
Location: Italia

PostPosted: Tue Oct 29, 2019 6:03 pm    Post subject: Reply with quote

grazie, dopo provo e ti faccio sapere...
in caso fossero richiesti da qualche pacchetto cosa dovrei fare?
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 525
Location: Italia

PostPosted: Tue Oct 29, 2019 6:20 pm    Post subject: Reply with quote

Quote:
...
* Collecting system binaries and libraries
* Generated new 1_files.rr
* Collecting complete LD_LIBRARY_PATH
* Generated new 2_ldpath.rr
* Checking dynamic linking consistency
...


e

Quote:
francesco /home/francesco # equery belongs 1_files.rr
* Searching for 1_files.rr ...
francesco /home/francesco # equery belongs 2_ldpath.rr
* Searching for 2_ldpath.rr ...
francesco /home/francesco #


Posso eliminarli?
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 525
Location: Italia

PostPosted: Tue Oct 29, 2019 6:24 pm    Post subject: Reply with quote

A parte che questi 2 files non me li trova:

Quote:
francesco /home/francesco # updatedb
francesco /home/francesco # locate 1_files.rr
francesco /home/francesco # locate 2_ldpath.rr
francesco /home/francesco #
Back to top
View user's profile Send private message
sabayonino
l33t
l33t


Joined: 03 Jan 2012
Posts: 715

PostPosted: Tue Oct 29, 2019 9:35 pm    Post subject: Reply with quote

scusa , *.rr dovrebbe essere una estensione di qualche file di log di revdep-rebuild

:P non vedevo questo tipo di file da... un bel pezzo :mrgreen:
_________________
BOINC ed il calcolo distribuito

My LiveRecoverySystem Repo
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 525
Location: Italia

PostPosted: Tue Oct 29, 2019 9:48 pm    Post subject: Reply with quote

Non ti preoccupare... ma c'è un modo per eliminare questi messagi?
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4673
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Mon Nov 04, 2019 6:44 pm    Post subject: Reply with quote

Maxxx wrote:
grazie, dopo provo e ti faccio sapere...
in caso fossero richiesti da qualche pacchetto cosa dovrei fare?

io, per sapere se un determinato file (o, più precisamente, un dato percorso) appartiene a qualche pacchetto esistente, uso portageq.
esempio:
Code:

cloc3Lnv ~ # portageq owners / portageq
app-shells/gentoo-bashcomp-20190211
   /usr/share/bash-completion/completions/portageq
sys-apps/portage-2.3.76
   /usr/bin/portageq
   /usr/lib/portage/python2.7/ebuild-helpers/portageq
   /usr/lib/portage/python3.6/ebuild-helpers/portageq
   /usr/lib/python-exec/python2.7/portageq
   /usr/lib/python-exec/python3.6/portageq
cloc3Lnv ~ # portageq owners / pippo
None of the installed packages claim these files:
   pippo

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 525
Location: Italia

PostPosted: Fri Nov 08, 2019 11:25 am    Post subject: Reply with quote

non conoscevo portageq...
lo proverò
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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