Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299454 - dev-python/python-xlib-0.15_rc1-r1 USE=doc - make[1]: *** No rule to make target `../src/defs'. Stop.
Summary: dev-python/python-xlib-0.15_rc1-r1 USE=doc - make[1]: *** No rule to make tar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2010-01-03 10:55 UTC by Juergen Rose
Modified: 2018-04-20 21:07 UTC (History)
5 users (show)

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


Attachments
ebuild patch (python-xlib.patch,2.15 KB, patch)
2011-11-14 21:44 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2010-01-03 10:55:48 UTC
copying Xlib/xobject/__init__.py -> build/lib/Xlib/xobject
make -j1 
(cd info; make)
make[1]: Entering directory `/var/tmp/portage/dev-python/python-xlib-0.15_rc1/work/python-xlib-0.15rc1/doc/info'
Makefile:3: ../src/defs: No such file or directory
make[1]: *** No rule to make target `../src/defs'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/dev-python/python-xlib-0.15_rc1/work/python-xlib-0.15rc1/doc/info'
make: *** [info] Error 2
 * ERROR: dev-python/python-xlib-0.15_rc1 failed:
 *   make docs failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 3526:  Called die
 * The specific snippet of code:
 *           VARTEXFONTS="${T}"/fonts emake || die "make docs failed";


Reproducible: Always




root@thinkpad:/root/sys_config(41)# emerge --info =dev-python/python-xlib-0.15_rc1
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 03 Jan 2010 07:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j1"
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/zugaina /usr/local/portage/layman/science /usr/local/portage/layman/dotnet /usr/local/portage/layman/java-overlay /usr/local/portage/layman/x11 /usr/local/portage/layman/lordvan /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs alsa amrr ao aotuv apache2 asf aspell audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth boo boost branding bzip2 c++ cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib crypt cups curl cxx daap dbus device-mapper dga dia djvu doc dri ds2490 dts dv dvb dvd dvdr dvi dxr3 eds elf emacs emboss encode epiphany evo examples exif expat extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fts3 fuse galago garmin gd gdal gdbm geolocation geos gif gimp ginac git glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphtft graphviz gs gsl gsm gstreamer gtk guile hal harness hddtemp hdf hdf5 hlapi http httpd iconv icq icu id3 ide imagemagick imap innodb ipod ipv6 irda ithreads jabber jadetex java java5 java6 jbig john jpeg jpeg2k kde kerberos kexi kpathsea ladspa lame lapack laptop latex lcms ldap libffi libgda libnotify libsamplerate lirc lua lzo mad madwifi mail maildir mailwrapper math matroska mikmod mmx mmxext mng modules mono motif mozdevelop mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp pam pcre pda pdf perl plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio pymol python qemu qhull qt3support qt4 quicktime readline reflection reiserfs rle romio rpc rrdcgi rrdtool samba sasl science sdl server session slang slp smbclient sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs theora thinkpad threads thunar thunderbird tidy tiff tk tntc tools truetype udev unicode usb userlocales utempter v4l2 virtualbox vorbis wav webdav webdav-serf webkit wifi win32codecs wmf wxwidgets x264 x86 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0 ac97_codec emu10k1 emu10k1x" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                evdev                synaptics               " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa displaylink" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


root@thinkpad:/root/sys_config(42)# emerge -pqv =dev-python/python-xlib-0.15_rc1
[ebuild     U ] dev-python/python-xlib-0.15_rc1 [0.14] USE="doc"
Comment 1 Juergen Rose 2010-01-03 18:39:34 UTC
'USE=-docs emerge dev-python/python-xlib' works.
Comment 2 Juergen Rose 2010-01-07 14:56:17 UTC
Any news?
Comment 3 Ed Catmur 2010-01-10 01:01:20 UTC
Need to restore http://python-xlib.svn.sourceforge.net/viewvc/python-xlib/trunk/doc/src/defs into the unpacked source; it seems to have been omitted from the tarball.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2011-11-14 21:44:46 UTC
Created attachment 292555 [details, diff]
ebuild patch

Finally found that the last comment is the case.

2010-01-10

http://python-xlib.svn.sourceforge.net/viewvc/python-xlib/trunk/doc/src/defs

They clearly took no notice. It is still missing  Tue Nov 15 2011.  Have they had enough time?.
Just to add to the confusion, python-xlib-0.14 also couldn't make docs.  I fixed that, to find I had fixed the wrong one.  So for what it's worth, here is a patch to fix the bug that never was, dev-python/python-xlib-0.14 fails to build with USE="doc".  

I think this can be closed cantfix or wontfix,
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-11-16 16:19:24 UTC
*** Bug 355853 has been marked as a duplicate of this bug. ***
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2011-11-19 06:38:47 UTC
Fixed  upstream in -0.15_rc1.

gentoo64 python-xlib # USE=doc ebuild python-xlib-0.15_rc1.ebuild clean test
----------------------------------

Running test_rdb.py...
..
----------------------------------------------------------------------
Ran 2 tests in 0.007s

OK
Comment 7 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-11-19 07:55:41 UTC
So I guess we should revbump this to get users a working version?
Comment 8 Arfrever Frehtes Taifersar Arahesis 2011-11-19 16:25:42 UTC
(In reply to comment #6)

You should test dev-python/python-xlib-0.15_rc1-r1, not dev-python/python-xlib-0.15_rc1.
Comment 9 Juergen Rose 2012-01-24 13:39:15 UTC
dev-python/python-xlib-0.15_rc1-r1 still fails to emerge with the doc USE flag:

make[1]: Entering directory `/var/tmp/portage/dev-python/python-xlib-0.15_rc1-r1/work/python-xlib-0.15rc1/doc/info'
Makefile:3: ../src/defs: No such file or directory
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: *** No rule to make target `../src/defs'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/dev-python/python-xlib-0.15_rc1-r1/work/python-xlib-0.15rc1/doc/info'
make: *** [info] Error 2
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-20 21:07:00 UTC
0.19 looks like it attempted to fix it, 0.23 certainly works fine.