Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136129 - licq does not compile on Gentoo/FreeBSD without fixes from ports
Summary: licq does not compile on Gentoo/FreeBSD without fixes from ports
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-08 17:29 UTC by Simon Koenig
Modified: 2007-08-22 12:32 UTC (History)
1 user (show)

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


Attachments
#1 (patch-main.cpp,208 bytes, patch)
2006-06-08 17:31 UTC, Simon Koenig
Details | Diff
#2 (patch-socket.cpp,839 bytes, patch)
2006-06-08 17:31 UTC, Simon Koenig
Details | Diff
#3 (patch-translate.cpp,1.43 KB, patch)
2006-06-08 17:32 UTC, Simon Koenig
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Koenig 2006-06-08 17:29:07 UTC
http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-im/licq/files/
This is where I found the patches.



Portage 2.1_rc4-r4 (default-bsd/fbsd/6.1/x86, gcc-3.4.6/vanilla, freebsd-lib-6.1-r0, 6.1-RELEASE i386)
=================================================================
System uname: 6.1-RELEASE i386 i386
Gentoo Base System version 20060420
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    [Not Present]
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/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  6.1
ACCEPT_KEYWORDS="x86 x86-fbsd ~x86 ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-freebsd6.1"
CFLAGS="-march=athlon-xp -pipe -O2"
CHOST="i686-gentoo-freebsd6.1"
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/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks keeptemp keepwork metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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/portage-alt-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86-fbsd 3dnow 3dnowext X acpi cairo crypt firefox gdbm gif jpeg kde kdeenablefinal mmx ncurses nls ogg opengl openssh oss pam perl png python qt readline sse ssl tcpd truetype usb xml xorg xv zlib elibc_FreeBSD input_devices_mouse input_devices_keyboard kernel_FreeBSD userland_BSD video_cards_nv video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Simon Koenig 2006-06-08 17:31:34 UTC
Created attachment 88727 [details, diff]
#1
Comment 2 Simon Koenig 2006-06-08 17:31:55 UTC
Created attachment 88728 [details, diff]
#2
Comment 3 Simon Koenig 2006-06-08 17:32:16 UTC
Created attachment 88729 [details, diff]
#3
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-08 17:38:15 UTC
Can you provide the actual error? #2 seems to me a fix for FreeBSD 4 (that we don't support anyway), a part the PROTOTYPES stuff that is also in #1. #3 seems more a generic fix for licq more than a build fix.
Comment 5 Simon Koenig 2006-06-08 17:51:47 UTC
Yes, no problem. ->

if i686-gentoo-freebsd6.1-g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..  -Wall -I../include -DINSTALL_PREFIX=\"/usr\"
  -D_THREAD_SAFE  -march=athlon-xp -pipe -O2 -fno-exceptions -fno-check-new -pthread -MT translate.o -MD -MP -MF ".deps/translate.Tpo" \
          -c -o translate.o `test -f 'translate.cpp' || echo './'`translate.cpp; \
        then mv -f ".deps/translate.Tpo" ".deps/translate.Po"; \
        else rm -f ".deps/translate.Tpo"; exit 1; \
        fi
translate.cpp: In member function `char* CTranslator::ToUnicode(char*, char*)':
translate.cpp:245: error: invalid conversion from `char**' to `const char**'
translate.cpp:245: error:   initializing argument 2 of `size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
translate.cpp:251: error: invalid conversion from `char**' to `const char**'
translate.cpp:251: error:   initializing argument 2 of `size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
translate.cpp: In member function `char* CTranslator::FromUnicode(char*, char*)':
translate.cpp:290: error: invalid conversion from `char**' to `const char**'
translate.cpp:290: error:   initializing argument 2 of `size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
translate.cpp:296: error: invalid conversion from `char**' to `const char**'
translate.cpp:296: error:   initializing argument 2 of `size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
translate.cpp: In member function `char* CTranslator::FromUTF16(char*, int)':
translate.cpp:322: error: invalid conversion from `char**' to `const char**'
translate.cpp:322: error:   initializing argument 2 of `size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
translate.cpp: In member function `char* CTranslator::ToUTF16(char*, char*, size_t&)':
translate.cpp:349: error: invalid conversion from `char**' to `const char**'
translate.cpp:349: error:   initializing argument 2 of `size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
gmake[2]: *** [translate.o] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/licq-1.3.2-r1/work/licq-1.3.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/licq-1.3.2-r1/work/licq-1.3.2'
gmake: *** [all] Error 2
Comment 6 Konstantin Arkhipov (RETIRED) gentoo-dev 2006-10-22 08:16:44 UTC
is this one still actual for 1.3.4?
Comment 7 Roy Marples (RETIRED) gentoo-dev 2007-08-22 12:32:43 UTC
No it's not, so it gets a keyword.