When I run it locally, the lensfun update seems to work OK, but there are the 
same errors after it:

$ sudo ./make-app-bundle
Reading http://lensfun.sourceforge.net/db/versions.json …
Reading http://wilson.bronger.org/lensfun-db/versions.json …
Successfully updated the database in /var/lib/lensfun-updates/version_1.
cp: /Users/user/.local/share/lensfun: No such file or directory
Cannot find source to copy: 
/Users/user/src/darktable/packaging/macosx/lensfun/updates
sed: package/darktable.app/Contents/Resources/etc/gtk-3.0/gtk.immodules: No 
such file or directory
Error opening directory 
“package/darktable.app/Contents/Resources/share/glib-2.0/schemas/”: No such 
file or directory
fatal: No names found, cannot describe anything.
…

> On 23 Dec 2017, at 17:07, Sarge Borsch <sausagefacto...@gmail.com> wrote:
> 
> Hmm apparently the error is just because it can't print a character (present 
> directly in the source code) to the current terminal because it's not in 
> UTF-8 encoding or something.
> (I were accessing the build machine over ssh and maybe it's set up badly by 
> default)
> 
>> On 23 Dec 2017, at 16:56, Sarge Borsch <sausagefacto...@gmail.com> wrote:
>> 
>> Hello. I've finally fixed speed issues with my hardware and was able to 
>> reach the step where DMG image is created:
>> https://github.com/darktable-org/darktable/blob/master/packaging/macosx/BUILD.txt#L54
>>  and it gives some trouble:
>> 
>> $ ./make-app-bundle
>> Info: root privileges needed for updating the system database.
>> Info: updating user DB in '/Users/user/.local/share/lensfun/updates'
>> Traceback (most recent call last):
>> File "/opt/local/bin/lensfun-update-data", line 133, in <module>
>>   read_location("http://lensfun.sourceforge.net/db/";)
>> File "/opt/local/bin/lensfun-update-data", line 114, in read_location
>>   print("Reading {} \u2026".format(base_url + "versions.json"))
>> UnicodeEncodeError: 'ascii' codec can't encode character '\u2026' in 
>> position 56: ordinal not in range(128)
>> cp: /Users/user/.local/share/lensfun: No such file or directory
>> Cannot find source to copy: 
>> /Users/user/src/darktable/packaging/macosx/lensfun/updates
>> sed: package/darktable.app/Contents/Resources/etc/gtk-3.0/gtk.immodules: No 
>> such file or directory
>> Error opening directory 
>> “package/darktable.app/Contents/Resources/share/glib-2.0/schemas/”: No such 
>> file or directory
>> fatal: No names found, cannot describe anything.
>> …
>> (there are a lot more errors after that, I think this is because errors are 
>> not checked and the script always tries to ignore errors and continue… I am 
>> not sure I should post the full log of this error snowballing)
>> 
>> Before that, I have made all steps as described, except I set the target OS 
>> X version to 10.11, and I skipped patches for python, GraphicsMagick and 
>> pango. I think they must be unrelated here?
>> By the way, if I visit the URL from the error message in a web browser 
>> (http://lensfun.sourceforge.net/db/) there's some page with something 
>> resembling an error message:
>>> An error has been encountered in accessing this page.
>>> 1. Server: lensfun.sourceforge.net 
>>> 2. URL path: /db/ 
>>> 3. Error notes: NONE 
>>> 4. Error type: 403
>> 
>> Can anyone suggest what could went wrong?
> 

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to