Opened 9 years ago

Last modified 7 years ago

#41976 new defect

upgrade for camlimages fails

Reported by: tim@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: camlimages

Description (last modified by ryandesign (Ryan Schmidt))

Errors follow :

sudo port upgrade camlimages
--->  Computing dependencies for camlimages
--->  Staging camlimages into destroot
Error: org.macports.destroot for port camlimages returned: command execution failed
Please see the log file for port camlimages for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_camlimages/camlimages/main.log
Error: Unable to upgrade port: 1

Attaching log file

Attachments (1)

camlimages_err.log (85.7 KB) - added by tim@… 9 years ago.
Error log from port build of camlimages

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to reilles@…
Port: camlimages added

Could you clean and try again? That wasn't a clean build.

However, it does at least show that the port is not passing the CFLAGS and LDFLAGS correctly in the destroot phase. Probably an eval is needed.

comment:2 Changed 9 years ago by tim@…

Same problem (I think) after 'cleaning'. Errors as follows
--->  Computing dependencies for camlimages
--->  Fetching archive for camlimages
--->  Attempting to fetch camlimages-4.0.1_10.darwin_11.x86_64.tbz2 from http://packages.macports.org/camlimages
--->  Attempting to fetch camlimages-4.0.1_10.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/camlimages
--->  Attempting to fetch camlimages-4.0.1_10.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/camlimages
--->  Fetching distfiles for camlimages
--->  Verifying checksums for camlimages
--->  Extracting camlimages
--->  Applying patches to camlimages
--->  Configuring camlimages
--->  Building camlimages
--->  Staging camlimages into destroot
Error: org.macports.destroot for port camlimages returned: command execution failed
Please see the log file for port camlimages for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_camlimages/camlimages/main.log
Error: Unable to upgrade port: 1
NOTE: New copy of logfile has been uploaded
NOTE: Expect quicker response from now on. :) Been on xmas vacation...
Last edited 9 years ago by tim@… (previous) (diff)

Changed 9 years ago by tim@…

Attachment: camlimages_err.log added

Error log from port build of camlimages

comment:3 Changed 9 years ago by ryandesign (Ryan Schmidt)

It looks like things are building correctly in the build phase, but then for some reason the destroot phase is trying to rebuild it, and since the CFLAGS and LDFLAGS aren't being set properly in the destroot phase, it can't find its dependencies, such as:

ld: library not found for -lXpm

comment:4 Changed 9 years ago by tim@…

Let me know if there is anything further that I can do. I have uninstalled camlimages,
but I can reinstall for purposes of testing if you prefer.
Thanks,
Tim

comment:5 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from reilles@… to macports-tickets@…
Note: See TracTickets for help on using tickets.