Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337595 - net-libs/ptlib-2.6.7 failed to emerge on FreeBSD-8.0
Summary: net-libs/ptlib-2.6.7 failed to emerge on FreeBSD-8.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All FreeBSD
: High normal
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 09:05 UTC by Naohiro Aota
Modified: 2012-10-24 14:28 UTC (History)
2 users (show)

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


Attachments
complete build log (build.log,13.66 KB, text/plain)
2012-03-26 23:33 UTC, Naohiro Aota
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2010-09-16 09:05:41 UTC
ptlib-2.6.7 build faild on FreeBSD-8.0 with the following error

> [CC] ptlib/unix/socket.cxx
> ptlib/unix/socket.cxx: In function ‘PBoolean process_rtentry(rt_msghdr*, char*, long unsigned int*, long unsigned int*, long unsigned int*, int*)’:
> ptlib/unix/socket.cxx:1170: error: ‘RTF_WASCLONED’ was not declared in this scope

Upstream already seems to have fix this bug with the diff here.

http://www.opalvoip.org/websvn/comp.php?repname=Opal&path=/&compare[]=/ptlib/trunk/@24378&compare[]=/ptlib/trunk/@24379



Reproducible: Always

Steps to Reproduce:




Portage 2.2_rc67 (default/bsd/fbsd/x86/8.0, gcc-4.4.4, freebsd-lib-8.0-r0, 8.0-RELEASE i386)
=================================================================
System uname: FreeBSD-8.0-RELEASE-i386-32bit-ELF
Timestamp of tree: Wed, 15 Sep 2010 08:00:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.5.4-r4, 2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.3.5, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  8.0
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
ACCEPT_LICENSE="* -@EULA sun-bcla-java-vm skype-eula"
CBUILD="i686-gentoo-freebsd8.0"
CFLAGS="-O2 -pipe -march=prescott --param l1-cache-size=16 --param l1-cache-line-size=64 -mtune=prescott"
CHOST="i686-gentoo-freebsd8.0"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=prescott --param l1-cache-size=16 --param l1-cache-line-size=64 -mtune=prescott"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests chflags distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ja_JP.UTF-8"
LC_ALL="ja_JP.UTF-8"
LDFLAGS=""
LINGUAS="ja"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/usr/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gentoo-bsd /var/lib/layman/sunrise /var/lib/layman/haskell /home/naota/src/portage-overlay /usr/local/portage/pc_local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi berkdb bzip2 cjk cli cracklib crypt cxx dri emacs fortran gdbm gif gtk gzip-el iconv ipv6 java5 java6 jpeg jpeg2k mmx modules ncurses nls nptlonly openal opengl oss pam pcre perl png python readline reflection session source spell spl sse sse2 ssl svg tcpd toolkit-scroll-bars truetype unicode usb x86-fbsd xft xorg zlib" 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 cgi cgid 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="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" RUBY_TARGETS="ruby18" USERLAND="BSD" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-19 09:30:37 UTC
Please attach the complete build log.
Comment 2 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2010-10-28 00:14:32 UTC
When you apply this patch, does it fix your compilation?
Comment 3 Naohiro Aota gentoo-dev 2010-10-28 14:34:14 UTC
(In reply to comment #2)
> When you apply this patch, does it fix your compilation?

yes, the patch fix the compilation failure.

Comment 4 Naohiro Aota gentoo-dev 2012-03-26 23:33:58 UTC
Created attachment 306799 [details]
complete build log

Complete build log attached.

and, if you don't mind, I'll add the patch and commit to portage tree.

Thanks.
Comment 5 Jesus Rivero (RETIRED) gentoo-dev 2012-10-24 14:27:46 UTC
This version bump should take care of this issue:

23 Oct 2012; Jesus Rivero <neurogeek@gentoo.org> +ptlib-2.10.8.ebuild,
+files/ptlib-2.10.8-disable-telnet-symbols.patch,
+files/ptlib-2.10.8-pkgconfig_ldflags.patch,
+files/ptlib-2.10.8-respect_cxxflags.patch,
+files/ptlib-2.10.8-svn_revision_override.patch, metadata.xml:
Version bump. Closes several bugs. Added myself as maintainer