Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openvpn-2.1.4 build error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
qklxtlx
n00b
n00b


Joined: 23 Aug 2012
Posts: 1

PostPosted: Thu Aug 23, 2012 3:38 pm    Post subject: openvpn-2.1.4 build error Reply with quote

hi all, I encountered an error when building openvpn-2.1.4 with ipv6

Code:
emerge --info =net-misc/openvpn-2.1.4

System uname: Linux-3.2.12-gentoo-x86_64-QEMU_Virtual_CPU_version_-cpu64-rhel6-with-gentoo-2.1
Timestamp of tree: Thu, 23 Aug 2012 07:45:01 +0000
app-shells/bash: 4.2_p37
dev-lang/python: 3.2.3
dev-util/pkgconfig: 0.27
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.68
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native"
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/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync2.us.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre pppd readline session snmp sse sse2 ssl tcpd truetype unicode xml 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 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Code:
emerge -av =net-misc/openvpn-2.1.4


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] net-misc/openvpn-2.1.4 USE="ipv6 pam ssl -eurephia -examples -iproute2 -minimal -passwordsave -pkcs11 (-selinux) -static" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] Yes

......

mv -f .deps/plugin.Tpo .deps/plugin.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT pool.o -MD -MP -MF .deps/pool.Tpo -c -o pool.o pool.c
mv -f .deps/pool.Tpo .deps/pool.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT proto.o -MD -MP -MF .deps/proto.Tpo -c -o proto.o proto.c
mv -f .deps/proto.Tpo .deps/proto.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT proxy.o -MD -MP -MF .deps/proxy.Tpo -c -o proxy.o proxy.c
mv -f .deps/proxy.Tpo .deps/proxy.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT ieproxy.o -MD -MP -MF .deps/ieproxy.Tpo -c -o ieproxy.o ieproxy.c
mv -f .deps/ieproxy.Tpo .deps/ieproxy.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT ps.o -MD -MP -MF .deps/ps.Tpo -c -o ps.o ps.c
mv -f .deps/ps.Tpo .deps/ps.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT push.o -MD -MP -MF .deps/push.Tpo -c -o push.o push.c
push.c: In function ‘send_push_reply’:
push.c:181:3: warning: format not a string literal and no format arguments
push.c:197:3: warning: format not a string literal and no format arguments
mv -f .deps/push.Tpo .deps/push.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT reliable.o -MD -MP -MF .deps/reliable.Tpo -c -o reliable.o reliable.c
mv -f .deps/reliable.Tpo .deps/reliable.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT route.o -MD -MP -MF .deps/route.Tpo -c -o route.o route.c
mv -f .deps/route.Tpo .deps/route.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT schedule.o -MD -MP -MF .deps/schedule.Tpo -c -o schedule.o schedule.c
mv -f .deps/schedule.Tpo .deps/schedule.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT session_id.o -MD -MP -MF .deps/session_id.Tpo -c -o session_id.o session_id.c
mv -f .deps/session_id.Tpo .deps/session_id.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT shaper.o -MD -MP -MF .deps/shaper.Tpo -c -o shaper.o shaper.c
mv -f .deps/shaper.Tpo .deps/shaper.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT sig.o -MD -MP -MF .deps/sig.Tpo -c -o sig.o sig.c
mv -f .deps/sig.Tpo .deps/sig.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT socket.o -MD -MP -MF .deps/socket.Tpo -c -o socket.o socket.c
mv -f .deps/socket.Tpo .deps/socket.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT socks.o -MD -MP -MF .deps/socks.Tpo -c -o socks.o socks.c
mv -f .deps/socks.Tpo .deps/socks.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT ssl.o -MD -MP -MF .deps/ssl.Tpo -c -o ssl.o ssl.c
ssl.c: In function ‘verify_callback’:
ssl.c:944:7: warning: passing argument 1 of ‘sk_num’ from incompatible pointer type
/usr/include/openssl/stack.h:79:5: note: expected ‘const struct _STACK *’ but argument is of type ‘struct stack_st_X509_REVOKED *’
ssl.c:947:2: warning: passing argument 1 of ‘sk_value’ from incompatible pointer type
/usr/include/openssl/stack.h:80:7: note: expected ‘const struct _STACK *’ but argument is of type ‘struct stack_st_X509_REVOKED *’
ssl.c: In function ‘init_ssl’:
ssl.c:1565:11: warning: passing argument 1 of ‘sk_num’ from incompatible pointer type
/usr/include/openssl/stack.h:79:5: note: expected ‘const struct _STACK *’ but argument is of type ‘struct stack_st_X509 *’
ssl.c: In function ‘print_details’:
ssl.c:1766:8: warning: assignment discards qualifiers from pointer target type
mv -f .deps/ssl.Tpo .deps/ssl.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c
status.c: In function ‘status_flush’:
status.c:171:12: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result
mv -f .deps/status.Tpo .deps/status.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT thread.o -MD -MP -MF .deps/thread.Tpo -c -o thread.o thread.c
mv -f .deps/thread.Tpo .deps/thread.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT tun.o -MD -MP -MF .deps/tun.Tpo -c -o tun.o tun.c
mv -f .deps/tun.Tpo .deps/tun.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT win32.o -MD -MP -MF .deps/win32.Tpo -c -o win32.o win32.c
mv -f .deps/win32.Tpo .deps/win32.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -mtune=native -MT cryptoapi.o -MD -MP -MF .deps/cryptoapi.Tpo -c -o cryptoapi.o cryptoapi.c
mv -f .deps/cryptoapi.Tpo .deps/cryptoapi.Po
x86_64-pc-linux-gnu-gcc -O2 -pipe -mtune=native -Wl,-O1 -Wl,--as-needed -o openvpn base64.o buffer.o crypto.o dhcp.o error.o event.o fdmisc.o forward.o fragment.o gremlin.o helper.o httpdigest.o lladdr.o init.o interval.o list.o lzo.o manage.o mbuf.o misc.o mroute.o mss.o mtcp.o mtu.o mudp.o multi.o ntlm.o occ.o pkcs11.o openvpn.o options.o otime.o packet_id.o perf.o pf.o ping.o plugin.o pool.o proto.o proxy.o ieproxy.o ps.o push.o reliable.o route.o schedule.o session_id.o shaper.o sig.o socket.o socks.o ssl.o status.o thread.o tun.o win32.o cryptoapi.o -lssl -lcrypto -llzo2 -ldl
make[2]: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4'
make[1]: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4'
* Building auth-pam plugin
make -C auth-pam CC=x86_64-pc-linux-gnu-gcc
make: Entering directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/plugin/auth-pam'
x86_64-pc-linux-gnu-gcc -O2 -pipe -mtune=native -Wall -fPIC -c -I../.. auth-pam.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mtune=native -Wall -fPIC -c -I../.. pamdl.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mtune=native -Wall -fPIC -shared -Wl,-O1 -Wl,--as-needed -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.o pamdl.o -lc -lpam
make: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/plugin/auth-pam'
* Building down-root plugin
make -C down-root CC=x86_64-pc-linux-gnu-gcc
make: Entering directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/plugin/down-root'
x86_64-pc-linux-gnu-gcc -O2 -pipe -mtune=native -Wall -fPIC -c -I../.. down-root.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -mtune=native -Wall -fPIC -shared -Wl,-O1 -Wl,--as-needed -Wl,-soname,openvpn-down-root.so -o openvpn-down-root.so down-root.o -lc
make: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/plugin/down-root'
>>> Source compiled.
>>> Test phase [not enabled]: net-misc/openvpn-2.1.4

>>> Install openvpn-2.1.4 into /var/tmp/portage/net-misc/openvpn-2.1.4/image/ category net-misc
make DESTDIR=/var/tmp/portage/net-misc/openvpn-2.1.4/image/ install
Making install in images
make[1]: Entering directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/images'
make[2]: Entering directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/images'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/images'
make[1]: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/images'
Making install in service-win32
make[1]: Entering directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/service-win32'
make[2]: Entering directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/service-win32'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/service-win32'
make[1]: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/service-win32'
Making install in install-win32
make[1]: Entering directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/install-win32'
make[2]: Entering directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/install-win32'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/install-win32'
make[1]: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4/install-win32'
make[1]: Entering directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4'
make[2]: Entering directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4'
/bin/mkdir -p '/var/tmp/portage/net-misc/openvpn-2.1.4/image//usr/sbin'
/usr/bin/install -c openvpn '/var/tmp/portage/net-misc/openvpn-2.1.4/image//usr/sbin'
/bin/mkdir -p '/var/tmp/portage/net-misc/openvpn-2.1.4/image//usr/share/man/man8'
/usr/bin/install -c -m 644 openvpn.8 '/var/tmp/portage/net-misc/openvpn-2.1.4/image//usr/share/man/man8'
make[2]: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4'
make[1]: Leaving directory `/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4'
rmdir: failed to remove ‘/var/tmp/portage/net-misc/openvpn-2.1.4/image//usr/share/doc/openvpn’: No such file or directory
* ERROR: net-misc/openvpn-2.1.4 failed (install phase):
* rmdir failed
*
* Call stack:
* ebuild.sh, line 85: Called src_install
* environment, line 3206: Called die
* The specific snippet of code:
* rmdir "${D}/usr/share/doc/openvpn" || die "rmdir failed";
*
* If you need support, post the output of `emerge --info '=net-misc/openvpn-2.1.4'`,
* the complete build log and the output of `emerge -pqv '=net-misc/openvpn-2.1.4'`.
* The complete build log is located at '/var/tmp/portage/net-misc/openvpn-2.1.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/openvpn-2.1.4/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4'
* S: '/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4'

>>> Failed to emerge net-misc/openvpn-2.1.4, Log file:

>>> '/var/tmp/portage/net-misc/openvpn-2.1.4/temp/build.log'

* Messages for package net-misc/openvpn-2.1.4:

* This profile is merely a convenience for people who require a more
* minimal profile, yet are unable to use hardened due to restrictions in
* the software being used on the server. If you seek a secure
* production server profile, please check the Hardened project
* (http://hardened.gentoo.org)
* ERROR: net-misc/openvpn-2.1.4 failed (install phase):
* rmdir failed
*
* Call stack:
* ebuild.sh, line 85: Called src_install
* environment, line 3206: Called die
* The specific snippet of code:
* rmdir "${D}/usr/share/doc/openvpn" || die "rmdir failed";
*
* If you need support, post the output of `emerge --info '=net-misc/openvpn-2.1.4'`,
* the complete build log and the output of `emerge -pqv '=net-misc/openvpn-2.1.4'`.
* The complete build log is located at '/var/tmp/portage/net-misc/openvpn-2.1.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/openvpn-2.1.4/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4'
* S: '/var/tmp/portage/net-misc/openvpn-2.1.4/work/openvpn-2.1.4'

==========

There isn't a folder called "/var/tmp/portage/net-misc/openvpn-2.1.4/image//usr/share/doc/openvpn", but there is one called "/var/tmp/portage/net-misc/openvpn-2.1.4/image//usr/share/doc/openvpn-2.1.4"...
Back to top
View user's profile Send private message
lo-jay
l33t
l33t


Joined: 27 Feb 2005
Posts: 857

PostPosted: Sat Nov 24, 2012 3:19 pm    Post subject: Reply with quote

same thing here: https://forums.gentoo.org/viewtopic-p-7190600.html#7190600

did you find a way to fix it???

cheers!
_________________
lo-jay

The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"

taken from "Two Lane Blacktop"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum