Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 400933 - sys-apps/pacman-4.0.0 with app-arch/libarchive-3.0.3 - work/pacman-4.0.0/lib/libalpm/add.c:536:6: error: ‘ARCHIVE_DEFAULT_BYTES_PER_BLOCK’ undeclared (first use in this function)
Summary: sys-apps/pacman-4.0.0 with app-arch/libarchive-3.0.3 - work/pacman-4.0.0/lib/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nathan Phillip Brink (binki) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-26 17:17 UTC by Ilya Gordeev
Modified: 2012-01-28 18:55 UTC (History)
0 users

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


Attachments
build.log (build.log,22.17 KB, text/plain)
2012-01-26 17:24 UTC, Ilya Gordeev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Gordeev 2012-01-26 17:17:29 UTC
sys-apps/pacman-4.0.0 can't compile with app-arch/libarchive-3.0.3, but successfully compiled with app-arch/libarchive-2.8.5. May be it's needed to correct dependencies in sys-apps/pacman-4.0.0.ebuild.
(Why I want to install pacman in gentoo: to create LXC container with Arch Linux)

Reproducible: Always




$ emerge --info
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Celeron-R-_Dual-Core_CPU_T3000_@_1.80GHz-with-gentoo-2.1
Timestamp of tree: Thu, 26 Jan 2012 00:45:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.2-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo my_local_overlay vmware seden xwing ibormuth
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mmmx -msse -msse2 -mssse3 -mcx16 -mfpmath=sse,387 -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -mmmx -msse -msse2 -mssse3 -mcx16 -mfpmath=sse,387 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=n"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ http://mirror2.corbina.ru/gentoo-distfiles/ http://gentoo.bloodhost.ru/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j3"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/vmware /var/lib/layman/seden /var/lib/layman/xwing /var/lib/layman/ibormuth"
SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups curl cxx dbus dga directfb djvu dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg fftw firefox flac fontconfig gcrypt gdbm gdu gif gimp git gmp gnutls gphoto2 gpm graphite graphviz gtk gtk3 gzip iconv icu idn ipv6 jabber jack jpeg jpeg2k lame latex lcms libcaca libnotify llvm lm_sensors lzma mad madwifi matroska midi mms mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack nas ncurses nls nptl nptlonly ogg openal opengl openmp oscar pam pango pcre pdf png policykit portaudio ppds pppd raw readline samba scanner sdl session smp sndfile sockets socks5 sound spell sqlite sse sse2 ssl ssse3 startup-notification svg sysfs syslog tcpd threads tiff timidity truetype udev unicode usb v4l vorbis wavpack wget wifi x264 xattr xcb xcomposite xml xorg xv xvid xvmc zeroconf 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 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ilya Gordeev 2012-01-26 17:24:28 UTC
Created attachment 299983 [details]
build.log
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2012-01-28 18:55:25 UTC
(In reply to comment #0)
> sys-apps/pacman-4.0.0 can't compile with app-arch/libarchive-3.0.3, but
> successfully compiled with app-arch/libarchive-2.8.5. May be it's needed to
> correct dependencies in sys-apps/pacman-4.0.0.ebuild.
> (Why I want to install pacman in gentoo: to create LXC container with Arch
> Linux)

(A perfectly reasonable reason to install pacman onto your Gentoo box ;-).)

Upstream had released pacman-4.0.1 with the fix to this, it's now in portage:

+*pacman-4.0.1 (28 Jan 2012)
+
+  28 Jan 2012; Nathan Phillip Brink <binki@gentoo.org> -pacman-3.5.4.ebuild,
+  -pacman-4.0.0.ebuild, +pacman-4.0.1.ebuild:
+  Bump to pacman-4.0.1, dropping old pacmen. Fixes bug #400933 where pacman was
+  incompatible with >=libarchive-3.

Thanks for the bug report!