Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244908 - Cannot emerge freebsd-pf (any release, tested sys-freebsd/freebsd-pf-6.2-r1 and others)
Summary: Cannot emerge freebsd-pf (any release, tested sys-freebsd/freebsd-pf-6.2-r1 a...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-29 18:19 UTC by tim
Modified: 2008-10-30 13:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tim 2008-10-29 18:19:18 UTC
"emerge freebsd-pf" Fails at this line:

i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -I/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/pfctl -Wall -Werror -DENABLE_ALTQ  -Werror   -c /var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c

Reproducible: Always

Steps to Reproduce:
1. emerge freebsd-pf
2.
3.

Actual Results:  
# emerge freebsd-pf
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sys-freebsd/freebsd-pf-6.2-r1 to /
 * freebsd-libexec-6.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                               [ ok ]
 * freebsd-sbin-6.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                  [ ok ]
 * freebsd-contrib-6.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                               [ ok ]
 * freebsd-etc-6.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                   [ ok ]
 * freebsd-usbin-6.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                       [ ok ]
 * checking freebsd-usbin-6.2.tar.bz2 ;-) ...                                                                                [ ok ]
 * checking freebsd-sbin-6.2.tar.bz2 ;-) ...                                                                                 [ ok ]
 * checking freebsd-contrib-6.2.tar.bz2 ;-) ...                                                                              [ ok ]
 * checking freebsd-libexec-6.2.tar.bz2 ;-) ...                                                                              [ ok ]
 * checking freebsd-etc-6.2.tar.bz2 ;-) ...                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking freebsd-usbin-6.2.tar.bz2 to /var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work
>>> Unpacking freebsd-sbin-6.2.tar.bz2 to /var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work
>>> Unpacking freebsd-contrib-6.2.tar.bz2 to /var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work
>>> Unpacking freebsd-libexec-6.2.tar.bz2 to /var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work
>>> Unpacking freebsd-etc-6.2.tar.bz2 to /var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work
 * Applying freebsd-pf-6.0-pcap.patch ...                                                                                    [ ok ]
 * Renaming libraries ...                                                                                                    [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work ...
 * Starting make in usr.sbin/authpf
i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -I/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/pfctl -Wall -Werror -DENABLE_ALTQ  -Werror   -c /var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:29: error: syntax error before string constant
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:29: warning: type defaults to `int' in declaration of `__FBSDID'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:29: warning: data definition has no type or storage class
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:40:23: net/pfvar.h: No such file or directory
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:48:23: login_cap.h: No such file or directory
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:71: error: `PF_ANCHOR_NAME_SIZE' undeclared here (not in a function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:73: error: `PF_TABLE_NAME_SIZE' undeclared here (not in a function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:77: error: `MAXLOGNAME' undeclared here (not in a function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:88: error: syntax error before "void"
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c: In function `main':
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:107: error: `login_cap_t' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:107: error: (Each undeclared identifier is reported only once
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:107: error: for each function it appears in.)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:107: error: `lc' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:121: warning: implicit declaration of function `strlcpy'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:152: warning: implicit declaration of function `login_getclass'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:152: error: structure has no member named `pw_class'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:153: warning: implicit declaration of function `login_getcapstr'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:158: warning: implicit declaration of function `login_close'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:216: warning: unused variable `otherluser'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:317: warning: implicit declaration of function `setproctitle'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c: In function `allowed_luser':
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:476: warning: implicit declaration of function `fgetln'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:476: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c: In function `remove_stale_rulesets':
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:577: error: storage size of 'prs' isn't known
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:582: error: `DIOCGETRULESETS' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:596: error: `DIOCGETRULESET' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:609: error: `PF_RULESET_MAX' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:610: error: storage size of 't' isn't known
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:622: error: `PF_RULESET_TABLE' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:623: error: `DIOCXBEGIN' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:624: error: `DIOCXCOMMIT' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:609: warning: unused variable `t_e'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:610: warning: unused variable `t'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:577: warning: unused variable `prs'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c: In function `change_filter':
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:655: warning: implicit declaration of function `asprintf'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c: In function `change_table':
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:740: error: storage size of 'io' isn't known
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:741: error: storage size of 'addr' isn't known
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:763: error: `DIOCRADDADDRS' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:763: error: `DIOCRDELADDRS' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:740: warning: unused variable `io'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:741: warning: unused variable `addr'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c: In function `authpf_kill_states':
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:783: error: storage size of 'psk' isn't known
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:784: error: storage size of 'target' isn't known
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:803: error: `DIOCKILLSTATES' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:783: warning: unused variable `psk'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:784: warning: unused variable `target'
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c: At top level:
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:829: error: syntax error before "void"
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:71: error: storage size of `anchorname' isn't known
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:72: error: storage size of `rulesetname' isn't known
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:73: error: storage size of `tablename' isn't known
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:77: error: storage size of `luser' isn't known
*** Error code 1

Stop.
pmake: stopped in /var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf
 *
 * ERROR: sys-freebsd/freebsd-pf-6.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2739:  Called die
 * The specific snippet of code:
 *           mkmake || die "Make ${dir} failed";
 *  The die message:
 *   Make usr.sbin/authpf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/temp/environment'.
 *

 * Messages for package sys-freebsd/freebsd-pf-6.2-r1:

 *
 * ERROR: sys-freebsd/freebsd-pf-6.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2739:  Called die
 * The specific snippet of code:
 *           mkmake || die "Make ${dir} failed";
 *  The die message:
 *   Make usr.sbin/authpf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/temp/environment'.
 *

Expected Results:  
freebsd-pf emerged. 

Notice:
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:40:23: net/pfvar.h: No such file or directory
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:48:23: login_cap.h: No such file or directory

Also:
/var/tmp/portage/sys-freebsd/freebsd-pf-6.2-r1/work/usr.sbin/authpf/../../contrib/pf/authpf/authpf.c:29: error: syntax error before string constant
Comment 1 tim 2008-10-29 18:37:29 UTC
# emerge --info
Portage 2.1.4.5 (hardened/linux/x86/2008.0, gcc-3.4.6, glibc-2.6.1-r0, 2.6.25-hardened-r8-secure i686)
=================================================================
System uname: 2.6.25-hardened-r8-secure i686 VIA Eden Processor 1000MHz
Timestamp of tree: Wed, 29 Oct 2008 17:00:04 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=i686 -O2 -pipe -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mtune=i686 -O2 -pipe -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri gdbm gpm hardened iconv isdnlog midi mudflap ncurses nptl nptlonly openmp pam pcre perl pic pppd python readline reflection session spl ssl sysfs tcpd urandom 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="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Wormo (RETIRED) gentoo-dev 2008-10-29 23:49:31 UTC
I'm confused... your system is 'x86' not 'x86-fbsd', so how could you be emerging this package when it is only keyworded for x86-fbsd? Are you really trying to install Gentoo FreeBSD on top of a Gentoo Linux system...??
Comment 3 tim 2008-10-30 13:09:37 UTC
Thought you could install this way. Sorry.