Opened 9 years ago
Closed 8 years ago
#50524 closed defect (fixed)
lbdb @0.36_2 +ldap build failure
Reported by: | rcobbe | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | lbdb |
Description
MacOS 10.11.3, XCode 7.2.1.
I'm unable to build lbdb +ldap from source. There also appears to be something strange going on with some of the perl dependencies that I don't entirely understand; I'm including that note here because it may be related to the build failure.
When I execute the commands
$ sudo port uninstall p5-perl-ldap p5.22-perl-ldap $ sudo port clean --all lbdb $ sudo port install lbdb
then MacPorts installs p5.22-perl-ldap and p5-perl-ldap successfully, then attempts to download, configure, and build lbdb. Configuration succeeds, but building fails, with the log file that I've attached to this ticket (lbdb-build.log).
However, if I then immediately run
$ sudo port clean --all lbdb $ sudo port install lbdb
(without first removing p5.22-perl-ldap and p5-perl-ldap), then I get the following output:
[ironcrust:~]$ sudo port install lbdb +ldap ---> p5-perl-ldap is replaced by p5.22-perl-ldap ---> Deactivating p5-perl-ldap @0.650.0_0 ---> Cleaning p5-perl-ldap ---> Computing dependencies for p5.22-perl-ldap ---> Cleaning p5.22-perl-ldap ---> Computing dependencies for lbdb ---> Dependencies to be installed: p5-perl-ldap ---> Activating p5-perl-ldap @0.650.0_0 ---> Cleaning p5-perl-ldap ---> Fetching archive for lbdb ---> Attempting to fetch lbdb-0.36_2+ldap.darwin_15.x86_64.tbz2 from http://packages.macports.org/lbdb ---> Attempting to fetch lbdb-0.36_2+ldap.darwin_15.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/lbdb/lbdb ---> Attempting to fetch lbdb-0.36_2+ldap.darwin_15.x86_64.tbz2 from http://jnb.za.packages.macports.org/packages/lbdb ---> Fetching distfiles for lbdb ---> Attempting to fetch lbdb_0.36.tar.gz from http://www.spinnaker.de/debian/ ---> Verifying checksums for lbdb ---> Extracting lbdb ---> Applying patches to lbdb ---> Configuring lbdb ---> Building lbdb Error: org.macports.build for port lbdb returned: command execution failed To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port lbdb failed
The output does not report a log file, but a file is created in the normal location (/opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_mail_lbdb/lbdb/main.log); I have attached a copy of this log as well (lbdb-build-without-removing-perl-ldap.log).
Additionally, there appears to be a strange interaction taking place between p5-perl-ldap and p5.22-perl-ldap. This interaction alone doesn't particularly bother me, but mentioning it may help folks to diagnose the lbdb problem.
Attachments (2)
Change History (10)
Changed 9 years ago by rcobbe
Attachment: | lbdb-build.log added |
---|
Changed 9 years ago by rcobbe
Attachment: | lbdb-build-without-removing-perl-ldap.log added |
---|
comment:1 Changed 9 years ago by mf2k (Frank Schima)
Cc: | reilles@… removed |
---|---|
Owner: | changed from macports-tickets@… to reilles@… |
comment:2 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)
Owner: | changed from reilles@… to macports-tickets@… |
---|
comment:3 Changed 8 years ago by rcobbe
Cc: | rcobbe added |
---|
comment:4 Changed 8 years ago by rcobbe
Cc: | rcobbe removed |
---|
comment:6 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign |
---|---|
Status: | new → accepted |
comment:8 Changed 8 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
A similar interaction is now happening between p5.22-perl-ldap and p5.24-perl-ldap. Because of the lbdb build issue, I'm not able to upgrade to p5.24-perl-ldap, which is holding back a bunch of other perl packages as well. I don't have any pressing need to upgrade them, but my installation is now in the odd state of having
lbdb +ldap
installed and active, and having p5.22-perl-ldap and all its dependencies installed and inactive -- and I can't uninstall or upgrade them.(To clarify: I first installed
lbdb +ldap
on machine A, at a time when p5-perl-ldap was current. I later installedlbdb +ldap
on machine B when p5.22-perl-ldap was current. For unrelated reasons, I've dropped theldap
variant on machine A, so everything is upgrading fine there, but B is now stuck. I need to keep theldap
variant on B; that was the entire reason for installing lbdb in the first place.)