Re: git clone https://github.com/dhomeier/fink dpkg1.16. problem...

Daniel Macks <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On 1/10/23, 5:40 PM, "Daniel Macks" <[email protected]> wrote:

    On 1/10/23, 4:59 PM, "Franchetti, Giuliano Dr." <[email protected]> wrote:

        giuliano@FGs-MacBook-Pro:/Users/giuliano/Desktop> git clone https://github.com/dhomeier/fink dpkg1.16
        Cloning into 'dpkg1.16'...
    [...]

        Password:
        Checking package...Unimplemented: POSIX::tmpnam(): use File::Temp instead at /System/Library/Perl/5.30/darwin-thread-multi-2level/POSIX.pm line 185.
        Unimplemented: POSIX::tmpnam() at /Users/giuliano/Desktop/dpkg1.16/perlmod/Fink/VirtPackage.pm line 50.
        BEGIN failed--compilation aborted at /Users/giuliano/Desktop/dpkg1.16/perlmod/Fink/VirtPackage.pm line 50.
        Compilation failed in require at /Users/giuliano/Desktop/dpkg1.16/perlmod/Fink/PkgVersion.pm line 46.
        BEGIN failed--compilation aborted at /Users/giuliano/Desktop/dpkg1.16/perlmod/Fink/PkgVersion.pm line 46.
        Compilation failed in require at /Users/giuliano/Desktop/dpkg1.16/perlmod/Fink/Package.pm line 33.
        BEGIN failed--compilation aborted at /Users/giuliano/Desktop/dpkg1.16/perlmod/Fink/Package.pm line 33.
        Compilation failed in require at /Users/giuliano/Desktop/dpkg1.16/perlmod/Fink/Bootstrap.pm line 31.
        BEGIN failed--compilation aborted at /Users/giuliano/Desktop/dpkg1.16/perlmod/Fink/Bootstrap.pm line 31.
        Compilation failed in require at /Users/giuliano/Desktop/dpkg1.16/bootstrap line 224.
        giuliano@FGs-MacBook-Pro:/Users/giuliano/Desktop/dpkg1.16> 

    Looks like that function in perl-core was dropped as of perl-5.26. Will look at it tonight.

Something's weird here. POSIX::tmpnam() appears to have been replaced in 2017. Looking at the repo file it appears to mention:

https://github.com/dhomeier/fink/blob/dpkg1.16/perlmod/Fink/VirtPackage.pm

at line 50, I see:

 use POSIX qw(uname);
 use File::Temp qw(:POSIX);

which is the updated code. If your VirtPackage.pm instead has:

 use POSIX qw(uname tmpnam);

you somehow are not working with the current repo code.

dan





_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.