[ACTION REQUIRED] ARCH=noarch uploads with cygport 0.22.0

Marco Atzeri marco.atzeri@gmail.com
Thu Jun 9 18:37:00 GMT 2016


On 08/06/2016 01:41, Marco Atzeri wrote:
> On 07/06/2016 23:44, Yaakov Selkowitz wrote:
>> On 2016-06-07 06:23, Marco Atzeri wrote:
>>> mex are recognized and properly stripped

>>>
>>> but dependency are not catched. They should be:
>>>
>>> $ cyg-dependency ./covm_mex.mex
>>> /usr/bin/cygwin1.dll  =>  cygwin-2.5.1-1
>>> /usr/bin/cyggomp-1.dll  =>  libgomp1-5.3.0-5
>>> /usr/bin/cygoctinterp-3.dll  =>  octave-4.0.1-1
>>>
>>> bit cygport only reports the forced one
>>
>> Which should be removable...
>
> yes, it is there by default to catch the noarch package
>
>>
>>>>>> octave-tsa requires:  octave
>>
>> That's not what I'm seeing locally:
>>
>>>>> octave-tsa requires: cygwin libgomp1 octave octave
>>

I assume you have on your local copy something like
the attached patch that however I don't see in
cygport- 0.22.0-1 nor in the git version.

with that, I also catch:

 >>> octave-tsa requires: cygwin libgomp1 octave octave
-------------- next part --------------
--- pkg_info.cygpart_bk	2016-06-09 20:25:36.109875600 +0200
+++ pkg_info.cygpart	2016-06-09 20:31:49.199737400 +0200
@@ -167,8 +167,9 @@
 
 	# *.so: Apache2 modules, OCaml stublibs, Ruby modules
 	# *.oct: Octave modules
+	# *.mex: Octave Matlab modules
 	# *.cmxs: OCaml natdynlink modules: http://gallium.inria.fr/~frisch/ndl.txt
-	alldeps+=" "$(LC_ALL=C find "${@//^_^/ }" -type f -executable \( -name '*.exe' -o -name '*.dll' -o -name '*.so' -o -name '*.oct' -o -name '*.cmxs' \) \
+	alldeps+=" "$(LC_ALL=C find "${@//^_^/ }" -type f -executable \( -name '*.exe' -o -name '*.dll' -o -name '*.so' -o -name '*.oct' -o -name '*.mex' -o -name '*.cmxs' \) \
 		-exec ${OBJDUMP} -p '{}' + 2>/dev/null | grep "DLL Name:" | sort -u | \
 		cut -d ' ' -f 3 | xargs -r which || true)
 
@@ -177,7 +178,7 @@
 			${deps_prune} \
 			-o -path 'usr/share/gems/*' -prune \
 			-o -path 'usr/share/help/*' -prune \
-			-o -type f -executable ! -name '*.exe' ! -name '*.dll' ! -name '*.so' ! -name '*.cmxs' ! -name '*.oct' -print \
+			-o -type f -executable ! -name '*.exe' ! -name '*.dll' ! -name '*.so' ! -name '*.cmxs' ! -name '*.oct' ! -name '*.mex' -print \
 			| xargs -r sed -sne '1{/^#!/s|/env *|/|g;s|^#! *\([^ ]*\).*|\1|gp}' \
 			| sort -u)
 


More information about the Cygwin-apps mailing list