pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/58315: pkgsrc reports "object format ``PE'' which differs from ``ELF''" in cygwin
>Number: 58315
>Category: pkg
>Synopsis: pkgsrc reports "object format ``PE'' which differs from ``ELF''" in cygwin
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 05 15:45:01 +0000 2024
>Originator: Zeechung
>Release: pkgsrc branch on June the 5th, 2024
>Organization:
None
>Environment:
CYGWIN_NT-10.0-22631 DESKTOP-PI0RAE9 3.5.3-1.x86_64 2024-04-03 17:25 UTC x86_64 Cygwin
>Description:
Hello. I'm new to pkgsrc, and I've just bootstraped it in the cygwin environment. When I tried to build some program, almost every packages output this error:
```
ZeeChung@DESKTOP-PI0RAE9 ~/pkgsrc/games/openrct2
$ bmake
ERROR: [depends.mk] Installed package digest-20220214 has an
ERROR: object format ``PE'' which differs from ``ELF''. Please
ERROR: update the digest-20220214 package to ELF.
*** Error code 1
```
>How-To-Repeat:
① Install cygwin. Install basic utils like gcc, make, wget, etc. with cygwin installer.
② Download current pkgsrc branch and bootstrap. You might meet an error of bcrypt.h when compiling libarchive, just turn off HAVE_BCRYPT_H marco and all.
③ Try to compile a program. Almost every packages output the error above.
>Fix:
Maybe simply skip the format checking in depends.mk?
Home |
Main Index |
Thread Index |
Old Index