Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255743 - sys-fs/vhba-1.2.1 version bump
Summary: sys-fs/vhba-1.2.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Marcelo Goes (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 12:31 UTC by Fabio Cavallo
Modified: 2009-03-12 08:00 UTC (History)
3 users (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 Fabio Cavallo 2009-01-21 12:31:00 UTC
Notes:
- kernel locks fixed
- compiles on newer gcc
- KAT uses module's real build environment - should work on recent kernels.

I renamed the ebuild and it worked perfectly.

Reproducible: Always
Comment 1 Michael Donaghy 2009-02-11 14:30:54 UTC
Note that the changes appear to fix bug #233910
Comment 2 NickNill 2009-02-22 12:33:22 UTC
NNIIL etc # emerge --info
!!! Invalid PORTDIR_OVERLAY (not a dir): '/var/portage/layman'
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2-NNIIL x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r2-NNIIL-x86_64-AMD_Athlon-tm-_64_X2_Dual-Core_Processor_TK-57-with-glibc2.2.5
Timestamp of tree: Sun, 22 Feb 2009 11:45:02 +0000
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.7
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.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O3 -pipe"
CHOST="x86_64-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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=k8 -O3 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.linux.kiev.ua/pub/Linux/Gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j3"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://gentoo.org.ua/gentoo-portage"
USE="3dnow X Xaw3d a52 aac acl acpi alsa amd64 ao avahi berkdb bindist bluetooth branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups cxx dbus dga djvu dri dvb dvd dvdr dvdread dvi eds emacs emboss encode esd evo fam ffmpeg firefox flac fontconfig fortran ftp gdbm geoip gif gimp gnome gnutls gpm gstreamer gtk gtkhtml hal hddtemp iconv icu ieee1394 imap imlib ipv6 isdnlog jabber javascript jpeg jpeg2k kde lame ldap libgda libnotify libsamplerate libwww lm_sensors lzma mad matroska memlimit midi mikmod mime mmap mmx mmxext mono mp3 mpeg mplayer mudflap multilib musepack mysql ncurses network nls nptl nptlonly ogg openal opengl openmp pam pch pcmcia pcre pda pdf perl php png posix ppds pppd profile python qt3 qt3support qt4 quicktime raw rdesktop readline reflection samba sasl scanner sdl session smp speex spell spl sse sse2 ssl startup-notification svg sysfs taglib tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd vnc vorbis wawpack wifi wxwindows x264 xml xorg xulrunner xv xvid zlib" 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" 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS





>>> Emerging (1 of 1) sys-fs/vhba-1.2.1
!!! Invalid PORTDIR_OVERLAY (not a dir): '/var/portage/layman'
 * vhba-module-1.2.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...             [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.28-gentoo-r2-NNIIL
 * Checking for suitable kernel configuration options...                  [ ok ]
 * Checking for suitable kernel configuration options...                  [ ok ]
>>> Unpacking source...
>>> Unpacking vhba-module-1.2.1.tar.bz2 to /var/tmp/portage/sys-fs/vhba-1.2.1/work
>>> Source unpacked in /var/tmp/portage/sys-fs/vhba-1.2.1/work
>>> Compiling source in /var/tmp/portage/sys-fs/vhba-1.2.1/work/vhba-module-1.2.1 ...
ln: создание символьной ссылки `Module.symvers': Файл существует
 * Preparing vhba module
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERNELDIR=/usr/src/linux all 
kat/kat /usr/src/linux kernel.api.h kat/have_scsi_macros.c kat/scatterlist_has_page_link.c
make -C /usr/src/linux M=/var/tmp/portage/sys-fs/vhba-1.2.1/work/vhba-module-1.2.1 modules
KAT will test if C compiler works...ok
Checking kat/have_scsi_macros.c... make[1]: Entering directory `/usr/src/linux-2.6.28-gentoo-r2'
make[1]: предупреждение: сервер задач недоступен: используется -j1.
Добавьте `+' к правилу в родительском make.
  CC [M]  /var/tmp/portage/sys-fs/vhba-1.2.1/work/vhba-module-1.2.1/vhba.o
/var/tmp/portage/sys-fs/vhba-1.2.1/work/vhba-module-1.2.1/vhba.c: В функции ‘do_response’:
/var/tmp/portage/sys-fs/vhba-1.2.1/work/vhba-module-1.2.1/vhba.c:513: ошибка: ‘struct scatterlist’ не содержит элемента с именем ‘page’
make[2]: *** [/var/tmp/portage/sys-fs/vhba-1.2.1/work/vhba-module-1.2.1/vhba.o] Ошибка 1
make[1]: *** [_module_/var/tmp/portage/sys-fs/vhba-1.2.1/work/vhba-module-1.2.1] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.28-gentoo-r2'
make: *** [modules] Ошибка 2
make: *** Ожидание завершения заданий...
true
Checking kat/scatterlist_has_page_link.c... true
 * 
 * ERROR: sys-fs/vhba-1.2.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3270:  Called linux-mod_src_compile
 *             environment, line 2516:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)" 			CROSS_COMPILE=${CHOST}- 						LDFLAGS="$(get_abi_LDFLAGS)" 						${BUILD_FIXES} 		${BUILD_PARAMS} 						${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERNELDIR=/usr/src/linux all
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-fs/vhba-1.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/vhba-1.2.1/temp/environment'.
 * 

>>> Failed to emerge sys-fs/vhba-1.2.1, Log file:

>>>  '/var/tmp/portage/sys-fs/vhba-1.2.1/temp/build.log'

 * Messages for package sys-fs/vhba-1.2.1:

 * 
 * ERROR: sys-fs/vhba-1.2.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3270:  Called linux-mod_src_compile
 *             environment, line 2516:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)" 			CROSS_COMPILE=${CHOST}- 						LDFLAGS="$(get_abi_LDFLAGS)" 						${BUILD_FIXES} 		${BUILD_PARAMS} 						${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERNELDIR=/usr/src/linux all
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-fs/vhba-1.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/vhba-1.2.1/temp/environment'.

Comment 3 Fabio Cavallo 2009-02-22 15:30:41 UTC
(In reply to comment #2)

Add in the ebuild:

# force j1 to prevent parallel build
MAKEOPTS="${MAKEOPTS} -j1"

and the build works :)
Comment 4 José María Fernández González 2009-02-23 20:27:51 UTC
(In reply to comment #3)

I can confirm that build works with that change.
Comment 5 Jesús Guerrero Botella (RETIRED) gentoo-dev 2009-03-09 00:31:19 UTC
Please, bump this into portage. I haven't been able to use cdemu for ages now due to the fact that vhba can't be compiled against any recent kernel.

Comment 6 Tiziano Müller (RETIRED) gentoo-dev 2009-03-12 08:00:19 UTC
Done (including fixed parallel build issue).