mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] dependencies not working in ptxdist-2017.01.0
@ 2017-02-27  9:42 jon.bird
  2017-03-01 11:31 ` jon.bird
  0 siblings, 1 reply; 4+ messages in thread
From: jon.bird @ 2017-02-27  9:42 UTC (permalink / raw)
  To: ptxdist

Hi,

I'm attempting to perform an update from a project based around ptxdist-2012.12.1 to the latest (2017.01.0) and am encountering a problem with package dependencies.

In essence I've performed 'ptxdist migrate' with the new version, worked through the questions then:

ptxdist clean
ptxdist go

One of the first packages to build is 'audit', which I created and has the following:

cat rules/audit.in
## SECTION=shell_and_console

config AUDIT
        tristate
        select LIBCAP_NG
        select OPENLDAP
        prompt "audit"

The compilation phase fails as follows:

In file included from zos-remote-log.h:27:0,
                 from zos-remote-config.c:35:
zos-remote-ldap.h:27:18: fatal error: lber.h: No such file or directory
 #include <lber.h>

lber.h is from OpenLDAP, when I check the logfile, this package has not been built - neither has libcap-ng.

Executing the following:

grep audit platform-i586/state/ptx_dgen_deps.post
$(STATEDIR)/audit.get: | $(AUDIT_SOURCES)
$(foreach src,$(AUDIT_SOURCES),$(eval $(STATEDIR)/audit.get:$(STATEDIR)/audit.$(notdir $(src)).stamp))
$(STATEDIR)/audit.extract: $(STATEDIR)/audit.get
$(STATEDIR)/audit.extract.post: $(STATEDIR)/audit.extract
$(STATEDIR)/audit.prepare: $(STATEDIR)/audit.extract.post
$(STATEDIR)/audit.tags: $(STATEDIR)/audit.prepare
$(STATEDIR)/audit.compile: $(STATEDIR)/audit.prepare
$(STATEDIR)/audit.install: $(STATEDIR)/audit.compile
$(STATEDIR)/audit.install.pack: $(STATEDIR)/audit.install
$(STATEDIR)/audit.install.post: $(STATEDIR)/audit.install.pack
$(STATEDIR)/audit.install.post: $(STATEDIR)/audit.install.unpack
$(STATEDIR)/audit.targetinstall: $(STATEDIR)/audit.install.post
$(STATEDIR)/audit.targetinstall.post: $(STATEDIR)/audit.targetinstall
$(STATEDIR)/audit.report: $(STATEDIR)/audit.extract
$(STATEDIR)/audit.release: $(STATEDIR)/audit.extract
$(STATEDIR)/audit.extract.post: $(STATEDIR)/autogen-tools
$(STATEDIR)/audit.extract: $(STATEDIR)/host-lndir.install.post
$(STATEDIR)/audit.extract.post: $(STATEDIR)/base.install
$(STATEDIR)/audit.install.unpack: $(STATEDIR)/base.install

Shows no mention of OpenLDAP, by contrast the same command with the project built under 2012:

$(STATEDIR)/audit.get: $(AUDIT_SOURCE)
$(STATEDIR)/audit.extract: $(STATEDIR)/audit.get
$(STATEDIR)/audit.extract.post: $(STATEDIR)/audit.extract
$(STATEDIR)/audit.prepare: $(STATEDIR)/audit.extract.post
$(STATEDIR)/audit.tags: $(STATEDIR)/audit.prepare
$(STATEDIR)/audit.compile: $(STATEDIR)/audit.prepare
$(STATEDIR)/audit.install: $(STATEDIR)/audit.compile
$(STATEDIR)/audit.install.pack: $(STATEDIR)/audit.install
$(STATEDIR)/audit.install.post: $(STATEDIR)/audit.install.pack
$(STATEDIR)/audit.install.post: $(STATEDIR)/audit.install.unpack
$(STATEDIR)/audit.targetinstall: $(STATEDIR)/audit.install.post
$(STATEDIR)/audit.targetinstall.post: $(STATEDIR)/audit.targetinstall
$(STATEDIR)/audit.extract.post: $(STATEDIR)/autogen-tools
$(STATEDIR)/audit.extract: $(STATEDIR)/host-lndir.install.post
$(STATEDIR)/audit.extract.post: $(STATEDIR)/libcap-ng.install.post
$(STATEDIR)/audit.install.unpack: $(STATEDIR)/libcap-ng.install.post
$(STATEDIR)/audit.extract.post: $(STATEDIR)/openldap.install.post
$(STATEDIR)/audit.install.unpack: $(STATEDIR)/openldap.install.post
$(STATEDIR)/audit.targetinstall: $(STATEDIR)/libcap-ng.targetinstall
$(STATEDIR)/audit.targetinstall: $(STATEDIR)/openldap.targetinstall
$(STATEDIR)/audit.extract.post: $(STATEDIR)/base.install
$(STATEDIR)/audit.install.unpack: $(STATEDIR)/base.install

Shows the dependencies correctly.

This isn't just a one off problem though, if I manually build the dependencies, the audit package will build ok but then fails building the x-org font components.

I'm guessing that I'm missing something from the upgrade process but not entirely sure what.

Thanks,


Jon.

--
Jon Bird, CEng MBCS
Software Engineer
Electronic Systems
General Dynamics United Kingdom Ltd.
Castleham Road, St Leonards on Sea, East Sussex, TN38 9NJ

Telephone: +441424798278
Email: jon.bird@gd-ms.uk
Website: www.generaldynamics.uk.com



------------------------------------------------------------------------------

This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. General Dynamics United Kingdom Limited, Registered Office: 21 Holborn Viaduct, London EC1A 2DY. Registered in England and Wales No: 1911653.


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] dependencies not working in ptxdist-2017.01.0
  2017-02-27  9:42 [ptxdist] dependencies not working in ptxdist-2017.01.0 jon.bird
@ 2017-03-01 11:31 ` jon.bird
  2017-03-08  9:46   ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: jon.bird @ 2017-03-01 11:31 UTC (permalink / raw)
  To: ptxdist

On 2017-02-27, jon.bird@gd-ms.uk wrote:

> Hi,
> 
> I'm attempting to perform an update from a project based around ptxdist-
> 2012.12.1 to the latest (2017.01.0) and am encountering a problem with
> package dependencies.
> 
[...]

Some further info on this, I've wound back through some older versions of ptxdist releases and my initial testing shows that it seems to be ok in 2016.04.0 (in that for the specific package I mentioned it seems to go off and start downloading the required packages) however from 2016.05.1 it does not. 

For background, I'm using Ubuntu 12.04 as my host system.

Rgs,


Jon.

--
Jon Bird, CEng MBCS
Software Engineer
Electronic Systems
General Dynamics United Kingdom Ltd.
Castleham Road, St Leonards on Sea, East Sussex, TN38 9NJ

Telephone: +441424798278
Email: jon.bird@gd-ms.uk
Website: www.generaldynamics.uk.com      


------------------------------------------------------------------------------

This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. General Dynamics United Kingdom Limited, Registered Office: 21 Holborn Viaduct, London EC1A 2DY. Registered in England and Wales No: 1911653.
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] dependencies not working in ptxdist-2017.01.0
  2017-03-01 11:31 ` jon.bird
@ 2017-03-08  9:46   ` Michael Olbrich
  2017-03-09 14:15     ` jon.bird
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2017-03-08  9:46 UTC (permalink / raw)
  To: ptxdist

Hi,

On Wed, Mar 01, 2017 at 11:31:13AM +0000, jon.bird@gd-ms.uk wrote:
> On 2017-02-27, jon.bird@gd-ms.uk wrote:
> > I'm attempting to perform an update from a project based around ptxdist-
> > 2012.12.1 to the latest (2017.01.0) and am encountering a problem with
> > package dependencies.
> > 
> [...]
> 
> Some further info on this, I've wound back through some older versions of
> ptxdist releases and my initial testing shows that it seems to be ok in
> 2016.04.0 (in that for the specific package I mentioned it seems to go off
> and start downloading the required packages) however from 2016.05.1 it does
> not. 

How did you test this? With PTXdist git? If yes, did you ran 'make' in
ptxdist after checking out a new tag?

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] dependencies not working in ptxdist-2017.01.0
  2017-03-08  9:46   ` Michael Olbrich
@ 2017-03-09 14:15     ` jon.bird
  0 siblings, 0 replies; 4+ messages in thread
From: jon.bird @ 2017-03-09 14:15 UTC (permalink / raw)
  To: ptxdist

On 2017-03-08, Michael Olbrich wrote:

> Hi,
> 
> On Wed, Mar 01, 2017 at 11:31:13AM +0000, jon.bird@gd-ms.uk wrote:
>> On 2017-02-27, jon.bird@gd-ms.uk wrote:
>>> I'm attempting to perform an update from a project based around
>>> ptxdist-
>>> 2012.12.1 to the latest (2017.01.0) and am encountering a problem
>>> with package dependencies.
>>> 
>> [...]
>> 
>> Some further info on this, I've wound back through some older
>> versions of ptxdist releases and my initial testing shows that it
>> seems to be ok in
>> 2016.04.0 (in that for the specific package I mentioned it seems to
>> go off and start downloading the required packages) however from
>> 2016.05.1 it does not.
> 
> How did you test this? With PTXdist git? If yes, did you ran 'make' in
> ptxdist after checking out a new tag?
> 
> Michael
>

No, I just downloaded an assortment of the older versions, did the usual make/install and retried the build (reverting my project back to the 2012 settings each time) till I found a version that worked. It was purely a process of trial/error then attempt to narrow it down to the newest version I could use which didn't exhibit this problem.

Getting access to git servers is somewhat painful given the firewall here....

Rgs,


Jon.

--
Jon Bird, CEng MBCS
Software Engineer
Electronic Systems
General Dynamics United Kingdom Ltd.
Castleham Road, St Leonards on Sea, East Sussex, TN38 9NJ

Telephone: +441424798278
Email: jon.bird@gd-ms.uk
Website: www.generaldynamics.uk.com      


------------------------------------------------------------------------------

This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. General Dynamics United Kingdom Limited, Registered Office: 21 Holborn Viaduct, London EC1A 2DY. Registered in England and Wales No: 1911653.
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-09 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-27  9:42 [ptxdist] dependencies not working in ptxdist-2017.01.0 jon.bird
2017-03-01 11:31 ` jon.bird
2017-03-08  9:46   ` Michael Olbrich
2017-03-09 14:15     ` jon.bird

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox