Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
So many new dependencies... (WARN: This is a rant)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Thu Aug 18, 2011 3:54 pm    Post subject: Reply with quote

avx wrote:
I'll keep fixing bugs on my machine, using a local overlay and try to keep up. But neither does this solve the problem for others, ...


Be sure to keep filing bugs, though - if I encounter a problem, bugzilla is the first place I check, and it helps if someone already found a way to fix it :D

(Furthermore, each additional "Thanks that worked for me!" generally increases the chance of the fix being accepted)
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Thu Aug 18, 2011 4:59 pm    Post subject: Reply with quote

What I find strange, obviously (the officially supported) portage is too big for the amount of staff we've got, but neither do we really slim down portage, nor is there an easy process to get more staff responsible for that. I have no clue how many people are working on FreeBSD's ports, but last time I checked, they had more ports than we have and most times even are closer to upstream then we are.

I also have no clue, how many of their ports need specific treating in regards to the BSD-specs, but I'd guess that most userland packages don't need that much work - if at all - so maybe it would be possible to "whip up" a ports->portage converter.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.


Last edited by avx on Sat Aug 20, 2011 8:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 422

PostPosted: Sat Aug 20, 2011 6:01 pm    Post subject: Reply with quote

Oh man, this thread is so full of righteous anger and so devoid of understanding.

Cyker wrote:
When I first moved from Slackware to Gentoo oh so many years ago, it was because I was attracted by the idea of a package management system which allowed *ME* to pick which features I wanted on the system, and which ones I didn't...

Some of those 97 are due to asinine package reorganizations (e.g. Samba splits changing AGAIN, all these new 'virtuals' etc.

OK, so the purpose of virtuals is to offer flexibility, to you, the user. It allows you to chose whether you want libav of ffmpeg, for instance. They also install literally nothing on your system (except for /var/db/pkg).

Without knowing what other things you're actually talking about, it's impossible to make anything better. So often this complaint is usually something like the person is building dev-vcs/git[perl] without knowing why USE=perl is enabled or why they'd need it, and now git pulls in 30 perl packages.

Cyker wrote:
It's not just upstream; In the past I've been hit by ebuilds updated in place (i.e. no version change) which have had optional deps changed to hard deps because a bug was posted about something in another package breaking without that dep.

I'm sure this happens sometimes. But it's definitely rare. And if you take the times it does happen, it's definitely even more rare that it's done without some proper reasoning.

jdhore wrote:
I blame pkgconfig needing glib which is retardation, but unfortunately, that's the way things are. At least there is now a replacement for pkgconfig called pkgconf that is smaller and doesn't require glib, but it's not in Gentoo yet :(

The problem here is that pkgconfig used to include a bundled version of glib-1, but it's since been removed. Now, if you don't want pkgconfig on your system (how can you have a system without pkgconfig anyway?), you should notice that it's in DEPEND, not RDEPEND, so emerge --depclean will remove it and glib for you.

Gusar wrote:
XavierMiller wrote:
Ah I see: glib is not glibc ;)

Yeah, but your comment still applies. So much stuff uses glib nowadays that it can't really be considered bloat anymore. Because instead of bits and pieces of it being duplicated in every app, they all use a central library. The only problem possibly are really, really constrained environments.

Thank you. I feel better knowing someone here understands.

gkmac wrote:
I would like to know why the ebuild for vice-2.3 suddenly requires a full blown texlive (LaTeX) installation; some 180Mb of tarballs to download.

I think you're the guy that messaged me on IRC recently about this. It looks to me like it's actually required now. I'd yell at upstream.
_________________
My Wiki page
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sat Aug 20, 2011 8:52 pm    Post subject: Reply with quote

Funny :/
https://bugs.gentoo.org/show_bug.cgi?id=379801
Quote:
app-emulation/wine should have optional build-time dependency on
sys-devel/prelink
Quote:
added prelink to DEPEND for all ebuilds

_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sat Aug 20, 2011 10:49 pm    Post subject: Reply with quote

mattst88 wrote:
Oh man, this thread is so full of righteous anger and so devoid of understanding.

I'm not going to get into hostilities with you, but just to address one thing:

mattst88 wrote:
Cyker wrote:
When I first moved from Slackware to Gentoo oh so many years ago, it was because I was attracted by the idea of a package management system which allowed *ME* to pick which features I wanted on the system, and which ones I didn't...

Some of those 97 are due to asinine package reorganizations (e.g. Samba splits changing AGAIN, all these new 'virtuals' etc.

OK, so the purpose of virtuals is to offer flexibility, to you, the user. It allows you to chose whether you want libav of ffmpeg, for instance. They also install literally nothing on your system (except for /var/db/pkg).

Just to clarify, what I actually said was:
Quote:
Some of those 97 are due to asinine package reorganizations (e.g. Samba splits changing AGAIN, all these new 'virtuals' etc.), but many many more are due to existing packages having their dependencies changed in some way, which pulls in some new dependencies which weren't needed before, which then pull in more dependencies ad nauseum. And I'm not even covering the blockers!

i.e. I was *excluding*, for example, the virtual and samba splits, as they are not actually new dependencies, but just yet more contrived changes in the way portage organizes things. (As a side note, I can understand the virtuals kludge, but I don't understand the apparent samba split change every big version change; I know this is not something from upstream as if I build from source the procedure is not significantly different...)


But look, don't get mad - I'm just bringing attention to what I feel is an an undesirable trend in this distro. I'm not wailing on the devs specifically; I know it's a lot of thankless work keeping these things maintained. Just maintaining my local overlay consumes far more zots than I'd like! :lol:

This post was literally just a rant; I'm not expecting anything to happen because of it, but frankly if it makes just a few people consider whether a dependency is really needed or not rather than take the easy route of just adding it then I'd be happy...
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Sat Aug 20, 2011 11:00 pm    Post subject: Reply with quote

avx wrote:
Funny :/
https://bugs.gentoo.org/show_bug.cgi?id=379801
Quote:
app-emulation/wine should have optional build-time dependency on
sys-devel/prelink
Quote:
added prelink to DEPEND for all ebuilds
it is actually optional! USE="hardened" and be happy! :o
_________________
hear hear
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sat Aug 20, 2011 11:34 pm    Post subject: Reply with quote

geki wrote:
avx wrote:
Funny :/
https://bugs.gentoo.org/show_bug.cgi?id=379801
Quote:
app-emulation/wine should have optional build-time dependency on
sys-devel/prelink
Quote:
added prelink to DEPEND for all ebuilds
it is actually optional! USE="hardened" and be happy! :o
Tatsache :p

Still, according to that bug,
Quote:
seems wine has been invoking it since 2005, but no one ever noticed.
So after 6 years, it's finally time to pull in prelink? Even though http://wiki.winehq.org/Prelink states
Quote:
Prelink might be helpful when building WINE[...]Using prelink might damage your system files beyond repair![...]


Never needed prelink for WINE in years, but the one time I used prelink on a Fedora box, it killed the system... Meh, another ebuild I need to keep in shape for myself.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Sun Aug 21, 2011 1:04 am    Post subject: Reply with quote

Well then, complain (nicely) on the bug!

As gruff as he is, SpanKY/vapier generally tends to be a pretty reasonable guy. Find what his reasoning is.
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sun Aug 21, 2011 1:47 am    Post subject: Reply with quote

Etal wrote:
Well then, complain (nicely) on the bug!
Done.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 422

PostPosted: Sun Aug 21, 2011 2:24 am    Post subject: Reply with quote

Cyker wrote:
Just to clarify, what I actually said was:
Quote:
Some of those 97 are due to asinine package reorganizations (e.g. Samba splits changing AGAIN, all these new 'virtuals' etc.), but many many more are due to existing packages having their dependencies changed in some way, which pulls in some new dependencies which weren't needed before, which then pull in more dependencies ad nauseum. And I'm not even covering the blockers!

i.e. I was *excluding*, for example, the virtual and samba splits, as they are not actually new dependencies, but just yet more contrived changes in the way portage organizes things. (As a side note, I can understand the virtuals kludge, but I don't understand the apparent samba split change every big version change; I know this is not something from upstream as if I build from source the procedure is not significantly different...)


Right, fair enough. I'm not familiar with the samba stuff. Samba has a ton of new dependencies or something? If you just want to mount samba shares, you might consider net-fs/mount-cifs. It's significantly smaller.

Also, it's easy to see the new packages being pulled in, but a lot of times you forget about the packages that are no longer needed on your system just waiting to be emerge --depclean'd. I feel sure that the number of packages is always growing, but at least it's not totally one-sided.
_________________
My Wiki page
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Sun Aug 21, 2011 4:42 am    Post subject: Reply with quote

avx, You forgot a very important part of the argument ;)

avx wrote:
Even though http://wiki.winehq.org/Prelink states
Quote:
Prelink might be helpful when building WINE[...]Using prelink might damage your system files beyond repair![...]


Just because no one noticed it for 6 years does not mean it was not broken. However, if upstream says it's optional, then it's a completely different story.

(Also, if no one replies to the closed bug after a while, open a new one)
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Sun Aug 21, 2011 8:44 am    Post subject: Reply with quote

avx wrote:
Still, according to that bug,
Quote:
seems wine has been invoking it since 2005, but no one ever noticed.
should be "seems wine has been invoking it since 2005, if available, ...".
avx wrote:
Even though http://wiki.winehq.org/Prelink states
Quote:
Prelink might be helpful when building WINE[...]Using prelink might damage your system files beyond repair![...]
I guess it wants to warn about: "Using (enabling/disabling) prelink globally on a running system ...". well, I never used it. wrong way to go in my pov. only useful for special cases not being my desktop system.

as for the maintenance reason to enforce prelink is, that some programs under wine may fail strangely at runtime for that address pointer mangling. in return either unnecessary bugreports may pop up that waste the time and energy of the maintainers/bugwranglers where prelink would be the solution or the users may post somewhere that gentoo simply fails whereas all other distros do fine. both are things that are not acceptable for a maintainer. well, spanky may have other reasons. these would be mines.

so, in the end, for a single soul like you, prelink is nonsense, but for the general way impossible to put optional.
do you want to manage a list for programs under wine that need prelink? how do you want to communicate it to the user?

and I have seen similar things with openoffice/libreoffice. ;)
hurray for USE="custom-cflags" to ignore bugreports with that enabled. just to mention one thing.

hmm, looks like there is a contradiction with some hardwired depedencies vs USE="custom-cflags". fun :roll: :lol:
I wonder if a USE="custom" could be introduced for some packages and their schizophrenic dependencies.
I would like to see a list with packages and its schizophrenic dependencies. though, with reasoning for each ... o well ...


well, just my pov as a maintainer. :o
_________________
hear hear
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sun Aug 21, 2011 12:43 pm    Post subject: Reply with quote

Quote:
do you want to manage a list for programs under wine that need prelink?
Nah.
Quote:
how do you want to communicate it to the user?
Uhm, AppDB? There are a lot of people, posting workarounds for pretty much any strange case, so it shouldn't be to hard for the WINE-devs to add a "needs prelink (y/n)" checkbox. Other than that, give the ebuilds some einfo "If your app fails, try with USE=prelink".

I see this as an upstream failure. Just because other distros take the easy way out, shouldn't mean Gentoo has to do it too. If I wouldn't want my system to behave/install like I want it to be, I could use SUSE.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Wed Aug 24, 2011 5:13 am    Post subject: Reply with quote

Oh how I hate the world :evil:

To quote from my bug on vice (https://bugs.gentoo.org/show_bug.cgi?id=379633)
Mr. Bones. wrote:
Mr. Bones. 2011-08-23 15:09:31 UTC
it doesn't build without texi2dvi so no.
me wrote:
You are somehow kidding me, right?

--
> which texi2dvi
/usr/bin/texi2dvi
--

--
> equery b texi2dvi
* Searching for texi2dvi ...
sys-apps/texinfo-4.13-r1 (/usr/bin/texi2dvi)
--

--
> emerge -ptv vice

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild N ] app-emulation/vice-2.3 USE="X alsa nls xrandr -Xaw3d -dga
-ethernet -ffmpeg -gif -gnome -ipv6 -jpeg -lame -memmap -oss -png -pulseaudio
-readline -sdl -xv -zlib" 0 kB
[ebuild N ] virtual/texi2dvi-0 0 kB
[ebuild N ] dev-texlive/texlive-texinfo-2011 USE="-doc -source" 84 kB
[ebuild N ] dev-texlive/texlive-genericrecommended-2011 USE="-doc
-source" 211 kB
[ebuild N ] virtual/latex-base-1.0 0 kB
[ebuild N ] dev-texlive/texlive-fontutils-2011 USE="-doc -source" 224
kB
[ebuild N ] dev-texlive/texlive-latexrecommended-2011 USE="-doc
-source" 6,091 kB
[ebuild N ] dev-texlive/texlive-latex-2011 USE="-doc -source" 871 kB
[ebuild N ] dev-texlive/texlive-basic-2011 USE="-doc -source" 5,336
kB
[ebuild N ] dev-texlive/texlive-documentation-base-2011
USE="-source" 1,432 kB
[ebuild N ] app-text/texlive-core-2011-r4 USE="X -cjk -doc -source
-tk -xetex" 129,042 kB
[ebuild N ] dev-tex/bibtexu-3.71_p20110705 0 kB
[ebuild N ] app-text/ps2pkm-1.5_p20110705 0 kB
[ebuild N ] app-text/dvipsk-5.991_p20110705 USE="-doc -source" 92
kB
[ebuild N ] dev-tex/luatex-0.70.1 USE="-doc" 9,014 kB
[ebuild N ] dev-libs/zziplib-0.13.60-r1 USE="-doc -sdl
-static-libs -test" 670 kB
[ebuild N ] dev-libs/kpathsea-6.0.1_p20110705 USE="-doc -source
-static-libs" 41 kB

Total: 17 packages (17 new), Size of downloads: 153,102 kB
--

According to `equery d texinfo`, it is required by none other thant gcc,
autoconf, automake, groff and ed. So anyone even trying to build vice via gcc
will already have texi2dvi on the system.

I tried building vice by hand with the defaults, except prefix, and it worked
without any problems.

So either the ebuild for vice or virtual/texi2dvi is broken.
Am I wrong here or didn't he even try or do I just use magic?
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Wed Aug 24, 2011 6:49 am    Post subject: Reply with quote

avx
sweet, paludis and util-linux did the same joke for a short time until users yelled. :o

had been undone quickly. you may look into ChangeLog or ebuild revisions and get back to mr bones. ;)

:lol:
_________________
hear hear


Last edited by geki on Wed Aug 24, 2011 4:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Wed Aug 24, 2011 10:19 am    Post subject: Reply with quote

Seems app-emulation/vice is a strange package. On a manual build (./configure; make) sometimes it rans right through and sometimes it fails with the "no TeX"-error (updated above bug accordingly). Couldn't find the trigger to this, yet, maybe someone's willing to help investigating.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 422

PostPosted: Wed Aug 24, 2011 2:21 pm    Post subject: Reply with quote

Is the documentation generated the same as what's in the src tarball?
_________________
My Wiki page
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Wed Aug 24, 2011 4:34 pm    Post subject: Reply with quote

mattst88 wrote:
Is the documentation generated the same as what's in the src tarball?
As far as I can tell, texi2dvi is only used to generate the html-documentation, so I ran
Code:
cd /usr/share/games/vice/doc
for i in *.html ; do diff $i /home/avx/vice-2.3/doc/html/$i ; done
and the result is as simple as
Quote:
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
91c91
< <CODE>/usr/share/games/vice/C64</CODE>
---
> <CODE>/usr/local/lib/VICE/C64</CODE>
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
4c4
< from ../vice.texi on 24 August 2011 -->
---
> from ../vice.texi on 26 Febuary 2011 -->
391c391
< This document was generated on 24 August 2011 using a slightly modified version of the
---
> This document was generated on 26 Febuary 2011 using a slightly modified version of the
That's imho not enough to pull in these deps. (If I missed something, tell me).
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Wed Aug 24, 2011 7:17 pm    Post subject: Reply with quote

hmm, looking at http://vice-emu.svn.sourceforge.net/viewvc/vice-emu/tags/v2.3/v2.3.9/vice/configure.in?revision=24210&view=markup

I would recommend gentoo to use svn to get the source. there are newer versions. or generate a patchset. :o

and that configure should do just fine without tex; proper 'no' checks. :roll:


is there any package that installs a dummy texi2dvi?!
_________________
hear hear
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Wed Aug 24, 2011 7:41 pm    Post subject: Reply with quote

Seems I've been mistaken - don't know much about TeX - and it's used to generate vice.pdf. A simple diff shows that they differ, but I haven't looked at it for now.

Edit: I ran `pdftotext` on the generated vice.pdf and the one provided in the tarball, than `diff`ed it and the only difference is this
Quote:
diff build.txt provided.txt
804c804
< 1. /usr/share/games/vice/C64
---
> 1. /usr/local/lib/VICE/C64


Edit 2: I find it a little strange to install a .pdf in /usr/share/info where normally only (compressed) info-pages are stored?!
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum