Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478246 - sys-kernel/*-sources install empty /usr/src/*b/ directories
Summary: sys-kernel/*-sources install empty /usr/src/*b/ directories
Status: RESOLVED DUPLICATE of bug 478548
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-26 15:28 UTC by Ulenrich
Modified: 2013-08-12 22:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulenrich 2013-07-26 15:28:33 UTC
vanilla-sources show less empty directories though:
ls -ll /usr/src/linux/b/ /usr/src/linux-3.10.3/b/drivers/ 
/usr/src/linux-3.10.3/b/drivers/:
insgesamt 4
drwxr-xr-x 2 root root 4096 26. Jul 17:13 acpi

/usr/src/linux/b/:
insgesamt 4
drwxr-xr-x 3 root root 4096 26. Jul 15:59 drivers

gentoo-sources show more:
ls -ll /usr/src/linux-3.10.3-gentoo/b/ /usr/src/linux-3.10.3-gentoo/b/drivers/ 
/usr/src/linux-3.10.3-gentoo/b/:
insgesamt 12
drwxr-xr-x 3 root root 4096 26. Jul 16:03 Documentation
drwxr-xr-x 5 root root 4096 26. Jul 16:03 drivers
drwxr-xr-x 3 root root 4096 26. Jul 16:03 include

/usr/src/linux-3.10.3-gentoo/b/drivers/:
insgesamt 12
drwxr-xr-x 2 root root 4096 26. Jul 16:03 acpi
drwxr-xr-x 3 root root 4096 26. Jul 16:03 char
drwxr-xr-x 3 root root 4096 26. Jul 16:03 video


Reproducible: Always
Comment 1 Ulenrich 2013-07-26 15:32:32 UTC
Also it takes a far longer time to emerge than 
just without portage
tar xaf upstream point.null and patch with point.release xz

Which also might be a symptom of hidden brokeness ...
Comment 2 Ben Kohler gentoo-dev 2013-07-26 15:45:33 UTC
I think you may have incomplete emerges because of relatively low memory and either bug #320859 or bug #346749... can you attach the output of "emerge --info"?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-26 15:50:04 UTC
What is broken?

`ls -ll' doesn't do anything special here as opposed to `ls -l'

And what is that output supposed to tell us?
Comment 4 Ulenrich 2013-07-26 17:43:21 UTC
There is a tree of empty directories:
/usr/src/linux/b
which you will not find in the original upstream sources. The "b" tree differs from
vanilla-sources to gentoo-sources

I have said it doesn't hurt 
but may be a symptom of brokeness 
(others mentioned failures of gentoo-sources to emerge in the forum)

Also looking in the genpatches archive, I see
16388 24. Jul 17:11 1000_linux-3.10.1.patch
81302 24. Jul 17:11 1001_linux-3.10.2.patch
134013 26. Jul 02:36 1002_linux-3.10.3.ebuild

The third surely not beeing an ebuild!
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-26 18:32:55 UTC
(In reply to Ben Kohler from comment #2)
> I think you may have incomplete emerges because of relatively low memory and
> either bug #320859 or bug #346749... can you attach the output of "emerge
> --info"?

1) Ulenrich, where is your `emerge --info'? Please post it in a comment.
2) Also, post your `emerge -vpq sys-devel/patch' output in a comment.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-26 18:35:29 UTC
(In reply to Ulenrich from comment #4)
> 134013 26. Jul 02:36 1002_linux-3.10.3.ebuild
> 
> The third surely not beeing an ebuild!

That would appear to be bug #478200.
Comment 7 Ulenrich 2013-07-26 20:17:44 UTC
emerge -vpq sys-devel/patch
[ebuild   R   ] sys-devel/patch-2.7.1-r1  USE="-static {-test} xattr"

---
eselect python list
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.2

---
emerge --info
Portage 2.1.13 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.9.11-1001.bd3r x86_64)
=================================================================
System uname: Linux-3.9.11-1001.bd3r-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.2
KiB Mem:     3789372 total,    680444 free
KiB Swap:    5058080 total,   4556380 free
Timestamp of tree: Fri, 26 Jul 2013 19:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5, 3.2.5-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo maci
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Broadcom google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="   -march=native -O3 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="/portable/pdistfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=y --color=y --alphabetical --ask-enter-invalid --jobs=1 --ask=y --nospinner --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS=" -j2 "
PKGDIR="/portable/pkgdirg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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"
PORTAGE_TMPDIR="/portable/temp"
PORTDIR="/portable/portdir"
PORTDIR_OVERLAY="/portable/pmaci"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="X a52 acl acpi amd64 amr ao apm apng archive assistant audit avconv bazaar berkdb bs2b bzip2 c++0x cairo calendar caps cdda cddb cdr cli cracklib crypt cryptsetup cups curl cxx dbus declarative device-mapper dga dhcpcd dirac disk-partition djvu dri dts dvb dvd dvdr egl embedded emboss emf enca encode exif expat expoblending extras faac faad fat festival ffmpeg fftw firefox flac fluidsynth fma fontconfig fortran frei0r fuse gallium gcrypt gd gdbm gdu geoip gif glade gles1 gles2 glibc-omitfp glitz gmp go gphoto2 graphviz gs gsf gsm gstreamer gtk gtk2 gtk3 hdri hyperestraier iconv icu id3tag idn imagemagick imlib inotify introspection iodbc ipv6 ithreads jbig joystick jpeg jpeg2k json kate kde kde4 kipi lame lapack laptop libass libkms libnotify libsamplerate libsoxr libssh2 libtiger libv4l libyaml live lm_sensors lua lzma lzo mac mad matroska melt mikmod minizip mjpeg mktemp mmap mmx mmxext mng modules mp3 mp4 mpeg mpeg4 mplayer mtp mudflap multilib musepack mysql nas natspec ncurses nepomuk nls nptl nscd nss numpy odbc ogg openexr opengl openmp openrc openvg optimized-qmake opus pam pango panorama pch pcre pdf phonon plasma plotutils png podcast policykit postproc postscript ppds private-headers program_options pulseaudio python python2 q32 qimageblitz qscintilla qt3support qt4 quicktime qwt readline real redeyes rss rtsp sasl schroedinger sdl secure-delete semantic-desktop sensord session sharedmem sift smp sndfile sox speex sql sqlite sse sse2 sse3 sse4_1 ssl ssse3 svg swig system-sqlite systemd taglib tcpd theora thread threads tiff totem truetype twolame udev udisks2 unicode upower usb userlocales v4l v4l2 vaapi vala vcd vdpau video virtualbox vorbis vp8 vpx wavpack webkit win32codecs windeco wma-fixed wxwidgets x264 xattr xcb xcomposite xml xmlpatterns xmp xulrunner xv xvid xvideo xvmc youtube zlib" ABI_X86="64" 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="braindump flow karbon sheets stage words krita" CAMERAS="canon samsung" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="biosdevname btrfs caps crypt systemd" DVB_CARDS="af9005 bcm3510 cx18 cx231xx cx23885 dibusb-usb2 mpc718 nxt200x opera1 or51132 or51211 pvrusb2 sp8870 sp887x tda10045 tda10046 tda10046lifeview ttpci ttusb-dec usb-a800 usb-af9015 usb-bluebird usb-dib0700 usb-dtt200u usb-dw2104 usb-umt usb-vp702x usb-vp7045 usb-wt220u vp7041" ELIBC="glibc" ENLIGHTENMENT_MODULES="clock comp conf-applications conf-dialogs conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-shelves conf-theme conf-window-manipulation conf-window-remembers cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess start syscon systray tasks temperature tiling winlist wizard" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-minimizer pdfimport scripting-javascript" LINGUAS="de_DE de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia v4l v4l2 fbdev nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 8 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-12 22:11:54 UTC

*** This bug has been marked as a duplicate of bug 478548 ***