Re: 'cygport dep' is empty for orpie

2017-05-12 Thread Andrew Schulman
> > > orpie builds and runs fine. But surprisingly, 'cygport dep' comes back 
> > > empty:
> > >
> > > $ cygport orpie.cygport dep
> > > $

For the archive, this bug is fixed in cygport 0.24.1.



Re: 'cygport dep' is empty for orpie

2017-05-11 Thread Andrew Schulman
> On 2017-05-10 07:03, Andrew Schulman wrote:
> > $ cygport orpie.cygport finish all
> > ...
>  orpie requires:
> > $ cygport orpie.cygport dep
> > $ grep requires: orpie-1.5.2-3.x86_64/dist/orpie/orpie-1.5.2-3.hint
> > requires:
> >
> > And yet...
> >
> > $ ll orpie-1.5.2-3.x86_64/inst/usr/bin/orpie
> > -rwxr-xr-x 1 andrex None 2.2M May  8 17:40
> > orpie-1.5.2-3.x86_64/inst/usr/bin/orpie
> 
> Not orpie.exe?  It should have been renamed by __prepstrip.

No, it's just orpie.

> > Obviously something is different in my environment. The problem must be in
> > __list_deps(), which is returning an empty result for me. Can you suggest 
> > where
> > I should look? Where would you expect usr/bin/orpie to be detected?
> 
> Do you have RESTRICT=strip set somewhere?  If not, please send the 
> cygport logs as plain-text attachments (off-list if you wish).

No, no RESTRICT=strip. I'll send the logs offline.



Re: 'cygport dep' is empty for orpie

2017-05-10 Thread Yaakov Selkowitz

On 2017-05-10 07:03, Andrew Schulman wrote:

$ cygport orpie.cygport finish all
...

orpie requires:

$ cygport orpie.cygport dep
$ grep requires: orpie-1.5.2-3.x86_64/dist/orpie/orpie-1.5.2-3.hint
requires:

And yet...

$ ll orpie-1.5.2-3.x86_64/inst/usr/bin/orpie
-rwxr-xr-x 1 andrex None 2.2M May  8 17:40
orpie-1.5.2-3.x86_64/inst/usr/bin/orpie


Not orpie.exe?  It should have been renamed by __prepstrip.


Obviously something is different in my environment. The problem must be in
__list_deps(), which is returning an empty result for me. Can you suggest where
I should look? Where would you expect usr/bin/orpie to be detected?


Do you have RESTRICT=strip set somewhere?  If not, please send the 
cygport logs as plain-text attachments (off-list if you wish).


--
Yaakov


Re: 'cygport dep' is empty for orpie

2017-05-08 Thread Achim Gratz
Andrew Schulman writes:
> This still doesn't work for me. On two different build hosts, dep returns 
> empty,
> and the .hint files have empty dependency lists.

Does cygcheck find any incomplete packages or complain about missing
package.lst files?  It might be helpful to re-install the packages that
are not showing up as dependencies.  Also, you might want to do the
build again with a minimized PATH.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada


Re: 'cygport dep' is empty for orpie

2017-05-08 Thread Yaakov Selkowitz

On 2017-05-08 07:38, Andrew Schulman wrote:

 >>> orpie requires: cygwin libgsl19 libncursesw10


This still doesn't work for me. On two different build hosts, dep returns empty,
and the .hint files have empty dependency lists.


Still WFM.  Please check that you are running cygport 0.24.0-1 or 
current git master on Cygwin, and that you did the entire build from 
scratch with said cygport version.


--
Yaakov


Re: 'cygport dep' is empty for orpie

2017-05-08 Thread Andrew Schulman
> > orpie builds and runs fine. But surprisingly, 'cygport dep' comes back 
> > empty:
> >
> > $ cygport orpie.cygport dep
> > $
>
> WFM:
> 
>  >>> Packaging orpie-1.5.2-3.x86_64
>  >>> Creating binary package(s)
>  >>> orpie-1.5.2-3.tar.xz
> [snip]
>  >>> Checking packages for missing or duplicate files
>  >>> Creating source patches
>   0 files changed
>  >>> Creating source package
> [snip]
>  >>> orpie requires: cygwin libgsl19 libncursesw10
>  ^

This still doesn't work for me. On two different build hosts, dep returns empty,
and the .hint files have empty dependency lists.

I've been trying to debug this in __list_deps(). That's a long function and I
don't see yet where it's supposed to catch usr/bin/orpie. But I can see that
alldeps is empty at the final find command.



Re: 'cygport dep' is empty for orpie

2017-04-04 Thread Yaakov Selkowitz

On 2017-04-03 23:14, Andrew Schulman wrote:

I'm building orpie 1.5.2 with cygport 0.24.0 and ocaml 4.04.0. cygport script is
below.


WFM:

>>> Packaging orpie-1.5.2-3.x86_64
>>> Creating binary package(s)
>>> orpie-1.5.2-3.tar.xz
[snip]
>>> Checking packages for missing or duplicate files
>>> Creating source patches
 0 files changed
>>> Creating source package
[snip]
>>> orpie requires: cygwin libgsl19 libncursesw10
^


orpie builds and runs fine. But surprisingly, 'cygport dep' comes back empty:

$ cygport orpie.cygport dep
$


The list and dep commands will display their results in a pager when run 
in an interactive console.  What does cygport put in the .hint files?



even though /usr/bin/orpie depends on libgsl19, libncursesw10, and libblas0:


libblas0 is an indirect dependency of libgsl19, so it won't be listed.

--
Yaakov


'cygport dep' is empty for orpie

2017-04-03 Thread Andrew Schulman
I'm building orpie 1.5.2 with cygport 0.24.0 and ocaml 4.04.0. cygport script is
below.

orpie builds and runs fine. But surprisingly, 'cygport dep' comes back empty:

$ cygport orpie.cygport dep
$ 

even though /usr/bin/orpie depends on libgsl19, libncursesw10, and libblas0:

$ ldd orpie-1.5.2-3.x86_64/inst/usr/bin/orpie
ntdll.dll => /win/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffc9bed)
KERNEL32.DLL => /win/c/WINDOWS/System32/KERNEL32.DLL (0x7ffc9a76)
KERNELBASE.dll => /win/c/WINDOWS/System32/KERNELBASE.dll (0x7ffc98e7)
cygwin1.dll => /usr/bin/cygwin1.dll (0x18004)
cygncursesw-10.dll => /usr/bin/cygncursesw-10.dll (0x3ec85)
cyggsl-19.dll => /usr/bin/cyggsl-19.dll (0x3f5b2)
cygblas-0.dll => /usr/bin/cygblas-0.dll (0x3f3e7)

Any idea why that might be?
Thanks,
Andrew


#
# cygport script for orpie
# by Andrew E. Schulman, 2017-04-03
#

NAME=orpie
VERSION=1.5.2
RELEASE=3

# Packaging

SUMMARY="Fullscreen RPN calculator for the console"
DESCRIPTION="Orpie is a fullscreen RPN calculator for the console.  Its
operation
is similar to that of modern HP calculators, but data entry has been
optimized for efficiency on a PC keyboard.  Features include extensive
scientific calculator functionality, command completion, and a visible
interactive stack."
CATEGORY="Math"
HOMEPAGE="http://pessimization.com/software/orpie/";

# Sources

SRC_URI="http://pessimization.com/software/orpie/orpie-${PV}.tar.gz";
PATCH_URI="
 http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-Makefile.in.diff
http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-configure.diff

http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-gsl-mgsl_sf.c.diff
http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-gsl_sf.ml.diff
 http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-mlgsl_blas.h.diff

http://pkgs.fedoraproject.org/cgit/rpms/orpie.git/plain/patch-mlgsl_error.c.diff
"

# Build

DEPEND="ocaml ocaml-camlp4 libgsl-devel"
case "$ARCH" in
i686)
DEPEND+=" libncurses-devel"  ;;
x86_64)
DEPEND+=" libncursesw-devel" ;;
esac

src_compile ()
{
# As of April 2016, OCaml is broken OOTB in x86_64. Builds fail with the 
# mysterious error "flexdll error: cannot relocate RELOC_REL32, target is
# too far". Fix this. See
# https://cygwin.com/ml/cygwin-apps/2016-04/msg00049.html
if [ "$ARCH" = x86_64 ] ; then
rebase -b 0x0644 /usr/lib/ocaml/stublibs/dllunix.so
rebase -b 0x0651 /usr/lib/ocaml/stublibs/dllcamlstr.so
fi

cd "$S"
cygautoreconf
cd "$B"
lndirs  # configure doesn't support --srcdir
cygconf --mandir=/usr/share/man CPPFLAGS=-I/usr/include/ncurses
cygmake curses_assist.cmx
cygmake
}

src_install ()
{
cd "$B"
cyginstall
make_etc_defaults /etc/orpierc
}