Hi Dago,

> Am 11.02.2022 um 21:02 schrieb Dagobert Michelsen <d...@opencsw.org>:
> 
>> I’ve noticed, that I’ve made a mistake. If I look into the libevent_dev 
>> package, there are some files, which shouldn’t be there. 
>> 
>> 1 s none /opt/csw/lib/libevent.so=libevent-2.1.so.7.0.1
>> 1 s none /opt/csw/lib/libevent_core.so=libevent_core-2.1.so.7.0.1
>> 1 s none /opt/csw/lib/libevent_extra.so=libevent_extra-2.1.so.7.0.1
>> 1 s none /opt/csw/lib/libevent_openssl.so=libevent_openssl-2.1.so.7.0.1
>> 1 s none /opt/csw/lib/libevent_pthreads.so=libevent_pthreads-2.1.so.7.0.1
>> 1 d none /opt/csw/lib/pkgconfig 0755 root bin
>> 1 f none /opt/csw/lib/pkgconfig/libevent.pc 0644 root bin 349 31805 
>> 1644604902
>> 1 f none /opt/csw/lib/pkgconfig/libevent_core.pc 0644 root bin 313 28358 
>> 1644604902
>> 1 f none /opt/csw/lib/pkgconfig/libevent_extra.pc 0644 root bin 316 28727 
>> 1644604902
>> 1 f none /opt/csw/lib/pkgconfig/libevent_openssl.pc 0644 root bin 430 38929 
>> 1644604902
>> 1 f none /opt/csw/lib/pkgconfig/libevent_pthreads.pc 0644 root bin 408 37291 
>> 1644604902
>> 1 s none /opt/csw/lib/sparcv9/libevent.so=libevent-2.1.so.7.0.1
>> 1 s none /opt/csw/lib/sparcv9/libevent_core.so=libevent_core-2.1.so.7.0.1
>> 1 s none /opt/csw/lib/sparcv9/libevent_extra.so=libevent_extra-2.1.so.7.0.1
>> 1 s none 
>> /opt/csw/lib/sparcv9/libevent_openssl.so=libevent_openssl-2.1.so.7.0.1
>> 1 s none 
>> /opt/csw/lib/sparcv9/libevent_pthreads.so=libevent_pthreads-2.1.so.7.0.1
>> 1 d none /opt/csw/lib/sparcv9/pkgconfig 0755 root bin
>> 1 f none /opt/csw/lib/sparcv9/pkgconfig/libevent.pc 0644 root bin 352 31958 
>> 1644605332
>> 1 f none /opt/csw/lib/sparcv9/pkgconfig/libevent_core.pc 0644 root bin 316 
>> 28511 1644605332
>> 1 f none /opt/csw/lib/sparcv9/pkgconfig/libevent_extra.pc 0644 root bin 319 
>> 28880 1644605332
>> 1 f none /opt/csw/lib/sparcv9/pkgconfig/libevent_openssl.pc 0644 root bin 
>> 436 39235 1644605332
>> 1 f none /opt/csw/lib/sparcv9/pkgconfig/libevent_pthreads.pc 0644 root bin 
>> 411 37444 1644605332
>> 
>> In the Makefile, I’ve specified:
>> 
>> PACKAGES += CSWlibevent2-1-7
>> SPKG_DESC_CSWlibevent2-1-7 = Event notification library 2.1, 
>> libevent-2.1.so.7
>> PKGFILES_CSWlibevent2-1-7 = $(call pkgfiles_lib,libevent-2.1.so.7)
>> FOREIGN_PACKAGES = CSWlibevent2-0-5
>> 
>> PACKAGES += CSWlibevent-core2-1-7
>> SPKG_DESC_CSWlibevent-core2-1-7 = Event notification library 2.1, 
>> libevent_core-2.1.so.7
>> PKGFILES_CSWlibevent-core2-1-7 = $(call pkgfiles_lib,libevent_core-2.1.so.7)
>> FOREIGN_PACKAGES = CSWlibevent-core2-0-5
>> 
>> PACKAGES += CSWlibevent-extra2-1-7
>> SPKG_DESC_CSWlibevent-extra2-1-7 = Event notification library 2.1, 
>> libevent_extra-2.1.so.7
>> PKGFILES_CSWlibevent-extra2-1-7 = $(call 
>> pkgfiles_lib,libevent_extra-2.1.so.7)
>> FOREIGN_PACKAGES = CSWlibevent-extra2-0-5
>> 
>> PACKAGES += CSWlibevent-openssl2-1-7
>> SPKG_DESC_CSWlibevent-openssl2-1-7 = Event notification library 2.1, 
>> libevent_openssl-2.1.so.7
>> PKGFILES_CSWlibevent-openssl2-1-7 = $(call 
>> pkgfiles_lib,libevent_openssl-2.1.so.7)
>> RUNTIME_DEP_PKGS_CSWlibevent-openssl2-1-7 += CSWlibssl1-0-0
>> FOREIGN_PACKAGES = CSWlibevent-openssl2-0-5
>> 
>> PACKAGES += CSWlibevent-pthreads2-1-7
>> SPKG_DESC_CSWlibevent-pthreads2-1-7 = Event notification library 2.1, 
>> libevent_pthreads-2.1.so.7
>> PKGFILES_CSWlibevent-pthreads2-1-7 = $(call 
>> pkgfiles_lib,libevent_pthreads-2.1.so.7)
>> FOREIGN_PACKAGES = CSWlibevent-pthreads2-0-5
>> 
>> PACKAGES += CSWlibevent-dev
>> SPKG_DESC_CSWlibevent-dev = Development files for libevent*-2.1.so.7
>> PKGFILES_CSWlibevent-dev = $(PKGFILES_DEVEL)
>> RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWlibevent2-1-7
>> RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWlibevent-core2-1-7
>> RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWlibevent-extra2-1-7
>> RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWlibevent-openssl2-1-7
>> RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWlibevent-pthreads2-1-7
>> RUNTIME_DEP_PKGS_CSWlibevent-dev += CSWpython
>> OBSOLETED_BY_CSWlibevent-dev += CSWlibevent-devel
>> 
>> I’ve clearly made a mistake somewhere… but I can’t see why these file are 
>> landing in the dev package.
> 
> Because these are the files that belong there :-) Looks good to me. Which 
> files are you doubting to be in
> *-dev?

I thought these symlinks shouldn‘t be part of the dev package:

1 s none /opt/csw/lib/sparcv9/libevent.so=libevent-2.1.so.7.0.1
1 s none /opt/csw/lib/sparcv9/libevent_core.so=libevent_core-2.1.so.7.0.1
1 s none /opt/csw/lib/sparcv9/libevent_extra.so=libevent_extra-2.1.so.7.0.1
1 s none /opt/csw/lib/sparcv9/libevent_openssl.so=libevent_openssl-2.1.so.7.0.1
1 s none 
/opt/csw/lib/sparcv9/libevent_pthreads.so=libevent_pthreads-2.1.so.7.0.1



Regards

Ihsan

Reply via email to