[MacPorts] #37771: xdm fails to build
#37771: xdm fails to build --------------------------------+-------------------------------- Reporter: johan.mattsson.m@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: xdm --------------------------------+-------------------------------- xdm fails to build; :info:build In file included from chooser.c:63: :info:build ../include/dm.h:108:33: error: security/pam_appl.h: No such file or directory :info:build In file included from chooser.c:63: :info:build ../include/dm.h:427: error: syntax error before ‘*’ token :info:build ../include/dm.h:427: warning: type defaults to ‘int’ in declaration of ‘thepamhp’ :info:build ../include/dm.h:427: warning: data definition has no type or storage class :info:build ../include/dm.h:428: error: syntax error before ‘*’ token :info:build ../include/dm.h:428: warning: type defaults to ‘int’ in declaration of ‘thepamh’ :info:build ../include/dm.h:428: warning: data definition has no type or storage class -- Ticket URL: <https://trac.macports.org/ticket/37771> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+------------------------ Reporter: johan.mattsson.m@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xdm | ---------------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… Old description:
xdm fails to build;
:info:build In file included from chooser.c:63: :info:build ../include/dm.h:108:33: error: security/pam_appl.h: No such file or directory :info:build In file included from chooser.c:63: :info:build ../include/dm.h:427: error: syntax error before ‘*’ token :info:build ../include/dm.h:427: warning: type defaults to ‘int’ in declaration of ‘thepamhp’ :info:build ../include/dm.h:427: warning: data definition has no type or storage class :info:build ../include/dm.h:428: error: syntax error before ‘*’ token :info:build ../include/dm.h:428: warning: type defaults to ‘int’ in declaration of ‘thepamh’ :info:build ../include/dm.h:428: warning: data definition has no type or storage class
New description: xdm fails to build; {{{ :info:build In file included from chooser.c:63: :info:build ../include/dm.h:108:33: error: security/pam_appl.h: No such file or directory :info:build In file included from chooser.c:63: :info:build ../include/dm.h:427: error: syntax error before ‘*’ token :info:build ../include/dm.h:427: warning: type defaults to ‘int’ in declaration of ‘thepamhp’ :info:build ../include/dm.h:427: warning: data definition has no type or storage class :info:build ../include/dm.h:428: error: syntax error before ‘*’ token :info:build ../include/dm.h:428: warning: type defaults to ‘int’ in declaration of ‘thepamh’ :info:build ../include/dm.h:428: warning: data definition has no type or storage class }}} -- -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+------------------------ Reporter: johan.mattsson.m@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: worksforme | Keywords: Port: xdm | ---------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme Comment: You should have it at /usr/include/security/pam_appl.h ... I see it on my SL, Lion, and ML boxes. Make sure you've got a sane build environment. -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+------------------------ Reporter: johan.mattsson.m@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: worksforme | Keywords: Port: xdm | ---------------------------------+------------------------ Comment (by jeremyhu@…): (ie: Install XCode and the command line tools) -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+------------------------ Reporter: johan.mattsson.m@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xdm | ---------------------------------+------------------------ Changes (by jeremyhu@…): * status: closed => reopened * resolution: worksforme => Comment: Oh, I see in main.log that you're using Leopard. You should really call that out in your bug report. -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+-------------------------- Reporter: johan.mattsson.m@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xdm | ---------------------------------+-------------------------- Changes (by jeremyhu@…): * owner: jeremyhu@… => ryandesign@… * status: reopened => new Comment: Over to ryan to look at since he's got Leopard boxes still. -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+-------------------------- Reporter: johan.mattsson.m@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xdm | ---------------------------------+-------------------------- Comment (by johan.mattsson.m@…): Replying to [comment:2 jeremyhu@…]:
You should have it at /usr/include/security/pam_appl.h ... I see it on my SL, Lion, and ML boxes. Make sure you've got a sane build environment.
I do have pam_appl.h: {{{ m83-180-167-138:bin johanmattsson$ ls /usr/include/pam/pam_appl.h /usr/include/pam/pam_appl.h }}} I don't know what else that might be needed. Cheers -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+-------------------------- Reporter: johan.mattsson.m@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xdm | ---------------------------------+-------------------------- Comment (by johan.mattsson.m@…): I disabled pam support in the config file. Xdm builds now, -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+-------------------------- Reporter: johan.mattsson.m@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xdm | ---------------------------------+-------------------------- Comment (by ryandesign@…): xpm was already successfully installed on my Leopard i386 machine. I just rebuilt it to verify it still builds. I haven't yet compared the failed log attached here with mine. -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+-------------------------- Reporter: johan.mattsson.m@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xdm | ---------------------------------+-------------------------- Comment (by jeremyhu@…): xpm != xdm -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+-------------------------- Reporter: johan.mattsson.m@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xdm | ---------------------------------+-------------------------- Comment (by ryandesign@…): Indeed! Ok, xdm fails for me as it does for the reporter. The project seems hardcoded to #include <security/pam_appl.h>. I'll check if changing that to <pam/pam_appl.h> is all that's needed for Leopard. -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+------------------------------------ Reporter: johan.mattsson.m@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: tiger leopard haspatch Port: xdm | ---------------------------------+------------------------------------ Changes (by ryandesign@…): * keywords: => tiger leopard haspatch Comment: Yes that seems to work. This patch is messy because it must be conditionally applied only on Leopard and lower. Is that ok or should we rewrite it to use some #if logic so that it can be applied always? -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37771: xdm @1.1.11_0: error: security/pam_appl.h: No such file or directory ---------------------------------+------------------------------------ Reporter: johan.mattsson.m@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: tiger leopard haspatch Port: xdm | ---------------------------------+------------------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r102011 and http://cgit.freedesktop.org/xorg/app/xdm/commit/?id=fa8adede758e2b1e8ae38c84... -- Ticket URL: <https://trac.macports.org/ticket/37771#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts