First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 134769
Alias:
Product:
Component:
Status: RESOLVED
Resolution: TEST-REQUEST
Assigned To: Matthias Schwarzott <zzam@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matteo Azzali <mattepiu@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
linuxtv-dvb-apps-1.1.1.ebuild linuxtv-dvb-apps-1.1.1.ebuild text/plain Matteo Azzali 2006-05-29 07:45 0000 1.75 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 134769 depends on: Show dependency tree
Bug 134769 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-29 05:40 0000
I think something could be missing:

dvbnet.c:38:21: error: version.h: No such file or directory

to make sure, my flags were: "usb" and my emerge --info is:

Portage 2.1_rc3-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3,
2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 AMD Sempron(tm) Processor 3100+
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks metadata-transfer sandbox
sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo/
http://ftp.heanet.ie/pub/gentoo/"
LANG="it_IT@euro"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X aalib acl acpi acpi4linux alsa apache2 apm
audiofile avi berkdb bitmap-fonts bzip2 cli crypt cups curl divx4linux dri dts
dvb dvd dvdr dvdread eds emboss encode esd exif expat ffmpeg flac foomaticdb
fortran gdbm gif gimp glut gnome gphoto2 gpm gstreamer gtk gtk2 guile hal idn
imagemagick imlib isdnlog java joystick jpeg kde lcms libg++ libwww lirc live
lm_sensors mad matroska mikmod mmx mmx2 mmxext mng motif mp3 mpeg ncurses nls
nptl nptlonly nsplugin nvidia offensive ogg ogre opengl oss pam pcre pdflib
perl png pppd python qt quicktime readline real reflection scanner sdl session
spell spl sse sse-filters sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts
type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs wxgtk1 xcomposite xine
xml2 xmms xorg xscreensaver xv xvid xvmc zlib zvbi elibc_glibc
input_devices_mouse input_devices_keyboard input_devices_wacom kernel_linux
linguas_it userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa
video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Matthias Schwarzott 2006-05-29 07:37:49 0000 -------
Please: The next time you create a bug report, do not only poste one line of
the error, but at least from some lines before the error to the end of
emerge-process.

Analysis: This seems to be a problem with the makefile, as the dependencies
inside are not 100% correct. This occurs as make is running more than one
instance when using -jX with X>1 (you use MAKE_OPTS="-j2").
version.h is needed but not yet created in the second process.

------- Comment #2 From Matteo Azzali 2006-05-29 07:40:35 0000 -------
version.h was present in dvbnet directory.

Issue is caused by a patch, linuxtv-dvb-apps-1.1.1-includefile.patch ,
commenting its line out in ebuild resulted in fine emersion.

May I ask if this patch is needed for someone else ?
(it changes #include <version>  in  #include "version")

------- Comment #3 From Matteo Azzali 2006-05-29 07:45:55 0000 -------
Created an attachment (id=87803) [edit]
linuxtv-dvb-apps-1.1.1.ebuild

Sorry I reported just the first line containing "error:" cause I noticed it's 
generally speaking the only relevant. However the issue is found, one of the
patches seems unnedded. (actually emerged and dvbnet seems to work fine with
this ebuild)

------- Comment #4 From Matteo Azzali 2006-05-29 07:49:54 0000 -------
Further testing, I can confirm dvbnet is working fine,
version.h seems to be used for version info,
---------------------------------------
make output:
make -C dvbnet
make[2]: Entering directory
`/home/matte/MyDownloads/linuxtv-dvb-apps-1.1.1/util/dvbnet'
printf '#define VERSION_INFO "%s (Build %s)"\n' \
                "`cat version.h.in`" "`date +'%a %b %d %X %Y'`" > version.h
gcc -g -O2 -MD -Wall -I. -I../../include -c dvbnet.c -o dvbnet.o
gcc -o dvbnet dvbnet.o
make[2]: Leaving directory
`/home/matte/MyDownloads/linuxtv-dvb-apps-1.1.1/util/dvbnet'
make -C dvbdate


------------------------------------------------
output of dvbnet -v :
DVB Network Interface Manager
Version 1.1.0-TVF (Build lun mag 29 16:53:57 2006)
Copyright (C) 2003, TV Files S.p.A

------- Comment #5 From Matthias Schwarzott 2006-05-29 09:39:20 0000 -------
The problem is not the the inclusion of version.h. It is clear it is meant to
include the file created by the makefile. Thus #include "version.h" is the
correct form.

Only problem is: The makefile does not garantuee the file to exist before the
compiler uses it.

This thing is, along with a complete makefile-rewrite, commited.

Please report if it works.

------- Comment #6 From Matteo Azzali 2006-05-29 11:11:54 0000 -------
I resynced and tested (makefile patch is changed):

emerged fine at first try. (worksforme)

First Last Prev Next    No search results available      Search page      Enter new bug