bugManeage - Bugs: bug #66833, unzip-6.0 fails to build in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #66833: unzip-6.0 fails to build in dd051d61

Submitter:  Boud Roukema <boud>
Submitted:  Sat 22 Feb 2025 11:13:24 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Crash Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Sun 23 Feb 2025 05:27:36 PM UTC, comment #3: 

I'll keep tarball-prepare.sh in mind, but it turns out it's not needed for numpy-2.2.3, which makes sense for a package that hasn't changed since 2019 and is only available as .zip archive.

I'll get back to the tarball archiving issue later at task #16621 .

Boud Roukema <boud>
Group Member
Sun 23 Feb 2025 03:01:09 AM UTC, comment #2: 

I just noticed that tarball-prepare.sh doesn't have a command for a zip'd input! Can you also add that step for any future such case?

Mohammad Akhlaghi <makhlaghi>
Group administrator
Sun 23 Feb 2025 02:56:43 AM UTC, comment #1: 

Thanks Boud! I just tried it on an Arch and had the same error!

About Numpy's packaging. The solution is our tarball-prepare.sh script.

  • Download the zip file yourself (along with the sources of all the other software that you plan to update).
  • Run this script on that directory and it will generate standardized tarballs.
  • Clone our tarballs-software repository, make a development branch and commit the tarballs to this same repository (you are already a "developer" there).
  • When you later send me the merge request for the Maneage repository, also send me the branch on the  with the merge on the Maneage repository.


I will first pull your tarballs-software branch, then your maneage branch when I try the build.

This doesn't fix the unzip problem, but is an important point to consider when updating Maneage software that are to be merged in the main 'maneage' branch ;-).

Mohammad Akhlaghi <makhlaghi>
Group administrator
Sat 22 Feb 2025 11:13:24 PM UTC, original submission:  

In Maneage commit dd051d61, unzip-6.0 fails to build from source.

REPRODUCE:
In 'reproduce/software/config/TARGETS.conf' put

top-level-programs = unzip

and do

./project configure --existing-conf


LOG:
https://paste.debian.net/hidden/e0d6cf43/

key lines

cc -c -I. -Ibzip2 -DUNIX -O3 -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DNO_FCHMOD -DNO_FCHOWN -DNO_LCHOWN -DNO_NL_LANGINFO -DNO_LCHMOD -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS -DNO_VALLOC  -DSFX -o unix_.o unix/unix.c
unix/unix.c:132:14: error: conflicting types for 'DIR'; have 'FILE'
  132 | typedef FILE DIR;
      |              ^~~
In file included from unix/unix.c:56:
/usr/include/dirent.h:127:28: note: previous declaration of 'DIR' with type 'DIR'
  127 | typedef struct __dirstream DIR;
      |                            ^~~
unix/unix.c:136:6: error: expected ';' before 'DIR'
  136 | } DIR
      |      ^
      |      ;
  137 | DIR *opendir OF((ZCONST char *dirspec));
      | ~~~
unix/unix.c:137:6: error: conflicting types for 'opendir'; have 'DIR *(const char *)' {aka 'FILE *(const char *)'}
  137 | DIR *opendir OF((ZCONST char *dirspec));
      |      ^~~~~~~
/usr/include/dirent.h:141:13: note: previous declaration of 'opendir' with type 'DIR *(const char *)'
  141 | extern DIR *opendir (const char *__name) __nonnull ((1))
      |             ^~~~~~~
unix/unix.c:138:6: error: conflicting types for 'closedir'; have 'void(DIR *)' {aka 'void(FILE *)'}
  138 | void closedir OF((DIR *dirp));
      |      ^~~~~~~~


CONTEXT:
The 'unzip' package is needed for https://pypi.org/project/features/#features-0.5.12.zip , which is only provided as a .zip archive; 'features' is needed by numpy-1.21.3 .

HYPOTHESIS:
Speculation: conflicting definitions that were guessed and compiled based on a reasonable guess in the past are no longer accepted.

Boud Roukema <boud>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Posted a comment)
  • -email is unavailable- added by boud (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code