[opensuse-packaging] Requires in -devel packages
![](https://seccdn.libravatar.org/avatar/84ee0bcf221e4fb2b4741908022b82fb.jpg?s=120&d=mm&r=g)
Hi, while OBS reconfiguration and brief internal discussion, I figured out that we do use Requires: in -devel packages inconsistend atm. A -devel package should Require: all other packages what provides header files or other stuff needed at compile time. It should NOT require a compiler package like gcc or gcc-c++. Also not Require the SUSE only alias like c_compiler or c++-compiler. I know that our packages are inconsistend in this regard atm. bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/b1966ffac861531a1d6494248e650a12.jpg?s=120&d=mm&r=g)
* Adrian Schröter (adrian@suse.de) [20071121 10:43]:
It should NOT require a compiler package like gcc or gcc-c++.
OK, the C compiler is default, but how in the world should I express that these are C++ sources and therefore need a C++ compiler? Or do you want to introduce automatic detection? Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/a98f4fcfba592494dddc221040727b31.jpg?s=120&d=mm&r=g)
On 2007-11-22 14:25:42 +0100, Philipp Thomas wrote:
* Adrian Schröter (adrian@suse.de) [20071121 10:43]:
It should NOT require a compiler package like gcc or gcc-c++.
OK, the C compiler is default, but how in the world should I express that these are C++ sources and therefore need a C++ compiler? Or do you want to introduce automatic detection?
how about using external compilers that dont come as rpm? like intel compiler? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/b1966ffac861531a1d6494248e650a12.jpg?s=120&d=mm&r=g)
* Marcus Rueckert (darix@web.de) [20071122 14:30]:
how about using external compilers that dont come as rpm? like intel compiler?
Sorry for the noise, I see Adrian was talking about Requires: and I somehow mixed that up with BuildRequires. So yes, requiring a certain compiler is nonsence unless you definitely need a specific one. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/cb2aaf49f775c94d4056311eef22be7b.jpg?s=120&d=mm&r=g)
Am Donnerstag 22 November 2007 schrieb Marcus Rueckert:
On 2007-11-22 14:25:42 +0100, Philipp Thomas wrote:
* Adrian Schröter (adrian@suse.de) [20071121 10:43]:
It should NOT require a compiler package like gcc or gcc-c++.
OK, the C compiler is default, but how in the world should I express that these are C++ sources and therefore need a C++ compiler? Or do you want to introduce automatic detection?
how about using external compilers that dont come as rpm? like intel compiler?
Stuff that is not coming as rpm is a pretty bad argument, because in that name you basically can remove all requires Greetings, Stephan -- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/bce881f00c17a1bf997473f19b54e1d4.jpg?s=120&d=mm&r=g)
On Thu, Nov 22, Philipp Thomas wrote:
* Adrian Schröter (adrian@suse.de) [20071121 10:43]:
It should NOT require a compiler package like gcc or gcc-c++.
OK, the C compiler is default, but how in the world should I express that these are C++ sources and therefore need a C++ compiler? Or do you want to introduce automatic detection?
Why do you think that only C++ compilers can understand your C++ header files? If you find a requires, which always works, fine. We can add it. But I know that this is not possible. There is no common tag, which all C++ compiler available for Linux provides. Thorsten -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SUSE LINUX Products GmbH Maxfeldstr. 5 D-90409 Nuernberg -------------------------------------------------------------------- Key fingerprint = 8C6B FD92 EE0F 42ED F91A 6A73 6D1A 7F05 2E59 24BB --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6be99853e4fc9af95698fa1b78439c8d.jpg?s=120&d=mm&r=g)
Adrian Schröter escribió:
I know that our packages are inconsistend in this regard atm.
Yes they are, the bigger issues regarding -devel package Requires are: a) lack of needed dependencies (this is not a that big issue currently) b) in the other extreme, lots and lots of bloat, this is a massive one, a hell lot of work,generally caused by - libtool "la" files wanting Requires that the library in question dont really use at all. - pkgconfig scripts that are wrong (f.e that add tons of libraries to "Libs" instead of using "Libs.private" where appropiate) - foobar-config "--libs" option frecuently injects huge amount a unneded stuff. -- "The only thing that interferes with my learning is my education." - Albert Einstein Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (6)
-
Adrian Schröter
-
Cristian Rodríguez
-
Marcus Rueckert
-
Philipp Thomas
-
Stephan Kulow
-
Thorsten Kukuk