Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 433960 - mail-client/seamonkey-2.13.1 has new build dependency on dev-python/pysqlite
Summary: mail-client/seamonkey-2.13.1 has new build dependency on dev-python/pysqlite
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-04 20:02 UTC by Jared B.
Modified: 2012-11-01 13:45 UTC (History)
3 users (show)

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


Attachments
build.log for firefox 15.0.1 (build.log,88.95 KB, text/plain)
2012-10-10 19:43 UTC, Gil Kloepfer
Details
build.log firefox-16.0.1 (1350967305-install-www-client_firefox-16.0.1:0::gentoo.out,100.86 KB, text/plain)
2012-10-23 06:52 UTC, Franz Trischberger
Details
build.log for thunderbird 15.0.1 indicating the problem described (build.log,115.16 KB, text/plain)
2012-10-24 16:11 UTC, Gil Kloepfer
Details
build.log from seamonkey 2.13.1 exhibiting same problem (build.log,121.59 KB, text/plain)
2012-10-27 16:08 UTC, Gil Kloepfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jared B. 2012-09-04 20:02:33 UTC
I just tried upgrading to thunderbird-15.0, but the build process failed with this:

Installed /var/tmp/portage/mail-client/thunderbird-15.0/work/comm-release/mozilla/testing/mozbase/mozprofile
Processing dependencies for mozprofile==0.1
Searching for pysqlite
Reading http://pypi.python.org/simple/pysqlite/
Download error: [Errno 111] Connection refused -- Some packages may not be found!
Couldn't find index page for 'pysqlite' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: [Errno 111] Connection refused -- Some packages may not be found!
No local packages or download links found for pysqlite
Best match: None
Traceback (most recent call last):
  File "setup.py", line 51, in <module>
<SNIP>

I've attached the full build log for reference, but it does a stack trace at this point and then aborts the build.  For some reason, it's trying to download pysqlite as part of the build process, and since I'm behind a proxy, the download is failing.  I tried manually installing pysqlite through portage and rebuilding, and the build was successful.  I'd assume that, if building on a computer with direct internet access, I wouldn't have run into this because the build-time download probably would've worked.

So, guess there are a couple parts to this:

1. Is pysqlite really need in all cases?  If not, can it be patched out, or made optional via a USE flag?

2. If not, it should be added the DEPEND list so that it's properly installed through the package manager rather than being blindly downloaded during the thunderbird build process.

Personally I'd prefer option 1 if possible (I'm not a fan of having extra/unnecessary stuff installed on my system - hence why I run Gentoo :-)), but option 2 works perfectly fine as well.

Here's my emerge --info, just in case it's helpful:

Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.3.8-gentoo x86_64)
=================================================================
System uname: Linux-3.3.8-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_550_@_3.20GHz-with-gentoo-2.1
Timestamp of tree: Tue, 04 Sep 2012 15:15:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3                                                 
sys-devel/libtool:        2.4-r1                                                
sys-devel/make:           3.82-r3                                               
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)                           
sys-libs/glibc:           2.15-r2                                               
Repositories: gentoo x-portage                                                  
ACCEPT_KEYWORDS="amd64"                                                         
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 PUEL Oracle-BCLA-JavaSE"               
CBUILD="x86_64-pc-linux-gnu"                                                    
CFLAGS="-march=native -O2 -pipe"                                                
CHOST="x86_64-pc-linux-gnu"                                                     
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"                                                     
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                               
CXXFLAGS="-march=native -O2 -pipe"                                              
DISTDIR="/usr/portage/distfiles"                                                
FCFLAGS="-O2 -pipe"                                                             
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" 
FFLAGS="-O2 -pipe"                                                              
GENTOO_MIRRORS="http://gentoo.osuosl.org/"                                      
LANG="en_US.UTF-8"                                                              
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                               
LINGUAS="en en_US"                                                              
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-7"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync25.us.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 bash-completion bzip2 cairo cdda cddb cli cracklib crypt cxx dbus dga dri dvd exif fam flac gdbm gif gmp handbook iconv icu jpeg jpeg2k kde libnotify lzma lzo mad matroska mmap mmx modules mp3 mudflap multilib nls nptl ogg opengl openmp pam pch pcntl pcre png pppd qt4 readline session smp sndfile spell sse sse2 ssl startup-notification svg syslog taglib tcpd theora threads tiff truetype unicode vim-syntax vorbis x264 xcb xcomposite xinerama xmp xv xvid zlib" 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" 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 sheets 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, USE_PYTHON



Reproducible: Always
Comment 1 Jory A. Pratt gentoo-dev 2012-09-05 22:30:15 UTC
Need a build.log in order to see what is going on.
Comment 2 Jared B. 2012-09-06 21:56:21 UTC
Sorry, I forgot to include the build.log file.  I would happily provide it if you would simply ask, but since you decided to immediately close this ticket as Resolved (even though nothing of the sort has been done), I don't really feel like bothering now.  Last two times I ran into this, the developers involved, that did the same thing as you (which, to be clear, is closing and ignoring an obvious bug report rather than simply giving some time to attach the requested file) ceased responding to the ticket entirely, even after I attached the requested information, because, why not?, that bug's already resolved?

I hate this attitude you and several other Gentoo developers have taken lately, and I'm not doing this dance anymore.  I tried reporting a recently discovered problem because I'd like to see it fixed before anyone else encounters the same issue, but if you're going to close the bug on the most minor detail (I did include the relevant snippet from the build output, so even without the full log you could've done *something*) without even giving me a chance to respond, you obviously don't care.  When this issue bites someone else, and more people report it, I hope you'll do something about it then.
Comment 3 Jory A. Pratt gentoo-dev 2012-09-06 22:48:44 UTC
I am not gonna get into a rant with you about your attitude, what I will tell you is all you have to do is attach the build.log and reopen the bug not that big of an issue. We close with needinfo to track which bugs are most relevant at the time not to ignore or any other reason. Please attach the build.log and change status to unconfirmed and I will be more then happy to have a look.
Comment 4 Gil Kloepfer 2012-10-10 19:38:50 UTC
Actually, I had the same problem with firefox 15.0.1.  There is a place in the build process where if pysqlite isn't installed, it will fetch it from the Internet and compile it locally.

The original reporter is correct, I believe, and also the same problem exists in the firefox 15.0.1 ebuild as well.  A build dependency likely needs to be place on these two ebuilds (definitely in firefox) for pysqlite.

The reason it is difficult to include the build output is because firefox (and thunderbird) are large packages that take a long time to build. There's lots of output from the builds, and adding it all here is probably not going to be all that helpful.  I will try to include it in a while after firefox is finished successfully building and I can unmerge pysqlite and redo the build to the point where it fails.  Once you start looking through the build, it's pretty clear that the failure is that the firefox make process can't go out to the Internet (because of our environment) and grab a copy of pysqlite to finish its install.  It shouldn't do that anyway, with a Gentoo system, though.
Comment 5 Gil Kloepfer 2012-10-10 19:43:58 UTC
Created attachment 326220 [details]
build.log for firefox 15.0.1

This is the build.log for firefox 15.0.1 which is related to the bug the original submitter had.  Note that the make process is trying to download pysqlite from pypi.python.org, which it cannot do in our environment since we restrict Internet access.

If pysqlite is already installed, the make succeeds.
Comment 6 Franz Trischberger 2012-10-23 06:52:29 UTC
Created attachment 327206 [details]
build.log firefox-16.0.1

Same here with firefox-16.0.1.
Comment 7 Jared B. 2012-10-23 07:11:30 UTC
Gil, Franz,

You may want to open a new bug report about this.  This was marked as resolved, so I doubt any developers are monitoring it.
Comment 8 Franz Trischberger 2012-10-23 07:48:05 UTC
(In reply to comment #7)
> Gil, Franz,
> 
> You may want to open a new bug report about this.  This was marked as
> resolved, so I doubt any developers are monitoring it.

Jory already answered on that: RESOLVED NEEDSINFO does NOT mean this issue is solved by an actual solution. New reports would get closed as DUP, So I won't open one.

So just proceed as stated by Jory: attach your build log and reopen this report.
Comment 9 Gil Kloepfer 2012-10-24 14:50:55 UTC
I attached a build log back on October 10, and Franz Fellner did on October 23.  How do I "reopen the report" if it is already open?  There is no way for me to change the status of the bug, as far as I can tell.
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2012-10-24 15:33:29 UTC
it's been reopened already.  We need a build log for thunderbird though; currently only have them for firefox.
Comment 11 Gil Kloepfer 2012-10-24 15:53:38 UTC
Ian:  Does your comment mean that in order for me to see firefox fixed, I need to open a new bug for firefox?  I don't use thunderbird - I became aware of the bug when I was looking for issues that were similar to mine (so as not to open a duplicate bug).

I am sensitive to the fact that the folks maintaining Gentoo are volunteers, but it seems clear that the Mozilla project has modified their build process and people here are trying to make the Gentoo maintainers aware of this.  Taking a hard-line on submitting build logs for every single case is not accomplishing anything except for creating tension betweeen users and maintainers.  I think that was clear from what was explained by Jared's original comments below.

I am considering building thunderbird (even though I have no use for it) and submitting the log just to keep the peace here (and so I can get the firefox ebuild fixed), but I think it would be helpful if those who are maintaining the ebuilds for the Mozilla-based software would use this kind of report in the light that it was intended (to inform you all of a problem) and not as a criticism.
Comment 12 Gil Kloepfer 2012-10-24 16:11:24 UTC
Created attachment 327304 [details]
build.log for thunderbird 15.0.1 indicating the problem described

Looking at the build.log, I can see that the problem noted is the exact same issue as with firefox...
Comment 13 Gil Kloepfer 2012-10-27 16:08:12 UTC
Created attachment 327532 [details]
build.log from seamonkey 2.13.1 exhibiting same problem

As with thunderbird and firefox, seamonkey 2.13.1 is exhibiting the same problem.  Attached build.log from seamonkey for consistency.

I think we may want to rename this bug to something more appropriate, noting issues with multiple Mozilla software builds...
Comment 14 Jory A. Pratt gentoo-dev 2012-10-28 01:10:25 UTC
Firefox/Thunderbird have been fixed thanks for reporting.
Comment 15 Jory A. Pratt gentoo-dev 2012-11-01 13:45:37 UTC
Thank for reporting fixed in tree.