Opened 2 years ago

Closed 2 years ago

#57165 closed defect (fixed)

texlive-bin not building under Mojave

Reported by: pmetzger (Perry E. Metzger) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MaddTheSane (C.W. Betts), mndavidoff (Monte Davidoff), Schamschula (Marius Schamschula), MaurizioLoreti, dershow, BitBangingBytes (BitBangingBytes), hapaguy (Brian Kurt Fujikawa), diochnos, JeffFessler (Jeff Fessler), captainproton1971 (Captain Proton)
Port: texlive-bin

Description

I get the following error during the compile:

luatexdir/lua/lepdflib.cc:1135:24: error: call to deleted member function 'add'
    ((Dict *) uin->d)->add(s, std::move(*((Object *) uobj->d)));
    ~~~~~~~~~~~~~~~~~~~^~~
/opt/local/include/poppler/Dict.h:72:8: note: candidate function has been explicitly deleted
  void add(char *key, Object &&val) = delete;
       ^
/opt/local/include/poppler/Dict.h:69:8: note: candidate function
  void add(const char *key, Object &&val);
       ^
luatexdir/lua/lepdflib.cc:2054:26: error: call to deleted member function 'dictAdd'
    ((Object *) uin->d)->dictAdd(copyString(s), std::move(*((Object *) uobj->d)));
    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/opt/local/include/poppler/Object.h:276:8: note: candidate function has been explicitly deleted
  void dictAdd(char *key, Object &&val) = delete;
       ^
/opt/local/include/poppler/Object.h:359:21: note: candidate function
inline void Object::dictAdd(const char *key, Object &&val)
                    ^

Attachments (1)

texlive.log (890.2 KB) - added by slavad (Viacheslav Dushin) 2 years ago.

Download all attachments as: .zip

Change History (28)

comment:1 Changed 2 years ago by MaddTheSane (C.W. Betts)

This is not limited to Mojave: I'm also seeing this under High Sierra. It seems to be that Popper version 0.69.0 isn't compatible with this version texlive-bin.

comment:2 Changed 2 years ago by MaddTheSane (C.W. Betts)

Cc: MaddTheSane added

comment:3 Changed 2 years ago by mndavidoff (Monte Davidoff)

Cc: mndavidoff added

comment:4 Changed 2 years ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:5 Changed 2 years ago by MaurizioLoreti

<Removed>

Last edited 2 years ago by MaurizioLoreti (previous) (diff)

comment:6 Changed 2 years ago by MaurizioLoreti

Cc: MaurizioLoreti added

comment:7 Changed 2 years ago by kencu (Ken)

It appears to be another "const char *" cast needed. Probably fixed already in texlive trunk, but we're updating poppler so quickly we're ahead of the other software in releases. We should slow down our poppler updates a bit ?

MaurizioLoretti -- your huge copy/paste makes this ticket hard to read. Can you delete that? It looks like the error is the origin ticket reported. You can add you log as an attachment instead -- that's easier to manage.

error: assigning to 'char *' from incompatible type 'const char *'
Last edited 2 years ago by kencu (Ken) (previous) (diff)

comment:8 Changed 2 years ago by pmetzger (Perry E. Metzger)

comment:9 Changed 2 years ago by dershow

Cc: dershow added

comment:10 Changed 2 years ago by BitBangingBytes (BitBangingBytes)

Same issue for me under Mojave as well, fresh install of macports trying to install gnuradio fails here.

comment:11 Changed 2 years ago by BitBangingBytes (BitBangingBytes)

Cc: BitBangingBytes added

comment:13 Changed 2 years ago by hapaguy (Brian Kurt Fujikawa)

Cc: hapaguy added

comment:14 Changed 2 years ago by diochnos

Cc: diochnos added

comment:15 Changed 2 years ago by slarew

Cc: slarew added

comment:16 Changed 2 years ago by slarew

Cc: slarew removed

comment:17 Changed 2 years ago by JeffFessler (Jeff Fessler)

Same issue on Sierra 10.12.6

comment:18 Changed 2 years ago by JeffFessler (Jeff Fessler)

Cc: JeffFessler added

comment:19 Changed 2 years ago by captainproton1971 (Captain Proton)

Cc: captainproton1971 added

comment:20 Changed 2 years ago by akahles (Andre Kahles)

Same issue on High Sierra 10.13.6

Changed 2 years ago by slavad (Viacheslav Dushin)

Attachment: texlive.log added

comment:21 Changed 2 years ago by slavad (Viacheslav Dushin)

Same on High Sierra 10.13.6 As it's been mentioned, there is something wrong with poppler: :info:activate dyld: Library not loaded: /opt/local/lib/libpoppler.79.dylib

Log file is attached.

Last edited 2 years ago by slavad (Viacheslav Dushin) (previous) (diff)

comment:22 Changed 2 years ago by slavad (Viacheslav Dushin)

I can build texlive-bin after I updated Macports, but there is still a problem with texlive-context @47403_0+doc (see the comment above). Should I create a new ticket or is my comment enough?

Last edited 2 years ago by slavad (Viacheslav Dushin) (previous) (diff)

comment:23 Changed 2 years ago by pmetzger (Perry E. Metzger)

The main problem should now be fixed. I don't know about the texlive-context problem.

comment:24 in reply to:  23 Changed 2 years ago by BitBangingBytes (BitBangingBytes)

Replying to pmetzger:

The main problem should now be fixed. I don't know about the texlive-context problem.

texlive-bin works for me, thanks a lot for fixing it quickly!

Last edited 2 years ago by BitBangingBytes (BitBangingBytes) (previous) (diff)

comment:25 Changed 2 years ago by diochnos

It works for me too under High Sierra (10.13.6). Thanks for the quick fix!

(I have a different problem down the line on texlive-bin-extra and dvisvgm in particular, but that is a different story.)

comment:26 Changed 2 years ago by dlamija (Muhammed Ramiza)

it's being fixed! texlive-bin, texlive-binextra, texlive-context successfully installed on my mojave.

comment:27 Changed 2 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: assignedclosed

It looks like this was fixed. If some other ports are still broken, please open a new ticket (if it's about TeX, please CC me as well).

Note: See TracTickets for help on using tickets.