Summary: | sci-calculators/tilp-6.79 Error while emerging | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Daester <david.daester> |
Component: | New packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | chazmcgarvey, david.daester |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build.log - I tested it today again
Patch for 6.76 and 6.79 to fix compile errors |
Description
David Daester
2007-11-20 07:58:44 UTC
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64) ================================================================= System uname: 2.6.22-gentoo-r9 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz Timestamp of tree: Mon, 19 Nov 2007 10:46:01 +0000 distcc[6866] (dcc_set_trace_from_env) ERROR: failed to open logfile /var/log/distcc.log: Permission denied [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoclean ccache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch " LANG="de_CH@euro" LINGUAS="de" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/xeffects" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aiglx alsa amd64 apache2 arts bitmap-fonts cairo cdparanoia cli cpudetection cracklib crypt ctype cups dbus doc dri dv dvd dvdread encode examples ffmpeg flac fortran gd gdbm gif glibc-omitfp glitz gpm gstreamer gtk hal iconv imagemagick imlib ipw4965 isdnlog java java5 jpeg kde kdeenablefinal kdehiddenvisibility latin1 ldap lm_sensors logrotate madwifi midi mmx mmxext mp2 mp3 mpeg mplayer msn mudflap musepack mysql ncurses nls nptl nptl-only nptlonly nsplugin ogg opengl openmp pam pcre pdf php png pppd ps qt3 qt3support qt4 quicktime rar readline reflection samba session soap source spl srt sse sse2 ssl subtitles svg tetex theora threads truetype truetype-fonts type1-fonts unicode vcr vorbis wifi wxwindows xinerama xml xml2 xorg xpm xv xvid zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS The Bugzilla product is for problems with the Bugzilla installation ONLY. Please do NOT use the Bugzilla product for anything else. Created attachment 136930 [details]
Build.log - I tested it today again
It's my build.log from this problem, tested again after a new emerge --sync
The problem is the GTK_DISABLE_DEPRECATED. With too new of GTK+, gtk_widget_unref is deprecated in favor of g_object_unref. Removing the -DGTK_DISABLE_DEPRECATED from src/Makefile.in (and removing the backslash on the line above it) is all that is needed to fix the compile error. Created attachment 141699 [details, diff]
Patch for 6.76 and 6.79 to fix compile errors
This both fixes the compile error in the make file caused by the gtk+ deprecations in both 6.76 and 6.79 and fixes another compile error in 6.79 caused by the rom_dump. The gtk+ issues are solved by gtkdisabledeprecated.diff (both are preixed by version numbers) and the rom_dump issue is solved by 6.79-romdump.diff.
Well the thing compiles with the patches above for x86 but it doesnt work unless i am root. I am part of the tty and uucp groups and the permissions on the serial port look fine but the program still fails to read from it unless i am root. I dont know of this is a bug with the software or if it was something missing or a config issue but either way i give up. *** Bug 246429 has been marked as a duplicate of this bug. *** This package was removed as per bug #259483. |