Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493376 - www-client/httrack with FEATURES=nodoc - /usr/bin/webhttrack(19840): could not find /usr/bin/../share/httrack/html
Summary: www-client/httrack with FEATURES=nodoc - /usr/bin/webhttrack(19840): could no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-05 11:01 UTC by BRULE Herman
Modified: 2015-11-08 22:56 UTC (History)
0 users

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 BRULE Herman 2013-12-05 11:01:07 UTC
Hello, I have this bug:
user@amber ~ $ /usr/bin/webhttrack
/usr/bin/webhttrack(19840): could not find /usr/bin/../share/httrack/html
www-client/httrack-3.47.27  USE="-static-libs"
Due to this flags: noman noinfo nodoc

Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.15-r3, 3.10.18-gentoo x86_64)
=================================================================
System uname: Linux-3.10.18-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.2
KiB Mem:    16404308 total,   3011700 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 20 Nov 2013 15:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -g -march=core2 -mfpmath=sse -msse2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-pipe -O2 -g -march=core2 -mfpmath=sse -msse2"
DISTDIR="/mnt/system/portage/distfiles/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-z --compress-level=9 -4"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/system/tmp-disk"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 aac accessibility acpi aio alsa amd64 avx avx2 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt custom-cflags cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fortran g3dvl gbm gdbm gif git gles2 gpm iconv icu ipv6 joystick jpeg kde kipi lcms libkms libnotify llvm lzma mad matroska mmx mng modules mp3 mp4 mpeg mpi mudflap multilib ncurses network nls nptl ogg opengl openmp osmesa pam pango pch pcre pdf phonon plasma png policykit ppds qt3support qt4 readline real rss scanner scsi sdl semantic-desktop session smp spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification stream svg theora threads tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vpx wayland wxwidgets x264 xa xcb xcomposite xinerama xml xorg xscreensaver xv xvid xvmc xz zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" 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" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel radeon radeonsi wlshm" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC, USE_PYTHON
Comment 1 tman 2015-11-08 09:31:55 UTC
can someone fix this ebuild please???


this bug already has been reported since 2013
Comment 2 tman 2015-11-08 09:54:52 UTC
(In reply to tman from comment #1)
> can someone fix this ebuild please???
> 
> 
> this bug already has been reported since 2013

latest version www-client/httrack-3.48.21 have the same problem
Comment 3 Nils Freydank 2015-11-08 10:09:21 UTC
After a short discussion in IRC I tried to trigger the reported bug
with www-client/httrack-3.48.21 at ~amd64.

After the successful installation I was able to run httrack several times, then got into the described bug.

I removed and re-emerged httrack and tried to reproduce all my steps, but
now I fail to trigger that given bug again. So, I *saw* it and I'll report here if I can re-trigger this...
Comment 4 Stefan Knoblich 2015-11-08 13:26:41 UTC
The broken /usr/share/httrack/html symlink issue that affects 3.28.20 and .21, has been fixed upstream in commit 6316a0bbba: 

https://github.com/xroche/httrack/commit/6316a0bbba489053da99f516d3b99ca37a967b4b

NOTE: If you're planning to include the patch and use eautoreconf (for the full
      procedure) - the build fails due to missing m4 macros (at least
      AX_CHECK_COMPILE).
Comment 5 Sebastian Pipping gentoo-dev 2015-11-08 14:12:01 UTC
I hope to fix the issue some time later today.
Comment 6 Sebastian Pipping gentoo-dev 2015-11-08 16:33:09 UTC
The issue was the combination of

 1. FEATURES=nodoc supressing installation of /usr/share/doc/... files and

 2. webhttrack/htsserver depending on /usr/share/doc/${PF}/html{,/server}
    for operation

For the fix please see
https://github.com/gentoo/gentoo/commit/9f0f3455a481afb5ca69cb13d9a2eaebaff259a7#diff-cd74d215c6715231481fc44ab4fcefbaR37

Please feel free to re-open if the issue persist with 3.48.21-r1 and FEATURES=nodoc .

Best, Sebastian


# git show --stat HEAD~1 | sed 's,@gentoo.org,@g.o,'
commit 9f0f3455a481afb5ca69cb13d9a2eaebaff259a7
Author: Sebastian Pipping <sping@g.o>
Date:   Sun Nov 8 17:20:25 2015 +0100

    www-client/httrack: Handle FEATURES=nodoc (bug #493376)
    
    Also bump to EAPI 5 and address "matches more than one slot" warning
    
    Package-Manager: portage-2.2.24

 www-client/httrack/httrack-3.48.21-r1.ebuild | 48 ++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
Comment 7 tman 2015-11-08 17:51:15 UTC
i dont see this USE is avaiable in this ebuild :


[I] www-client/httrack
     Available versions:  3.45.4 (~)3.48.21 (~)3.48.21-r1 {static-libs}
     Installed versions:  3.48.21-r1(18:46:35 08.11.2015)(-static-libs)
     Homepage:            http://www.httrack.com/
     Description:         HTTrack Website Copier, Open Source Offline Browser
Comment 8 Sebastian Pipping gentoo-dev 2015-11-08 21:05:39 UTC
(In reply to tman from comment #7)
> i dont see this USE is avaiable in this ebuild :

It's ${FEATURES}, not a use flag.  Please check the output of

  $ portageq envvar FEATURES

I would expect it to contain "nodoc" in your setup, probably originating from make.conf.
Comment 9 tman 2015-11-08 22:56:39 UTC
solved thanks