public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild
       [not found] <20110912185552.543242004C@flycatcher.gentoo.org>
@ 2011-09-13  8:42 ` Markos Chandras
  2011-09-13  9:23   ` Diego Elio Pettenò
  2011-09-13  9:46   ` [gentoo-dev] " Tomáš Chvátal
  0 siblings, 2 replies; 10+ messages in thread
From: Markos Chandras @ 2011-09-13  8:42 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 12/09/2011 09:55 μμ, Peter Volkov (pva) wrote:
> pva         11/09/12 18:55:52
> 
> Modified:             ChangeLog Added:
> wireshark-1.6.2.ebuild wireshark-1.4.9.ebuild Removed:
> wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild 
> wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild Log: Version bump.
> Fixes security bug #381551, thank GLSAMaker/CVETool Bot. Added
> 1.6.2, bug #370683. 1.6.2 also fixes bug 373545 wrt Francesco
> Lamonica. Drop old.
> 
> ... !!<net-analyzer/wireshark-1.6.0_rc1"

Why is wireshark blocking itself on DEPEND? is this a known bug that
prevents normal update from old to new version? It is a bit odd to
have to remove the existing installation in order to update to a new one

- -- 
Regards,
Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iQIcBAEBCgAGBQJObxd4AAoJEPqDWhW0r/LC+KwP/jZqFJdVjpSbh7QQfyJWQBCY
WL9wVwVBDgb+onb3yh1VzGMae8rdkqphmdpf2sQU1L/rhsyO1XCx++UN1Hng0Y7X
j9RkNNMnKEue/aeBgqk5UOPUmuSOInzgdxcp5kio36MGM1DHIU1l4Usi+F9vwo5k
29XZzT3UT/kFuhXyOdHC0i5YCZMDfvCOea1bcG9P9zSk/jjXg3pRJLrZbu8vh6Pq
zApTT5P/O19X+ms1oOuzBdOouMRYL4ZJgnXTertbJeBsYrHQEW7ah3Koucsf7k7V
qdYMVPOqvdrICjQpLlqplzZDPzWn1L/S2Yqo+U3HAuuJFmX6fO9o0Ax752ptTkZj
JoGP9qs73jE/ef9NMEmAEquMFbE+bJFhXJtTLaM+7xyd0y9LA+IigvZlt7WlwXJm
IFSBdh3SziOGcZJzwuZlWvdB3pgx/U6292/d3J0l88nJWUw732OR2GW4w+VQnwL1
uoLUZTuFter2rY9OPJC6Rh7qWGCjMIf01JOzDCwimhoevjrFv+0QvxA+kY5cSIxh
xdB93v6a0+IrnIV4M31mKeOKxkxm8oazS/qZ9HVox7zQVdaLpBLEQJwJJn0C8z5R
+apunxwezD6nMahPZ5+iT49tmbtoT4GY5H4xRfJUWiFeZNhCXQV5ECLiC3AQ4h8c
F1XxV5mvoZSDygbpR51+
=ZtnX
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild
  2011-09-13  8:42 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild Markos Chandras
@ 2011-09-13  9:23   ` Diego Elio Pettenò
  2011-09-13  9:28     ` Ciaran McCreesh
  2011-09-13  9:46   ` [gentoo-dev] " Tomáš Chvátal
  1 sibling, 1 reply; 10+ messages in thread
From: Diego Elio Pettenò @ 2011-09-13  9:23 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

Il giorno mar, 13/09/2011 alle 11.42 +0300, Markos Chandras ha scritto:
> 
> Why is wireshark blocking itself on DEPEND? is this a known bug that
> prevents normal update from old to new version? It is a bit odd to
> have to remove the existing installation in order to update to a new
> one 

AFAICT it might be related to the fact that wireshark tends to link to
its own installed libraries when being rebuilt. Yes that means that its
build system is tfu.

-- 
Diego Elio Pettenò — Flameeyes
http://blog.flameeyes.eu/

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild
  2011-09-13  9:23   ` Diego Elio Pettenò
@ 2011-09-13  9:28     ` Ciaran McCreesh
  2011-09-13  9:53       ` [gentoo-dev] " Diego Elio Pettenò
  0 siblings, 1 reply; 10+ messages in thread
From: Ciaran McCreesh @ 2011-09-13  9:28 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]

On Tue, 13 Sep 2011 11:23:18 +0200
Diego Elio Pettenò <flameeyes@gentoo.org> wrote:
> Il giorno mar, 13/09/2011 alle 11.42 +0300, Markos Chandras ha
> scritto:
> > Why is wireshark blocking itself on DEPEND? is this a known bug that
> > prevents normal update from old to new version? It is a bit odd to
> > have to remove the existing installation in order to update to a new
> > one 
> 
> AFAICT it might be related to the fact that wireshark tends to link to
> its own installed libraries when being rebuilt. Yes that means that
> its build system is tfu.

In that case blocking just old versions is wrong, since if your
installed version is broken and you try to reinstall, you'll need to
uninstall first too.

(Incidentally, there's a bug in libtool that causes it to randomly link
to stuff on / if you try to create an executable that links to both a
built library and an installed library. It's probably fairly common,
but people won't necessarily notice.)

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild
  2011-09-13  8:42 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild Markos Chandras
  2011-09-13  9:23   ` Diego Elio Pettenò
@ 2011-09-13  9:46   ` Tomáš Chvátal
  1 sibling, 0 replies; 10+ messages in thread
From: Tomáš Chvátal @ 2011-09-13  9:46 UTC (permalink / raw
  To: gentoo-dev

2011/9/13 Markos Chandras <hwoarang@gentoo.org>:
> On 12/09/2011 09:55 μμ, Peter Volkov (pva) wrote:
>> pva         11/09/12 18:55:52
>>
>> Modified:             ChangeLog Added:
>> wireshark-1.6.2.ebuild wireshark-1.4.9.ebuild Removed:
>> wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild
>> wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild Log: Version bump.
>> Fixes security bug #381551, thank GLSAMaker/CVETool Bot. Added
>> 1.6.2, bug #370683. 1.6.2 also fixes bug 373545 wrt Francesco
>> Lamonica. Drop old.
>>
>> ... !!<net-analyzer/wireshark-1.6.0_rc1"
>
> Why is wireshark blocking itself on DEPEND? is this a known bug that
> prevents normal update from old to new version? It is a bit odd to
> have to remove the existing installation in order to update to a new one
>
> - --
> Regards,
> Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2
Actually this s**t happens a lot,
due to broken build system the package links to the already in-system
packages and use headers from system.

So one has to block the major versions to avoid the breakages during the build

Cheers

Tom



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-dev] Re: Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild
  2011-09-13  9:28     ` Ciaran McCreesh
@ 2011-09-13  9:53       ` Diego Elio Pettenò
  2011-09-13 10:24         ` Ciaran McCreesh
                           ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Diego Elio Pettenò @ 2011-09-13  9:53 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

Il giorno mar, 13/09/2011 alle 10.28 +0100, Ciaran McCreesh ha scritto:
> In that case blocking just old versions is wrong, since if your
> installed version is broken and you try to reinstall, you'll need to
> uninstall first too.

It doesn't matter as much when it's the same version because then it
would have the same soversion and thus it wouldn't cause _visible_
trouble.

It might be interesting to note that it seems like rc4->final also
causes the same problem.

> (Incidentally, there's a bug in libtool that causes it to randomly link
> to stuff on / if you try to create an executable that links to both a
> built library and an installed library. It's probably fairly common,
> but people won't necessarily notice.)

Just for completeness sake, this can usually be fixed/worked around by
making sure to list just-built .la files _before_ the /usr libraries. I
had to work that around on opensc before. PAM also suffers from the same
issue _if_ the .la files are kept around.

-- 
Diego Elio Pettenò — Flameeyes
http://blog.flameeyes.eu/

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild
  2011-09-13  9:53       ` [gentoo-dev] " Diego Elio Pettenò
@ 2011-09-13 10:24         ` Ciaran McCreesh
  2011-09-13 13:58           ` Mike Frysinger
  2011-09-13 13:59         ` Mike Frysinger
  2011-10-11  5:31         ` Peter Volkov
  2 siblings, 1 reply; 10+ messages in thread
From: Ciaran McCreesh @ 2011-09-13 10:24 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

On Tue, 13 Sep 2011 11:53:28 +0200
Diego Elio Pettenò <flameeyes@gentoo.org> wrote:
> Il giorno mar, 13/09/2011 alle 10.28 +0100, Ciaran McCreesh ha
> scritto:
> > In that case blocking just old versions is wrong, since if your
> > installed version is broken and you try to reinstall, you'll need to
> > uninstall first too.
> 
> It doesn't matter as much when it's the same version because then it
> would have the same soversion and thus it wouldn't cause _visible_
> trouble.

It would if the version on / is broken and you're reinstalling to try
to fix it.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild
  2011-09-13 10:24         ` Ciaran McCreesh
@ 2011-09-13 13:58           ` Mike Frysinger
  2011-09-14  5:17             ` Ciaran McCreesh
  0 siblings, 1 reply; 10+ messages in thread
From: Mike Frysinger @ 2011-09-13 13:58 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 708 bytes --]

On Tuesday, September 13, 2011 06:24:51 Ciaran McCreesh wrote:
> On Tue, 13 Sep 2011 11:53:28 +0200 Diego Elio Pettenò wrote:
> > Il giorno mar, 13/09/2011 alle 10.28 +0100, Ciaran McCreesh ha scritto:
> > > In that case blocking just old versions is wrong, since if your
> > > installed version is broken and you try to reinstall, you'll need to
> > > uninstall first too.
> > 
> > It doesn't matter as much when it's the same version because then it
> > would have the same soversion and thus it wouldn't cause _visible_
> > trouble.
> 
> It would if the version on / is broken and you're reinstalling to try
> to fix it.

a largely irrelevant edge case that cases little to no harm
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild
  2011-09-13  9:53       ` [gentoo-dev] " Diego Elio Pettenò
  2011-09-13 10:24         ` Ciaran McCreesh
@ 2011-09-13 13:59         ` Mike Frysinger
  2011-10-11  5:31         ` Peter Volkov
  2 siblings, 0 replies; 10+ messages in thread
From: Mike Frysinger @ 2011-09-13 13:59 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 811 bytes --]

On Tuesday, September 13, 2011 05:53:28 Diego Elio Pettenò wrote:
> Il giorno mar, 13/09/2011 alle 10.28 +0100, Ciaran McCreesh ha scritto:
> > (Incidentally, there's a bug in libtool that causes it to randomly link
> > to stuff on / if you try to create an executable that links to both a
> > built library and an installed library. It's probably fairly common,
> > but people won't necessarily notice.)
> 
> Just for completeness sake, this can usually be fixed/worked around by
> making sure to list just-built .la files _before_ the /usr libraries. I
> had to work that around on opensc before. PAM also suffers from the same
> issue _if_ the .la files are kept around.

that's part of the issue.  the fix-relink patch that we carry in ELT-patches 
for ~8 years now is the other part.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild
  2011-09-13 13:58           ` Mike Frysinger
@ 2011-09-14  5:17             ` Ciaran McCreesh
  0 siblings, 0 replies; 10+ messages in thread
From: Ciaran McCreesh @ 2011-09-14  5:17 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 425 bytes --]

On Tue, 13 Sep 2011 09:58:58 -0400
Mike Frysinger <vapier@gentoo.org> wrote:
> > It would if the version on / is broken and you're reinstalling to
> > try to fix it.
> 
> a largely irrelevant edge case that cases little to no harm

But getting it right is easier than getting it wrong: just DEPEND block
the entire package, not a version range. There's no excuse not to do it
properly here.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Re: Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild
  2011-09-13  9:53       ` [gentoo-dev] " Diego Elio Pettenò
  2011-09-13 10:24         ` Ciaran McCreesh
  2011-09-13 13:59         ` Mike Frysinger
@ 2011-10-11  5:31         ` Peter Volkov
  2 siblings, 0 replies; 10+ messages in thread
From: Peter Volkov @ 2011-10-11  5:31 UTC (permalink / raw
  To: gentoo-dev

В Втр, 13/09/2011 в 11:53 +0200, Diego Elio Pettenò пишет:
> Il giorno mar, 13/09/2011 alle 10.28 +0100, Ciaran McCreesh ha scritto:
> > In that case blocking just old versions is wrong, since if your
> > installed version is broken and you try to reinstall, you'll need to
> > uninstall first too.

wireshark relinks against system wsutil library during 'make DESTDIR=
${D} install', so once wireshark-1.6 is installed we have
libwsutil.so.1.0.0. There is nothing bad linking with correct library
version (even though binary came from previous version).

> It doesn't matter as much when it's the same version because then it
> would have the same soversion and thus it wouldn't cause _visible_
> trouble.
> 
> It might be interesting to note that it seems like rc4->final also
> causes the same problem.

Well, I can just drop _rc part in blocker. _rc versions were hardmasked
anyway.

> Just for completeness sake, this can usually be fixed/worked around by
> making sure to list just-built .la files _before_ the /usr libraries. I
> had to work that around on opensc before. PAM also suffers from the same
> issue _if_ the .la files are kept around.

Hm interesting. Actually I've tried to strace libtool and it have not
touched system .la files but since we drop .la anyway I'll recheck.

--
Peter.




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-10-11  5:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20110912185552.543242004C@flycatcher.gentoo.org>
2011-09-13  8:42 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark: wireshark-1.6.2.ebuild ChangeLog wireshark-1.4.9.ebuild wireshark-1.4.7.ebuild wireshark-1.6.0_rc1.ebuild wireshark-1.4.4.ebuild wireshark-1.4.6-r1.ebuild Markos Chandras
2011-09-13  9:23   ` Diego Elio Pettenò
2011-09-13  9:28     ` Ciaran McCreesh
2011-09-13  9:53       ` [gentoo-dev] " Diego Elio Pettenò
2011-09-13 10:24         ` Ciaran McCreesh
2011-09-13 13:58           ` Mike Frysinger
2011-09-14  5:17             ` Ciaran McCreesh
2011-09-13 13:59         ` Mike Frysinger
2011-10-11  5:31         ` Peter Volkov
2011-09-13  9:46   ` [gentoo-dev] " Tomáš Chvátal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox