Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298100 - net-p2p/microdc2 bundles a copy of bzip2
Summary: net-p2p/microdc2 bundles a copy of bzip2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2009-12-23 12:59 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-03-06 16:23 UTC (History)
2 users (show)

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


Attachments
microdc2-0.15.6-r2.ebuild (microdc2-0.15.6-r2.ebuild,1.17 KB, text/plain)
2009-12-23 14:55 UTC, Florian Steinel
Details
microdc2-bz2.patch (microdc2-bz2.patch,3.84 KB, patch)
2009-12-23 14:56 UTC, Florian Steinel
Details | Diff
build.log (build.log,31.18 KB, text/plain)
2009-12-23 14:59 UTC, Florian Steinel
Details
microdc2-bz2.patch v2 (microdc2-bz2.patch,3.83 KB, patch)
2009-12-23 15:12 UTC, Florian Steinel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-23 12:59:02 UTC
Have fun checking this out as well.
Comment 1 Florian Steinel 2009-12-23 14:55:21 UTC
Created attachment 213942 [details]
microdc2-0.15.6-r2.ebuild
Comment 2 Florian Steinel 2009-12-23 14:56:29 UTC
Created attachment 213946 [details, diff]
microdc2-bz2.patch

tries to build without internal bz2 but fails :-(
Comment 3 Florian Steinel 2009-12-23 14:59:21 UTC
Created attachment 213948 [details]
build.log

build.log

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 22 Dec 2009 17:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de en en_GB en_US"
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/layman/x11 /usr/local/portage/layman/gnome /usr/local/portage/layman/sping /usr/local/portage /usr/local/portage-gnome"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus deskbar djvu dri dts dvb dvd dvdr eds emboss encode evo fam fftw firefox flac fortran gallium gdbm gif gnome gnome-keyring gnutls gpm gstreamer gtk hal hunspell iconv ipv6 jpeg kde keyring lcms libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pcre pcsc-lite pdf perl png ppds pppd pulse pulseaudio python qt3support quicktime readline reflection sdl session smartcard spell spl sse sse2 sse3 sse4 ssl startup-notification svg sysfs tagwriting tcpd theora threads thunar tiff totem tracker truetype unicode usb vorbis x264 xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm iec958 plug" 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" CAMERAS="template" DVB_CARDS="ttpci" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB en_US" LIRC_DEVICES="sir" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Florian Steinel 2009-12-23 15:12:26 UTC
Created attachment 213952 [details, diff]
microdc2-bz2.patch v2

s|bzlib/bzlib.h|bzlib.h|
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-03-06 16:08:37 UTC
(In reply to comment #3)
> Created an attachment (id=213948) [details]
> build.log

I've tried your latest patch, and it fails like in your build.log,

x86_64-pc-linux-gnu-gcc -Wall -I/usr/include/libxml2   -march=core2 -msse4.1 -O2 -pipe  -Wl,--no-as-needed -o microdc2 command.o connection.o variables.o fs.o xml_flist.o hub.o huffman.o main.o lookup.o filelist-in.o screen.o search.o user.o util.o tth_file.o local_flist.o hash.o charsets.o common/libcommon.a tth/libtth.a ../lib/libgnu.a -lreadline   -lbz2 -lxml2   
command.o: In function `cmd_say':
command.c:(.text+0x3096): undefined reference to `main_to_utf8_string'
command.c:(.text+0x30c0): undefined reference to `main_to_utf8_string'
hub.o: In function `prepare_chat_string_for_display':
hub.c:(.text+0x8c): undefined reference to `try_utf8_to_main_string'
filelist-in.o: In function `parse_main':
filelist-in.c:(.text+0xba9): undefined reference to `filelist_xml_open'
filelist-in.c:(.text+0xbf0): undefined reference to `filelist_bzxml_open'
user.o: In function `user_handle_command':
user.c:(.text+0x1541): undefined reference to `utf8_to_main_string'
collect2: ld returned 1 exit status
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-03-06 16:23:02 UTC
+*microdc2-0.15.6-r2 (06 Mar 2010)
+
+  06 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+  +microdc2-0.15.6-r2.ebuild:
+  Import Debian patchset. This will link against system libbz2 wrt #298100
+  and rename manpage wrt #295843.