Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 226521 - app-accessibility/brltty-3.9 fails to build
Summary: app-accessibility/brltty-3.9 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-14 11:31 UTC by Evil Compile Person
Modified: 2008-09-25 04:15 UTC (History)
2 users (show)

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


Attachments
brltty.txt (brltty.txt,10.07 KB, text/plain)
2008-09-24 23:35 UTC, William Hubbs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2008-06-14 11:31:15 UTC
x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -I. -I. -I./..//Programs -I../Programs -I./../ -I.. -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -DHAVE_CONFIG_H -c ./async.c
x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -I. -I. -I./..//Programs -I../Programs -I./../ -I.. -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -DHAVE_CONFIG_H -c ./auth.c
./auth.c: In function 'retrievePeerCredentials':
./auth.c:178: error: dereferencing pointer to incomplete type
./auth.c: In function 'checkPeerUser':
./auth.c:190: error: dereferencing pointer to incomplete type
./auth.c: In function 'checkPeerGroup':
./auth.c:195: error: dereferencing pointer to incomplete type
./auth.c: At top level:
./auth.c:266: error: field 'peerCredentials' has incomplete type
make[1]: *** [auth.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Programs'
make: *** [all] Error 2
 *
 * ERROR: app-accessibility/brltty-3.9 failed.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25.1 x86_64)
=================================================================
System uname: 2.6.25.1 x86_64 unknown
Timestamp of tree: Fri, 13 Jun 2008 19:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://216.165.129.134/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/"
LANG="en_US"
PKGDIR="/usr/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="/usr/portage"
SYNC="rsync://208.71.112.51/gentoo-portage"
USE="X acl amd64 berkdb cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg 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 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" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 William Hubbs gentoo-dev 2008-06-26 03:05:22 UTC
All,

app-accessibility/brltty builds here with stable gcc, can you look into this for me?

Thanks,

William

Comment 2 Ryan Hill (RETIRED) gentoo-dev 2008-06-26 04:37:08 UTC
see this patch from Fedora:
http://cvs.fedoraproject.org/viewcvs/*checkout*/devel/brltty/brltty-3.9-gnusource.patch

but after applying it I get another error later:

x86_64-pc-linux-gnu-gcc -Wall -Wl,-export-dynamic -o xbrlapi xbrlapi.o program.o options.o misc.o sys_linux.o io_misc.o -L. -lbrlapi -L/usr/lib64 -lXaw -lXt -lXtst -lXext   -lSM -lICE -lX11  -ldl -lpthread -lsupc++
set -- Python; \
        for language \
        do (cd ./..//Bindings/$language && make all) || exit 1; \
        done
make[2]: Entering directory `/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Bindings/Python'
/usr/bin/pyrexc -I. -o brlapi.auto.c ./brlapi.pyx
/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Bindings/Python/brlapi.pyx:487:26: Empty declarator
/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Bindings/Python/brlapi.pyx:512:26: Empty declarator
make[2]: *** [brlapi.auto.c] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Bindings/Python'
make[1]: *** [all-api-bindings] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Programs'
make: *** [all] Error 2


assigning back to you since this isn't a gcc issue.
Comment 3 William Hubbs gentoo-dev 2008-09-06 20:04:17 UTC
All,

I have just committed brltty-3.10 to the tree, can you please test and see
if the same issues exist?

Thanks,

William

Comment 4 younker 2008-09-08 11:47:57 UTC
tried with the new version, same problem as described. 

(In reply to comment #3)
> All,
> 
> I have just committed brltty-3.10 to the tree, can you please test and see
> if the same issues exist?
> 
> Thanks,
> 
> William
> 

Comment 5 Ryan Hill (RETIRED) gentoo-dev 2008-09-23 04:05:23 UTC
FYI I have a working version in the gcc-porting overlay.  just needs some extra poking and i'll put it in the tree to test.
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2008-09-23 18:50:48 UTC
can someone post a file list of an installed copy (equery f brltty).  I had to fix a couple makefiles and i want to be sure everything is still getting installed to the same spots.
Comment 7 William Hubbs gentoo-dev 2008-09-24 23:35:01 UTC
Created attachment 166330 [details]
brltty.txt

Here is a listing of "equery f brltty" as requested.
Comment 8 William Hubbs gentoo-dev 2008-09-24 23:39:38 UTC
That listing does not include all of the bindings, so let me know if you
need everything.  Here is the output from my emerge --info.

Portage 2.2_rc9 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Celeron-R-_D_CPU_3.20GHz-with-glibc2.0
Timestamp of tree: Wed, 24 Sep 2008 08:05:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="collision-protect distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa berkdb bzip2 caps cli cracklib crypt curl dri fortran gdbm gpm iconv imap ipv6 isdnlog maildir midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd pulseaudio python readline reflection sasl session spl ssl symlink sysfs tcpd unicode usb webdav x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 9 Ryan Hill (RETIRED) gentoo-dev 2008-09-25 01:11:37 UTC
it looks like everything has been installed into the root dir (eg /lib instead of /usr/lib).  i noticed that in the ebuild and couldn't figure out what it was doing there. ;)  is that needed to have the terminal available when /usr isn't mounted or some such?
Comment 10 William Hubbs gentoo-dev 2008-09-25 01:29:06 UTC
The devices brltty sends information to are not terminals, but they are
braille displays.  The program that outputs to them needs to start
as early as possible in the boot process; we add it to the boot runlevel,
and it starts before the filesystems are checked.  

That is why it needs to be installed in the root directory.

Comment 11 Ryan Hill (RETIRED) gentoo-dev 2008-09-25 04:15:26 UTC
a new brltty-3.10 ebuild is in the tree.  please reopen if there are any issues.