[Rpm-maint] Is there specific porting issues to RPM sources on Cygwin?

uvsmtid uvsmtid uvsmtid at gmail.com
Mon Oct 28 17:59:09 UTC 2013


I noticed that RPM software is not included in the new versions of Cygwin
anymore (it used to be in the previous versions, surely in 2011).
Is it simply that Cygwin RPM component maintenance was discontinued or
there are some fundamental problem to port RPM to Cygwin?


I tried to build RPM from 4.11.1 version (Cygwin installer `setup.exe`
version 2.830 32 bit with all latest updated nearly default installation):
   ./configure --with-external-db --without-lua
There were some syntax, environment variable settings and paths issues
which I was able to solve.
However, it started seem futile with various ./misc/fts.c compilation
I stopped after enabling some obviously unnecessary C marcos and dirty code
If you build cleanly with just `make`, you will get output like this:
   In file included from /usr/include/stdlib.h:25:0,
                    from fts.c:65:
   /usr/include/cygwin/stdlib.h:28:6: error: expected identifier or '('
before '{' token
   fts.c: In function 'Fts_open':
   fts.c:130:3: warning: implicit declaration of function
'__errno_location' [-Wimplicit-function-declaration]
   fts.c:130:3: error: invalid type argument of unary '*' (have 'int')
   fts.c:169:4: error: invalid type argument of unary '*' (have 'int')

I just want to know if there is something I should know to forget about RPM
on Cygwin.
Otherwise, give me a suggestion and I may try to fix it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20131029/c8ff1bdf/attachment.html>

More information about the Rpm-maint mailing list