[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #55156] Build failure when perl ld config value has multi

From: Ryan Schmidt
Subject: PSPP-BUG: [bug #55156] Build failure when perl ld config value has multiple words
Date: Mon, 3 Dec 2018 14:00:58 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.1 Safari/605.1.15


                 Summary: Build failure when perl ld config value has multiple
                 Project: PSPP
            Submitted by: ryandesign
            Submitted on: Mon 03 Dec 2018 07:00:57 PM UTC
                Category: Other
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00



The pspp perl module can fail to build on systems where perl's ld config value
contains multiple words. Here is a build failure on PowerPC Mac OS X Leopard:


'env MACOSX_DEPLOYMENT_TARGET=10.3 /usr/bin/gcc-4.2'  -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc  -bundle -undefined dynamic_lookup
-L/opt/local/lib -Wl,-headerpad_max_install_names  -fstack-protector PSPP.o 
-o blib/arch/auto/PSPP/PSPP.bundle
make[4]: env MACOSX_DEPLOYMENT_TARGET=10.3 /usr/bin/gcc-4.2: Command not
make[4]: *** [blib/arch/auto/PSPP/PSPP.bundle] Error 127

The reason for the problem is that on this system, perl has determined that
the value of ld should be multiple words, and the pspp perl module determines
the perl value of ld by running $(PERL) -V::ld:, which apparently returns the
raw value from the config, including quotation marks if any, which is then
interpreted by the build as the name of a single command that should be run,
which of course doesn't exist. I was able to fix the problem by using
Config::Perl::V directly, which gets the value inside the quotation marks. See
attached patch.


File Attachments:

Date: Mon 03 Dec 2018 07:00:57 PM UTC  Name:
21c4fda59fbeef7ca9fb7bad54c7797a2cd90081.patch  Size: 1KiB   By: ryandesign



Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]