Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267546 - net-print/hplip-3.9.4 version bump
Summary: net-print/hplip-3.9.4 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Denis Dupeyron (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 14:08 UTC by Michael 'BreiteSeite' Kühn
Modified: 2009-05-28 20:04 UTC (History)
7 users (show)

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


Attachments
hplip-3.9.4.ebuild.diff (hplip-3.9.4.ebuild.diff,650 bytes, patch)
2009-04-26 14:36 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
hplip-3.9.2_3.9.4b.diff (hplip-3.9.2_3.9.4b.diff,2.59 KB, patch)
2009-05-01 06:48 UTC, Yar Odin
Details | Diff
hplip-3.9.2_3.9.4b.ebuild.diff (hplip-3.9.2_3.9.4b.ebuild.diff,3.02 KB, patch)
2009-05-05 14:27 UTC, Yar Odin
Details | Diff
Add dependency on dev-python/dbus-python if USE="dbus" (hplip-3.9.2_3.9.4b-dbus.ebuild.diff,3.28 KB, patch)
2009-05-18 16:34 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 'BreiteSeite' Kühn 2009-04-26 14:08:03 UTC
Hello there,

there is already hplip 3.9.4 released. Maybe i will it will updated in the tree?
http://hplipopensource.com/hplip-web/downloads.html

Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-26 14:36:28 UTC
Created attachment 189501 [details, diff]
hplip-3.9.4.ebuild.diff

I tried to bump this package in my local overlay but unfortunately it fails with --as-needed:

libtool: link: x86_64-pc-linux-gnu-g++ -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx -DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630 -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX -DAPDK_APOLLO2560 -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100 -DAPDK_AUTODUPLEX -DAPDK_HIGH_RES_MODES -DAPDK_LJMONO -DAPDK_DJ540 -DAPDK_DJ850 -DAPDK_DJ890 -DAPDK_DJ3320 -DAPDK_LJCOLOR -DAPDK_DJGENERICVIP -DAPDK_LJJETREADY -DAPDK_LJFASTRASTER -DAPDK_BUFFER_SEND -DAPDK_LDL_COMPRESS -DAPDK_EXTENDED_MEDIASIZE -DAPDK_MLC_PRINTER -DAPDK_DJ3600 -DAPDK_LJZJS_MONO -DAPDK_LJZJS_COLOR -DAPDK_LJM1005 -DAPDK_QUICKCONNECT -DAPDK_LITTLE_ENDIAN -DAPDK_AUTO_INCLUDE -DAPDK_LINUX -DNDEBUG -march=k8 -mtune=k8 -O2 -pipe -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -o .libs/hpijs hpijs-hpijs.o hpijs-ijs_server.o hpijs-ijs.o hpijs-hpijsfax.o hpijs-services.o hpijs-hpiom.o  /usr/lib64/libjpeg.so -ldl ./.libs/libhpip.so -lm ./.libs/libhpmud.so /usr/lib64/libusb.so -lpthread ./.libs/libapdk.a
./.libs/libapdk.a(libapdk_la-ljjetready.o): In function `apdk::ModeJPEG::Compress(apdk::HPLJBITMAP*, apdk::HPLJBITMAP*, apdk::QTABLEINFO*, int)':
ljjetready.cpp:(.text+0x5d5): undefined reference to `jpeg_std_error'
ljjetready.cpp:(.text+0x632): undefined reference to `jpeg_CreateCompress'
ljjetready.cpp:(.text+0x654): undefined reference to `jpeg_set_defaults'
ljjetready.cpp:(.text+0x6f5): undefined reference to `jpeg_add_quant_table'
ljjetready.cpp:(.text+0x871): undefined reference to `jpeg_start_compress'
ljjetready.cpp:(.text+0x8be): undefined reference to `jpeg_write_scanlines'
ljjetready.cpp:(.text+0x8d3): undefined reference to `jpeg_finish_compress'
ljjetready.cpp:(.text+0x998): undefined reference to `jpeg_destroy_compress'
ljjetready.cpp:(.text+0xa85): undefined reference to `jpeg_destroy_compress'
ljjetready.cpp:(.text+0xc3b): undefined reference to `jpeg_suppress_tables'
./.libs/libapdk.a(libapdk_la-ljjetready.o): In function `apdk::LJJetReady::SelectHeader(apdk::PrintContext*)':
ljjetready.cpp:(.text+0x254a): undefined reference to `dlclose'
./.libs/libapdk.a(libapdk_la-ljjetready.o): In function `apdk::LJJetReady::LJJetReady(apdk::SystemServices*, int, int)':
ljjetready.cpp:(.text+0x29fe): undefined reference to `dlerror'
ljjetready.cpp:(.text+0x2a11): undefined reference to `dlsym'
./.libs/libapdk.a(libapdk_la-ljjetready.o): In function `apdk::LJJetReady::LJJetReady(apdk::SystemServices*, int, int)':
ljjetready.cpp:(.text+0x2bb0): undefined reference to `dlerror'
ljjetready.cpp:(.text+0x2bc3): undefined reference to `dlsym'
./.libs/libapdk.a(libapdk_la-ljjetready.o): In function `apdk::LJJetReady::~LJJetReady()':
ljjetready.cpp:(.text+0x2ee4): undefined reference to `dlclose'
./.libs/libapdk.a(libapdk_la-ljjetready.o): In function `apdk::LJJetReady::~LJJetReady()':
ljjetready.cpp:(.text+0x2f94): undefined reference to `dlclose'
./.libs/libapdk.a(libapdk_la-ljjetready.o): In function `apdk::LJJetReady::~LJJetReady()':
ljjetready.cpp:(.text+0x3034): undefined reference to `dlclose'
./.libs/libapdk.a(libapdk_la-ljzjs.o): In function `apdk::LJZjs::~LJZjs()':
ljzjs.cpp:(.text+0x4af): undefined reference to `dlclose'
./.libs/libapdk.a(libapdk_la-ljzjs.o): In function `apdk::LJZjs::~LJZjs()':
ljzjs.cpp:(.text+0x4ff): undefined reference to `dlclose'
./.libs/libapdk.a(libapdk_la-ljzjs.o):ljzjs.cpp:(.text+0x53f): more undefined references to `dlclose' follow
./.libs/libapdk.a(libapdk_la-ljzjs.o): In function `apdk::LJZjs::LJZjs(apdk::SystemServices*, int, int)':
ljzjs.cpp:(.text+0x5ea): undefined reference to `dlerror'
ljzjs.cpp:(.text+0x5fd): undefined reference to `dlsym'
ljzjs.cpp:(.text+0x613): undefined reference to `dlsym'
./.libs/libapdk.a(libapdk_la-ljzjs.o): In function `apdk::LJZjs::LJZjs(apdk::SystemServices*, int, int)':
ljzjs.cpp:(.text+0x70a): undefined reference to `dlerror'
ljzjs.cpp:(.text+0x71d): undefined reference to `dlsym'
ljzjs.cpp:(.text+0x733): undefined reference to `dlsym'
./.libs/libapdk.a(libapdk_la-quickconnect.o): In function `apdk::QuickConnect::Compress()':
quickconnect.cpp:(.text+0x53f): undefined reference to `jpeg_std_error'
quickconnect.cpp:(.text+0x57d): undefined reference to `jpeg_CreateCompress'
quickconnect.cpp:(.text+0x58f): undefined reference to `jpeg_set_defaults'
quickconnect.cpp:(.text+0x5e1): undefined reference to `jpeg_set_quality'
quickconnect.cpp:(.text+0x606): undefined reference to `jpeg_start_compress'
quickconnect.cpp:(.text+0x63d): undefined reference to `jpeg_write_scanlines'
quickconnect.cpp:(.text+0x684): undefined reference to `jpeg_finish_compress'
quickconnect.cpp:(.text+0x68e): undefined reference to `jpeg_destroy_compress'
quickconnect.cpp:(.text+0x6d1): undefined reference to `jpeg_destroy_compress'
./.libs/libapdk.a(libapdk_la-globals.o): In function `apdk::LoadPlugin(char const*)':
globals.cpp:(.text+0x689): undefined reference to `dlopen'
collect2: ld returned 1 exit status
make: *** [hpijs] Error 1
Comment 2 Michael 'BreiteSeite' Kühn 2009-04-26 15:54:57 UTC
Upgrade works fine here:

bigben ~ # emerge --info
Portage 2.2_rc31 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.0
Timestamp of tree: Thu, 23 Apr 2009 10:15:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.2
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
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.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -mno-sse4 -mno-sse4a -mno-sse5 -mno-3dnow "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -mno-sse4 -mno-sse4a -mno-sse5 -mno-3dnow "
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
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/layman/java-overlay /usr/local/portage/layman/berkano /usr/local/portage/layman/desktop-effects /usr/local/portage/breiti"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi additions alsa amarok amd64 audacious automount bluetooth bzip2 cairo cdda cddb cdio cdr cli cracklib crypt cups dbus divx dmi dri dvd dvdr dvdread emerald encode exif fam fastcgi ffmpeg firefox firefox3 fortran fuse gdbm gif gnutls gpm gtk gzip hal hddtemp iconv ipod irmc isdnlog ithreads java java6 javascript jfs jpeg jpeg2k kde kde4 kdeprefix kvm laptop libnotify lm_sensors logitech-mouse mad midi mikmod mmx mmxext mp3 mp4 mpeg mpeg2 mplayer mudflap multilib musicbrainz ncurses njb nls nojoystick nptl nptlonly nvidia ogg ogg123 opengl openssl pam pcre pdf perl pidgin pmount png ppds python qt3 qt3support qt4 quicktime rar readline reflection samba screen sdl session sftp spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcpd themes threads threadsonly tiff truetype unicode usb vorbis wma wmp wxwindows x264 xcb xml xorg xulrunner xv xvmc zip zlib" ALSA_CARDS="ca0106" 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" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Yar Odin 2009-05-01 06:48:51 UTC
Created attachment 190016 [details, diff]
hplip-3.9.2_3.9.4b.diff
Comment 4 Yar Odin 2009-05-01 06:52:31 UTC
 Lars Wendler (Polynomial-C)  - no all so simple, i'll attached more accuracy ebuild for new version. Also, seems like your bug with libapdk fixed at 3.9.4b (consider to changelog) - test it, please.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-02 18:24:35 UTC
Thank you for your patch, Yar. I only did a quick bump and fixed the most obvious error :)
Fortunately the 3.9.4b version compiles with --as-needed.
Comment 6 Yar Odin 2009-05-05 14:27:17 UTC
Created attachment 190417 [details, diff]
hplip-3.9.2_3.9.4b.ebuild.diff

Fix deps - http://bugs.gentoo.org/show_bug.cgi?id=268526
Comment 7 Andrew Savchenko gentoo-dev 2009-05-18 16:26:28 UTC
(In reply to comment #6)
> Created an attachment (id=190417) [edit]
> hplip-3.9.2_3.9.4b.ebuild.diff

If hplip is compiled with dbus support, it should depend on dev-python/dbus-python, otherwise on any hplip util start you will get:
warning: python-dbus not installed
And apparently dbus is not used properly.
Comment 8 Andrew Savchenko gentoo-dev 2009-05-18 16:34:59 UTC
Created attachment 191694 [details, diff]
Add dependency on dev-python/dbus-python if USE="dbus"
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-19 23:27:21 UTC
dev-python/dbus-python belongs into RDEPEND as it's simply a runtime dependency.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-28 20:04:41 UTC
Okay committed this, should be fine now :)