Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 155887
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Accessibility Team <accessibility@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Cramer <portage@bigmichi1.dyndns.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
brltty-3.7.2-linux-compiler-h.patch brltty-3.7.2-linux-compiler-h.patch patch Pacho Ramos 2007-05-11 15:28 0000 377 bytes Details | Diff
brltty-3.7.2-MAX_NR_CONSOLES.patch Fixes the compile issue patch Joe Jezak 2007-07-13 02:57 0000 304 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 155887 depends on: Show dependency tree
Bug 155887 blocks: 159304
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-11-21 12:55 0000
i686-pc-linux-gnu-gcc -Wall -O2 -march=pentium3 -pipe -fomit-frame-pointer -I.
-I.. -I. -I.. -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500
-DHAVE_CONFIG_H -c ./usb_linux.c
./usb_linux.c:33:28: error: linux/compiler.h: No such file or directory
make[1]: *** [usb_linux.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-accessibility/brltty-3.7.2/work/brltty-3.7.2/Programs'
make: *** [all] Error 2

!!! ERROR: app-accessibility/brltty-3.7.2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  brltty-3.7.2.ebuild, line 35:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if
relevant.


remove the include of compiler.h now i got this:

make[3]: Entering directory
`/var/tmp/portage/app-accessibility/brltty-3.7.2/work/brltty-3.7.2/Programs'
i686-pc-linux-gnu-gcc -Wall -O2 -march=pentium3 -pipe -fomit-frame-pointer -I.
-I.. -I. -I.. -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500
-DHAVE_CONFIG_H -fPIC -c ./api_client.c
./api_client.c: In function 'brlapi_waitForPacket':
./api_client.c:167: warning: dereferencing type-punned pointer will break
strict-aliasing rules
./api_client.c: In function 'getControllingTty':
./api_client.c:669: error: 'MAX_NR_CONSOLES' undeclared (first use in this
function)
./api_client.c:669: error: (Each undeclared identifier is reported only once
./api_client.c:669: error: for each function it appears in.)
make[3]: *** [api_client.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/app-accessibility/brltty-3.7.2/work/brltty-3.7.2/Programs'
make[2]: *** [api] Error 2
make[2]: Leaving directory
`/var/tmp/portage/app-accessibility/brltty-3.7.2/work/brltty-3.7.2/BrailleDrivers/BrlAPI'
make[1]: *** [braille-drivers] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-accessibility/brltty-3.7.2/work/brltty-3.7.2/Programs'
make: *** [all] Error 2

!!! ERROR: app-accessibility/brltty-3.7.2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  brltty-3.7.2.ebuild, line 35:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if
relevant.


i patched the source with a debian diff (
http://ftp.debian.org/debian/pool/main/b/brltty/brltty_3.7.2-4.diff.gz ) and
also removed the compiler.h include now it builds up fine, perhaps somebody can
have a look.

------- Comment #1 From Michael Cramer 2006-11-21 12:56:27 0000 -------
Portage 2.1.2_rc2-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.5-r0, 2.6.18-gentoo-2006.0 i686)
=================================================================
System uname: 2.6.18-gentoo-2006.0 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.6
Last Sync: Tue, 21 Nov 2006 17:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.18
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /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/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/local/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="autoconfig collision-protect distlocks metadata-transfer
parallel-fetch sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="de en"
MAKEOPTS="-j3"
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 7zip X Xaw3d a52 aac aalib accessibility acl acpi addbookmarks aiglx
akode alias alsa amr ao aoss apache2 apm arts artswrappersuid artworkextra
asterisk async audiofile authfile autoipd automount autoreplace avahi
avalon-framework avalon-logkit bcmath bcp beagle berkdb big-tables bitmap-fonts
bjam bluetooth boo bookmarks branding brltty bzip2 cairo calendar caps cdb cddb
cdr cgi chm cjk clamav cli cluster connectionstatus contactnotes cpudetection
cracklib crypt css ctype cups curl curlwrappers cvs dbus dcraw depth32 dga
directfb diskio djbfft djvu dlloader dmi dmx doc drac dri dts dv dvd dvdr
dvdread dvi ecc eds elf elibc_glibc emacs emboss encode esd evo examples exif
expat extraengine extrafilters faad fam fame fbcon ffmpeg fftw filepro firebird
firefox flac flatfile fontconfig fortran fpx freetds freetts ft ftp gadu galago
gcj gd gdbm ggi gif glep glib glibc-omitfp glitz gmp gnokii gnome gnutls
gphoto2 gpm graphviz groupwise gs gstreamer gtk gtkhtml guile hal hash hesiod
highlight history howl-compat hpn ical iconv idea idled idn ieee1394 ifsession
imagemagick imap imlib immqt inifile input_devices_evdev input_devices_keyboard
input_devices_mouse ipv6 irc irda isdnlog ithreads jack jack-tmpfs java
javamail javascript jbig jce jms jmx joystick jpeg jpeg2k junit justify jython
kcal kde kdeenablefinal kdehiddenvisibility kdrive kerberos kernel_linux
keyring kig-scripting krb4 latex lcms ldap leim libcaca libg++ libnotify
linguas_de linguas_en lirc lirc_devices_serial lm_sensors log4j logrotate lua
lzo lzw mad max-idx-128 mbrola mdb memlimit mfd-rewrites mhash mikmod mime ming
mjpeg mmap mmx mng mono motif mozbranding mozcalendar mozdevelop mp3 mp3rtp mp4
mpeg mpm-prefork mssql mudflap musepack musicbrainz mysql mysqli nas ncurses
neXt netjack netmeeting netpbm network new-login nfs nis nls nntp no-old-linux
nowlistening nptl nptlonly nsplugin numeric oav objc objc++ objc-gc ocaml odbc
ogg ole openct openexr opengl opensslcrypt oss overlays pam pam_chroot
pam_console pam_timestamp pch pcntl pcre pcsc-lite pda pdf pdo pear perl
pg-intdatetime php physfs pic pike png portaudio posix postgres povray ppds
pppd pwdb pyste python qt3 qt4 quicktime quotas rdesktop readline reflection
rewrite rhino rle rpm rrdcgi ruby samba sametime sample sasl scanner script sdl
sensord serial servletapi session shaper sharedmem simplexml sitemisc skey slp
smartcard sms smux sndfile snmp soap sockets socks5 softquota speex spell spl
sql sqlite sqlite3 srp sse ssl statistics subversion svg svga swat symlink
sysfs syslog sysvipc t1lib tcl tcltk tcpd test tetex texteffect theora threads
threadsafe tidy tiff timidity tk tokenizer toolbar tools translator transmitter
truetype truetype-fonts type1-fonts ucs2 udev unicode unzip usb userland_GNU
utempter vcd video_cards_r128 video_cards_vesa vorbis vorbis-psy vroot wddx
webpresence wifi win32codecs winbind winpopup wmf wxwindows x264 xbase
xcomposite xforms xinerama xinetd xml xml2 xmldoclet xmlreader xmlrpc xmlwriter
xorg xpm xprint xscreensaver xsl xv xvid yahoo yaz yv12 zeroconf zip zlib"
Unset:  CTARGET, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From SpanKY 2006-11-26 05:20:16 0000 -------
brltty is broken, not linux-headers

------- Comment #3 From Michael Cramer 2007-02-13 21:14:12 0000 -------
any news about this bug?
what about using the patch debian use? or is this against anything?

------- Comment #4 From Pacho Ramos 2007-05-11 15:28:59 0000 -------
Created an attachment (id=118882) [details]
brltty-3.7.2-linux-compiler-h.patch

Patch applied by Fedora

------- Comment #5 From William Hubbs 2007-06-01 06:57:12 0000 -------
I have applied the patch from Fedora as submitted in the previous comment. 
Please re-emerge brltty and report whether or not this works.

Thanks much.

------- Comment #6 From Joe Jezak 2007-07-13 02:57:01 0000 -------
Created an attachment (id=124732) [details]
Fixes the compile issue

This patch fixes the compile issue.  Once this is applied, it compiles fine on
ppc.

------- Comment #7 From William Hubbs 2007-08-06 19:53:07 0000 -------
Is this still an issue withversion 3.8?

------- Comment #8 From William Hubbs 2007-09-02 15:02:30 0000 -------
I am closing this due to no response.  Please re-open if this is still an
issue.  Thanks much.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug