. "No such order shall be granted, or hearing held, unless both parties to the intended marriage appear, and unless the person, agency, institution, welfare department or other entity having the legal or actual custody of such minor issue is given notice of such proceeding by personal service of a copy of the petition at least 5 days prior to the hearing, except that such appearance or notice may be" . . . . . .