Opened 14 years ago

Closed 10 years ago

#26398 closed defect (fixed)

dcraw: error while opening "/opt/local/share/locale/de/LC_MESSAGES/ufraw.mo" for reading: No such file or directory

Reported by: jonathan.hayward@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: dcraw

Description

dcraw is failing to configure because it is missing a file:

--->  Configuring dcraw
Error: Target org.macports.configure returned: /opt/local/bin/msgunfmt: error while opening "/opt/local/share/locale/de/LC_MESSAGES/ufraw.mo" for reading: No such file or directory
Log for dcraw is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_dcraw/main.log
Error: Problem while installing dcraw
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (1.8 KB) - added by jonathan.hayward@… 14 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_dcraw/main.log

Download all attachments as: .zip

Change History (11)

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

Cc: ryandesign@… added
Port: dcraw added

For the problem reported in the ticket description:

Error: Target org.macports.configure returned: /opt/local/bin/msgunfmt: error while opening "/opt/local/share/locale/de/LC_MESSAGES/ufraw.mo" for reading: No such file or directory
Log for dcraw is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_dcraw/main.log

It would appear dcraw's configure script is looking for ufraw's message catalogs. I don't know why that would be the case; dcraw should not be dependency on ufraw. Quite the opposite in fact. (ufraw depends on dcraw.) The string "ufraw" does not appear anywhere in dcraw's sources so I don't yet see how this error can be occurring. I should like to see the main.log to see if we can figure it out.

The main.log you attached is for a completely different problem, an inability to link with readline while building sqlite3:

ld: warning: in /opt/local/lib/libreadline.dylib, file was built for unsupported file format which is not the architecture being linked (i386)

For that problem, I suggest you may need to read the Migration page. Let us know if that is not applicable.

Changed 14 years ago by jonathan.hayward@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_dcraw/main.log

comment:2 Changed 14 years ago by jonathan.hayward@…

I attached the wrong logfile; I replaced it and have confirmed that this is the one referencing ufraw.

Thanks,

comment:3 Changed 14 years ago by jonathan.hayward@…

N.B. It builds if ufraw is uninstalled; it seems to just look for things if it finds an already existing ufraw installation.

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Ah, I know where this is happening. It's the pre-configure block I added to the dcraw portfile to ensure you don't have an old ufraw installed (which itself provided a version of dcraw and therefore would conflict with the dcraw port). How do you have ufraw installed but do not have the file /opt/local/share/locale/de/LC_MESSAGES/ufraw.mo? What version of ufraw is installed?

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Can you answer the questions above so I can try to formulate a solution?

comment:6 Changed 14 years ago by jonathan.hayward@…

I uninstalled and reinstalled ufraw as a workaround; I don't know what version of ufraw was installed.

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Error: Target org.macports.configure returned: /opt/local/bin/msgunfmt: error while opening "/opt/local/share/locale/de/LC_MESSAGES/ufraw.mo" for reading: No such file or directorydcraw: error while opening "/opt/local/share/locale/de/LC_MESSAGES/ufraw.mo" for reading: No such file or directory

Has duplicate #27148.

comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:9 Changed 10 years ago by jmroot (Joshua Root)

Is this still a problem with dcraw 9.25.0?

comment:10 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Can't be a problem anymore, since the code in question was removed in r77665.

Note: See TracTickets for help on using tickets.